/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | dng_exif_metadata_accessor_test.cpp | 67 ASSERT_EQ(exifMetadata->GetValue("ImageWidth", value), SUCCESS); 81 ASSERT_EQ(exifMetadata->GetValue("SceneType", value), SUCCESS); 85 ASSERT_EQ(exifMetadata->GetValue("FNumber", value), SUCCESS); 87 ASSERT_EQ(exifMetadata->GetValue("DateTime", value), SUCCESS); 95 ASSERT_EQ(exifMetadata->GetValue("Make", value), SUCCESS); 97 ASSERT_EQ(exifMetadata->GetValue("Model", value), SUCCESS); 132 ASSERT_EQ(exifMetadata->GetValue("Flash", value), SUCCESS); 150 ASSERT_EQ(exifMetadata->GetValue("Artist", value), SUCCESS); 154 ASSERT_EQ(exifMetadata->GetValue("OECF", value), SUCCESS); 233 ASSERT_EQ(exifMetadata->GetValue("Gamma", value), SUCCESS); [all …]
|
H A D | exif_metadata_test.cpp | 98 metadata.GetValue("Orientation", value); 109 metadata.GetValue("ImageLength", value); 120 metadata.GetValue("ImageWidth", value); 131 metadata.GetValue("GPSLatitude", value); 197 metadata.GetValue("SceneType", value); 219 metadata.GetValue("FNumber", value); 230 metadata.GetValue("DateTime", value); 263 metadata.GetValue("Model", value); 362 metadata.GetValue("Flash", value); 766 metadata.GetValue(key, retvalue); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_decoration_test.cpp | 54 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == 59 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == 95 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == 100 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == 136 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == 141 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == 177 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == 182 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == 218 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == 259 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == [all …]
|
H A D | text_area_decoration_test.cpp | 229 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 234 EXPECT_TRUE(innerJson->GetValue("style")->GetString() == 271 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 276 EXPECT_TRUE(innerJson->GetValue("style")->GetString() == 313 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 318 EXPECT_TRUE(innerJson->GetValue("style")->GetString() == 355 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 397 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 439 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == 481 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | store_meta_data.cpp | 72 GetValue(node, GET_NAME(version), version); in Unmarshal() 75 GetValue(node, GET_NAME(isDirty), isDirty); in Unmarshal() 82 GetValue(node, GET_NAME(area), area); in Unmarshal() 83 GetValue(node, GET_NAME(uid), uid); in Unmarshal() 84 GetValue(node, GET_NAME(tokenId), tokenId); in Unmarshal() 86 GetValue(node, GET_NAME(appId), appId); in Unmarshal() 87 GetValue(node, GET_NAME(appType), appType); in Unmarshal() 92 GetValue(node, GET_NAME(schema), schema); in Unmarshal() 94 GetValue(node, GET_NAME(user), user); in Unmarshal() 102 GetValue(node, GET_NAME(UID), uid); in Unmarshal() [all …]
|
/ohos5.0/base/inputmethod/imf/services/include/ |
H A D | sys_cfg_parser.h | 46 return GetValue(node, GET_NAME(systemConfig), systemConfig); in Unmarshal() 57 auto ret = GetValue(node, GET_NAME(inputType), typeTemp); in Unmarshal() 62 ret = GetValue(node, GET_NAME(bundleName), bundleName) && ret; in Unmarshal() 63 ret = GetValue(node, GET_NAME(subtypeId), subName) && ret; in Unmarshal() 83 auto ret = GetValue(node, GET_NAME(style), style); in Unmarshal() 84 ret = GetValue(node, GET_NAME(top), top) && ret; in Unmarshal() 85 ret = GetValue(node, GET_NAME(left), left) && ret; in Unmarshal() 86 ret = GetValue(node, GET_NAME(right), right) && ret; in Unmarshal() 87 ret = GetValue(node, GET_NAME(bottom), bottom) && ret; in Unmarshal() 96 return GetValue(node, GET_NAME(sysPanelAdjust), panelAdjust); in Unmarshal() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
H A D | checker_config.cpp | 32 GetValue(node, GET_NAME(appId), appId); in Unmarshal() 34 GetValue(node, GET_NAME(base64Key), base64Key); in Unmarshal() 35 GetValue(node, GET_NAME(checker), checker); in Unmarshal() 52 GetValue(node, GET_NAME(checkers), checkers); in Unmarshal() 53 GetValue(node, GET_NAME(trusts), trusts); in Unmarshal() 54 GetValue(node, GET_NAME(distrusts), distrusts); in Unmarshal() 55 GetValue(node, GET_NAME(switches), switches); in Unmarshal() 73 GetValue(node, GET_NAME(uid), uid); in Unmarshal() 74 GetValue(node, GET_NAME(tokenId), tokenId); in Unmarshal() 76 GetValue(node, GET_NAME(storeId), storeId); in Unmarshal() [all …]
|
H A D | global_config.cpp | 37 GetValue(node, GET_NAME(processLabel), processLabel); in Unmarshal() 38 GetValue(node, GET_NAME(metaData), metaData); in Unmarshal() 39 GetValue(node, GET_NAME(version), version); in Unmarshal() 40 GetValue(node, GET_NAME(features), features); in Unmarshal() 41 GetValue(node, GET_NAME(components), components); in Unmarshal() 42 GetValue(node, GET_NAME(bundleChecker), bundleChecker); in Unmarshal() 43 GetValue(node, GET_NAME(networks), networks); in Unmarshal() 44 GetValue(node, GET_NAME(directory), directory); in Unmarshal() 45 GetValue(node, GET_NAME(backup), backup); in Unmarshal() 46 GetValue(node, GET_NAME(cloud), cloud); in Unmarshal() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/common/ |
H A D | js_util.h | 31 static bool GetValue(napi_env env, napi_value in, int32_t &out); 34 static bool GetValue(napi_env env, napi_value in, bool &out); 35 static bool GetValue(napi_env env, napi_value in, double &out); 45 if (status != napi_ok || !GetValue(env, item, buff)) { in GetValue() 54 static napi_value GetValue(napi_env env, napi_value in); 56 static napi_value GetValue(napi_env env, int32_t in); 57 static napi_value GetValue(napi_env env, uint32_t in); 58 static napi_value GetValue(napi_env env, int64_t in); 59 static napi_value GetValue(napi_env env, bool in); 69 auto itemValue = GetValue(env, item); in GetValue() [all …]
|
H A D | js_util.cpp | 44 bool ret = GetValue(env, in, tempOut); in GetValue() 50 bool JsUtil::GetValue(napi_env env, napi_value in, int32_t &out) in GetValue() function in OHOS::MiscServices::JsUtil 58 bool JsUtil::GetValue(napi_env env, napi_value in, int64_t &out) in GetValue() function in OHOS::MiscServices::JsUtil 62 bool JsUtil::GetValue(napi_env env, napi_value in, bool &out) in GetValue() function in OHOS::MiscServices::JsUtil 66 bool JsUtil::GetValue(napi_env env, napi_value in, double &out) in GetValue() function in OHOS::MiscServices::JsUtil 70 napi_value JsUtil::GetValue(napi_env env, napi_value in) in GetValue() function in OHOS::MiscServices::JsUtil 74 napi_value JsUtil::GetValue(napi_env env, const std::string &in) in GetValue() function in OHOS::MiscServices::JsUtil 80 napi_value JsUtil::GetValue(napi_env env, int32_t in) in GetValue() function in OHOS::MiscServices::JsUtil 86 napi_value JsUtil::GetValue(napi_env env, uint32_t in) in GetValue() function in OHOS::MiscServices::JsUtil 92 napi_value JsUtil::GetValue(napi_env env, int64_t in) in GetValue() function in OHOS::MiscServices::JsUtil [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
H A D | js_util.h | 60 static napi_status GetValue(napi_env env, napi_value in, napi_value& out); 63 static napi_status GetValue(napi_env env, napi_value in, bool& out); 67 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 71 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 75 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 79 static napi_status GetValue(napi_env env, napi_value in, double& out); 83 static napi_status GetValue(napi_env env, napi_value in, std::string& out); 123 static napi_status GetValue(napi_env env, napi_value in, Options& out); 127 static napi_status GetValue(napi_env env, napi_value in, UserInfo& out); 149 static napi_status GetValue(napi_env env, napi_value in, JsSchema*& out); [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | schema_meta.cpp | 32 GetValue(node, GET_NAME(version), version); in Unmarshal() 61 GetValue(node, GET_NAME(name), name); in Unmarshal() 62 GetValue(node, GET_NAME(alias), alias); in Unmarshal() 63 GetValue(node, GET_NAME(tables), tables); in Unmarshal() 78 GetValue(node, GET_NAME(name), name); in Unmarshal() 80 GetValue(node, GET_NAME(alias), alias); in Unmarshal() 81 GetValue(node, GET_NAME(fields), fields); in Unmarshal() 97 GetValue(node, GET_NAME(colName), colName); in Unmarshal() 98 GetValue(node, GET_NAME(alias), alias); in Unmarshal() 99 GetValue(node, GET_NAME(type), type); in Unmarshal() [all …]
|
H A D | cloud_extra_data.cpp | 28 GetValue(node, GET_NAME(traceId), traceId); in Unmarshal() 29 GetValue(node, GET_NAME(prepareTraceId), prepareTraceId); in Unmarshal() 45 GetValue(node, GET_NAME(accountId), accountId); in Unmarshal() 46 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal() 48 GetValue(node, GET_NAME(containerName), containerName); in Unmarshal() 49 GetValue(node, GET_NAME(databaseScopes), databaseScopes); in Unmarshal() 53 GetValue(node, GET_NAME(recordTypes), recordTypes); in Unmarshal() 58 GetValue(node, GET_NAME(context), data); in Unmarshal() 74 GetValue(node, GET_NAME(header), header); in Unmarshal() 75 GetValue(node, GET_NAME(data), data); in Unmarshal()
|
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
H A D | napi_utils.h | 85 static napi_status GetValue(napi_env env, napi_value in, bool& out); 89 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 93 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 97 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 101 static napi_status GetValue(napi_env env, napi_value in, double& out); 105 static napi_status GetValue(napi_env env, napi_value in, std::string& out); 135 static napi_status GetValue(napi_env env, napi_value in, AVCallState& out); 139 static napi_status GetValue(napi_env env, napi_value in, AVMetaData& out); 202 static napi_status GetValue(napi_env env, napi_value in, DeviceInfo& out); 211 static napi_status GetValue(napi_env env, napi_value in, MediaInfo& out); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | render_property_test_ng.cpp | 115 EXPECT_EQ(json->GetValue("position")->GetString("x"), ""); 116 EXPECT_EQ(json->GetValue("position")->GetString("y"), ""); 117 EXPECT_EQ(json->GetValue("offset")->GetString("x"), ZERO_STRING); 118 EXPECT_EQ(json->GetValue("offset")->GetString("y"), ZERO_STRING); 141 EXPECT_EQ(jsonTest->GetValue("offset")->GetString("x"), "40.00px"); 142 EXPECT_EQ(jsonTest->GetValue("offset")->GetString("y"), "80.00px"); 369 EXPECT_EQ(json->GetValue("mask")->GetString("shape"), ""); 385 EXPECT_EQ(json->GetValue("mask")->GetString("shape"), "None"); 478 EXPECT_EQ(json->GetValue("rotate")->GetString("x"), "20.000000"); 479 EXPECT_EQ(json->GetValue("rotate")->GetString("y"), "40.000000"); [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/load/src/ |
H A D | config.cpp | 30 GetValue(node, GET_NAME(description), description); in Unmarshal() 31 GetValue(node, GET_NAME(lib), lib); in Unmarshal() 32 GetValue(node, GET_NAME(constructor), constructor); in Unmarshal() 33 GetValue(node, GET_NAME(destructor), destructor); in Unmarshal() 34 GetValue(node, GET_NAME(params), params); in Unmarshal() 53 ret = GetValue(node, GET_NAME(version), version) && ret; in Unmarshal() 54 GetValue(node, GET_NAME(features), features); in Unmarshal() 55 GetValue(node, GET_NAME(plugins), plugins); in Unmarshal() 56 GetValue(node, GET_NAME(components), components); in Unmarshal() 57 GetValue(node, GET_NAME(bundles), bundles); in Unmarshal() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/ |
H A D | js_util.h | 88 static StatusMsg GetValue(napi_env env, napi_value in, napi_value& out); 91 static StatusMsg GetValue(napi_env env, napi_value in, bool& out); 95 static StatusMsg GetValue(napi_env env, napi_value in, int32_t& out); 99 static StatusMsg GetValue(napi_env env, napi_value in, uint32_t& out); 103 static StatusMsg GetValue(napi_env env, napi_value in, int64_t& out); 107 static StatusMsg GetValue(napi_env env, napi_value in, double& out); 111 static StatusMsg GetValue(napi_env env, napi_value in, std::string& out); 119 static StatusMsg GetValue(napi_env env, napi_value in, QueryVariant& out); 151 static StatusMsg GetValue(napi_env env, napi_value in, Options& out); 174 static StatusMsg GetValue(napi_env env, napi_value in, JsSchema*& out); [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/jskits/common/ |
H A D | napi_data_utils.h | 43 static napi_status GetValue(napi_env env, napi_value in, bool &out); 47 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 51 static napi_status GetValue(napi_env env, napi_value in, int64_t &out); 55 static napi_status GetValue(napi_env env, napi_value in, float &out); 59 static napi_status GetValue(napi_env env, napi_value in, double &out); 63 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 71 static napi_status GetValue(napi_env env, napi_value in, std::vector<uint8_t> &out); 83 static napi_status GetValue(napi_env env, napi_value in, UDVariant &out); 87 static napi_status GetValue(napi_env env, napi_value in, UDDetails &out); 105 static napi_status GetValue(napi_env env, napi_value in, std::monostate &out); [all …]
|
/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_context.cpp | 97 value = inter->GetValue(); in GetParam() 175 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 184 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 201 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 218 retValue = make_shared<IntegerValue>(this->GetValue() / value->GetValue()); \ 227 retValue = make_shared<FloatValue>(this->GetValue() / value->GetValue()); \ 295 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 304 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 321 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 419 float diff = GetValue() - value->GetValue(); in ComputerEqual() [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | napi_data_utils.h | 43 static napi_status GetValue(napi_env env, napi_value in, bool &out); 47 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 51 static napi_status GetValue(napi_env env, napi_value in, int64_t &out); 55 static napi_status GetValue(napi_env env, napi_value in, float &out); 59 static napi_status GetValue(napi_env env, napi_value in, double &out); 63 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 67 static napi_status GetValue(napi_env env, napi_value in, std::vector<std::string> &out); 71 static napi_status GetValue(napi_env env, napi_value in, std::vector<uint8_t> &out); 75 static napi_status GetValue(napi_env env, napi_value in, std::map<std::string, int32_t> &out); 95 static napi_status GetValue(napi_env env, napi_value in, std::monostate &out); [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/ |
H A D | js_util.h | 31 static napi_status GetValue(napi_env env, napi_value in, bool &out); 35 static napi_status GetValue(napi_env env, napi_value in, double &out); 39 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 43 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 46 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 50 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 61 static napi_status GetValue(napi_env env, napi_value in, Assets &assets); 63 static napi_status GetValue(napi_env env, napi_value in, Asset &asset); 67 static napi_status GetValue(napi_env env, napi_value in, ValuesBucket &out); 93 return GetValue(env, inner, value); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | rosen_render_bubble_progress.cpp | 42 subCirclePaint.setColor(Color(0xFF8A8A8A).GetValue()); in Paint() 46 subCircleBrush.SetColor(Color(0xFF8A8A8A).GetValue()); in Paint() 62 subCirclePaint.setColor(lightToDark_.GetValue()); in Paint() 64 subCirclePaint.setColor(darkToLight_.GetValue()); in Paint() 66 subCirclePaint.setColor(DARK_COLOR.GetValue()); in Paint() 68 subCirclePaint.setColor(LIGHT_COLOR.GetValue()); in Paint() 74 subCircleBrush.SetColor(lightToDark_.GetValue()); in Paint() 76 subCircleBrush.SetColor(darkToLight_.GetValue()); in Paint() 78 subCircleBrush.SetColor(DARK_COLOR.GetValue()); in Paint() 80 subCircleBrush.SetColor(LIGHT_COLOR.GetValue()); in Paint()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | border_property_test_ng.cpp | 56 ret = json->GetValue("borderStyle")->GetString("top", ""); 58 ret = json->GetValue("borderStyle")->GetString("right", ""); 60 ret = json->GetValue("borderStyle")->GetString("bottom", ""); 75 ret = json->GetValue("borderStyle")->GetString("left", ""); 77 ret = json->GetValue("borderStyle")->GetString("top", ""); 79 ret = json->GetValue("borderStyle")->GetString("right", ""); 124 ret = json->GetValue("borderWidth")->GetString("top", ""); 141 ret = json->GetValue("borderWidth")->GetString("left", ""); 143 ret = json->GetValue("borderWidth")->GetString("top", ""); 169 auto borderColor = json->GetValue("borderColor"); [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | js_utils.h | 107 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 108 static napi_status GetValue(napi_env env, napi_value in, uint32_t &out); 109 static napi_status GetValue(napi_env env, napi_value in, bool &out); 110 static napi_status GetValue(napi_env env, napi_value in, double &out); 111 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 113 static napi_status GetValue(napi_env env, napi_value in, PrivateDataValue &out); 114 …static napi_status GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out); 115 static napi_status GetValue(napi_env env, napi_value in, PanelInfo &out); 116 static napi_value GetValue(napi_env env, const std::vector<InputWindowInfo> &in); 117 static napi_value GetValue(napi_env env, const InputWindowInfo &in); [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/ |
H A D | serializable.h | 50 return GetValue(ToJson(body), "", values); in Unmarshall() 58 API_EXPORT static bool GetValue(const json &node, const std::string &name, int32_t &value); 62 API_EXPORT static bool GetValue(const json &node, const std::string &name, bool &value); 92 static bool GetValue(const json &node, const std::string &name, std::vector<T> &values); 104 static bool GetValue(const json &node, const std::string &name, T *&value); 133 result = GetValue(subNode[i], "", values[i]) && result; in GetValue() 160 result = GetValue(object.value(), "", values[object.key()]) && result; in GetValue() 177 bool Serializable::GetValue(const json &node, const std::string &name, T *&value) in GetValue() function 187 bool result = GetValue(subNode, "", *value); in GetValue() 222 bool ret = GetValue(subNode, GET_NAME(type), index); in GetValue() [all …]
|