Home
last modified time | relevance | path

Searched refs:propName (Results 26 - 50 of 143) sorted by relevance

123456

/foundation/ability/ability_runtime/frameworks/js/napi/wantConstant/
H A Dwant_constant.cpp146 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument
151 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
154 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() argument
159 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DRegexUtilitiesTest.java108 String propName = UCharacter.getPropertyName(propNum, NameChoice.LONG); in TestUnicodeProperties()
134 String rawPattern = prefix + "[:" + propName + "=" + valueName + ":]" + suffix; in TestUnicodeProperties()
135 String rawNegativePattern = prefix + "[:^" + propName + "=" + valueName + ":]" + suffix; in TestUnicodeProperties()
140 rawPattern = prefix + "\\p{" + propName + "=" + valueName + "}" + suffix; in TestUnicodeProperties()
141 rawNegativePattern = prefix + "\\P{" + propName + "=" + valueName + "}" + suffix; in TestUnicodeProperties()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DRegexUtilitiesTest.java113 String propName = UCharacter.getPropertyName(propNum, NameChoice.LONG); in TestUnicodeProperties()
139 String rawPattern = prefix + "[:" + propName + "=" + valueName + ":]" + suffix; in TestUnicodeProperties()
140 String rawNegativePattern = prefix + "[:^" + propName + "=" + valueName + ":]" + suffix; in TestUnicodeProperties()
145 rawPattern = prefix + "\\p{" + propName + "=" + valueName + "}" + suffix; in TestUnicodeProperties()
146 rawNegativePattern = prefix + "\\P{" + propName + "=" + valueName + "}" + suffix; in TestUnicodeProperties()
/third_party/typescript/tests/baselines/reference/
H A DconstAssertions.js105 function accessorNames<S extends string>(propName: S) {
106 return [`get-${propName}`, `set-${propName}`] as const;
192 function accessorNames(propName) {
193 return [`get-${propName}`, `set-${propName}`];
312 declare function accessorNames<S extends string>(propName: S): readonly [`get-${S}`, `set-${S}`];
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.h80 bool HasProp(const std::string &propName) const;
81 NapiValue GetProp(const std::string &propName) const;
83 bool AddProp(const std::string &propName, napi_value val) const;
/foundation/multimedia/audio_framework/services/audio_service/server/src/config/
H A Daudio_param_parser.cpp156 std::string AudioParamParser::ExtractPropertyValue(const std::string &propName, xmlNode &node) in ExtractPropertyValue() argument
161 if (xmlHasProp(&node, reinterpret_cast<const xmlChar*>(propName.c_str()))) { in ExtractPropertyValue()
162 tempValue = xmlGetProp(&node, reinterpret_cast<const xmlChar*>(propName.c_str())); in ExtractPropertyValue()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_strategy_router_parser.cpp103 std::string AudioStrategyRouterParser::ExtractPropertyValue(const std::string &propName, xmlNode *node) in ExtractPropertyValue() argument
108 if (xmlHasProp(node, reinterpret_cast<const xmlChar*>(propName.c_str()))) { in ExtractPropertyValue()
109 tempValue = xmlGetProp(node, reinterpret_cast<const xmlChar*>(propName.c_str())); in ExtractPropertyValue()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Dark_js_value.cpp166 bool ArkJSValue::GetPropertyNames(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> &propName, int32_t &len) in GetPropertyNames() argument
182 if (!propName) { in GetPropertyNames()
183 propName = std::make_shared<ArkJSValue>(pandaRuntime, names); in GetPropertyNames()
185 std::static_pointer_cast<ArkJSValue>(propName)->SetValue(pandaRuntime, names); in GetPropertyNames()
190 bool ArkJSValue::GetEnumerablePropertyNames(shared_ptr<JsRuntime> runtime, shared_ptr<JsValue> &propName, int32_t &len) in GetEnumerablePropertyNames() argument
206 if (!propName) { in GetEnumerablePropertyNames()
207 propName = std::make_shared<ArkJSValue>(pandaRuntime, names); in GetEnumerablePropertyNames()
209 std::static_pointer_cast<ArkJSValue>(propName)->SetValue(pandaRuntime, names); in GetEnumerablePropertyNames()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_utils.cpp544 std::string propName = "constructor_of_" + className; in DefineClass() local
546 napi_has_named_property(env, root, propName.c_str(), &hasProp); in DefineClass()
548 napi_get_named_property(env, root, propName.c_str(), &constructor); in DefineClass()
550 LOG_DEBUG("got %{public}s from %{public}s", propName.c_str(), featureSpace->spaceName); in DefineClass()
561 napi_set_named_property(env, root, propName.c_str(), constructor); in DefineClass()
562 LOG_DEBUG("save %{public}s to %{public}s", propName.c_str(), featureSpace->spaceName); in DefineClass()
583 std::string propName = "constructor_of_" + className; in GetClass() local
586 napi_has_named_property(env, root, propName.c_str(), &hasProp); in GetClass()
590 napi_get_named_property(env, root, propName.c_str(), &constructor); in GetClass()
592 LOG_DEBUG("got %{public}s from %{public}s", propName in GetClass()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/
H A Dnative_module.cpp26 static void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument
30 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, dstObj, propName, prop)); in SetNamedProperty()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib_common.cpp93 void SetNamedProperty(napi_env env, napi_value obj, const char *propName, const int propValue) in SetNamedProperty() argument
97 napi_set_named_property(env, obj, propName, prop); in SetNamedProperty()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit.cpp47 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument
51 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()
H A Dinit_bgtaskmgr.cpp50 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument
54 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dinit.cpp39 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument
43 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()
/third_party/node/deps/icu-small/source/tools/icuexportdata/
H A Dicuexportdata.cpp1181 const char* propName = u_getPropertyName(uprop, U_SHORT_PROPERTY_NAME); in exportUprops() local
1182 if (propName == nullptr) { in exportUprops()
1183 propName = u_getPropertyName(uprop, U_LONG_PROPERTY_NAME); in exportUprops()
1184 if (propName != nullptr && VERBOSE) { in exportUprops()
1185 std::cerr << "Note: falling back to long name for: " << propName << std::endl; in exportUprops()
1188 if (propName != nullptr) { in exportUprops()
1189 propNames.push_back(propName); in exportUprops()
1237 for (const char* propName : propNames) { in exportUprops()
1238 UProperty propEnum = u_getPropertyEnum(propName); in exportUprops()
1240 std::cerr << "Error: Invalid property alias: " << propName << st in exportUprops()
[all...]
/third_party/icu/icu4c/source/tools/icuexportdata/
H A Dicuexportdata.cpp1021 const char* propName = u_getPropertyName(uprop, U_SHORT_PROPERTY_NAME); in exportUprops() local
1022 if (propName == NULL) { in exportUprops()
1023 propName = u_getPropertyName(uprop, U_LONG_PROPERTY_NAME); in exportUprops()
1024 if (propName != NULL && VERBOSE) { in exportUprops()
1025 std::cerr << "Note: falling back to long name for: " << propName << std::endl; in exportUprops()
1028 if (propName != NULL) { in exportUprops()
1029 propNames.push_back(propName); in exportUprops()
1077 for (const char* propName : propNames) { in exportUprops()
1078 UProperty propEnum = u_getPropertyEnum(propName); in exportUprops()
1080 std::cerr << "Error: Invalid property alias: " << propName << st in exportUprops()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_ability_impl.cpp371 jerry_value_t propName = jerry_create_string(reinterpret_cast<const jerry_char_t *>(ERROR_CODE_KEY)); in InvokeOnRestoreData() local
373 jerry_value_t setResult = jerry_set_property(args[0], propName, propValue); in InvokeOnRestoreData()
379 ReleaseJerryValue(propName, propValue, setResult, args[0], VA_ARG_END_FLAG); in InvokeOnRestoreData()
383 ReleaseJerryValue(propName, propValue, setResult, args[0], onRestoreDataFunction, VA_ARG_END_FLAG); in InvokeOnRestoreData()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_napi.cpp238 std::string propName; in CreateObjectWithMap() local
240 propName = itr->first; in CreateObjectWithMap()
241 status = AddNamedProperty(env, result, propName, itr->second); in CreateObjectWithMap()
246 propName.clear(); in CreateObjectWithMap()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dclock_hand_component.cpp209 jerry_value_t propName = jerry_create_string((const jerry_char_t *)name); in SetNamedProperty() local
210 jerry_release_value(jerry_set_property(obj, propName, value)); in SetNamedProperty()
211 jerry_release_value(propName); in SetNamedProperty()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dlocalization_module.cpp36 const char * const propName = "$t"; in Init() local
37 JerrySetNamedProperty(protoType, propName, functionHandle); in Init()
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dref_uri_util.cpp50 BASE_NS::string_view propName, const IObjectInstance::Ptr& base, const RefUri& ref) in ResolvePropertySegment()
58 auto prop = meta->GetPropertyByName(propName); in ResolvePropertySegment()
49 ResolvePropertySegment( BASE_NS::string_view propName, const IObjectInstance::Ptr& base, const RefUri& ref) ResolvePropertySegment() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasescreenmanager_fuzzer/
H A Drsbasescreenmanager_fuzzer.cpp125 std::string propName(STRING_LEN, GetData<char>()); in RSScreenPropsFuzzTest()
126 props.SetPropertyName(propName); in RSScreenPropsFuzzTest()
/third_party/jerryscript/tests/jerry/es2015/
H A Dproxy_delete.js22 }, get (object, propName) {
23 if (propName == "length") {
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/
H A Daudio_haptic_manager_napi.cpp67 std::string propName; in CreateAudioLatencyModeObject() local
73 propName = iter.first; in CreateAudioLatencyModeObject()
74 status = AddNamedProperty(env, result, propName, iter.second); in CreateAudioLatencyModeObject()
79 propName.clear(); in CreateAudioLatencyModeObject()
98 std::string propName; in CreateAudioHapticTypeObject() local
100 propName = iter.first; in CreateAudioHapticTypeObject()
101 status = AddNamedProperty(env, result, propName, iter.second); in CreateAudioHapticTypeObject()
106 propName.clear(); in CreateAudioHapticTypeObject()
/third_party/icu/icu4c/source/i18n/
H A Dregexcmp.cpp4333 UnicodeString propName;
4346 propName.append(fC.fChar);
4362 uset = createSetForProperty(propName, negated);
4395 UnicodeSet *RegexCompile::createSetForProperty(const UnicodeString &propName, UBool negated) {
4410 setExpr.append(propName);
4428 if (propName.caseCompare(u"word", -1, 0) == 0) {
4433 if (propName.compare(u"all", -1) == 0) {
4441 UnicodeString mPropName = propName;
4457 if (propName.startsWith(u"Is", 2) && propName
[all...]

Completed in 19 milliseconds

123456