/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | transform_convertor.cpp | 171 StringUtils::StringSplitter(typeValue, ' ', offsets); in __anonc5ef80110202() 183 auto dx = StringUtils::StringToDimension(typeValue); in __anonc5ef80110302() 188 auto dy = StringUtils::StringToDimension(typeValue); in __anonc5ef80110402() 193 auto dz = StringUtils::StringToDimension(typeValue); in __anonc5ef80110502() 201 StringUtils::StringSplitter(typeValue, ' ', offsets); in __anonc5ef80110602() 213 StringUtils::StringSplitter(typeValue, ' ', offsets); in __anonc5ef80110702() 225 auto degree = StringUtils::StringToDegree(typeValue); in __anonc5ef80110802() 231 auto degree = StringUtils::StringToDegree(typeValue); in __anonc5ef80110902() 237 auto degree = StringUtils::StringToDegree(typeValue); in __anonc5ef80110a02() 243 auto degree = StringUtils::StringToDegree(typeValue); in __anonc5ef80110b02() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | horizonprogress_tdd_test.cpp | 193 jerry_release_value(typeValue); in HorizonProgressTest004() 236 jerry_release_value(typeValue); in HorizonProgressTest005() 278 jerry_release_value(typeValue); in HorizonProgressTest006() 323 jerry_release_value(typeValue); in HorizonProgressTest007() 367 jerry_release_value(typeValue); in HorizonProgressTest008() 411 jerry_release_value(typeValue); in HorizonProgressTest009() 464 jerry_release_value(typeValue); in HorizonProgressTest013() 516 jerry_release_value(typeValue); in HorizonProgressTest014() 557 jerry_release_value(typeValue); in HorizonProgressTest015() 598 jerry_release_value(typeValue); in HorizonProgressTest016() [all …]
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_object.cpp | 228 static void ConstructTypeParams(int32_t opType, int32_t typeValue, vector<CfParam> ¶ms) in ConstructTypeParams() argument 233 param.int32Param = typeValue; in ConstructTypeParams() 236 param.int32Param = typeValue; in ConstructTypeParams() 287 int32_t ret = CheckInputParams(env, argv, argc, opType, typeValue); in GetInParamSet() 294 ConstructTypeParams(opType, typeValue, params); in GetInParamSet() 306 if ((typeValue == CF_GET_TYPE_EXT_ITEM) && (argc == 0)) { in GetInParamSet() 324 if ((typeValue == RESULT_MAP[i].type) && (opType == RESULT_MAP[i].opType)) { in GetResultType() 354 int32_t ret = GetResultType(opType, typeValue, resultType, outType); in ConvertToNapiValue() 408 int32_t opType, int32_t typeValue) in CommonOperation() argument 411 int32_t ret = GetInParamSet(env, info, opType, typeValue, inParamSet); in CommonOperation() [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | paste_data_record_test.cpp | 153 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local 154 ASSERT_NE(typeValue, nullptr); in CheckPlainUds() 155 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds() 168 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds() local 169 ASSERT_NE(typeValue, nullptr); in CheckFileUriUds() 170 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in CheckFileUriUds() 184 ASSERT_NE(typeValue, nullptr); in CheckHtmlUds() 185 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in CheckHtmlUds() 199 ASSERT_NE(typeValue, nullptr); in CheckPixelMapUds() 218 ASSERT_NE(typeValue, nullptr); in CheckLinkUds() [all …]
|
H A D | convert_utils_test.cpp | 263 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local 264 ASSERT_NE(typeValue, nullptr); in CheckPlainUds() 265 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds() 279 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds() local 280 ASSERT_NE(typeValue, nullptr); in CheckFileUriUds() 281 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in CheckFileUriUds() 296 ASSERT_NE(typeValue, nullptr); in CheckHtmlUds() 297 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in CheckHtmlUds() 312 ASSERT_NE(typeValue, nullptr); in CheckPixelMapUds() 332 ASSERT_NE(typeValue, nullptr); in CheckLinkUds() [all …]
|
H A D | paste_data_entry_test.cpp | 116 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds() local 117 ASSERT_NE(typeValue, nullptr); in CheckPlainUds() 118 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)); in CheckPlainUds() 132 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPixelMapUds() local 133 ASSERT_NE(typeValue, nullptr); in CheckPixelMapUds() 134 ASSERT_EQ(*typeValue, UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::SYSTEM_DEFINED_PIXEL_MAP)); in CheckPixelMapUds()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/ |
H A D | navigator_pattern_test_ng.cpp | 37 std::optional<NavigatorType> typeValue = std::nullopt; member 53 if (testProperty.typeValue.has_value()) { in CreateNavigator() 54 navigator.SetType(testProperty.typeValue.value()); in CreateNavigator() 76 testProperty.typeValue = std::make_optional(NavigatorType::REPLACE); 106 testProperty.typeValue = std::make_optional(NavigatorType::BACK); 139 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); 169 testProperty.typeValue = std::make_optional(NavigatorType::DEFAULT); 225 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); 264 testProperty.typeValue = std::make_optional(NavigatorType::PUSH); 286 testProperty.typeValue = std::make_optional(NavigatorType::PUSH);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 856 if ((!typeKey.empty()) && (!typeValue.empty())) { in SetTransform() 860 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 864 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 876 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 880 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 884 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 888 [](const std::string& typeValue, DOMNode& node) { in SetTransform() 908 { DOM_SCALE_X, [](const std::string& typeValue, in SetTransform() 910 { DOM_SCALE_Y, [](const std::string& typeValue, in SetTransform() 912 { DOM_SCALE_Z, [](const std::string& typeValue, in SetTransform() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/src/ |
H A D | cert_context.cpp | 94 napi_value typeValue; in ParseCertBlobFromValue() local 96 napi_get_named_property(env, value, "type", &typeValue); in ParseCertBlobFromValue() 98 if (typeValue == nullptr || dataValue == nullptr) { in ParseCertBlobFromValue() 102 return ParseCertBlobFromData(env, value, typeValue, dataValue); in ParseCertBlobFromValue() 105 CertBlob *CertContext::ParseCertBlobFromData(napi_env env, napi_value value, napi_value typeValue, … in ParseCertBlobFromData() argument 111 napi_get_value_uint32(env, typeValue, &type); in ParseCertBlobFromData()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | cast_test.cpp | 55 int32_t* typeValue = new (std::nothrow) int32_t(4); in SetCastAddToallTensors() local 56 EXPECT_NE(nullptr, typeValue); in SetCastAddToallTensors() 57 inputTensor->SetBuffer(typeValue, sizeof(int32_t)); in SetCastAddToallTensors() 193 int32_t* typeValue = new (std::nothrow) int32_t(40); variable 194 EXPECT_NE(nullptr, typeValue); 196 inputTensor->SetBuffer(typeValue, sizeof(int32_t));
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/worker/test/ |
H A D | test_worker.cpp | 216 napi_value typeValue = nullptr; in Worker_Constructor() local 570 napi_value typeValue = nullptr; variable 914 napi_value typeValue = nullptr; variable 954 napi_value typeValue = nullptr; variable 1218 napi_value typeValue = nullptr; variable 1264 napi_value typeValue = nullptr; variable 1310 napi_value typeValue = nullptr; variable 1357 napi_value typeValue = nullptr; variable 1414 napi_value typeValue = nullptr; variable 1447 napi_value typeValue = nullptr; variable [all …]
|
/ohos5.0/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
H A D | cf_extension_test.cpp | 121 static bool CompareOidsResult(int32_t typeValue, const CfParamSet *paramSet) in CompareOidsResult() argument 129 switch (typeValue) { in CompareOidsResult() 141 static bool CompareEntryResult(int32_t typeValue, const CfParamSet *paramSet) in CompareEntryResult() argument 149 switch (typeValue) { in CompareEntryResult() 171 static void ExtensionTest(int32_t type, int32_t typeValue, const CfParam *params, uint32_t cnt) in ExtensionTest() argument 186 EXPECT_EQ(CompareOidsResult(typeValue, outParamSet), true); in ExtensionTest() 189 EXPECT_EQ(CompareEntryResult(typeValue, outParamSet), true); in ExtensionTest() 197 static void ExtensionCheckTest(int32_t type, int32_t typeValue, const CfParam *params, uint32_t cnt) in ExtensionCheckTest() argument
|
/ohos5.0/base/powermgr/power_manager/utils/vibrator/src/ |
H A D | vibrator_source_parser.cpp | 99 Json::Value typeValue = valueObj[VibratorSource::TYPE_KEY]; in ParseSourcesProc() local 100 if (!typeValue.isString() || !enableValue.isBool()) { in ParseSourcesProc() 104 type = typeValue.asString(); in ParseSourcesProc()
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/session/include/ |
H A D | napi_structs_base.h | 31 SessionParams(uint32_t typeValue = UINT32_MAX, size_t callbackPosition = CALLBACK_POSITION_ONE, 34 type = typeValue;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_text_ffi.cpp | 122 void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue) in FfiOHOSAceFrameworkTextSetDecoration() argument 124 if (!Utils::CheckParamsValid(typeValue, TEXT_DECORATIONS.size())) { in FfiOHOSAceFrameworkTextSetDecoration() 128 TextModel::GetInstance()->SetTextDecoration(TEXT_DECORATIONS[typeValue]); in FfiOHOSAceFrameworkTextSetDecoration()
|
H A D | cj_text_ffi.h | 39 CJ_EXPORT void FfiOHOSAceFrameworkTextSetDecoration(int32_t typeValue, uint32_t colorValue);
|
/ohos5.0/foundation/communication/wifi/wifi/application/wifi_direct_demo/entry/src/main/ets/MainAbility/model/wifiModeImpl/ |
H A D | WifiModel.ets | 35 on(typeValue, callBack) { 36 mLogUtil.log("on " + typeValue); 37 WifiNativeJs.on(typeValue, callBack);
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/inspector/ |
H A D | js_inspector_manager.cpp | 494 std::string JsInspectorManager::ConvertStrToPropertyType(std::string& typeValue) in ConvertStrToPropertyType() argument 496 if (typeValue == "transitionEnterName") { in ConvertStrToPropertyType() 497 typeValue = "transitionEnter"; in ConvertStrToPropertyType() 498 } else if (typeValue == "transitionExitName") { in ConvertStrToPropertyType() 499 typeValue = "transitionExit"; in ConvertStrToPropertyType() 503 dstStr = regex_replace(typeValue, regex, "-$1"); in ConvertStrToPropertyType()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_test_ng.cpp | 94 std::optional<ButtonType> typeValue = std::nullopt; member 245 if (testProperty.typeValue.has_value()) { in CreateLabelButtonParagraph() 287 if (testProperty.typeValue.has_value()) { in CreateChildButtonParagraph() 393 testProperty.typeValue = std::make_optional(BUTTON_TYPE_CUSTOM_VALUE); 590 testProperty.typeValue = std::make_optional(ButtonType::CIRCLE); 656 testProperty.typeValue = std::make_optional(ButtonType::CAPSULE); 712 testProperty.typeValue = std::make_optional(ButtonType::NORMAL); 1013 testProperty.typeValue = std::make_optional(ButtonType::CIRCLE); 1136 testProperty.typeValue = std::make_optional(ButtonType::CIRCLE); 1178 testProperty.typeValue = std::make_optional(ButtonType::CIRCLE); [all …]
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/ |
H A D | native_module_util.cpp | 1038 Type typeValue = static_cast<Type>(encode); in EncodeToStringHelper() local 1039 if (typeValue < Type::TYPED_FIRST || typeValue > Type::TYPED_LAST) { in EncodeToStringHelper() 1056 Type typeValue = static_cast<Type>(encode); in EncodeBase64Helper() local 1057 if (typeValue != Type::BASIC && typeValue != Type::BASIC_URL_SAFE) { in EncodeBase64Helper() 1073 Type typeValue = static_cast<Type>(encode); in EncodeAsyncHelper() local 1076 return object->Encode(env, args[0], typeValue); in EncodeAsyncHelper() 1087 Type typeValue = static_cast<Type>(encode); in EncodeToStringAsyncHelper() local 1102 Type typeValue = static_cast<Type>(encode); in DecodeBase64Helper() local 1103 if (typeValue < Type::TYPED_FIRST || typeValue > Type::TYPED_LAST) { in DecodeBase64Helper() 1120 Type typeValue = static_cast<Type>(encode); in DecodeAsyncHelper() local [all …]
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
H A D | napi_object.h | 30 int32_t opType, int32_t typeValue);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_sqlite_relational_utils_test.cpp | 141 Type typeValue; variable 142 …EXPECT_EQ(SQLiteRelationalUtils::GetCloudValueByType(statement, TYPE_INDEX<Nil>, 0, typeValue), -E…
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/include/ |
H A D | cert_context.h | 46 …CertBlob *ParseCertBlobFromData(napi_env env, napi_value value, napi_value typeValue, napi_value d…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_span.cpp | 191 JSRef<JSVal> typeValue = obj->GetProperty("type"); in SetDecoration() local 196 if (typeValue->IsNumber()) { in SetDecoration() 197 textDecoration = static_cast<TextDecoration>(typeValue->ToNumber<int32_t>()); in SetDecoration()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_resource.cpp | 468 uint32_t typeValue = static_cast<uint32_t>(keyParam->type_); in GetLimitPathsKeys() local 469 if (keyParam->type_ < KeyType::KEY_TYPE_MAX && !keyTypes[typeValue]) { in GetLimitPathsKeys() 470 keyTypes[typeValue] = true; in GetLimitPathsKeys() 471 limitKeyValue |= limitKeysBase << typeValue; in GetLimitPathsKeys()
|