Home
last modified time | relevance | path

Searched refs:objectHandle (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Darray_helper_test.cpp113 JSHandle<JSObject> objectHandle = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0() local
114 EXPECT_EQ(ArrayHelper::GetLength(thread, JSHandle<JSTaggedValue>(objectHandle)), 0U); in HWTEST_F_L0()
116 JSObject::SetProperty(thread, objectHandle, lengthKey, lengthValue); in HWTEST_F_L0()
117 EXPECT_EQ(ArrayHelper::GetLength(thread, JSHandle<JSTaggedValue>(objectHandle)), in HWTEST_F_L0()
140 JSHandle<JSObject> objectHandle = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc); in HWTEST_F_L0() local
141 EXPECT_EQ(ArrayHelper::GetArrayLength(thread, JSHandle<JSTaggedValue>(objectHandle)), 0U); in HWTEST_F_L0()
143 JSObject::SetProperty(thread, objectHandle, lengthKey, lengthValue); in HWTEST_F_L0()
144 EXPECT_EQ(ArrayHelper::GetArrayLength(thread, JSHandle<JSTaggedValue>(objectHandle)), in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dlayout_info_test.cpp120 JSHandle<JSObject> objectHandle = factory->NewEmptyJSObject(); in GetAllKeysCommon() local
141 layoutInfoHandle->GetAllEnumKeys(thread, infoLength, 0, keyArray, &keys, objectHandle); // 0: offset in GetAllKeysCommon()
145 layoutInfoHandle->GetAllKeys(thread, infoLength, 0, *keyArray, objectHandle); // 0: offset in GetAllKeysCommon()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_date.cpp155 JSHandle<JSTaggedValue> objectHandle = JSHandle<JSTaggedValue>::Cast(object); in ToJSON() local
157 JSTaggedValue::ToPrimitive(thread, objectHandle, PreferredPrimitiveType::PREFER_NUMBER)); in ToJSON()
168 EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, objectHandle, undefined, 0); in ToJSON()
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dslow_runtime_stub.cpp372 JSHandle<JSTaggedValue> objectHandle(thread, object); in InstanceofByHandler()
376 return RuntimeStubs::RuntimeInstanceofByHandler(thread, targetHandle, objectHandle, instOfHandle); in InstanceofByHandler()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp3804 JSHandle<JSTaggedValue> objectHandle = JSNApiHelper::ToJSHandle(obj); in SetValueAt() local
3806 return JSArray::FastSetPropertyByValue(thread, objectHandle, index, valueHandle); in SetValueAt()
3847 JSHandle<JSTaggedValue> objectHandle = JSNApiHelper::ToJSHandle(obj); in SetProperty() local
3850 thread, objectHandle, index, valueHandle, true, ecmascript::SCheckMode::CHECK); in SetProperty()

Completed in 20 milliseconds