/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | effect_json_helper.cpp | 44 EffectJson::EffectJson(Json *json, bool isRoot) : json_(json), isRoot_(isRoot) {} in EffectJson() argument 243 void DeleteJson(cJSON *json, bool isAllowDelete = true) in DeleteJson() argument 250 bool EffectJson::Put(const std::string &key, Json *json, bool isAllowDelete) in Put() argument 259 Put(const std::string &key, EffectJsonPtr &json) Put() argument 312 Add(Json *json, bool isAllowDelete) const Add() argument 382 Replace(const std::string &key, Json *json, bool jsonObject) Replace() argument 392 Replace(const std::string &key, EffectJsonPtr &json) Replace() argument 461 cJSON *json = cJSON_Parse(data.c_str()); ParseJsonData() local 467 cJSON *json = cJSON_CreateObject(); CreateObject() local 473 cJSON *json = cJSON_CreateArray(); CreateArray() local [all...] |
/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_util_test.cpp | 610 cJSON *json = nullptr; in HWTEST_F() local 626 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local 1390 cJSON* json = nullptr; in HWTEST_F() local 1407 cJSON *json = cJSON_Parse(jsonStr); HWTEST_F() local [all...] |
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | input_parse.cpp | 44 void GetJsonData(cJSON *json, const std::string &key, std::string &val) in GetJsonData() argument 60 void GetJsonData(cJSON *json, const std::string &key, T &val) in GetJsonData() argument 75 GetJsonData(cJSON *json, const std::string& key, std::vector<int32_t>& vals) GetJsonData() argument [all...] |
/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_trans_test.cpp | 50 void cJSON_Delete(cJSON *json) in cJSON_Delete() argument 157 cJSON json = {0}; in HWTEST_F() local
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_data_cloud_sync_mock_test.cpp | 603 cJSON *json = cJSON_CreateObject();
in HWTEST_F() local
|
H A D | lnn_topo_manager_test.cpp | 244 cJSON *json = NULL; in HWTEST_F() local 393 cJSON *json = cJSON_ParseWithLength(msg1, strlen(msg1)); in HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/tests/core/connection/br/ |
H A D | br_mock.cpp | 87 int32_t ConnBrOnAckRequest(ConnBrConnection *connection, const cJSON *json)
in ConnBrOnAckRequest() argument 92 int32_t ConnBrOnAckResponse(ConnBrConnection *connection, const cJSON *json)
in ConnBrOnAckResponse() argument
|
/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | softbus_message_open_channel.c | 36 cJSON *json = cJSON_CreateObject(); in PackError() local 56 static int32_t PackFirstData(const AppInfo *appInfo, cJSON *json) in PackFirstData() argument 98 JsonObjectPackRequestEx(const AppInfo *appInfo, cJSON *json, unsigned char *encodeSessionKey) JsonObjectPackRequestEx() argument 136 cJSON *json = cJSON_CreateObject(); PackRequest() local 174 UnpackFirstData(AppInfo *appInfo, const cJSON *json) UnpackFirstData() argument 296 AddItemsToJsonObject(const AppInfo *appInfo, cJSON *json) AddItemsToJsonObject() argument 317 cJSON *json = cJSON_CreateObject(); PackReply() local [all...] |
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_devicename_info.c | 84 JsonObj *json = JSON_CreateObject(); in LnnSyncDeviceNickName() local 250 JsonObj *json = JSON_Parse((const char *)msg, len); in OnReceiveDeviceNickName() local [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_core_tcp_direct_test.cpp | 336 cJSON *json = cJSON_Parse(msg.c_str()); in HWTEST_F() local
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/wearable_distributed_net_manager_test/ |
H A D | wearable_distributed_net_manager_test.cpp | 350 cJSON json; in HWTEST_F() local 361 cJSON json; in HWTEST_F() local 372 cJSON json; HWTEST_F() local 388 cJSON json; HWTEST_F() local 404 cJSON json; HWTEST_F() local 423 cJSON json; HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/core/common/dfx/statistics/ |
H A D | trans_network_statistics.c | 268 static int32_t PackNetworkStatistics(cJSON *json, NetworkStatisticsInfo *info) in PackNetworkStatistics() argument 313 cJSON *json in DfxRecordTransChannelStatistics() local [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | wearable_distributed_net_manager.cpp | 71 cJSON *json = cJSON_Parse(jsonStr.c_str()); in ReadSystemIptablesConfiguration() local 107 bool WearableDistributedNet::ParseTcpIptables(const cJSON &json) in ParseTcpIptables() argument 122 bool WearableDistributedNet::ParseTcpOutputRule(const cJSON &json) in ParseTcpOutputRule() argument 133 bool WearableDistributedNet::ParseUdpIptables(const cJSON &json) in ParseUdpIptables() argument 148 ParseUdpOutputRule(const cJSON &json) ParseUdpOutputRule() argument 159 ParseIptablesDeleteCmds(const cJSON &json) ParseIptablesDeleteCmds() argument 174 ReadIptablesInterfaces(const cJSON &json) ReadIptablesInterfaces() argument [all...] |
/foundation/communication/nfc/services/src/tag/ |
H A D | isodep_card_handler.cpp | 50 static bool GetCheckApduFromJson(cJSON *json, cJSON *cardInfoEach, TransportCardInfo *cardInfoList, int index)
in GetCheckApduFromJson() argument 73 static bool GetBalanceApduFromJson(cJSON *json, cJSON *cardInfoEach, TransportCardInfo *cardInfoList, int index)
in GetBalanceApduFromJson() argument 96 static bool GetEachCardInfoFromJson(cJSON *json, cJSON *cardInfo,
in GetEachCardInfoFromJson() argument 148 cJSON *json = cJSON_Parse(content.c_str()); DoJsonRead() local [all...] |
/foundation/communication/netmanager_ext/services/wearabledistributednetmanager/src/ |
H A D | wearable_distributed_net_link_info.cpp | 81 bool WearableDistributedNetLinkInfo::ParseDnsLists(const cJSON &json)
in ParseDnsLists() argument 94 bool WearableDistributedNetLinkInfo::ParseIfaceName(const cJSON &json)
in ParseIfaceName() argument 105 bool WearableDistributedNetLinkInfo::ParseDefaultNetMask(const cJSON &json)
in ParseDefaultNetMask() argument 116 bool WearableDistributedNetLinkInfo::ParseNetIfaceAddress(const cJSON &json)
in ParseNetIfaceAddress() argument 127 bool WearableDistributedNetLinkInfo::ParseIpv4DeRouteAddr(const cJSON &json)
in ParseIpv4DeRouteAddr() argument 138 ParseDummyAddress(const cJSON &json) ParseDummyAddress() argument 149 ParseIpv4AddrNetMask(const cJSON &json) ParseIpv4AddrNetMask() argument 160 ParseRouteDestinationAddr(const cJSON &json) ParseRouteDestinationAddr() argument 188 ReadNetlinkinfoInterfaces(const cJSON &json) ReadNetlinkinfoInterfaces() argument 232 cJSON *json = cJSON_Parse(jsonStr.c_str()); ReadSystemNetlinkinfoConfiguration() local [all...] |
/foundation/deviceprofile/device_info_manager/common/src/interfaces/ |
H A D | access_control_profile.cpp | 242 cJSON* json = cJSON_CreateObject(); in dump() local [all...] |
H A D | device_profile.cpp | 186 cJSON* json = cJSON_CreateObject(); in dump() local 216 cJSON* json = cJSON_CreateObject(); AnnoymizeDump() local [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | auth_message_processor.cpp | 144 void AuthMessageProcessor::CreatePublicKeyMessageExt(nlohmann::json &json) in CreatePublicKeyMessageExt() argument 149 void AuthMessageProcessor::CreateResponseAuthMessageExt(nlohmann::json &json) in CreateResponseAuthMessageExt() argument 157 CreateNegotiateMessage(nlohmann::json &json) CreateNegotiateMessage() argument 186 CreateRespNegotiateMessage(nlohmann::json &json) CreateRespNegotiateMessage() argument 219 CreateSyncGroupMessage(nlohmann::json &json) CreateSyncGroupMessage() argument 225 CreateResponseAuthMessage(nlohmann::json &json) CreateResponseAuthMessage() argument 253 CreateResponseFinishMessage(nlohmann::json &json) CreateResponseFinishMessage() argument 302 ParsePublicKeyMessageExt(nlohmann::json &json) ParsePublicKeyMessageExt() argument 309 ParseAuthResponseMessageExt(nlohmann::json &json) ParseAuthResponseMessageExt() argument 326 ParseResponseFinishMessage(nlohmann::json &json) ParseResponseFinishMessage() argument 336 GetAuthReqMessage(nlohmann::json &json) GetAuthReqMessage() argument 369 ParseAuthRequestMessage(nlohmann::json &json) ParseAuthRequestMessage() argument 411 ParseAuthResponseMessage(nlohmann::json &json) ParseAuthResponseMessage() argument 444 ParsePkgNegotiateMessage(const nlohmann::json &json) ParsePkgNegotiateMessage() argument 494 ParseNegotiateMessage(const nlohmann::json &json) ParseNegotiateMessage() argument 531 ParseRespNegotiateMessage(const nlohmann::json &json) ParseRespNegotiateMessage() argument [all...] |
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | serializable_test.cpp | 196 auto json = ToJson(jsonStr); in HWTEST_F() local 221 auto json = ToJson(jsonStr); in HWTEST_F() local 246 auto json = ToJson(jsonStr); HWTEST_F() local 271 auto json = ToJson(jsonStr); HWTEST_F() local 296 auto json = ToJson(jsonStr); HWTEST_F() local 321 auto json = ToJson(jsonStr); HWTEST_F() local [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | js_common_utils.cpp | 315 napi_value json = nullptr; in JsonStringify() local 337 napi_value json = nullptr; in JsonParse() local
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 389 cJSON *json = cJSON_GetObjectItem(jsonObject, key.c_str()); in FromJson() local
|
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/addwhitelistinfoscallbackunittest/ |
H A D | add_white_list_infos_call_back_test.cpp | 214 std::string json = "json0";
in HWTEST_F() local 225 std::string json = "json0";
in HWTEST_F() local
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 72 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local 91 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 15 import json namespace
|
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_monitor.py | 15 import json namespace
|