Home
last modified time | relevance | path

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

12345678910>>...18

/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/
Dsoftbus_json_utils_test.cpp73 cJSON *json = cJSON_CreateObject(); variable
88 cJSON *json = cJSON_CreateObject(); variable
102 cJSON *json = cJSON_CreateObject(); variable
117 cJSON *json = cJSON_CreateObject(); variable
134 cJSON *json = cJSON_CreateObject(); variable
150 cJSON *json = cJSON_CreateObject(); variable
173 cJSON *json = cJSON_CreateObject(); variable
210 cJSON *json = cJSON_CreateObject(); variable
225 cJSON *json = cJSON_CreateObject(); variable
239 cJSON *json = cJSON_CreateObject(); variable
[all …]
/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/
Dbt_statistic.cpp75 int32_t BtStatistic::GetBtStatisticInfo(cJSON *json) in GetBtStatisticInfo()
97cJSON *json, const std::vector<OHOS::Bluetooth::BluetoothRemoteDevice>& devices, uint32_t profileI… in AddDevicesToArray()
126 void BtStatistic::GetGattDeviceInfo(cJSON *json, uint32_t gattId) in GetGattDeviceInfo()
138 void BtStatistic::GetGattClientDeviceInfo(cJSON *json) in GetGattClientDeviceInfo()
143 void BtStatistic::GetGattServerDeviceInfo(cJSON *json) in GetGattServerDeviceInfo()
148 void BtStatistic::GetBleAdvertiserDeviceInfo(cJSON *json) in GetBleAdvertiserDeviceInfo()
153 void BtStatistic::GetBleCentralDeviceInfo(cJSON *json) in GetBleCentralDeviceInfo()
158 void BtStatistic::GetBleGattDeviceInfo(cJSON *json) in GetBleGattDeviceInfo()
163 void BtStatistic::GetA2dpSrcDeviceInfo(cJSON *json) in GetA2dpSrcDeviceInfo()
170 void BtStatistic::GetA2dpSinkDeviceInfo(cJSON *json) in GetA2dpSinkDeviceInfo()
[all …]
Dwifi_statistic.cpp37 int32_t WifiStatistic::GetWifiStatisticInfo(cJSON *json) in GetWifiStatisticInfo()
49 int32_t WifiStatistic::GetStaInfo(cJSON *json) in GetStaInfo()
78 int32_t WifiStatistic::GetSoftApInfo(cJSON *json) in GetSoftApInfo()
121 int32_t WifiStatistic::GetP2PInfo(cJSON *json) in GetP2PInfo()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/
Dcomponent_loader_test.cpp338 cJSON *json = cJSON_CreateObject(); variable
358 cJSON *json = cJSON_CreateObject(); variable
379 cJSON *json = cJSON_CreateObject(); variable
401 cJSON *json = cJSON_CreateObject(); variable
424 cJSON *json = cJSON_CreateObject(); variable
448 cJSON *json = cJSON_CreateObject(); variable
473 cJSON *json = cJSON_CreateObject(); variable
499 cJSON *json = cJSON_CreateObject(); variable
526 cJSON *json = cJSON_CreateObject(); variable
554 cJSON *json = cJSON_CreateObject(); variable
[all …]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
Dauth_message_processor.cpp144 void AuthMessageProcessor::CreateSyncDeleteMessageExt(nlohmann::json &json) in CreateSyncDeleteMessageExt()
151 void AuthMessageProcessor::CreatePublicKeyMessageExt(nlohmann::json &json) in CreatePublicKeyMessageExt()
156 void AuthMessageProcessor::CreateResponseAuthMessageExt(nlohmann::json &json) in CreateResponseAuthMessageExt()
164 void AuthMessageProcessor::CreateNegotiateMessage(nlohmann::json &json) in CreateNegotiateMessage()
193 void AuthMessageProcessor::CreateRespNegotiateMessage(nlohmann::json &json) in CreateRespNegotiateMessage()
226 void AuthMessageProcessor::CreateSyncGroupMessage(nlohmann::json &json) in CreateSyncGroupMessage()
232 void AuthMessageProcessor::CreateResponseAuthMessage(nlohmann::json &json) in CreateResponseAuthMessage()
260 void AuthMessageProcessor::CreateResponseFinishMessage(nlohmann::json &json) in CreateResponseFinishMessage()
313 void AuthMessageProcessor::ParseSyncDeleteMessageExt(nlohmann::json &json) in ParseSyncDeleteMessageExt()
326 void AuthMessageProcessor::ParsePublicKeyMessageExt(nlohmann::json &json) in ParsePublicKeyMessageExt()
[all …]
/foundation/communication/dsoftbus/core/common/json_utils/
Dsoftbus_json_utils.c24 int32_t GetStringItemByJsonObject(const cJSON *json, const char * const string, char *target, in GetStringItemByJsonObject()
49 bool GetJsonObjectStringItem(const cJSON *json, const char * const string, char *target, in GetJsonObjectStringItem()
74 bool GetJsonObjectNumberItem(const cJSON *json, const char * const string, int32_t *target) in GetJsonObjectNumberItem()
89 bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const string, int32_t *target) in GetJsonObjectSignedNumberItem()
104 bool GetJsonObjectDoubleItem(const cJSON *json, const char * const string, double *target) in GetJsonObjectDoubleItem()
119 bool GetJsonObjectNumber16Item(const cJSON *json, const char * const string, uint16_t *target) in GetJsonObjectNumber16Item()
134 bool GetJsonObjectNumber64Item(const cJSON *json, const char * const string, int64_t *target) in GetJsonObjectNumber64Item()
149 bool GetJsonObjectSignedNumber64Item(const cJSON *json, const char * const string, int64_t *target) in GetJsonObjectSignedNumber64Item()
164 bool GetJsonObjectInt32Item(const cJSON *json, const char * const string, int32_t *target) in GetJsonObjectInt32Item()
179 bool GetJsonObjectBoolItem(const cJSON *json, const char * const string, bool *target) in GetJsonObjectBoolItem()
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
Dtext_input_decoration_test.cpp43 auto json = JsonUtil::Create(true); variable
84 auto json = JsonUtil::Create(true); variable
125 auto json = JsonUtil::Create(true); variable
166 auto json = JsonUtil::Create(true); variable
207 auto json = JsonUtil::Create(true); variable
248 auto json = JsonUtil::Create(true); variable
289 auto json = JsonUtil::Create(true); variable
330 auto json = JsonUtil::Create(true); variable
371 auto json = JsonUtil::Create(true); variable
413 auto json = JsonUtil::Create(true); variable
[all …]
Dtext_area_decoration_test.cpp217 auto json = JsonUtil::Create(true); variable
259 auto json = JsonUtil::Create(true); variable
301 auto json = JsonUtil::Create(true); variable
343 auto json = JsonUtil::Create(true); variable
385 auto json = JsonUtil::Create(true); variable
427 auto json = JsonUtil::Create(true); variable
469 auto json = JsonUtil::Create(true); variable
511 auto json = JsonUtil::Create(true); variable
553 auto json = JsonUtil::Create(true); variable
595 auto json = JsonUtil::Create(true); variable
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
Dlist_layout_property.cpp24 V2::ItemDivider ItemDividerFromJson(const std::unique_ptr<JsonValue>& json) in ItemDividerFromJson()
35 void ListLayoutProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filte… in ToJsonValue()
88 std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const in ScrollSnapPropToJsonValue()
107 void ListLayoutProperty::FromJson(const std::unique_ptr<JsonValue>& json) in FromJson()
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
Dsoftbus_adapter_json.cpp33 nlohmann::json *json = new (std::nothrow) nlohmann::json(); in JSON_CreateObject() local
50 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Delete() local
73 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_PrintUnformatted() local
100 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Parse() local
125 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddBoolToObject() local
140 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetBoolFromOject() local
161 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddIntegerToObject() local
177 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetIntegerFromObject() local
239 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_AddStringToObject() local
254 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_GetStringFromOject() local
[all …]
/foundation/communication/dsoftbus/tests/core/connection/br/
Dconnection_br_mock.cpp39 bool GetJsonObjectSignedNumberItem(const cJSON *json, const char * const string, int *target) in GetJsonObjectSignedNumberItem()
44 bool GetJsonObjectNumber64Item(const cJSON *json, const char * const string, int64_t *target) in GetJsonObjectNumber64Item()
49 bool AddNumberToJsonObject(cJSON *json, const char * const string, int num) in AddNumberToJsonObject()
54 bool AddNumber64ToJsonObject(cJSON *json, const char * const string, int64_t num) in AddNumber64ToJsonObject()
64 bool GetJsonObjectNumberItem(const cJSON *json, const char * const string, int *target) in GetJsonObjectNumberItem()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
Drender_property.cpp98 void RenderPositionProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& f… in ToJsonValue()
124 void GraphicsProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter)… in ToJsonValue()
210 void BackgroundProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filte… in ToJsonValue()
239 void CustomBackgroundProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter&… in ToJsonValue()
254 void ForegroundProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filte… in ToJsonValue()
275 void ClipProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) con… in ToJsonValue()
304 void GradientProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter)… in ToJsonValue()
329 void TransformProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter… in ToJsonValue()
379 void BorderProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) c… in ToJsonValue()
396 void OuterBorderProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filt… in ToJsonValue()
[all …]
/foundation/arkui/ace_engine/test/unittest/core/render/
Drender_context_test_ng.cpp204 auto json = JsonUtil::Create(true); variable
233 auto json = JsonUtil::Create(true); variable
261 auto json = JsonUtil::Create(true); variable
296 auto json = JsonUtil::Create(true); variable
325 auto json = JsonUtil::Create(true); variable
385 auto json = JsonUtil::Create(true); variable
413 auto json = JsonUtil::Create(true); variable
Drender_property_test_ng.cpp105 auto json = JsonUtil::Create(true); variable
158 auto json = JsonUtil::Create(true); variable
188 auto json = JsonUtil::Create(true); variable
262 auto json = JsonUtil::Create(true); variable
296 auto json = JsonUtil::Create(true); variable
324 auto json = JsonUtil::Create(true); variable
357 auto json = JsonUtil::Create(true); variable
399 auto json = JsonUtil::Create(true); variable
448 auto json = JsonUtil::Create(true); variable
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
Ddivider_layout_property.h49 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
66 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
Ddivider_render_property.h49 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
68 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
Dconnection_ble_trans_mock.cpp50 bool AddNumberToJsonObject(cJSON *json, const char *const string, int32_t num) in AddNumberToJsonObject()
60 bool AddNumber16ToJsonObject(cJSON *json, const char *const string, uint16_t num) in AddNumber16ToJsonObject()
65 char *cJSON_PrintUnformatted(const cJSON *json) in cJSON_PrintUnformatted()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/render_node/
Drender_node_layout_property.h43 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
57 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stack/
Dstack_layout_property.h43 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
57 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_bar_layout_property.h73 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
84 void FromJson(const std::unique_ptr<JsonValue>& json) override in FromJson()
Dtab_content_layout_property.h50 void ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& filter) const override in ToJsonValue()
66 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.c37 cJSON *json = cJSON_CreateObject(); in VerifyP2pPackError() local
59 cJSON *json = cJSON_CreateObject(); in VerifyP2pPack() local
79 int32_t VerifyP2pUnPack(const cJSON *json, char *ip, uint32_t ipLen, int32_t *port) in VerifyP2pUnPack()
/foundation/communication/dsoftbus/core/transmission/common/src/
Dsoftbus_message_open_channel.c36 cJSON *json = cJSON_CreateObject(); in PackError() local
56 static int32_t PackFirstData(const AppInfo *appInfo, cJSON *json) in PackFirstData()
98 static int32_t JsonObjectPackRequestEx(const AppInfo *appInfo, cJSON *json, unsigned char *encodeSe… in JsonObjectPackRequestEx()
135 cJSON *json = cJSON_CreateObject(); in PackRequest() local
172 static int32_t UnpackFirstData(AppInfo *appInfo, const cJSON *json) in UnpackFirstData()
294 static int32_t AddItemsToJsonObject(const AppInfo *appInfo, cJSON *json) in AddItemsToJsonObject()
315 cJSON *json = cJSON_CreateObject(); in PackReply() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
Dtext_field_paint_property.cpp21 void TextFieldPaintProperty::ToJsonValue(std::unique_ptr<JsonValue>& json, const InspectorFilter& f… in ToJsonValue()
42 void TextFieldPaintProperty::FromJson(const std::unique_ptr<JsonValue>& json) in FromJson()
/foundation/arkui/ace_engine/test/unittest/core/property/
Dborder_property_test_ng.cpp50 auto json = JsonUtil::Create(true); variable
118 auto json = JsonUtil::Create(true); variable
165 auto json = JsonUtil::Create(true); variable
213 auto json = JsonUtil::Create(true); variable

12345678910>>...18