/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | compiler_intrinsics.cpp | 96 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 D | json_stringifier_test.cpp | 80 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 D | ic_runtime_stub_test.cpp | 137 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 D | proto_change_details_test.cpp | 139 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 D | profile_type_info_test.cpp | 125 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 D | ic_handler_test.cpp | 262 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 D | object_header.cpp | 122 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 D | heap_profiler.cpp | 497 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 D | runtime_stubs-inl.h | 1541 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 D | builtins_errors_test.cpp | 61 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 D | containers_list.cpp | 481 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 D | entrypoints.cpp | 793 VMHandle<ObjectHeader> handleObj(thread, obj); in ResolveUnknownVirtualCallEntrypoint() 806 auto *resolved = handleObj.GetPtr()->ClassAddr<Class>()->ResolveVirtualMethod(method); in ResolveUnknownVirtualCallEntrypoint()
|