Searched refs:dataJson (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/coap/common/unittest/ |
H A D | disc_coap_parser_test.cpp | 99 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); variable 102 DiscCoapParseWifiIpAddr(dataJson, &deviceInfo); 161 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); variable 171 ret = DiscCoapParseServiceData(dataJson, &deviceInfo); 175 dataJson = cJSON_Parse(dataStr.c_str()); 176 ret = DiscCoapParseServiceData(dataJson, &deviceInfo); 180 dataJson = cJSON_Parse(dataStr.c_str()); 194 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); variable 198 dataJson = cJSON_Parse(dataStr.c_str()); 213 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.h | 82 …std::string& value, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& … 150 …int32_t parentId, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& ac… 156 const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson); 159 void ParseVariable(std::string& value, const std::unique_ptr<JsonValue>& dataJson, 161 void ParseMultiVariable(std::string& value, const std::unique_ptr<JsonValue>& dataJson, 164 … int32_t parentId, const std::vector<int>& idArray, const std::unique_ptr<JsonValue>& dataJson, 170 bool GetVariable(std::string& value, const std::unique_ptr<JsonValue>& dataJson); 177 …perator(const std::string& tmpKey, std::stack<std::string>& keyStack, const std::string& dataJson); 186 …etShownAttr(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson, 194 …etBoolValue(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson,
|
H A D | js_card_parser.cpp | 674 ParseVariable(value, dataJson, propsJson); in ParseAttributes() 676 ParseMultiVariable(value, dataJson, propsJson); in ParseAttributes() 1204 auto dataValue = JsonUtil::ParseJsonString(dataJson); in ParseArrayExpression() 1256 return ParsePointOperator(tmpKey, keyStack, dataJson); in ParseArrayExpression() 1358 ParseVariable(value, dataJson, propsJson); in ParseVariable() 1382 ParseVariable(var, dataJson, propsJson); in ParseMultiVariable() 1563 CHECK_NULL_RETURN(dataJson, false); in GetVariable() 1564 auto dataValue = dataJson->GetValue(key); in GetVariable() 1574 ParseVariable(value, dataJson); in GetVariable() 1619 data = JsonUtil::ParseJsonString(dataJson); in ParsePointOperator() [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | deviceauth_func_test.cpp | 1792 CJson *dataJson = CreateJson(); variable 1793 ASSERT_NE(dataJson, nullptr); 1795 FreeJson(dataJson); 1833 CJson *dataJson = CreateJson(); variable 1834 ASSERT_NE(dataJson, nullptr); 1836 FreeJson(dataJson); 1855 CJson *dataJson = CreateJson(); variable 1856 ASSERT_NE(dataJson, nullptr); 1863 dataStr = PackJsonToString(dataJson); 1871 dataStr = PackJsonToString(dataJson); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_ability_impl.cpp | 269 jerry_value_t dataJson = jerry_json_stringify(args[0]); in OnSaveData() local 271 char *userData = MallocStringOf(dataJson); in OnSaveData() 272 ReleaseJerryValue(dataJson, jerryUserData, onSaveFunction, VA_ARG_END_FLAG); in OnSaveData()
|
/ohos5.0/base/security/device_auth/frameworks/src/ |
H A D | ipc_service.c | 46 CJson *dataJson = CreateJsonFromString(data); in BindRequestIdWithAppId() local 47 if (dataJson == NULL) { in BindRequestIdWithAppId() 52 appId = GetStringFromJson(dataJson, FIELD_APP_ID); in BindRequestIdWithAppId() 55 FreeJson(dataJson); in BindRequestIdWithAppId() 58 (void)GetInt64FromJson(dataJson, FIELD_REQUEST_ID, &requestId); in BindRequestIdWithAppId() 60 FreeJson(dataJson); in BindRequestIdWithAppId()
|