Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/tests/
Darray_helper_test.cpp65 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0() local
69 …dValue> handleObjectArr(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc)); in HWTEST_F_L0()
135 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0() local
136 …JSObject> objectHandle = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
162 JSHandle<JSTaggedValue> objFunc(globalEnv->GetArrayFunction()); in HWTEST_F_L0() local
163 …JSObject> objectHandle = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_test.cpp372 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
385 …JSObject> handleObject = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
445 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
449 …JSObject> handleObject = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
474 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
475 …JSObject> handleObject = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
527 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
528 …JSObject> handleHolder = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
617 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
626 …JSObject> handleObject = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
[all …]
Djs_object_test.cpp74 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
76 …hread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
82 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
84 …hread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
101 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
103 …hread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
118 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
120 …hread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
231 JSHandle<JSTaggedValue> objFunc(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
233 …hread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0()
[all …]
Ddump_test.cpp176 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local
177 objFunc.GetTaggedValue().Dump(os); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp530 const JSHandle<JSObject> &objFunc) in InitializeObject()
535 SetFunction(env, objFunc, "assign", Object::Assign, FunctionLength::TWO); in InitializeObject()
537 SetFunction(env, objFunc, "create", Object::Create, FunctionLength::TWO); in InitializeObject()
539 SetFunction(env, objFunc, "defineProperties", Object::DefineProperties, FunctionLength::TWO); in InitializeObject()
541 SetFunction(env, objFunc, "defineProperty", Object::DefineProperty, FunctionLength::THREE); in InitializeObject()
543 SetFunction(env, objFunc, "freeze", Object::Freeze, FunctionLength::ONE); in InitializeObject()
545 …SetFunction(env, objFunc, "getOwnPropertyDescriptor", Object::GetOwnPropertyDescriptor, FunctionLe… in InitializeObject()
547 …SetFunction(env, objFunc, "getOwnPropertyNames", Object::GetOwnPropertyNames, FunctionLength::ONE); in InitializeObject()
549 …SetFunction(env, objFunc, "getOwnPropertySymbols", Object::GetOwnPropertySymbols, FunctionLength::… in InitializeObject()
551 SetFunction(env, objFunc, "getPrototypeOf", Object::GetPrototypeOf, FunctionLength::ONE); in InitializeObject()
[all …]
Dbuiltins.h81 const JSHandle<JSObject> &objFunc);
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value.cpp816 JSHandle<JSFunction> objFunc = JSHandle<JSFunction>::Cast(obj); in SetPrototype() local
817 JSTaggedValue objProtoOrHClass(objFunc->GetProtoOrHClass()); in SetPrototype()
818 if (objProtoOrHClass.IsJSHClass() && objFunc->IsDerivedConstructor()) { in SetPrototype()
820 objFunc->SetProtoOrHClass(thread, cachedJSHClass->GetPrototype()); in SetPrototype()
Djs_serializer.cpp1492 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in ReadPlainObject() local
1493 …SHandle<JSObject> jsObject = thread_->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(objFunc); in ReadPlainObject()
Djs_object.cpp1796 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in FromPropertyDescriptor() local
1797 …SHandle<JSObject> objHandle = thread->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(objFunc); in FromPropertyDescriptor()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_object_test.cpp259 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local
296 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local