Home
last modified time | relevance | path

Searched refs:constructorKey (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sharedobject_test.cpp67 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
68 … JSObject::GetOwnProperty(thread, JSHandle<JSObject>(sharedObjectPrototype), constructorKey, desc); in HWTEST_F_L0()
104 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
105 JSObject::GetOwnProperty(thread, JSHandle<JSObject>(sFunctionPrototype), constructorKey, desc); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp182 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in NewContainerConstructor() local
184 JSObject::DefineOwnProperty(thread, prototype, constructorKey, descriptor1); in NewContainerConstructor()
290 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeArrayList() local
291 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(prototype), constructorKey, arrayListFunctio… in InitializeArrayList()
364 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeLightWeightMap() local
365 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(funcPrototype), constructorKey, lightWeightM… in InitializeLightWeightMap()
437 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeLightWeightSet() local
438 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(funcPrototype), constructorKey, lightweightS… in InitializeLightWeightSet()
503 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeTreeMap() local
504 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(mapFuncPrototype), constructorKey, mapFuncti… in InitializeTreeMap()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_function_test.cpp97 JSHandle<JSTaggedValue> constructorKey( in HWTEST_F_L0() local
103 …JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), constructorKey).GetValue().GetTaggedVa… in HWTEST_F_L0()
Djs_object_test.cpp720 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
721 JSObject::SetProperty(thread, protoObjValue, constructorKey, constructorFuncValue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp136 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in ArraySpeciesCreate() local
137 constructor = JSTaggedValue::GetProperty(thread, originalValue, constructorKey).GetValue(); in ArraySpeciesCreate()
341 JSTaggedValue constructorKey = thread->GlobalConstants()->GetConstructorString(); in DefineOwnProperty() local
342 if (key.GetTaggedValue() == constructorKey) { in DefineOwnProperty()
Djs_function.cpp95 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in NewJSFunctionPrototype() local
97 JSObject::DefineOwnProperty(thread, funPro, constructorKey, descriptor); in NewJSFunctionPrototype()
334 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in MakeConstructor() local
338 ASSERT_PRINT(JSObject::HasProperty(thread, JSHandle<JSObject>(func), constructorKey), in MakeConstructor()
347 …status = JSTaggedValue::DefinePropertyOrThrow(thread, objPrototype, constructorKey, constructorDes… in MakeConstructor()
350 … status = JSTaggedValue::DefinePropertyOrThrow(thread, proto, constructorKey, constructorDesc); in MakeConstructor()
Djs_typed_array.cpp203 JSTaggedValue constructorKey = thread->GlobalConstants()->GetConstructorString(); in DefineOwnProperty() local
204 if (key.GetTaggedValue() == constructorKey) { in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp696 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSymbol() local
698 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbol()
817 …JSHandle<JSTaggedValue> constructorKey = thread_->GlobalConstants()->GetHandledConstructorString(); in InitializeSymbolWithRealm() local
819 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbolWithRealm()
1079 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeAsyncFunction() local
1081 JSObject::DefineOwnProperty(thread_, asyncFuncPrototype, constructorKey, asyncDesc); in InitializeAsyncFunction()
1330 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeCtor() local
1332 JSObject::DefineOwnProperty(thread_, prototype, constructorKey, descriptor1); in InitializeCtor()
1364 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSet() local
1365 …JSObject::SetProperty(thread_, JSHandle<JSTaggedValue>(setFuncPrototype), constructorKey, setFunct… in InitializeSet()
[all …]
Dbuiltins_regexp.cpp454 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in GetSource() local
455 …ggedValue> objConstructor = JSTaggedValue::GetProperty(thread, thisObj, constructorKey).GetValue(); in GetSource()
1763 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in GetFlagsInternal() local
1764 …JSTaggedValue> objConstructor = JSTaggedValue::GetProperty(thread, obj, constructorKey).GetValue(); in GetFlagsInternal()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h2079 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in DefineFuncTryUseAOTHClass() local
2081 JSObject::DefineOwnProperty(thread, clsPrototype, constructorKey, descriptor); in DefineFuncTryUseAOTHClass()