/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | array_helper_test.cpp | 65 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/ |
D | object_operator_test.cpp | 372 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 …]
|
D | js_object_test.cpp | 74 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 …]
|
D | dump_test.cpp | 176 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local 177 objFunc.GetTaggedValue().Dump(os); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.cpp | 530 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 …]
|
D | builtins.h | 81 const JSHandle<JSObject> &objFunc);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_value.cpp | 816 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()
|
D | js_serializer.cpp | 1492 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in ReadPlainObject() local 1493 …SHandle<JSObject> jsObject = thread_->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(objFunc); in ReadPlainObject()
|
D | js_object.cpp | 1796 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/ |
D | builtins_object_test.cpp | 259 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local 296 JSHandle<JSFunction> objFunc(env->GetObjectFunction()); in HWTEST_F_L0() local
|