Home
last modified time | relevance | path

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

/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()
502 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeTreeMap() local
503 …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.cpp719 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
720 JSObject::SetProperty(thread, protoObjValue, constructorKey, constructorFuncValue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp120 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in ArraySpeciesCreate() local
121 constructor = JSTaggedValue::GetProperty(thread, originalValue, constructorKey).GetValue(); in ArraySpeciesCreate()
322 JSTaggedValue constructorKey = thread->GlobalConstants()->GetConstructorString(); in DefineOwnProperty() local
323 if (key.GetTaggedValue() == constructorKey) { in DefineOwnProperty()
Djs_function.cpp84 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in NewJSFunctionPrototype() local
86 JSObject::DefineOwnProperty(thread, funPro, constructorKey, descriptor); in NewJSFunctionPrototype()
222 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in MakeConstructor() local
226 ASSERT_PRINT(JSObject::HasProperty(thread, JSHandle<JSObject>(func), constructorKey), in MakeConstructor()
235 …status = JSTaggedValue::DefinePropertyOrThrow(thread, objPrototype, constructorKey, constructorDes… in MakeConstructor()
238 … status = JSTaggedValue::DefinePropertyOrThrow(thread, proto, constructorKey, constructorDesc); in MakeConstructor()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp620 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSymbol() local
622 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbol()
725 …JSHandle<JSTaggedValue> constructorKey = thread_->GlobalConstants()->GetHandledConstructorString(); in InitializeSymbolWithRealm() local
727 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbolWithRealm()
1054 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeAsyncFunction() local
1056 JSObject::DefineOwnProperty(thread_, asyncFuncPrototype, constructorKey, asyncDesc); in InitializeAsyncFunction()
1287 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeCtor() local
1289 JSObject::DefineOwnProperty(thread_, prototype, constructorKey, descriptor1); in InitializeCtor()
1317 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSet() local
1318 …JSObject::SetProperty(thread_, JSHandle<JSTaggedValue>(setFuncPrototype), constructorKey, setFunct… in InitializeSet()
[all …]