Home
last modified time | relevance | path

Searched refs:handleObj (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dcompiler_intrinsics.cpp96 static T GetFieldPrimitiveType(Field *field, const VMHandle<ObjectHeader> &handleObj) in GetFieldPrimitiveType() argument
102 return handleObj.GetPtr()->template GetFieldPrimitive<uint8_t>(*field); in GetFieldPrimitiveType()
106 return handleObj.GetPtr()->template GetFieldPrimitive<int8_t>(*field); in GetFieldPrimitiveType()
110 return handleObj.GetPtr()->template GetFieldPrimitive<int16_t>(*field); in GetFieldPrimitiveType()
114 return handleObj.GetPtr()->template GetFieldPrimitive<uint16_t>(*field); in GetFieldPrimitiveType()
118 return handleObj.GetPtr()->template GetFieldPrimitive<int32_t>(*field); in GetFieldPrimitiveType()
122 return handleObj.GetPtr()->template GetFieldPrimitive<uint32_t>(*field); in GetFieldPrimitiveType()
126 return handleObj.GetPtr()->template GetFieldPrimitive<int64_t>(*field); in GetFieldPrimitiveType()
130 return handleObj.GetPtr()->template GetFieldPrimitive<uint64_t>(*field); in GetFieldPrimitiveType()
134 return handleObj in GetFieldPrimitiveType()
182 SetTypedFieldPrimitive(Field *field, const VMHandle<ObjectHeader> &handleObj, T storeValue) SetTypedFieldPrimitive() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Djson_stringifier_test.cpp80 JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z")); in HWTEST_F_L0() local
83 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
113 JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z")); in HWTEST_F_L0() local
114 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
138 JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z")); in HWTEST_F_L0() local
142 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
203 JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z")); in HWTEST_F_L0() local
205 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
230 JSHandle<JSObject> handleObj(thread, handleArr); in HWTEST_F_L0()
234 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj), handleKey in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/ic/tests/
H A Dic_runtime_stub_test.cpp137 JSHandle<JSTaggedValue> handleObj(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun)); in HWTEST_F_L0()
138 TaggedObject *handleTaggedObj = handleObj->GetTaggedObject(); in HWTEST_F_L0()
161 JSHandle<JSTaggedValue> handleObj(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun)); in HWTEST_F_L0()
171 ICRuntimeStub::StoreICByName(thread, *handleProfileTypeInfo, handleObj.GetTaggedValue(), in HWTEST_F_L0()
174 ICRuntimeStub::LoadICByName(thread, *handleProfileTypeInfo, handleObj.GetTaggedValue(), in HWTEST_F_L0()
210 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
211 JSTaggedValue handleFirstObjClassVal(handleObj->GetClass()); in HWTEST_F_L0()
233 ICRuntimeStub::TryStoreICByName(thread, handleObj.GetTaggedValue(), handleFirstArrVal, in HWTEST_F_L0()
235 JSTaggedValue resultValue2 = ICRuntimeStub::TryLoadICByName(thread, handleObj.GetTaggedValue(), in HWTEST_F_L0()
258 JSHandle<JSObject> handleObj in HWTEST_F_L0() local
288 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); HWTEST_F_L0() local
444 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); HWTEST_F_L0() local
468 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); HWTEST_F_L0() local
508 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); HWTEST_F_L0() local
[all...]
H A Dproto_change_details_test.cpp139 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
140 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
170 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
171 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
203 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
204 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
257 JSHandle<JSTaggedValue> handleObj(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun)); in HWTEST_F_L0()
260 JSTaggedValue objValue(handleObj.GetTaggedValue()); in HWTEST_F_L0()
H A Dprofile_type_info_test.cpp125 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
127 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
180 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
182 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
210 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
212 JSHandle<JSTaggedValue> objClassVal(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
351 JSHandle<JSObject> handleObj = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFun), objFun); in HWTEST_F_L0() local
352 JSTaggedValue weakRefValue(handleObj.GetTaggedValue()); in HWTEST_F_L0()
H A Dic_handler_test.cpp262 JSHandle<JSObject> handleObj = JSObject::ObjectCreate(thread, nullObj); in HWTEST_F_L0() local
264 JSHandle<JSHClass> objClass(thread, handleObj->GetJSHClass()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/
H A Dobject_header.cpp122 VMHandle<ObjectHeader> handleObj(thread, currentObj); in GetHashCodeMTMulti()
136 Monitor::InflateThinLock(thread, handleObj); in GetHashCodeMTMulti()
137 currentObj = handleObj.GetPtr(); in GetHashCodeMTMulti()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_profiler.cpp497 auto handleObj = [&allHeapObjSet, &heapTotalSize](TaggedObject *obj) { in GetNotFoundObj() local
502 vm->GetHeap()->IterateOverObjects(handleObj, false); in GetNotFoundObj()
503 IterateSharedHeap(handleObj); in GetNotFoundObj()
541 auto handleObj = [&index, &table, &idMap, &snapshot](TaggedObject *obj) { in FillAddrTable() local
552 vm->GetHeap()->IterateOverObjects(handleObj, false); in FillAddrTable()
553 IterateSharedHeap(handleObj); in FillAddrTable()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h1541 JSHandle<JSTaggedValue> handleObj(thread, obj.IsJSProxy() ? JSProxy::Cast(obj)->GetPrivateField() : obj); in RuntimeLdPrivateProperty()
1546 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, handleKey, handleObj, undefined, 0); in RuntimeLdPrivateProperty()
1554 !JSTaggedValue::GetOwnProperty(thread, handleObj, handleKey, desc)) { in RuntimeLdPrivateProperty()
1572 JSHandle<JSTaggedValue> handleObj(thread, obj.IsJSProxy() ? JSProxy::Cast(obj)->GetPrivateField() : obj); in RuntimeStPrivateProperty()
1578 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, handleKey, handleObj, undefined, 1); in RuntimeStPrivateProperty()
1587 !JSTaggedValue::GetOwnProperty(thread, handleObj, handleKey, desc)) { in RuntimeStPrivateProperty()
1591 bool res = JSTaggedValue::DefineOwnProperty(thread, handleObj, handleKey, desc); in RuntimeStPrivateProperty()
1608 JSHandle<JSTaggedValue> handleObj(thread, obj.IsJSProxy() ? JSProxy::Cast(obj)->GetPrivateField() : obj); in RuntimeTestIn()
1610 bool res = JSTaggedValue::IsPropertyKey(handleKey) && JSTaggedValue::HasProperty(thread, handleObj, handleKey); in RuntimeTestIn()
3200 JSHandle<JSObject> handleObj(threa
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_errors_test.cpp61 JSHandle<JSObject> handleObj = factory->GetJSError(ErrorType::TYPE_ERROR); in HWTEST_F_L0() local
69 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), msgKey).GetValue()); in HWTEST_F_L0()
73 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0()
87 JSHandle<JSObject> handleObj = factory->GetJSError(ErrorType::TYPE_ERROR, "I am type error"); in HWTEST_F_L0() local
91 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), msgKey).GetValue()); in HWTEST_F_L0()
95 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_list.cpp481 JSHandle<JSAPIList> handleObj = JSHandle<JSAPIList>::Cast(obj); in Equal() local
482 return jsAPIList->Equal(thread, handleObj); in Equal()
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
H A Dentrypoints.cpp793 VMHandle<ObjectHeader> handleObj(thread, obj); in ResolveUnknownVirtualCallEntrypoint()
806 auto *resolved = handleObj.GetPtr()->ClassAddr<Class>()->ResolveVirtualMethod(method); in ResolveUnknownVirtualCallEntrypoint()

Completed in 18 milliseconds