Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/foundation/communication/dsoftbus/core/common/json_utils/
Dsoftbus_json_utils.c22 int32_t GetStringItemByJsonObject(const cJSON *json, const char * const string, char *target, in GetStringItemByJsonObject()
46 NO_SANITIZE("cfi") bool GetJsonObjectStringItem(const cJSON *json, const char * const string, char … in GetJsonObjectStringItem()
70 NO_SANITIZE("cfi") bool GetJsonObjectNumberItem(const cJSON *json, const char * const string, int *… in GetJsonObjectNumberItem()
84 NO_SANITIZE("cfi") bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const string,… in GetJsonObjectSignedNumberItem()
98 NO_SANITIZE("cfi") bool GetJsonObjectDoubleItem(const cJSON *json, const char * const string, doubl… in GetJsonObjectDoubleItem()
112 NO_SANITIZE("cfi") bool GetJsonObjectNumber16Item(const cJSON *json, const char * const string, uin… in GetJsonObjectNumber16Item()
126 NO_SANITIZE("cfi") bool GetJsonObjectNumber64Item(const cJSON *json, const char * const string, int… in GetJsonObjectNumber64Item()
140 NO_SANITIZE("cfi") bool GetJsonObjectSignedNumber64Item(const cJSON *json, const char * const strin… in GetJsonObjectSignedNumber64Item()
154 NO_SANITIZE("cfi") bool GetJsonObjectInt32Item(const cJSON *json, const char * const string, int32_… in GetJsonObjectInt32Item()
168 NO_SANITIZE("cfi") bool GetJsonObjectBoolItem(const cJSON *json, const char * const string, bool *t… in GetJsonObjectBoolItem()
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/dialog/
Ddialog_creator_test.cpp62 const std::string json = "" variable
102 const std::string json = "" variable
134 const std::string json = "" variable
168 const std::string json = "" variable
200 const std::string json = "" variable
232 const std::string json = "" variable
264 const std::string json = "" variable
296 const std::string json = "" variable
328 const std::string json = "" variable
357 const std::string json = "" variable
[all …]
Dpopup_creator_test.cpp58 const std::string json = "" variable
103 const std::string json = "" variable
128 const std::string json = "" variable
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
Dauth_message_processor.cpp117 void AuthMessageProcessor::CreateNegotiateMessage(nlohmann::json &json) in CreateNegotiateMessage()
132 void AuthMessageProcessor::CreateSyncGroupMessage(nlohmann::json &json) in CreateSyncGroupMessage()
138 void AuthMessageProcessor::CreateResponseAuthMessage(nlohmann::json &json) in CreateResponseAuthMessage()
162 void AuthMessageProcessor::CreateResponseFinishMessage(nlohmann::json &json) in CreateResponseFinishMessage()
203 void AuthMessageProcessor::ParseResponseFinishMessage(nlohmann::json &json) in ParseResponseFinishMessage()
210 void AuthMessageProcessor::GetAuthReqMessage(nlohmann::json &json) in GetAuthReqMessage()
243 int32_t AuthMessageProcessor::ParseAuthRequestMessage(nlohmann::json &json) in ParseAuthRequestMessage()
267 void AuthMessageProcessor::ParseAuthResponseMessage(nlohmann::json &json) in ParseAuthResponseMessage()
299 void AuthMessageProcessor::ParseNegotiateMessage(const nlohmann::json &json) in ParseNegotiateMessage()
324 void AuthMessageProcessor::ParseRespNegotiateMessage(const nlohmann::json &json) in ParseRespNegotiateMessage()
/foundation/arkui/ace_engine/test/unittest/core/render/render_property/
Drender_property_test_ng.cpp84 auto json = JsonUtil::Create(true); variable
137 auto json = JsonUtil::Create(true); variable
166 auto json = JsonUtil::Create(true); variable
240 auto json = JsonUtil::Create(true); variable
268 auto json = JsonUtil::Create(true); variable
301 auto json = JsonUtil::Create(true); variable
343 auto json = JsonUtil::Create(true); variable
392 auto json = JsonUtil::Create(true); variable
/foundation/distributeddatamgr/pasteboard/framework/test/src/
Dserializable_test.cpp58 auto json = Config::ToJson(jsonStr); variable
85 auto json = Config::ToJson(jsonStr); variable
109 auto json = Config::ToJson(jsonStr); variable
132 auto json = Config::ToJson(jsonStr); variable
155 auto json = Config::ToJson(jsonStr); variable
178 auto json = Config::ToJson(jsonStr); variable
201 auto json = Config::ToJson(jsonStr); variable
224 auto json = Config::ToJson(jsonStr); variable
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
Dsoftbus_adapter_json.cpp32 nlohmann::json *json = new (std::nothrow) nlohmann::json(); in JSON_CreateObject() local
49 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Delete() local
72 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_PrintUnformatted() local
97 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Parse() local
122 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddBoolToObject() local
136 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetBoolFromOject() local
156 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddIntegerToObject() local
171 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetIntegerFromObject() local
232 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddStringToObject() local
246 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetStringFromOject() local
[all …]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/
Dcomponent_loader_test.cpp462 nlohmann::json json; variable
478 nlohmann::json json; variable
495 nlohmann::json json; variable
513 nlohmann::json json; variable
532 nlohmann::json json; variable
552 nlohmann::json json; variable
573 nlohmann::json json; variable
595 nlohmann::json json; variable
618 nlohmann::json json; variable
642 nlohmann::json json; variable
[all …]
/foundation/arkui/ace_engine/test/unittest/core/render/render_context/
Drender_context_test_ng.cpp185 auto json = JsonUtil::Create(true); variable
214 auto json = JsonUtil::Create(true); variable
242 auto json = JsonUtil::Create(true); variable
277 auto json = JsonUtil::Create(true); variable
306 auto json = JsonUtil::Create(true); variable
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stack/
Dstack_layout_property.h42 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
52 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_content_layout_property.h49 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
61 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
Dtab_bar_layout_property.h72 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
79 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
Dtabs_layout_property.h64 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
96 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
Dtrans_tcp_direct_json.c33 cJSON *json = cJSON_CreateObject(); in VerifyP2pPackError() local
53 cJSON *json = cJSON_CreateObject(); in VerifyP2pPack() local
68 NO_SANITIZE("cfi") int32_t VerifyP2pUnPack(const cJSON *json, char *ip, uint32_t ipLen, int32_t *po… in VerifyP2pUnPack()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
Ddivider_render_property.h48 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
61 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
Ddivider_layout_property.h45 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
60 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
Dpaint_property.h43 virtual void ToJsonValue(std::unique_ptr<JsonValue>& json) const {} in ToJsonValue()
45 virtual void FromJson(const std::unique_ptr<JsonValue>& json) {} in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components/test/json/
Dbackground_image_creator.cpp35 RefPtr<BackgroundImage> BackgroundImageCreator::CreateFromJson(const JsonValue& json) in CreateFromJson()
66 …ImageCreator::SetImageSizeFromJson(RefPtr<BackgroundImage>& backgroundImage, const JsonValue& json) in SetImageSizeFromJson()
74 …eCreator::SetImagePositionFromJson(RefPtr<BackgroundImage>& backgroundImage, const JsonValue& json) in SetImagePositionFromJson()
Dclip_creator.cpp25 RefPtr<Component> ClipCreator::CreateFromJson(const JsonValue& json, const JsonComponentFactory& fa… in CreateFromJson()
37 Radius ClipCreator::CreateRadiusFromJson(const JsonValue& json, const std::string& key) in CreateRadiusFromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
Dsyntax_item.h54 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
60 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
Dborder_property.cpp19 void BorderStyleProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, std::unique_ptr<JsonValue>&… in ToJsonValue()
53 std::unique_ptr<JsonValue>& json, std::unique_ptr<JsonValue>& borderJson) const in ToJsonValue()
93 void BorderColorProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, std::unique_ptr<JsonValue>&… in ToJsonValue()
122 std::unique_ptr<JsonValue>& json, std::unique_ptr<JsonValue>& borderJson) const in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
Dswiper_layout_property.h98 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
125 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
Dcustom_node.h67 void ToJsonValue(std::unique_ptr<JsonValue>& json) const override in ToJsonValue()
72 void FromJson(const std::unique_ptr<JsonValue>& json) override {} in FromJson()
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
Dmedia_query_info.cpp65 auto json = GetMediaQueryJsonInfo(); in GetMediaQueryInfo() local
74 auto json = JsonUtil::Create(true); in GetMediaQueryJsonInfo() local
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatencylistener/src/
Dlow_latency_listener_test.cpp93 nlohmann::json json; variable
129 nlohmann::json json; variable
149 nlohmann::json json; variable

12345678910>>...13