Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sharedobject_test.cpp53 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
54 … JSObject::GetOwnProperty(thread, JSHandle<JSObject>(sharedObjectPrototype), constructorKey, desc); in HWTEST_F_L0()
90 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
91 JSObject::GetOwnProperty(thread, JSHandle<JSObject>(sFunctionPrototype), constructorKey, desc); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp177 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in NewContainerConstructor() local
179 JSObject::DefineOwnProperty(thread, prototype, constructorKey, descriptor1); in NewContainerConstructor()
287 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeArrayList() local
288 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(prototype), constructorKey, arrayListFunctio… in InitializeArrayList()
362 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeLightWeightMap() local
363 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(funcPrototype), constructorKey, lightWeightM… in InitializeLightWeightMap()
436 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeLightWeightSet() local
437 …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/
Djsnapi_sendable.cpp63 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitNonStaticDescription() local
65 constructorDesc.SetKey(constructorKey); in InitNonStaticDescription()
Djs_array.cpp141 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in ArraySpeciesCreate() local
142 constructor = JSTaggedValue::GetProperty(thread, originalValue, constructorKey).GetValue(); in ArraySpeciesCreate()
383 JSTaggedValue constructorKey = thread->GlobalConstants()->GetConstructorString(); in DefineOwnProperty() local
384 if (key.GetTaggedValue() == constructorKey) { in DefineOwnProperty()
Djs_function.cpp121 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in NewJSFunctionPrototype() local
123 JSObject::DefineOwnProperty(thread, funPro, constructorKey, descriptor); in NewJSFunctionPrototype()
404 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in MakeConstructor() local
408 ASSERT_PRINT(JSObject::HasProperty(thread, JSHandle<JSObject>(func), constructorKey), in MakeConstructor()
417 …status = JSTaggedValue::DefinePropertyOrThrow(thread, objPrototype, constructorKey, constructorDes… in MakeConstructor()
420 … status = JSTaggedValue::DefinePropertyOrThrow(thread, proto, constructorKey, constructorDesc); in MakeConstructor()
Djs_typed_array.cpp206 JSTaggedValue constructorKey = thread->GlobalConstants()->GetConstructorString(); in DefineOwnProperty() local
207 if (key.GetTaggedValue() == constructorKey) { in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_function_test.cpp73 JSHandle<JSTaggedValue> constructorKey( in HWTEST_F_L0() local
79 …JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), constructorKey).GetValue().GetTaggedVa… in HWTEST_F_L0()
Djs_object_test.cpp691 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in HWTEST_F_L0() local
692 JSObject::SetProperty(thread, protoObjValue, constructorKey, constructorFuncValue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.cpp144 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in ArraySpeciesCreate() local
145 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()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp746 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSymbol() local
748 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbol()
808 …JSHandle<JSTaggedValue> constructorKey = thread_->GlobalConstants()->GetHandledConstructorString(); in InitializeSymbolWithRealm() local
810 JSObject::DefineOwnProperty(thread_, symbolFuncPrototype, constructorKey, descriptor); in InitializeSymbolWithRealm()
1071 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeAsyncFunction() local
1073 JSObject::DefineOwnProperty(thread_, asyncFuncPrototype, constructorKey, asyncDesc); in InitializeAsyncFunction()
1322 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeCtor() local
1324 JSObject::DefineOwnProperty(thread_, prototype, constructorKey, descriptor1); in InitializeCtor()
1357 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in InitializeSet() local
1358 …JSObject::SetProperty(thread_, JSHandle<JSTaggedValue>(setFuncPrototype), constructorKey, setFunct… in InitializeSet()
[all …]
Dbuiltins_regexp.cpp528 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in GetSource() local
529 …ggedValue> objConstructor = JSTaggedValue::GetProperty(thread, thisObj, constructorKey).GetValue(); in GetSource()
1916 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in GetFlagsInternal() local
1917 …JSTaggedValue> objConstructor = JSTaggedValue::GetProperty(thread, obj, constructorKey).GetValue(); in GetFlagsInternal()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h2252 JSHandle<JSTaggedValue> constructorKey = globalConst->GetHandledConstructorString(); in DefineFuncTryUseAOTHClass() local
2254 JSObject::DefineOwnProperty(thread, clsPrototype, constructorKey, descriptor); in DefineFuncTryUseAOTHClass()