Lines Matching refs:Cast
210 …return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()… in NewEcmaHClass()
236 auto *pointer = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSArrayBufferData()
378 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSRegExpByteCodeData()
394 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
403 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewObject(jshclass))); in NewJSObject()
562 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral()
606 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CloneClassCtor()
633 … JSObject::Cast(NewNonMovableObject(jshclass, jshclass->GetInlinedProperties()))); in NewNonMovableJSObject()
643 JSHandle<JSPrimitiveRef> obj = JSHandle<JSPrimitiveRef>::Cast(NewJSObject(hclass)); in NewJSPrimitiveRef()
660 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
779 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetArgumentsClass()); in NewJSArguments()
780 JSHandle<JSArguments> obj = JSHandle<JSArguments>::Cast(NewJSObject(hclass)); in NewJSArguments()
845 JSHandle<JSFunction> nativeFunc = JSHandle<JSFunction>::Cast(nativeConstructor); in NewJSError()
853 Method *method = JSHandle<ECMAObject>::Cast(nativeConstructor)->GetCallTarget(); in NewJSError()
930 JSIntl::Cast(*obj)->SetFallbackSymbol(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
932 JSIntl::Cast(*obj)->SetFallbackSymbol(thread_, jsSymbol); in InitializeJSObject()
936 JSLocale::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
940 JSDateTimeFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
941 JSDateTimeFormat::Cast(*obj)->SetCalendar(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
942 JSDateTimeFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
943 JSDateTimeFormat::Cast(*obj)->SetTimeZone(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
944 JSDateTimeFormat::Cast(*obj)->SetLocaleIcu(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
945 … JSDateTimeFormat::Cast(*obj)->SetSimpleDateTimeFormatIcu(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
946 JSDateTimeFormat::Cast(*obj)->SetIso8601(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
947 JSDateTimeFormat::Cast(*obj)->SetBoundFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
948 JSDateTimeFormat::Cast(*obj)->SetHourCycle(HourCycleOption::EXCEPTION); in InitializeJSObject()
949 JSDateTimeFormat::Cast(*obj)->SetDateStyle(DateTimeStyleOption::EXCEPTION); in InitializeJSObject()
950 JSDateTimeFormat::Cast(*obj)->SetTimeStyle(DateTimeStyleOption::EXCEPTION); in InitializeJSObject()
954 JSNumberFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
955 JSNumberFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
956 JSNumberFormat::Cast(*obj)->SetCurrency(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
957 JSNumberFormat::Cast(*obj)->SetUnit(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
958 … JSNumberFormat::Cast(*obj)->SetMinimumIntegerDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
959 … JSNumberFormat::Cast(*obj)->SetMinimumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
960 … JSNumberFormat::Cast(*obj)->SetMaximumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
961 … JSNumberFormat::Cast(*obj)->SetMinimumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
962 … JSNumberFormat::Cast(*obj)->SetMaximumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
963 JSNumberFormat::Cast(*obj)->SetUseGrouping(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
964 JSNumberFormat::Cast(*obj)->SetBoundFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
965 JSNumberFormat::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
966 JSNumberFormat::Cast(*obj)->SetStyle(StyleOption::EXCEPTION); in InitializeJSObject()
967 JSNumberFormat::Cast(*obj)->SetCurrencySign(CurrencySignOption::EXCEPTION); in InitializeJSObject()
968 JSNumberFormat::Cast(*obj)->SetCurrencyDisplay(CurrencyDisplayOption::EXCEPTION); in InitializeJSObject()
969 JSNumberFormat::Cast(*obj)->SetUnitDisplay(UnitDisplayOption::EXCEPTION); in InitializeJSObject()
970 JSNumberFormat::Cast(*obj)->SetSignDisplay(SignDisplayOption::EXCEPTION); in InitializeJSObject()
971 JSNumberFormat::Cast(*obj)->SetCompactDisplay(CompactDisplayOption::EXCEPTION); in InitializeJSObject()
972 JSNumberFormat::Cast(*obj)->SetNotation(NotationOption::EXCEPTION); in InitializeJSObject()
973 JSNumberFormat::Cast(*obj)->SetRoundingType(RoundingType::EXCEPTION); in InitializeJSObject()
977 JSRelativeTimeFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
978 … JSRelativeTimeFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
979 JSRelativeTimeFormat::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
980 JSRelativeTimeFormat::Cast(*obj)->SetStyle(RelativeStyleOption::EXCEPTION); in InitializeJSObject()
981 JSRelativeTimeFormat::Cast(*obj)->SetNumeric(NumericOption::EXCEPTION); in InitializeJSObject()
985 JSCollator::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
986 JSCollator::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
987 JSCollator::Cast(*obj)->SetCollation(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
988 JSCollator::Cast(*obj)->SetBoundCompare(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
989 JSCollator::Cast(*obj)->SetUsage(UsageOption::EXCEPTION); in InitializeJSObject()
990 JSCollator::Cast(*obj)->SetCaseFirst(CaseFirstOption::EXCEPTION); in InitializeJSObject()
991 JSCollator::Cast(*obj)->SetSensitivity(SensitivityOption::EXCEPTION); in InitializeJSObject()
992 JSCollator::Cast(*obj)->SetIgnorePunctuation(false); in InitializeJSObject()
993 JSCollator::Cast(*obj)->SetNumeric(false); in InitializeJSObject()
997 JSPluralRules::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
998 JSPluralRules::Cast(*obj)->SetMinimumIntegerDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
999 … JSPluralRules::Cast(*obj)->SetMinimumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1000 … JSPluralRules::Cast(*obj)->SetMaximumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1001 … JSPluralRules::Cast(*obj)->SetMinimumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1002 … JSPluralRules::Cast(*obj)->SetMaximumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1003 JSPluralRules::Cast(*obj)->SetIcuPR(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1004 JSPluralRules::Cast(*obj)->SetIcuNF(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1005 JSPluralRules::Cast(*obj)->SetRoundingType(RoundingType::EXCEPTION); in InitializeJSObject()
1006 JSPluralRules::Cast(*obj)->SetType(TypeOption::EXCEPTION); in InitializeJSObject()
1010 JSDisplayNames::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1011 JSDisplayNames::Cast(*obj)->SetType(TypednsOption::EXCEPTION); in InitializeJSObject()
1012 JSDisplayNames::Cast(*obj)->SetStyle(StyOption::EXCEPTION); in InitializeJSObject()
1013 JSDisplayNames::Cast(*obj)->SetFallback(FallbackOption::EXCEPTION); in InitializeJSObject()
1014 JSDisplayNames::Cast(*obj)->SetIcuLDN(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1018 JSListFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1019 JSListFormat::Cast(*obj)->SetType(ListTypeOption::EXCEPTION); in InitializeJSObject()
1020 JSListFormat::Cast(*obj)->SetStyle(ListStyleOption::EXCEPTION); in InitializeJSObject()
1021 JSListFormat::Cast(*obj)->SetIcuLF(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1038 JSArray::Cast(*obj)->SetLength(0); in InitializeJSObject()
1041 …JSArray::Cast(*obj)->SetPropertyInlinedProps(thread_, JSArray::LENGTH_INLINE_PROPERTY_INDEX, acces… in InitializeJSObject()
1045 JSDate::Cast(*obj)->SetTimeValue(thread_, JSTaggedValue(0.0)); in InitializeJSObject()
1046 JSDate::Cast(*obj)->SetLocalOffset(thread_, JSTaggedValue(JSDate::MAX_DOUBLE)); in InitializeJSObject()
1060 … JSTypedArray::Cast(*obj)->SetViewedArrayBufferOrByteArray(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1061 JSTypedArray::Cast(*obj)->SetTypedArrayName(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1062 JSTypedArray::Cast(*obj)->SetByteLength(0); in InitializeJSObject()
1063 JSTypedArray::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
1064 JSTypedArray::Cast(*obj)->SetArrayLength(0); in InitializeJSObject()
1065 JSTypedArray::Cast(*obj)->SetContentType(ContentType::None); in InitializeJSObject()
1068 JSRegExp::Cast(*obj)->SetByteCodeBuffer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1069 JSRegExp::Cast(*obj)->SetOriginalSource(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1070 JSRegExp::Cast(*obj)->SetOriginalFlags(thread_, JSTaggedValue(0)); in InitializeJSObject()
1071 JSRegExp::Cast(*obj)->SetGroupName(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1072 JSRegExp::Cast(*obj)->SetLength(0); in InitializeJSObject()
1075 JSPrimitiveRef::Cast(*obj)->SetValue(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1078 JSSet::Cast(*obj)->SetLinkedSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1081 JSMap::Cast(*obj)->SetLinkedMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1084 JSWeakMap::Cast(*obj)->SetLinkedMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1087 JSWeakSet::Cast(*obj)->SetLinkedSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1090 JSWeakRef::Cast(*obj)->SetWeakObject(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1093 … JSFinalizationRegistry::Cast(*obj)->SetCleanupCallback(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1094 … JSFinalizationRegistry::Cast(*obj)->SetNoUnregister(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1095 … JSFinalizationRegistry::Cast(*obj)->SetMaybeUnregister(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1096 JSFinalizationRegistry::Cast(*obj)->SetNext(thread_, JSTaggedValue::Null()); in InitializeJSObject()
1097 JSFinalizationRegistry::Cast(*obj)->SetPrev(thread_, JSTaggedValue::Null()); in InitializeJSObject()
1100 JSGeneratorObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1101 JSGeneratorObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1102 JSGeneratorObject::Cast(*obj)->SetGeneratorState(JSGeneratorState::UNDEFINED); in InitializeJSObject()
1103 JSGeneratorObject::Cast(*obj)->SetResumeMode(GeneratorResumeMode::UNDEFINED); in InitializeJSObject()
1106 … JSAsyncGeneratorObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1107 …JSAsyncGeneratorObject::Cast(*obj)->SetAsyncGeneratorQueue(thread_, GetEmptyTaggedQueue().GetTagge… in InitializeJSObject()
1108 … JSAsyncGeneratorObject::Cast(*obj)->SetGeneratorBrand(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1109 … JSAsyncGeneratorObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1110 … JSAsyncGeneratorObject::Cast(*obj)->SetAsyncGeneratorState(JSAsyncGeneratorState::UNDEFINED); in InitializeJSObject()
1111 JSAsyncGeneratorObject::Cast(*obj)->SetResumeMode(AsyncGeneratorResumeMode::UNDEFINED); in InitializeJSObject()
1114 JSStringIterator::Cast(*obj)->SetStringIteratorNextIndex(0); in InitializeJSObject()
1115 JSStringIterator::Cast(*obj)->SetIteratedString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1118 … JSAsyncFromSyncIterator::Cast(*obj)->SetSyncIteratorRecord(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1121 … JSAsyncFromSyncIterUnwarpFunction::Cast(*obj)->SetDone(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1124 JSArrayBuffer::Cast(*obj)->SetArrayBufferData(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1125 JSArrayBuffer::Cast(*obj)->SetArrayBufferByteLength(0); in InitializeJSObject()
1126 JSArrayBuffer::Cast(*obj)->ClearBitField(); in InitializeJSObject()
1129 JSArrayBuffer::Cast(*obj)->SetArrayBufferData(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1130 JSArrayBuffer::Cast(*obj)->SetArrayBufferByteLength(0); in InitializeJSObject()
1131 JSArrayBuffer::Cast(*obj)->SetShared(true); in InitializeJSObject()
1134 JSPromise::Cast(*obj)->SetPromiseState(PromiseState::PENDING); in InitializeJSObject()
1135 JSPromise::Cast(*obj)->SetPromiseResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1136 … JSPromise::Cast(*obj)->SetPromiseRejectReactions(thread_, GetEmptyTaggedQueue().GetTaggedValue()); in InitializeJSObject()
1137 …JSPromise::Cast(*obj)->SetPromiseFulfillReactions(thread_, GetEmptyTaggedQueue().GetTaggedValue()); in InitializeJSObject()
1139 JSPromise::Cast(*obj)->SetPromiseIsHandled(false); in InitializeJSObject()
1142 JSDataView::Cast(*obj)->SetDataView(thread_, JSTaggedValue(false)); in InitializeJSObject()
1143 JSDataView::Cast(*obj)->SetViewedArrayBuffer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1144 JSDataView::Cast(*obj)->SetByteLength(0); in InitializeJSObject()
1145 JSDataView::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
1149 JSAPIArrayList::Cast(*obj)->SetLength(thread_, JSTaggedValue(0)); in InitializeJSObject()
1153 JSAPIHashMap::Cast(*obj)->SetSize(0); in InitializeJSObject()
1154 JSAPIHashMap::Cast(*obj)->SetTable(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1158 JSAPIHashSet::Cast(*obj)->SetSize(0); in InitializeJSObject()
1159 JSAPIHashSet::Cast(*obj)->SetTable(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1163 JSAPITreeMap::Cast(*obj)->SetTreeMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1167 JSAPITreeSet::Cast(*obj)->SetTreeSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1171 JSAPIQueue::Cast(*obj)->SetLength(thread_, JSTaggedValue(0)); in InitializeJSObject()
1172 JSAPIQueue::Cast(*obj)->SetFront(0); in InitializeJSObject()
1173 JSAPIQueue::Cast(*obj)->SetTail(0); in InitializeJSObject()
1177 JSAPIPlainArray::Cast(*obj)->SetLength(0); in InitializeJSObject()
1178 JSAPIPlainArray::Cast(*obj)->SetValues(thread_, JSTaggedValue(0)); in InitializeJSObject()
1179 JSAPIPlainArray::Cast(*obj)->SetKeys(thread_, JSTaggedValue(0)); in InitializeJSObject()
1183 JSAPIStack::Cast(*obj)->SetTop(0); in InitializeJSObject()
1187 JSAPIDeque::Cast(*obj)->SetFirst(0); in InitializeJSObject()
1188 JSAPIDeque::Cast(*obj)->SetLast(0); in InitializeJSObject()
1192 JSAPILightWeightMap::Cast(*obj)->SetLength(0); in InitializeJSObject()
1193 JSAPILightWeightMap::Cast(*obj)->SetHashes(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1194 JSAPILightWeightMap::Cast(*obj)->SetKeys(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1195 JSAPILightWeightMap::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1199 JSAPILightWeightSet::Cast(*obj)->SetLength(0); in InitializeJSObject()
1200 JSAPILightWeightSet::Cast(*obj)->SetHashes(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1201 JSAPILightWeightSet::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1205 JSAPIVector::Cast(*obj)->SetLength(0); in InitializeJSObject()
1209 JSAPIList::Cast(*obj)->SetSingleList(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1213 JSAPILinkedList::Cast(*obj)->SetDoubleList(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1217 JSAsyncFuncObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1218 JSAsyncFuncObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1219 JSAsyncFuncObject::Cast(*obj)->SetPromise(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1230 … JSProxyRevocFunction::Cast(*obj)->SetRevocableProxy(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1234 JSPromiseReactionsFunction::Cast(*obj)->SetPromise(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1235 … JSPromiseReactionsFunction::Cast(*obj)->SetAlreadyResolved(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1239 … JSPromiseExecutorFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1243 JSAsyncGeneratorResNextRetProRstFtn::Cast(*obj)->SetAsyncGeneratorObject(thread_, in InitializeJSObject()
1248 … JSPromiseAllResolveElementFunction::Cast(*obj)->SetIndex(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1249 … JSPromiseAllResolveElementFunction::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1250 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetCapabilities(thread_, JSTaggedValue::Undefined(… in InitializeJSObject()
1251 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undef… in InitializeJSObject()
1252 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined… in InitializeJSObject()
1256 JSPromiseAnyRejectElementFunction::Cast(*obj)->SetIndex(0); in InitializeJSObject()
1257 … JSPromiseAnyRejectElementFunction::Cast(*obj)->SetErrors(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1258 … JSPromiseAnyRejectElementFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1259 …JSPromiseAnyRejectElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undefi… in InitializeJSObject()
1260 …JSPromiseAnyRejectElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined(… in InitializeJSObject()
1264 JSPromiseAllSettledElementFunction::Cast(*obj)->SetIndex(0); in InitializeJSObject()
1265 … JSPromiseAllSettledElementFunction::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1266 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1267 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undef… in InitializeJSObject()
1268 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined… in InitializeJSObject()
1272 JSPromiseFinallyFunction::Cast(*obj)->SetOnFinally(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1273 … JSPromiseFinallyFunction::Cast(*obj)->SetConstructor(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1277 … JSPromiseValueThunkOrThrowerFunction::Cast(*obj)->SetResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1281 JSIntlBoundFunction::Cast(*obj)->SetNumberFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1282 JSIntlBoundFunction::Cast(*obj)->SetDateTimeFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1283 JSIntlBoundFunction::Cast(*obj)->SetCollator(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1286 JSBoundFunction::Cast(*obj)->SetMethod(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1287 JSBoundFunction::Cast(*obj)->SetBoundTarget(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1288 JSBoundFunction::Cast(*obj)->SetBoundThis(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1289 JSBoundFunction::Cast(*obj)->SetBoundArguments(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1312 CjsModule::Cast(*obj)->SetId(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1313 CjsModule::Cast(*obj)->SetExports(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1314 CjsModule::Cast(*obj)->SetPath(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1315 CjsModule::Cast(*obj)->SetFilename(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1316 CjsModule::Cast(*obj)->SetStatus(CjsModuleStatus::UNLOAD); in InitializeJSObject()
1319 CjsExports::Cast(*obj)->SetExports(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1322 CjsRequire::Cast(*obj)->SetCache(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1323 CjsRequire::Cast(*obj)->SetParent(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1338 …object->SetClassWithoutBarrier(JSHClass::Cast(globalConst->GetFreeObjectWithOneFieldClass().GetTag… in FillFreeObject()
1343 JSHClass::Cast(globalConst->GetFreeObjectWithTwoFieldClass().GetTaggedObject())); in FillFreeObject()
1349 JSHClass::Cast(globalConst->GetFreeObjectWithNoneFieldClass().GetTaggedObject())); in FillFreeObject()
1424 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProto()); in NewJSFunction()
1426 hclass = JSHandle<JSHClass>::Cast(env->GetConstructorFunctionClass()); in NewJSFunction()
1428 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in NewJSFunction()
1430 hclass = JSHandle<JSHClass>::Cast(env->GetNormalFunctionClass()); in NewJSFunction()
1557 function = JSHandle<JSFunction>::Cast(NewJSObject(clazz)); in NewJSFunctionByHClass()
1560 function = JSHandle<JSFunction>::Cast(NewOldSpaceJSObject(clazz)); in NewJSFunctionByHClass()
1563 function = JSHandle<JSFunction>::Cast(NewNonMovableJSObject(clazz)); in NewJSFunctionByHClass()
1580 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(NewJSObject(clazz)); in NewJSFunctionByHClass()
1594 JSHClass::Cast(thread_->GlobalConstants()->GetMethodClass().GetTaggedObject())); in NewMethod()
1597 JSHClass::Cast(thread_->GlobalConstants()->GetMethodClass().GetTaggedObject())); in NewMethod()
1637 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetNativeErrorFunctionClass()); in NewJSNativeErrorFunction()
1645 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetSpecificTypedArrayFunctionClass()); in NewSpecificTypedArrayFunction()
1669 JSHandle<JSBoundFunction> bundleFunction = JSHandle<JSBoundFunction>::Cast(NewJSObject(hclass)); in NewJSBoundFunction()
1684 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetJSIntlBoundFunctionClass()); in NewJSIntlBoundFunction()
1686 …JSHandle<JSIntlBoundFunction> intlBoundFunc = JSHandle<JSIntlBoundFunction>::Cast(NewJSObject(hcla… in NewJSIntlBoundFunction()
1690 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(intlBoundFunc); in NewJSIntlBoundFunction()
1698 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSIntlBoundFunction()
1707 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetProxyRevocFunctionClass()); in NewJSProxyRevocFunction()
1709 …JSHandle<JSProxyRevocFunction> revocFunction = JSHandle<JSProxyRevocFunction>::Cast(NewJSObject(hc… in NewJSProxyRevocFunction()
1712 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(revocFunction); in NewJSProxyRevocFunction()
1719 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSProxyRevocFunction()
1727 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncAwaitStatusFunctionClass()); in NewJSAsyncAwaitStatusFunction()
1730 JSHandle<JSAsyncAwaitStatusFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncAwaitStatusFunction()
1732 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(awaitFunction)); in NewJSAsyncAwaitStatusFunction()
1739 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSGeneratorObject()
1746 …JSHandle<JSGeneratorObject> generatorObject = JSHandle<JSGeneratorObject>::Cast(NewJSObject(hclass… in NewJSGeneratorObject()
1754 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSAsyncGeneratorObject()
1763 JSHandle<JSAsyncGeneratorObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncGeneratorObject()
1772 …JSHandle<JSAsyncFuncObject> asyncFuncObject = JSHandle<JSAsyncFuncObject>::Cast(NewJSObjectWithIni… in NewJSAsyncFuncObject()
1780 JSHClass::Cast(thread_->GlobalConstants()->GetCompletionRecordClass().GetTaggedObject())); in NewCompletionRecord()
1791 JSHClass::Cast(thread_->GlobalConstants()->GetGeneratorContextClass().GetTaggedObject())); in NewGeneratorContext()
1858 obj = JSHandle<JSPrimitiveRef>::Cast(NewJSObjectByConstructor(stringFunc)); in NewJSString()
1862 obj = JSHandle<JSPrimitiveRef>::Cast(newObject); in NewJSString()
1875 return JSHandle<GlobalEnv>(thread_, GlobalEnv::Cast(header)); in NewGlobalEnv()
1883 JSHClass::Cast(thread_->GlobalConstants()->GetEnvClass().GetTaggedObject()), size); in NewLexicalEnv()
1893 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewJSSymbol()
1894 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewJSSymbol()
1912 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewPrivateNameSymbol()
1913 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewPrivateNameSymbol()
1925 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewWellKnownSymbol()
1926 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewWellKnownSymbol()
1938 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewPublicSymbol()
1939 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewPublicSymbol()
1991 JSHClass::Cast(thread_->GlobalConstants()->GetAccessorDataClass().GetTaggedObject())); in NewAccessorData()
1992 JSHandle<AccessorData> acc(thread_, AccessorData::Cast(header)); in NewAccessorData()
2002 JSHClass::Cast(thread_->GlobalConstants()->GetInternalAccessorClass().GetTaggedObject())); in NewInternalAccessor()
2003 JSHandle<AccessorData> obj(thread_, AccessorData::Cast(header)); in NewInternalAccessor()
2023 JSHClass::Cast(thread_->GlobalConstants()->GetCapabilityRecordClass().GetTaggedObject())); in NewPromiseCapability()
2035 JSHClass::Cast(thread_->GlobalConstants()->GetReactionsRecordClass().GetTaggedObject())); in NewPromiseReaction()
2047 … JSHClass::Cast(thread_->GlobalConstants()->GetPromiseIteratorRecordClass().GetTaggedObject())); in NewPromiseIteratorRecord()
2058 JSHClass::Cast(thread_->GlobalConstants()->GetMicroJobQueueClass().GetTaggedObject())); in NewMicroJobQueue()
2070 JSHClass::Cast(thread_->GlobalConstants()->GetPendingJobClass().GetTaggedObject())); in NewPendingJob()
2091 …auto jsProxyCallableClass = JSHClass::Cast(globalConst->GetJSProxyCallableClass().GetTaggedObject(… in NewJSProxy()
2092 …auto jsProxyConstructClass = JSHClass::Cast(globalConst->GetJSProxyConstructClass().GetTaggedObjec… in NewJSProxy()
2097 … JSHClass::Cast(thread_->GlobalConstants()->GetJSProxyOrdinaryClass().GetTaggedObject())); in NewJSProxy()
2130 … PropertyDescriptor realmDesc(thread_, JSHandle<JSTaggedValue>::Cast(realmObj), true, false, true); in NewJSRealm()
2132 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(realm), realmkey, realmDesc); in NewJSRealm()
2142 … JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), TaggedArray::SIZE); in NewEmptyArray()
2166 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in NewTaggedArray()
2225 auto arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()); in NewTaggedArrayWithoutInit()
2261 JSHClass::Cast(thread_->GlobalConstants()->GetCOWArrayClass().GetTaggedObject()), size); in NewCOWTaggedArray()
2270 return JSHandle<TaggedHashArray>::Cast(EmptyArray()); in NewTaggedHashArray()
2275 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in NewTaggedHashArray()
2284 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetByteArrayClass().GetTaggedObj… in NewByteArray()
2306 JSHClass::Cast(globalConst->GetLinkedNode().GetTaggedObject()), LinkedNode::SIZE); in NewLinkedNode()
2319 JSHClass::Cast(globalConst->GetRBTreeNode().GetTaggedObject()), RBTreeNode::SIZE); in NewTreeNode()
2332 JSHClass::Cast(thread_->GlobalConstants()->GetDictionaryClass().GetTaggedObject()), size); in NewDictionaryArray()
2345 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in ExtendArray()
2378 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyPartArray()
2406 …JSHClass *cowArrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetCOWArrayClass().GetTaggedO… in CopyArray()
2409 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in CopyArray()
2430 …JSHandle<LayoutInfo> layoutInfoHandle = JSHandle<LayoutInfo>::Cast(NewTaggedArrayWithoutInit(array… in CreateLayoutInfo()
2443 JSHandle<LayoutInfo>::Cast(newArray)->Initialize(thread_, oldArray->GetExtraLength()); in ExtendLayoutInfo()
2450 return JSHandle<LayoutInfo>::Cast(newArray); in ExtendLayoutInfo()
2456 return JSHandle<LayoutInfo>(CopyArray(JSHandle<TaggedArray>::Cast(old), newLength, newLength)); in CopyLayoutInfo()
2476 JSHClass::Cast(thread_->GlobalConstants()->GetConstantPoolClass().GetTaggedObject()), size); in NewConstantPool()
2486 JSHClass::Cast(thread_->GlobalConstants()->GetProgramClass().GetTaggedObject())); in NewProgram()
2497 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetModuleNamespaceClass()); in NewModuleNamespace()
2500 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in NewModuleNamespace()
2613 JSHClass::Cast(thread_->GlobalConstants()->GetPropertyBoxClass().GetTaggedObject())); in NewPropertyBox()
2623 JSHClass::Cast(thread_->GlobalConstants()->GetProtoChangeMarkerClass().GetTaggedObject())); in NewProtoChangeMarker()
2633 JSHClass::Cast(thread_->GlobalConstants()->GetProtoChangeDetailsClass().GetTaggedObject())); in NewProtoChangeDetails()
2647 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in NewProfileTypeInfo()
2660 JSHClass::Cast(thread_->GlobalConstants()->GetBigIntClass().GetTaggedObject()), size); in NewBigInt()
2688 auto queue = JSHandle<TaggedQueue>::Cast(NewTaggedArray(queueLength, JSTaggedValue::Hole())); in NewTaggedQueue()
2811 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseReactionFunctionClass()); in CreateJSPromiseReactionsFunction()
2814 JSHandle<JSPromiseReactionsFunction>::Cast(NewJSObject(hclass)); in CreateJSPromiseReactionsFunction()
2817 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(reactionsFunction); in CreateJSPromiseReactionsFunction()
2827 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseExecutorFunctionClass()); in CreateJSPromiseExecutorFunction()
2829 JSHandle<JSPromiseExecutorFunction>::Cast(NewJSObject(hclass)); in CreateJSPromiseExecutorFunction()
2831 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(executorFunction); in CreateJSPromiseExecutorFunction()
2842 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllResolveElementFunctionClass… in NewJSPromiseAllResolveElementFunction()
2844 JSHandle<JSPromiseAllResolveElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllResolveElementFunction()
2845 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllResolveElementFunction()
2853 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllResolveElementFunction()
2860 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAnyRejectElementFunctionClass(… in NewJSPromiseAnyRejectElementFunction()
2862 JSHandle<JSPromiseAnyRejectElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAnyRejectElementFunction()
2863 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAnyRejectElementFunction()
2871 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAnyRejectElementFunction()
2878 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllSettledElementFunctionClass… in NewJSPromiseAllSettledResolveElementFunction()
2880 JSHandle<JSPromiseAllSettledElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllSettledResolveElementFunction()
2881 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllSettledResolveElementFunction()
2889 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllSettledResolveElementFunction()
2896 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllSettledElementFunctionClass… in NewJSPromiseAllSettledRejectElementFunction()
2898 JSHandle<JSPromiseAllSettledElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllSettledRejectElementFunction()
2899 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllSettledRejectElementFunction()
2907 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllSettledRejectElementFunction()
2914 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseFinallyFunctionClass()); in NewJSPromiseThenFinallyFunction()
2916 JSHandle<JSPromiseFinallyFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseThenFinallyFunction()
2917 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseThenFinallyFunction()
2921 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseThenFinallyFunction()
2928 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseFinallyFunctionClass()); in NewJSPromiseCatchFinallyFunction()
2930 JSHandle<JSPromiseFinallyFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseCatchFinallyFunction()
2931 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseCatchFinallyFunction()
2935 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseCatchFinallyFunction()
2942 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast( in NewJSAsyGenResNextRetProRstFulfilledFtn()
2945 JSHandle<JSAsyncGeneratorResNextRetProRstFtn>::Cast(NewJSObject(hclass)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
2946 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
2949 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
2956 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFromSyncIterUnwarpClass()); in NewJSAsyncFromSyncIterUnwarpFunction()
2958 JSHandle<JSAsyncFromSyncIterUnwarpFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncFromSyncIterUnwarpFunction()
2959 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyncFromSyncIterUnwarpFunction()
2963 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyncFromSyncIterUnwarpFunction()
2970 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast( in NewJSAsyGenResNextRetProRstRejectedFtn()
2973 JSHandle<JSAsyncGeneratorResNextRetProRstFtn>::Cast(NewJSObject(hclass)); in NewJSAsyGenResNextRetProRstRejectedFtn()
2974 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyGenResNextRetProRstRejectedFtn()
2977 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyGenResNextRetProRstRejectedFtn()
2984 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseValueThunkOrThrowerFunctionCla… in NewJSPromiseValueThunkFunction()
2986 JSHandle<JSPromiseValueThunkOrThrowerFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseValueThunkFunction()
2987 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseValueThunkFunction()
2990 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(0)); in NewJSPromiseValueThunkFunction()
2997 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseValueThunkOrThrowerFunctionCla… in NewJSPromiseThrowerFunction()
2999 JSHandle<JSPromiseValueThunkOrThrowerFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseThrowerFunction()
3000 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseThrowerFunction()
3003 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(0)); in NewJSPromiseThrowerFunction()
3009 EcmaString *str = EcmaString::Cast(key->GetTaggedObject()); in InternString()
3022 TransitionHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewTransitionHandler()
3023 … JSHClass::Cast(thread_->GlobalConstants()->GetTransitionHandlerClass().GetTaggedObject()))); in NewTransitionHandler()
3033 PrototypeHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewPrototypeHandler()
3034 … JSHClass::Cast(thread_->GlobalConstants()->GetPrototypeHandlerClass().GetTaggedObject()))); in NewPrototypeHandler()
3046 TransWithProtoHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewTransWithProtoHandler()
3047 … JSHClass::Cast(thread_->GlobalConstants()->GetTransWithProtoHandlerClass().GetTaggedObject()))); in NewTransWithProtoHandler()
3059 StoreTSHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewStoreTSHandler()
3060 … JSHClass::Cast(thread_->GlobalConstants()->GetStoreTSHandlerClass().GetTaggedObject()))); in NewStoreTSHandler()
3072 JSHClass::Cast(thread_->GlobalConstants()->GetPromiseRecordClass().GetTaggedObject())); in NewPromiseRecord()
3082 …JSHClass::Cast(thread_->GlobalConstants()->GetPromiseResolvingFunctionsRecordClass().GetTaggedObje… in NewResolvingFunctionsRecord()
3161 JSHandle<TaggedArray> hclassCacheArr = JSHandle<TaggedArray>::Cast(hclassCache); in GetObjectLiteralHClass()
3208 TaggedObject *obj = heap_->AllocateMachineCodeObject(JSHClass::Cast( in NewMachineCodeObject()
3210 MachineCode *code = MachineCode::Cast(obj); in NewMachineCodeObject()
3227 … JSHClass::Cast(thread_->GlobalConstants()->GetClassInfoExtractorHClass().GetTaggedObject())); in NewClassInfoExtractor()
3245 …JSHandle<TSObjLayoutInfo> tsPropInfoHandle = JSHandle<TSObjLayoutInfo>::Cast(NewTaggedArray(arrayL… in CreateTSObjLayoutInfo()
3255 JSHClass::Cast(thread_->GlobalConstants()->GetTSObjectTypeClass().GetTaggedObject())); in NewTSObjectType()
3271 JSHClass::Cast(thread_->GlobalConstants()->GetTSClassTypeClass().GetTaggedObject())); in NewTSClassType()
3291 JSHClass::Cast(thread_->GlobalConstants()->GetTSInterfaceTypeClass().GetTaggedObject())); in NewTSInterfaceType()
3310 JSHClass::Cast(thread_->GlobalConstants()->GetTSUnionTypeClass().GetTaggedObject())); in NewTSUnionType()
3326 … JSHClass::Cast(thread_->GlobalConstants()->GetTSClassInstanceTypeClass().GetTaggedObject())); in NewTSClassInstanceType()
3340 JSHClass::Cast(thread_->GlobalConstants()->GetTSFunctionTypeClass().GetTaggedObject())); in NewTSFunctionType()
3361 JSHClass::Cast(thread_->GlobalConstants()->GetTSArrayTypeClass().GetTaggedObject())); in NewTSArrayType()
3374 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in NewTSTypeTable()
3390 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in NewTSModuleTable()
3404 … JSHClass::Cast(thread_->GlobalConstants()->GetTSIteratorInstanceTypeClass().GetTaggedObject())); in NewTSIteratorInstanceType()
3419 JSHClass::Cast(thread_->GlobalConstants()->GetTSNamespaceTypeClass().GetTaggedObject())); in NewTSNamespaceType()
3650 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyDeque()
3688 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyQueue()
3815 return JSHandle<JSAPIList>::Cast(NewJSObjectByConstructor(function)); in NewJSAPIList()
3822 return JSHandle<JSAPILinkedList>::Cast(NewJSObjectByConstructor(function)); in NewJSAPILinkedList()
3837 JSHClass::Cast(thread_->GlobalConstants()->GetImportEntryClass().GetTaggedObject())); in NewImportEntry()
3856 JSHClass::Cast(thread_->GlobalConstants()->GetLocalExportEntryClass().GetTaggedObject())); in NewLocalExportEntry()
3876 … JSHClass::Cast(thread_->GlobalConstants()->GetIndirectExportEntryClass().GetTaggedObject())); in NewIndirectExportEntry()
3894 JSHClass::Cast(thread_->GlobalConstants()->GetStarExportEntryClass().GetTaggedObject())); in NewStarExportEntry()
3904 JSHClass::Cast(thread_->GlobalConstants()->GetSourceTextModuleClass().GetTaggedObject())); in NewSourceTextModule()
3940 JSHClass::Cast(thread_->GlobalConstants()->GetResolvedBindingClass().GetTaggedObject())); in NewResolvedBindingRecord()
3960 … JSHClass::Cast(thread_->GlobalConstants()->GetResolvedIndexBindingClass().GetTaggedObject())); in NewResolvedIndexBindingRecord()
3971 JSHClass::Cast(thread_->GlobalConstants()->GetCellRecordClass().GetTaggedObject())); in NewCellRecord()
4023 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewOldSpaceObject(jshclass))); in NewOldSpaceJSObject()
4039 … JSHandle<JSFunction>::Cast(vm_->GetGlobalEnv()->GetArrayFunction())->GetProtoOrHClass()); in NewJSStableArrayWithElements()
4040 JSHandle<JSArray> array = JSHandle<JSArray>::Cast(NewJSObject(cls)); in NewJSStableArrayWithElements()
4054 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClass()); in NewJSAsyncGeneratorFunction()
4055 JSHandle<JSFunction> asyncGeneratorFunc = JSHandle<JSFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncGeneratorFunction()
4065 …JSHClass::Cast(thread_->GlobalConstants()->GetAsyncGeneratorRequestRecordClass().GetTaggedObject()… in NewAsyncGeneratorRequest()
4077 … JSHClass::Cast(thread_->GlobalConstants()->GetAsyncIteratorRecordClass().GetTaggedObject())); in NewAsyncIteratorRecord()
4090 … JSHClass::Cast(thread_->GlobalConstants()->GetAOTLiteralInfoClass().GetTaggedObject()), size); in NewAOTLiteralInfo()
4102 JSHClass::Cast(thread_->GlobalConstants()->GetVTableClass().GetTaggedObject()), size); in NewVTable()
4114 JSHClass::Cast(thread_->GlobalConstants()->GetClassLiteralClass().GetTaggedObject())); in NewClassLiteral()
4134 … hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProtoOptimizedWithFastCall()); in NewJSFunction()
4136 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProtoOptimized()); in NewJSFunction()
4139 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProto()); in NewJSFunction()
4146 … hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimizedWithFastCall()); in NewJSFunction()
4148 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimized()); in NewJSFunction()
4151 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in NewJSFunction()
4158 … hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClassOptimizedWithFastCall()); in NewJSFunction()
4160 hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClassOptimized()); in NewJSFunction()
4163 hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in NewJSFunction()
4171 … hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClassOptimizedWithFastCall()); in NewJSFunction()
4173 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClassOptimized()); in NewJSFunction()
4176 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in NewJSFunction()
4183 … hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClassOptimizedWithFastCall()); in NewJSFunction()
4185 … hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClassOptimized()); in NewJSFunction()
4188 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClass()); in NewJSFunction()
4195 … hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClassOptimizedWithFastCall()); in NewJSFunction()
4197 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClassOptimized()); in NewJSFunction()
4200 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in NewJSFunction()
4221 … hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimizedWithFastCall()); in NewJSFunction()
4223 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimized()); in NewJSFunction()
4226 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in NewJSFunction()
4242 …functionClass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimizedWithFastCall()); in NewJSFunction()
4244 … functionClass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProtoOptimized()); in NewJSFunction()
4248 … functionClass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClassOptimizedWithFastCall()); in NewJSFunction()
4250 functionClass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClassOptimized()); in NewJSFunction()
4255 functionClass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in NewJSFunction()
4257 functionClass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in NewJSFunction()
4272 return JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProto()); in GetNonOptimizedHclass()
4275 return JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in GetNonOptimizedHclass()
4282 return JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in GetNonOptimizedHclass()
4289 return JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in GetNonOptimizedHclass()
4297 return JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in GetNonOptimizedHclass()
4304 return JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClass()); in GetNonOptimizedHclass()
4311 return JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in GetNonOptimizedHclass()