Home
last modified time | relevance | path

Searched refs:dataJson (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/tests/core/discovery/coap/common/unittest/
H A Ddisc_coap_parser_test.cpp97 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); in HWTEST_F() local
100 DiscCoapParseWifiIpAddr(dataJson, &deviceInfo); in HWTEST_F()
159 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); in HWTEST_F() local
169 ret = DiscCoapParseServiceData(dataJson, &deviceInfo); in HWTEST_F()
173 dataJson = cJSON_Parse(dataStr.c_str()); in HWTEST_F()
174 ret = DiscCoapParseServiceData(dataJson, &deviceInfo); in HWTEST_F()
178 dataJson = cJSON_Parse(dataStr.c_str()); in HWTEST_F()
179 ret = DiscCoapParseServiceData(dataJson, &deviceInfo); in HWTEST_F()
192 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); in HWTEST_F() local
196 dataJson in HWTEST_F()
211 cJSON *dataJson = cJSON_Parse(dataStr.c_str()); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h82 std::string& value, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson);
150 int32_t parentId, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& actionJson,
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 bool ParsePointOperator(const std::string& tmpKey, std::stack<std::string>& keyStack, const std::string& dataJson);
186 void GetShownAttr(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson,
194 void GetBoolValue(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson,
[all...]
H A Djs_card_parser.cpp614 const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson) in ParseAttributes()
668 ParseVariable(value, dataJson, propsJson); in ParseAttributes()
670 ParseMultiVariable(value, dataJson, propsJson); in ParseAttributes()
1197 auto dataJson = isRepeat_ ? repeatJson_->ToString() : json->ToString(); in ParseArrayExpression() local
1198 auto dataValue = JsonUtil::ParseJsonString(dataJson); in ParseArrayExpression()
1206 if (!ParsePointOperator(tmpKey, keyStack, dataJson)) { in ParseArrayExpression()
1250 return ParsePointOperator(tmpKey, keyStack, dataJson); in ParseArrayExpression()
1256 int32_t parentId, const std::vector<int>& idArray, const std::unique_ptr<JsonValue>& dataJson, in UpdateDomNode()
1285 GetShownAttr(rootJson, dataJson, propsJson, shouldShow, hasShownAttr); in UpdateDomNode()
1320 ParseAttributes(rootJson, selfId, attrs, static_cast<JsCommandDomElementOperator*>(ptr), dataJson, propsJso in UpdateDomNode()
612 ParseAttributes(const std::unique_ptr<JsonValue>& rootJson, int32_t nodeId, std::vector<std::pair<std::string, std::string>>& attrs, JsCommandDomElementOperator* command, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson) ParseAttributes() argument
1255 UpdateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId, const std::vector<int>& idArray, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson) UpdateDomNode() argument
1335 UpdateChildRen(const std::unique_ptr<JsonValue>& childList, const RefPtr<Framework::JsAcePage>& page, int32_t selfId, const std::vector<int>& idArray, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson) UpdateChildRen() argument
1348 ParseVariable( std::string& value, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson) ParseVariable() argument
1364 ParseMultiVariable( std::string& value, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson) ParseMultiVariable() argument
1557 GetVariable(std::string& value, const std::unique_ptr<JsonValue>& dataJson) GetVariable() argument
1609 ParsePointOperator( const std::string& tmpKey, std::stack<std::string>& keyStack, const std::string& dataJson) ParsePointOperator() argument
1633 CreateDomNode(const RefPtr<Framework::JsAcePage>& page, const std::unique_ptr<JsonValue>& rootJson, int32_t parentId, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& actionJson, const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson, bool isNewNode) CreateDomNode() argument
1918 GetShownAttr(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson, bool& shouldShow, bool& hasShownAttr) GetShownAttr() argument
2019 GetBoolValue(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& dataJson, const std::unique_ptr<JsonValue>& propsJson, const std::string& key, bool& value, bool& hasAttr) GetBoolValue() argument
[all...]
/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp445 cJSON *dataJson = nullptr; in GetOsInfoFromDM() local
448 dataJson = cJSON_Parse(dmInfoEx.c_str()); in GetOsInfoFromDM()
449 if (dataJson == nullptr) { in GetOsInfoFromDM()
454 if (!CJsonParamCheck(dataJson, {PARAM_KEY_OS_TYPE, PARAM_KEY_OS_VERSION})) { in GetOsInfoFromDM()
459 osType = cJSON_GetObjectItemCaseSensitive(dataJson, PARAM_KEY_OS_TYPE)->valueint; in GetOsInfoFromDM()
460 osVersion = std::string(cJSON_GetObjectItemCaseSensitive(dataJson, PARAM_KEY_OS_VERSION)->valuestring); in GetOsInfoFromDM()
464 if (dataJson != nullptr) { in GetOsInfoFromDM()
465 cJSON_Delete(dataJson); in GetOsInfoFromDM()
466 dataJson = nullptr; in GetOsInfoFromDM()
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_ability_impl.cpp269 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()

Completed in 10 milliseconds