Home
last modified time | relevance | path

Searched refs:objectValue (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_record_test.cpp152 auto objectValue = (*object)->value_; in CheckPlainUds() local
153 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
156 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
167 auto objectValue = (*object)->value_; in CheckFileUriUds() local
168 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds()
171 auto value = std::get_if<std::string>(&objectValue[UDMF::FILE_URI_PARAM]); in CheckFileUriUds()
182 auto objectValue = (*object)->value_; in CheckHtmlUds() local
186 auto value = std::get_if<std::string>(&objectValue[UDMF::HTML_CONTENT]); in CheckHtmlUds()
197 auto objectValue = (*object)->value_; in CheckPixelMapUds() local
216 auto objectValue = (*object)->value_; in CheckLinkUds() local
[all …]
H A Dconvert_utils_test.cpp262 auto objectValue = (*object)->value_; in CheckPlainUds() local
263 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
266 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
278 auto objectValue = (*object)->value_; in CheckFileUriUds() local
279 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds()
282 auto value = std::get_if<std::string>(&objectValue[UDMF::FILE_URI_PARAM]); in CheckFileUriUds()
294 auto objectValue = (*object)->value_; in CheckHtmlUds() local
298 auto value = std::get_if<std::string>(&objectValue[UDMF::HTML_CONTENT]); in CheckHtmlUds()
310 auto objectValue = (*object)->value_; in CheckPixelMapUds() local
330 auto objectValue = (*object)->value_; in CheckLinkUds() local
[all …]
H A Dpaste_data_entry_test.cpp115 auto objectValue = (*object)->value_; in CheckPlainUds() local
116 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
119 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
131 auto objectValue = (*object)->value_; in CheckPixelMapUds() local
132 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPixelMapUds()
135 auto value = std::get_if<std::shared_ptr<PixelMap>>(&objectValue[UDMF::PIXEL_MAP]); in CheckPixelMapUds()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Djson_util_test.cpp207 ASSERT_TRUE(objectValue);
208 EXPECT_TRUE(objectValue->IsValid());
209 EXPECT_FALSE(objectValue->IsNull());
210 EXPECT_TRUE(objectValue->IsObject());
211 EXPECT_TRUE(objectValue->Contains(TEST_KEY));
212 EXPECT_FALSE(objectValue->Contains(TEST_FALSE_KEY));
234 ASSERT_TRUE(objectValue);
235 EXPECT_TRUE(objectValue->IsValid());
236 EXPECT_FALSE(objectValue->IsNull());
237 EXPECT_TRUE(objectValue->IsObject());
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Djson_object.cpp149 if (value_.type() != Json::ValueType::objectValue) { in Parse()
211 if (value_.type() != Json::ValueType::objectValue) { in Parse()
324 if (valueNode.type() != Json::ValueType::objectValue) { in GetSubFieldPath()
359 if (valueNode.type() != Json::ValueType::objectValue) { in GetSubFieldPathAndType()
489 leafNode = Json::Value(Json::ValueType::objectValue); in LeafJsonNodeAssignValue()
511 if (nearest->type() != Json::ValueType::objectValue) { // path ends with type not object in MoveToPath()
529 value_ = Json::Value(Json::ValueType::objectValue); in InsertField()
554 value_ = Json::Value(Json::ValueType::objectValue); in InsertField()
659 case Json::ValueType::objectValue: in GetFieldTypeByJsonValue()
682 …if ((valueNode->type() != Json::ValueType::objectValue) || (!valueNode->isMember(eachPathSegment))… in GetJsonValueByFieldPath()
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/event_store/config/src/
H A Devent_store_config.cpp61 if (auto node = root[*iter]; node.type() == Json::objectValue) { in Init()
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record.cpp369 jsonVal_.type() != Json::ValueType::objectValue)) { in ParseJsonStr()
460 jsonVal_.type() != Json::ValueType::objectValue)) { in ParseJsonStr()
/ohos5.0/foundation/resourceschedule/qos_manager/services/src/
H A Dconcurrent_task_controller.cpp937 if (type != Json::objectValue) { in CheckJsonValid()
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dscreen_capture_server.cpp252 if (!parsingSuccessful || root.type() != Json::objectValue) { in GetChoiceFromJson()
264 if (root.type() != Json::objectValue) { in PrepareSelectWindow()