Home
last modified time | relevance | path

Searched defs:jsonValue (Results 1 – 25 of 101) sorted by relevance

12345

/foundation/resourceschedule/device_standby/services/test/unittest/
Dstandby_utils_unit_test.cpp57 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
/foundation/resourceschedule/device_standby/utils/policy/src/
Djson_utils.cpp33 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()
/foundation/arkui/ace_engine/test/unittest/base/
Djson_util_test.cpp350 JsonValue jsonValue; variable
394 JsonValue jsonValue; variable
416 JsonValue jsonValue; variable
460 JsonValue jsonValue; variable
493 JsonValue jsonValue; variable
514 JsonValue jsonValue; variable
535 std::unique_ptr<JsonValue> jsonValue = JsonUtil::Create(false); variable
576 std::unique_ptr<JsonValue> jsonValue = JsonUtil::Create(false); variable
613 std::unique_ptr<JsonValue> jsonValue = JsonUtil::Create(false); variable
659 std::unique_ptr<JsonValue> jsonValue = JsonUtil::Create(false); variable
[all …]
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
Drender_node_parser_util.cpp436 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 …]
/foundation/arkui/ace_engine/test/unittest/core/render/
Drender_property_test_ng.cpp503 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
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
Dutils.cpp22 auto jsonValue = JsonUtil::Create(true); in GetTextStyleInJson() local
Dinspector_composed_element.cpp469 auto jsonValue = JsonUtil::Create(true); in GetSize() local
486 auto jsonValue = JsonUtil::Create(true); in GetPadding() local
508 auto jsonValue = JsonUtil::Create(true); in GetAllMargin() 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
[all …]
Dbadge_composed_element.cpp90 auto jsonValue = JsonUtil::Create(true); in GetBadgePosition() local
121 auto jsonValue = JsonUtil::Create(true); in GetStyle() local
Dmenu_composed_element.cpp59 auto jsonValue = JsonUtil::Create(true); in GetValues() local
Dtab_content_composed_element.cpp68 auto jsonValue = JsonUtil::Create(true); in GetTabBar() local
Dtime_picker_dialog_composed_element.cpp49 auto jsonValue = JsonUtil::Create(true); in GetShow() local
Dpicker_text_dialog_composed_element.cpp47 auto jsonValue = JsonUtil::Create(true); in GetShow() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
Drender_property.cpp229 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
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
Dtext_styles.h74 auto jsonValue = JsonUtil::Create(true); in ToString() local
98 auto jsonValue = JsonUtil::Create(true); in ToString() local
114 auto jsonValue = JsonUtil::Create(true); in ToString() local
130 auto jsonValue = JsonUtil::Create(true); in ToString() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_content_layout_property.h60 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
Dradio_paint_property.h66 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
Dindexer_paint_property.h124 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
Dtext_field_paint_property.cpp34 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
Drich_editor_model.h153 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
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
Dslider_layout_property.h73 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/base/log/
Dlog_wrapper.h88 #define JSON_STRING_PUT_INT(jsonValue, var) (jsonValue)->Put(#var, static_cast<int64_t>(var)) argument
89 #define JSON_STRING_PUT_BOOL(jsonValue, var) (jsonValue)->Put(#var, (var)) argument
90 #define JSON_STRING_PUT_STRING(jsonValue, var) (jsonValue)->Put(#var, (var).c_str()) argument
91 #define JSON_STRING_PUT_STRINGABLE(jsonValue, var) (jsonValue)->Put(#var, (var).ToString().c_str()) argument
93 #define JSON_STRING_PUT_OPTIONAL_INT(jsonValue, var) \ argument
100 #define JSON_STRING_PUT_OPTIONAL_STRING(jsonValue, var) \ argument
108 #define JSON_STRING_PUT_OPTIONAL_STRINGABLE(jsonValue, var) \ argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/
Dbadge_layout_property.cpp55 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
Dgrid_property.cpp155 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
171 auto jsonValue = JsonUtil::Create(true); in ToJsonValue() local
/foundation/arkui/ace_engine/interfaces/napi/kits/grid/
Djs_grid.cpp33 napi_value jsonValue; in JSGridGetSystemLayoutInfo() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
Dnavdestination_node_base.cpp26 auto jsonValue = JsonUtil::Create(true); in GetBarItemsString() local

12345