/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 57 nlohmann::json jsonValue {}; variable 79 nlohmann::json jsonValue {}; variable 101 nlohmann::json jsonValue {}; variable 122 nlohmann::json jsonValue {}; variable 143 nlohmann::json jsonValue {}; variable 164 nlohmann::json jsonValue {}; variable 192 nlohmann::json jsonValue; variable 235 …nlohmann::json jsonValue = nlohmann::json::parse("{\"apps_limit\":[\"1\",\"2\"]}", nullptr, false); variable 253 nlohmann::json jsonValue = nlohmann::json::parse("{}", nullptr, false); variable
|
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | json_utils.cpp | 33 bool JsonUtils::LoadJsonValueFromContent(nlohmann::json& jsonValue, const std::string& content) in LoadJsonValueFromContent() 51 bool JsonUtils::LoadJsonValueFromFile(nlohmann::json& jsonValue, const std::string& filePath) in LoadJsonValueFromFile() 74 bool JsonUtils::DumpJsonValueToFile(const nlohmann::json& jsonValue, const std::string& filePath) in DumpJsonValueToFile() 116 bool JsonUtils::GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int3… in GetInt32FromJsonValue() 128 bool JsonUtils::GetBoolFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, bool&… in GetBoolFromJsonValue() 140 bool JsonUtils::GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std… in GetStringFromJsonValue() 152 bool JsonUtils::GetObjFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohma… in GetObjFromJsonValue() 164 bool JsonUtils::GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nloh… in GetArrayFromJsonValue() 176 bool JsonUtils::GetStrArrFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, in GetStrArrFromJsonValue()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | appevent_watcher_impl.cpp | 147 void ConvertArrBool(CParameters &retValue, const Json::Value& jsonValue) in ConvertArrBool() 161 void ConvertArrInt(CParameters &retValue, const Json::Value& jsonValue) in ConvertArrInt() 175 void CovertArrDouble(CParameters &retValue, const Json::Value& jsonValue) in CovertArrDouble() 189 void CovertArrString(CParameters &retValue, const Json::Value& jsonValue) in CovertArrString() 219 void CreatArr(CParameters &retValue, const Json::Value& jsonValue) in CreatArr() 235 void CreatElmInt(CParameters &retValue, const Json::Value& jsonValue) in CreatElmInt() 248 void CreatElmBool(CParameters &retValue, const Json::Value& jsonValue) in CreatElmBool() 261 void CreatElmDou(CParameters &retValue, const Json::Value& jsonValue) in CreatElmDou() 274 void CreatElmStr(CParameters &retValue, const Json::Value& jsonValue) in CreatElmStr() 281 void CreatObjStr(CParameters &retValue, const Json::Value& jsonValue) in CreatObjStr() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | json_util_test.cpp | 350 JsonValue jsonValue; variable 394 JsonValue jsonValue; variable 416 JsonValue jsonValue; variable 460 JsonValue jsonValue; variable 493 JsonValue jsonValue; variable 514 JsonValue jsonValue; variable 733 JsonValue jsonValue; variable 838 JsonValue jsonValue; variable 859 JsonValue jsonValue; variable 880 JsonValue jsonValue; variable [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_parser_util.cpp | 436 uint64_t RenderNodeParserUtil::GetUintValue(const json::value& jsonValue, const string_view name) c… in GetUintValue() argument 446 int64_t RenderNodeParserUtil::GetIntValue(const json::value& jsonValue, const string_view name) con… in GetIntValue() argument 456 float RenderNodeParserUtil::GetFloatValue(const json::value& jsonValue, const string_view name) con… in GetFloatValue() argument 466 string RenderNodeParserUtil::GetStringValue(const json::value& jsonValue, const string_view name) c… in GetStringValue() argument 477 const json::value& jsonValue, const string_view name) const in GetInputRenderPass() argument 489 const json::value& jsonValue, const string_view name) const in GetInputResources() argument 501 const json::value& jsonValue, const string_view name) const in GetRenderDataStore() argument 517 const json::value& jsonValue, const string_view name) const in GetGpuImageDescs() argument 535 const json::value& jsonValue, const string_view name) const in GetGpuBufferDescs() argument 553 const json::value& jsonValue, const string_view name) const in GetRenderSlotSortType() argument [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | render_property_test_ng.cpp | 503 auto jsonValue = JsonUtil::Create(true); variable 533 auto jsonValue = JsonUtil::Create(true); variable 574 auto jsonValue = JsonUtil::Create(true); variable 608 auto jsonValue = JsonUtil::Create(true); variable 637 auto jsonValue = JsonUtil::Create(true); variable 667 auto jsonValue = JsonUtil::Create(true); variable 695 auto jsonValue = JsonUtil::Create(true); variable 723 auto jsonValue = JsonUtil::Create(true); variable 759 auto jsonValue = JsonUtil::Create(true); variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.cpp | 22 auto jsonValue = JsonUtil::Create(true); in GetTextStyleInJson() local
|
H A D | inspector_composed_element.cpp | 469 auto jsonValue = JsonUtil::Create(true); in GetSize() local 627 auto jsonValue = JsonUtil::Create(true); in GetUnifyBorder() local 637 auto jsonValue = JsonUtil::Create(true); in GetPosition() local 660 auto jsonValue = JsonUtil::Create(true); in GetMarkAnchor() local 680 auto jsonValue = JsonUtil::Create(true); in GetOffset() local 880 auto jsonValue = JsonUtil::Create(true); in GetBackgroundColor() local 905 auto jsonValue = JsonUtil::Create(true); in GetBackgroundImagePosition() local 964 auto jsonValue = JsonUtil::Create(true); in GetClip() local 1025 auto jsonValue = JsonUtil::Create(true); in GetRotate() local 1047 auto jsonValue = JsonUtil::Create(true); in GetScale() local [all …]
|
H A D | badge_composed_element.cpp | 90 auto jsonValue = JsonUtil::Create(true); in GetBadgePosition() local 121 auto jsonValue = JsonUtil::Create(true); in GetStyle() local
|
H A D | menu_composed_element.cpp | 59 auto jsonValue = JsonUtil::Create(true); in GetValues() local
|
H A D | tab_content_composed_element.cpp | 68 auto jsonValue = JsonUtil::Create(true); in GetTabBar() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_content_layout_property.h | 60 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_property.cpp | 229 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local 339 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local 358 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local 369 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_paint_property.cpp | 34 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_paint_property.h | 124 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/ |
H A D | radio_paint_property.h | 66 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
H A D | json_parser_utils.cpp | 60 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(json, key.c_str()); in GetJsonString() local 72 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(json, key.c_str()); in GetJsonInt() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_styles.h | 79 auto jsonValue = JsonUtil::Create(true); in ToString() local 103 auto jsonValue = JsonUtil::Create(true); in ToString() local 120 auto jsonValue = JsonUtil::Create(true); in ToString() local 136 auto jsonValue = JsonUtil::Create(true); in ToString() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_model.h | 153 auto jsonValue = JsonUtil::Create(true); in ToString() local 190 auto jsonValue = JsonUtil::Create(true); in ToString() local 224 auto jsonValue = JsonUtil::Create(true); in ToString() local 243 auto jsonValue = JsonUtil::Create(true); in ToString() local 261 auto jsonValue = JsonUtil::Create(true); in ToString() local 277 auto jsonValue = JsonUtil::Create(true); in ToString() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_layout_property.h | 73 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/ |
H A D | badge_layout_property.cpp | 55 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | log_wrapper.h | 94 #define JSON_STRING_PUT_INT(jsonValue, var) (jsonValue)->Put(#var, static_cast<int64_t>(var)) argument 95 #define JSON_STRING_PUT_BOOL(jsonValue, var) (jsonValue)->Put(#var, (var)) argument 96 #define JSON_STRING_PUT_STRING(jsonValue, var) (jsonValue)->Put(#var, (var).c_str()) argument 97 #define JSON_STRING_PUT_STRINGABLE(jsonValue, var) (jsonValue)->Put(#var, (var).ToString().c_str()) argument 99 #define JSON_STRING_PUT_OPTIONAL_INT(jsonValue, var) \ argument 106 #define JSON_STRING_PUT_OPTIONAL_STRING(jsonValue, var) \ argument 114 #define JSON_STRING_PUT_OPTIONAL_STRINGABLE(jsonValue, var) \ argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navdestination_node_base.cpp | 26 auto jsonValue = JsonUtil::Create(true); in GetBarItemsString() local
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/grid/ |
H A D | js_grid.cpp | 33 napi_value jsonValue; in JSGridGetSystemLayoutInfo() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | grid_property.cpp | 155 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local 171 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
|