• Home
  • Raw
  • Download

Lines Matching full:cast

171         JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize));  in NewEcmaHClass()
197 …return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()… in NewEcmaHClass()
223 auto *pointer = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSArrayBufferData()
260 auto *pointer = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSSendableArrayBufferData()
450 JSNativePointer *native = JSNativePointer::Cast(data.GetTaggedObject()); in NewJSRegExpByteCodeData()
474 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
483 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewObject(jshclass))); in NewJSObject()
646 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral()
703 jshclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in CreateJSFunctionFromTemplate()
705 jshclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in CreateJSFunctionFromTemplate()
707 jshclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in CreateJSFunctionFromTemplate()
726 jshclass = JSHandle<JSHClass>::Cast(env->GetSFunctionClassWithoutProto()); in CreateSFunctionFromTemplate()
728 jshclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in CreateSFunctionFromTemplate()
730 jshclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in CreateSFunctionFromTemplate()
758 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CloneClassCtor()
785 … JSObject::Cast(NewNonMovableObject(jshclass, jshclass->GetInlinedProperties()))); in NewNonMovableJSObject()
795 JSHandle<JSPrimitiveRef> obj = JSHandle<JSPrimitiveRef>::Cast(NewJSObject(hclass)); in NewJSPrimitiveRef()
810 JSArray::Cast(*obj)->SetLength(length); in NewJSArray()
811 JSArray::Cast(*obj)->SetTrackInfo(thread_, JSTaggedValue::Undefined()); in NewJSArray()
813 …JSArray::Cast(*obj)->SetPropertyInlinedProps(thread_, JSArray::LENGTH_INLINE_PROPERTY_INDEX, acces… in NewJSArray()
840 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
845 uint32_t enumLength = JSHandle<TaggedArray>::Cast(keys)->GetLength(); in NewJSForinIterator()
961 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetArgumentsClass()); in NewJSArguments()
962 JSHandle<JSArguments> obj = JSHandle<JSArguments>::Cast(NewJSObject(hclass)); in NewJSArguments()
1031 JSHandle<JSFunction> nativeFunc = JSHandle<JSFunction>::Cast(nativeConstructor); in NewJSError()
1038 Method *method = JSHandle<ECMAObject>::Cast(nativeConstructor)->GetCallTarget(); in NewJSError()
1192 JSIntl::Cast(*obj)->SetFallbackSymbol(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1194 JSIntl::Cast(*obj)->SetFallbackSymbol(thread_, jsSymbol); in InitializeJSObject()
1198 JSLocale::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1202 JSDateTimeFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1203 JSDateTimeFormat::Cast(*obj)->SetCalendar(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1204 JSDateTimeFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1205 JSDateTimeFormat::Cast(*obj)->SetTimeZone(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1206 JSDateTimeFormat::Cast(*obj)->SetLocaleIcu(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1207 … JSDateTimeFormat::Cast(*obj)->SetSimpleDateTimeFormatIcu(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1208 JSDateTimeFormat::Cast(*obj)->SetIso8601(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1209 JSDateTimeFormat::Cast(*obj)->SetBoundFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1210 JSDateTimeFormat::Cast(*obj)->SetHourCycle(HourCycleOption::EXCEPTION); in InitializeJSObject()
1211 JSDateTimeFormat::Cast(*obj)->SetDateStyle(DateTimeStyleOption::EXCEPTION); in InitializeJSObject()
1212 JSDateTimeFormat::Cast(*obj)->SetTimeStyle(DateTimeStyleOption::EXCEPTION); in InitializeJSObject()
1216 JSNumberFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1217 JSNumberFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1218 JSNumberFormat::Cast(*obj)->SetCurrency(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1219 JSNumberFormat::Cast(*obj)->SetUnit(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1220 … JSNumberFormat::Cast(*obj)->SetMinimumIntegerDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1221 … JSNumberFormat::Cast(*obj)->SetMinimumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1222 … JSNumberFormat::Cast(*obj)->SetMaximumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1223 … JSNumberFormat::Cast(*obj)->SetMinimumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1224 … JSNumberFormat::Cast(*obj)->SetMaximumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1225 JSNumberFormat::Cast(*obj)->SetUseGrouping(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1226 JSNumberFormat::Cast(*obj)->SetBoundFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1227 JSNumberFormat::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1228 JSNumberFormat::Cast(*obj)->SetStyle(StyleOption::EXCEPTION); in InitializeJSObject()
1229 JSNumberFormat::Cast(*obj)->SetCurrencySign(CurrencySignOption::EXCEPTION); in InitializeJSObject()
1230 JSNumberFormat::Cast(*obj)->SetCurrencyDisplay(CurrencyDisplayOption::EXCEPTION); in InitializeJSObject()
1231 JSNumberFormat::Cast(*obj)->SetUnitDisplay(UnitDisplayOption::EXCEPTION); in InitializeJSObject()
1232 JSNumberFormat::Cast(*obj)->SetSignDisplay(SignDisplayOption::EXCEPTION); in InitializeJSObject()
1233 JSNumberFormat::Cast(*obj)->SetCompactDisplay(CompactDisplayOption::EXCEPTION); in InitializeJSObject()
1234 JSNumberFormat::Cast(*obj)->SetNotation(NotationOption::EXCEPTION); in InitializeJSObject()
1235 JSNumberFormat::Cast(*obj)->SetRoundingType(RoundingType::EXCEPTION); in InitializeJSObject()
1239 JSRelativeTimeFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1240 … JSRelativeTimeFormat::Cast(*obj)->SetNumberingSystem(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1241 JSRelativeTimeFormat::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1242 JSRelativeTimeFormat::Cast(*obj)->SetStyle(RelativeStyleOption::EXCEPTION); in InitializeJSObject()
1243 JSRelativeTimeFormat::Cast(*obj)->SetNumeric(NumericOption::EXCEPTION); in InitializeJSObject()
1247 JSCollator::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1248 JSCollator::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1249 JSCollator::Cast(*obj)->SetCollation(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1250 JSCollator::Cast(*obj)->SetBoundCompare(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1251 JSCollator::Cast(*obj)->SetUsage(UsageOption::EXCEPTION); in InitializeJSObject()
1252 JSCollator::Cast(*obj)->SetCaseFirst(CaseFirstOption::EXCEPTION); in InitializeJSObject()
1253 JSCollator::Cast(*obj)->SetSensitivity(SensitivityOption::EXCEPTION); in InitializeJSObject()
1254 JSCollator::Cast(*obj)->SetIgnorePunctuation(false); in InitializeJSObject()
1255 JSCollator::Cast(*obj)->SetNumeric(false); in InitializeJSObject()
1259 JSPluralRules::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1260 JSPluralRules::Cast(*obj)->SetMinimumIntegerDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1261 … JSPluralRules::Cast(*obj)->SetMinimumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1262 … JSPluralRules::Cast(*obj)->SetMaximumFractionDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1263 … JSPluralRules::Cast(*obj)->SetMinimumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1264 … JSPluralRules::Cast(*obj)->SetMaximumSignificantDigits(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1265 JSPluralRules::Cast(*obj)->SetIcuPR(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1266 JSPluralRules::Cast(*obj)->SetIcuNF(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1267 JSPluralRules::Cast(*obj)->SetRoundingType(RoundingType::EXCEPTION); in InitializeJSObject()
1268 JSPluralRules::Cast(*obj)->SetType(TypeOption::EXCEPTION); in InitializeJSObject()
1272 JSDisplayNames::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1273 JSDisplayNames::Cast(*obj)->SetType(TypednsOption::EXCEPTION); in InitializeJSObject()
1274 JSDisplayNames::Cast(*obj)->SetStyle(StyOption::EXCEPTION); in InitializeJSObject()
1275 JSDisplayNames::Cast(*obj)->SetFallback(FallbackOption::EXCEPTION); in InitializeJSObject()
1276 JSDisplayNames::Cast(*obj)->SetIcuLDN(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1280 JSSegmenter::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1281 JSSegmenter::Cast(*obj)->SetGranularity(GranularityOption::EXCEPTION); in InitializeJSObject()
1282 JSSegmenter::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1286 JSSegments::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1287 JSSegments::Cast(*obj)->SetSegmentsString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1288 JSSegments::Cast(*obj)->SetUnicodeString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1289 JSSegments::Cast(*obj)->SetGranularity(GranularityOption::EXCEPTION); in InitializeJSObject()
1293 JSSegmentIterator::Cast(*obj)->SetIcuField(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1294 JSSegmentIterator::Cast(*obj)->SetIteratedString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1295 JSSegmentIterator::Cast(*obj)->SetUnicodeString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1296 JSSegmentIterator::Cast(*obj)->SetGranularity(GranularityOption::EXCEPTION); in InitializeJSObject()
1300 JSListFormat::Cast(*obj)->SetLocale(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1301 JSListFormat::Cast(*obj)->SetType(ListTypeOption::EXCEPTION); in InitializeJSObject()
1302 JSListFormat::Cast(*obj)->SetStyle(ListStyleOption::EXCEPTION); in InitializeJSObject()
1303 JSListFormat::Cast(*obj)->SetIcuLF(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1323 JSArray::Cast(*obj)->SetLength(0); in InitializeJSObject()
1324 JSArray::Cast(*obj)->SetTrackInfo(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1327 …JSArray::Cast(*obj)->SetPropertyInlinedProps(thread_, JSArray::LENGTH_INLINE_PROPERTY_INDEX, acces… in InitializeJSObject()
1331 JSSharedArray::Cast(*obj)->SetLength(0); in InitializeJSObject()
1332 JSSharedArray::Cast(*obj)->SetTrackInfo(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1334 JSSharedArray::Cast(*obj)->SetModRecord(0); in InitializeJSObject()
1336 … JSSharedArray::Cast(*obj)->SetPropertyInlinedProps(thread_, JSArray::LENGTH_INLINE_PROPERTY_INDEX, in InitializeJSObject()
1341 JSDate::Cast(*obj)->SetTimeValue(thread_, JSTaggedValue(0.0)); in InitializeJSObject()
1342 JSDate::Cast(*obj)->SetLocalOffset(thread_, JSTaggedValue(JSDate::MAX_DOUBLE)); in InitializeJSObject()
1356 … JSTypedArray::Cast(*obj)->SetViewedArrayBufferOrByteArray(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1357 JSTypedArray::Cast(*obj)->SetTypedArrayName(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1358 JSTypedArray::Cast(*obj)->SetByteLength(0); in InitializeJSObject()
1359 JSTypedArray::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
1360 JSTypedArray::Cast(*obj)->SetArrayLength(0); in InitializeJSObject()
1361 JSTypedArray::Cast(*obj)->SetContentType(ContentType::None); in InitializeJSObject()
1375 …JSSharedTypedArray::Cast(*obj)->SetViewedArrayBufferOrByteArray(thread_, JSTaggedValue::Undefined(… in InitializeJSObject()
1376 JSSharedTypedArray::Cast(*obj)->SetTypedArrayName(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1377 JSSharedTypedArray::Cast(*obj)->SetByteLength(0); in InitializeJSObject()
1378 JSSharedTypedArray::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
1379 JSSharedTypedArray::Cast(*obj)->SetArrayLength(0); in InitializeJSObject()
1380 JSSharedTypedArray::Cast(*obj)->SetContentType(ContentType::None); in InitializeJSObject()
1381 JSSharedTypedArray::Cast(*obj)->SetModRecord(0); in InitializeJSObject()
1384 JSRegExp::Cast(*obj)->SetByteCodeBuffer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1385 JSRegExp::Cast(*obj)->SetOriginalSource(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1386 JSRegExp::Cast(*obj)->SetOriginalFlags(thread_, JSTaggedValue(0)); in InitializeJSObject()
1387 JSRegExp::Cast(*obj)->SetGroupName(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1388 JSRegExp::Cast(*obj)->SetLength(0); in InitializeJSObject()
1391 JSPrimitiveRef::Cast(*obj)->SetValue(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1394 JSSet::Cast(*obj)->SetLinkedSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1397 JSSharedSet::Cast(*obj)->SetLinkedSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1398 JSSharedSet::Cast(*obj)->SetModRecord(0); in InitializeJSObject()
1401 JSMap::Cast(*obj)->SetLinkedMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1404 JSSharedMap::Cast(*obj)->SetLinkedMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1405 JSSharedMap::Cast(*obj)->SetModRecord(0); in InitializeJSObject()
1408 JSWeakMap::Cast(*obj)->SetLinkedMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1411 JSWeakSet::Cast(*obj)->SetLinkedSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1414 JSWeakRef::Cast(*obj)->SetWeakObject(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1417 … JSFinalizationRegistry::Cast(*obj)->SetCleanupCallback(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1418 … JSFinalizationRegistry::Cast(*obj)->SetNoUnregister(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1419 … JSFinalizationRegistry::Cast(*obj)->SetMaybeUnregister(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1420 JSFinalizationRegistry::Cast(*obj)->SetNext(thread_, JSTaggedValue::Null()); in InitializeJSObject()
1421 JSFinalizationRegistry::Cast(*obj)->SetPrev(thread_, JSTaggedValue::Null()); in InitializeJSObject()
1424 JSGeneratorObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1425 JSGeneratorObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1426 JSGeneratorObject::Cast(*obj)->SetGeneratorState(JSGeneratorState::UNDEFINED); in InitializeJSObject()
1427 JSGeneratorObject::Cast(*obj)->SetResumeMode(GeneratorResumeMode::UNDEFINED); in InitializeJSObject()
1430 … JSAsyncGeneratorObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1431 …JSAsyncGeneratorObject::Cast(*obj)->SetAsyncGeneratorQueue(thread_, GetEmptyTaggedQueue().GetTagge… in InitializeJSObject()
1432 … JSAsyncGeneratorObject::Cast(*obj)->SetGeneratorBrand(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1433 … JSAsyncGeneratorObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1434 … JSAsyncGeneratorObject::Cast(*obj)->SetAsyncGeneratorState(JSAsyncGeneratorState::UNDEFINED); in InitializeJSObject()
1435 JSAsyncGeneratorObject::Cast(*obj)->SetResumeMode(AsyncGeneratorResumeMode::UNDEFINED); in InitializeJSObject()
1438 JSStringIterator::Cast(*obj)->SetStringIteratorNextIndex(0); in InitializeJSObject()
1439 JSStringIterator::Cast(*obj)->SetIteratedString(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1442 … JSAsyncFromSyncIterator::Cast(*obj)->SetSyncIteratorRecord(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1445 … JSAsyncFromSyncIterUnwarpFunction::Cast(*obj)->SetDone(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1448 JSArrayBuffer::Cast(*obj)->SetArrayBufferData(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1449 JSArrayBuffer::Cast(*obj)->SetArrayBufferByteLength(0); in InitializeJSObject()
1450 JSArrayBuffer::Cast(*obj)->ClearBitField(); in InitializeJSObject()
1453 JSArrayBuffer::Cast(*obj)->SetArrayBufferData(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1454 JSArrayBuffer::Cast(*obj)->SetArrayBufferByteLength(0); in InitializeJSObject()
1455 JSArrayBuffer::Cast(*obj)->SetShared(true); in InitializeJSObject()
1458 … JSSendableArrayBuffer::Cast(*obj)->SetArrayBufferData(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1459 JSSendableArrayBuffer::Cast(*obj)->SetArrayBufferByteLength(0); in InitializeJSObject()
1462 JSPromise::Cast(*obj)->SetPromiseState(PromiseState::PENDING); in InitializeJSObject()
1463 JSPromise::Cast(*obj)->SetPromiseResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1464 … JSPromise::Cast(*obj)->SetPromiseRejectReactions(thread_, GetEmptyTaggedQueue().GetTaggedValue()); in InitializeJSObject()
1465 …JSPromise::Cast(*obj)->SetPromiseFulfillReactions(thread_, GetEmptyTaggedQueue().GetTaggedValue()); in InitializeJSObject()
1467 JSPromise::Cast(*obj)->SetPromiseIsHandled(false); in InitializeJSObject()
1470 JSDataView::Cast(*obj)->SetDataView(thread_, JSTaggedValue(false)); in InitializeJSObject()
1471 JSDataView::Cast(*obj)->SetViewedArrayBuffer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1472 JSDataView::Cast(*obj)->SetByteLength(0); in InitializeJSObject()
1473 JSDataView::Cast(*obj)->SetByteOffset(0); in InitializeJSObject()
1477 JSAPIArrayList::Cast(*obj)->SetLength(thread_, JSTaggedValue(0)); in InitializeJSObject()
1481 JSAPIHashMap::Cast(*obj)->SetSize(0); in InitializeJSObject()
1482 JSAPIHashMap::Cast(*obj)->SetTable(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1486 JSAPIHashSet::Cast(*obj)->SetSize(0); in InitializeJSObject()
1487 JSAPIHashSet::Cast(*obj)->SetTable(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1491 JSAPITreeMap::Cast(*obj)->SetTreeMap(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1495 JSAPITreeSet::Cast(*obj)->SetTreeSet(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1499 JSAPIQueue::Cast(*obj)->SetLength(thread_, JSTaggedValue(0)); in InitializeJSObject()
1500 JSAPIQueue::Cast(*obj)->SetFront(0); in InitializeJSObject()
1501 JSAPIQueue::Cast(*obj)->SetTail(0); in InitializeJSObject()
1505 JSAPIPlainArray::Cast(*obj)->SetLength(0); in InitializeJSObject()
1506 JSAPIPlainArray::Cast(*obj)->SetValues(thread_, JSTaggedValue(0)); in InitializeJSObject()
1507 JSAPIPlainArray::Cast(*obj)->SetKeys(thread_, JSTaggedValue(0)); in InitializeJSObject()
1511 JSAPIStack::Cast(*obj)->SetTop(0); in InitializeJSObject()
1515 JSAPIDeque::Cast(*obj)->SetFirst(0); in InitializeJSObject()
1516 JSAPIDeque::Cast(*obj)->SetLast(0); in InitializeJSObject()
1520 JSAPILightWeightMap::Cast(*obj)->SetLength(0); in InitializeJSObject()
1521 JSAPILightWeightMap::Cast(*obj)->SetHashes(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1522 JSAPILightWeightMap::Cast(*obj)->SetKeys(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1523 JSAPILightWeightMap::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1527 JSAPILightWeightSet::Cast(*obj)->SetLength(0); in InitializeJSObject()
1528 JSAPILightWeightSet::Cast(*obj)->SetHashes(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1529 JSAPILightWeightSet::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1533 JSAPIVector::Cast(*obj)->SetLength(0); in InitializeJSObject()
1537 JSAPIBitVector::Cast(*obj)->SetNativePointer(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1538 JSAPIBitVector::Cast(*obj)->SetLength(0); in InitializeJSObject()
1539 JSAPIBitVector::Cast(*obj)->SetModRecord(0); in InitializeJSObject()
1543 JSAPIList::Cast(*obj)->SetSingleList(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1544 JSAPIList::Cast(*obj)->SetBitField(0UL); in InitializeJSObject()
1548 JSAPILinkedList::Cast(*obj)->SetDoubleList(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1552 JSAsyncFuncObject::Cast(*obj)->SetGeneratorContext(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1553 JSAsyncFuncObject::Cast(*obj)->SetResumeResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1554 JSAsyncFuncObject::Cast(*obj)->SetPromise(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1565 … JSProxyRevocFunction::Cast(*obj)->SetRevocableProxy(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1569 JSPromiseReactionsFunction::Cast(*obj)->SetPromise(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1570 … JSPromiseReactionsFunction::Cast(*obj)->SetAlreadyResolved(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1574 … JSPromiseExecutorFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1578 … JSAsyncModuleFulfilledFunction::Cast(*obj)->SetModule(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1582 … JSAsyncModuleRejectedFunction::Cast(*obj)->SetModule(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1586 JSAsyncGeneratorResNextRetProRstFtn::Cast(*obj)->SetAsyncGeneratorObject(thread_, in InitializeJSObject()
1591 … JSPromiseAllResolveElementFunction::Cast(*obj)->SetIndex(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1592 … JSPromiseAllResolveElementFunction::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1593 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetCapabilities(thread_, JSTaggedValue::Undefined(… in InitializeJSObject()
1594 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undef… in InitializeJSObject()
1595 …JSPromiseAllResolveElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined… in InitializeJSObject()
1599 JSPromiseAnyRejectElementFunction::Cast(*obj)->SetIndex(0); in InitializeJSObject()
1600 … JSPromiseAnyRejectElementFunction::Cast(*obj)->SetErrors(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1601 … JSPromiseAnyRejectElementFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1602 …JSPromiseAnyRejectElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undefi… in InitializeJSObject()
1603 …JSPromiseAnyRejectElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined(… in InitializeJSObject()
1607 JSPromiseAllSettledElementFunction::Cast(*obj)->SetIndex(0); in InitializeJSObject()
1608 … JSPromiseAllSettledElementFunction::Cast(*obj)->SetValues(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1609 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetCapability(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1610 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetRemainingElements(thread_, JSTaggedValue::Undef… in InitializeJSObject()
1611 …JSPromiseAllSettledElementFunction::Cast(*obj)->SetAlreadyCalled(thread_, JSTaggedValue::Undefined… in InitializeJSObject()
1615 JSPromiseFinallyFunction::Cast(*obj)->SetOnFinally(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1616 … JSPromiseFinallyFunction::Cast(*obj)->SetConstructor(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1620 … JSPromiseValueThunkOrThrowerFunction::Cast(*obj)->SetResult(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1624 JSIntlBoundFunction::Cast(*obj)->SetNumberFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1625 JSIntlBoundFunction::Cast(*obj)->SetDateTimeFormat(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1626 JSIntlBoundFunction::Cast(*obj)->SetCollator(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1629 JSBoundFunction::Cast(*obj)->SetMethod(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1630 JSBoundFunction::Cast(*obj)->SetBoundTarget(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1631 JSBoundFunction::Cast(*obj)->SetBoundThis(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1632 JSBoundFunction::Cast(*obj)->SetBoundArguments(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1656 CjsModule::Cast(*obj)->SetId(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1657 CjsModule::Cast(*obj)->SetExports(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1658 CjsModule::Cast(*obj)->SetPath(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1659 CjsModule::Cast(*obj)->SetFilename(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1660 CjsModule::Cast(*obj)->SetStatus(CjsModuleStatus::UNLOAD); in InitializeJSObject()
1663 CjsExports::Cast(*obj)->SetExports(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1666 CjsRequire::Cast(*obj)->SetCache(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1667 CjsRequire::Cast(*obj)->SetParent(thread_, JSTaggedValue::Undefined()); in InitializeJSObject()
1682 …object->SetClassWithoutBarrier(JSHClass::Cast(globalConst->GetFreeObjectWithOneFieldClass().GetTag… in FillFreeObject()
1687 JSHClass::Cast(globalConst->GetFreeObjectWithTwoFieldClass().GetTaggedObject())); in FillFreeObject()
1696 JSHClass::Cast(globalConst->GetFreeObjectWithNoneFieldClass().GetTaggedObject())); in FillFreeObject()
1769 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProto()); in NewJSFunction()
1771 hclass = JSHandle<JSHClass>::Cast(env->GetConstructorFunctionClass()); in NewJSFunction()
1773 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in NewJSFunction()
1775 hclass = JSHandle<JSHClass>::Cast(env->GetNormalFunctionClass()); in NewJSFunction()
1788 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetSFunctionClassWithoutProto()); in NewSFunction()
1959 function = JSHandle<JSFunction>::Cast(NewJSObject(clazz)); in NewJSFunctionByHClass()
1962 function = JSHandle<JSFunction>::Cast(NewOldSpaceJSObject(clazz)); in NewJSFunctionByHClass()
1965 function = JSHandle<JSFunction>::Cast(NewNonMovableJSObject(clazz)); in NewJSFunctionByHClass()
1989 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(NewJSObject(clazz)); in NewJSFunctionByHClass()
2002 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(NewJSObject(clazz)); in NewJSFunctionByHClassWithoutAccessor()
2034 JSHClass::Cast(thread_->GlobalConstants()->GetMethodClass().GetTaggedObject())); in NewMethod()
2037 JSHClass::Cast(thread_->GlobalConstants()->GetMethodClass().GetTaggedObject())); in NewMethod()
2067 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetNativeErrorFunctionClass()); in NewJSNativeErrorFunction()
2076 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetSpecificTypedArrayFunctionClass()); in NewSpecificTypedArrayFunction()
2099 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetBoundFunctionClass()); in NewJSBoundFunction()
2100 JSHandle<JSBoundFunction> bundleFunction = JSHandle<JSBoundFunction>::Cast(NewJSObject(hclass)); in NewJSBoundFunction()
2123 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetJSIntlBoundFunctionClass()); in NewJSIntlBoundFunction()
2125 …JSHandle<JSIntlBoundFunction> intlBoundFunc = JSHandle<JSIntlBoundFunction>::Cast(NewJSObject(hcla… in NewJSIntlBoundFunction()
2129 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(intlBoundFunc); in NewJSIntlBoundFunction()
2137 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSIntlBoundFunction()
2146 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetProxyRevocFunctionClass()); in NewJSProxyRevocFunction()
2148 …JSHandle<JSProxyRevocFunction> revocFunction = JSHandle<JSProxyRevocFunction>::Cast(NewJSObject(hc… in NewJSProxyRevocFunction()
2151 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(revocFunction); in NewJSProxyRevocFunction()
2158 …JSTaggedValue::DefinePropertyOrThrow(thread_, JSHandle<JSTaggedValue>::Cast(function), nameKey, na… in NewJSProxyRevocFunction()
2166 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncAwaitStatusFunctionClass()); in NewJSAsyncAwaitStatusFunction()
2169 JSHandle<JSAsyncAwaitStatusFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncAwaitStatusFunction()
2171 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(awaitFunction)); in NewJSAsyncAwaitStatusFunction()
2178 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSGeneratorObject()
2185 …JSHandle<JSGeneratorObject> generatorObject = JSHandle<JSGeneratorObject>::Cast(NewJSObjectWithIni… in NewJSGeneratorObject()
2193 …JSHandle<JSTaggedValue> proto(thread_, JSHandle<JSFunction>::Cast(generatorFunction)->GetProtoOrHC… in NewJSAsyncGeneratorObject()
2202 JSHandle<JSAsyncGeneratorObject>::Cast(NewJSObjectWithInit(hclass)); in NewJSAsyncGeneratorObject()
2211 …JSHandle<JSAsyncFuncObject> asyncFuncObject = JSHandle<JSAsyncFuncObject>::Cast(NewJSObjectWithIni… in NewJSAsyncFuncObject()
2219 JSHClass::Cast(thread_->GlobalConstants()->GetCompletionRecordClass().GetTaggedObject())); in NewCompletionRecord()
2230 JSHClass::Cast(thread_->GlobalConstants()->GetGeneratorContextClass().GetTaggedObject())); in NewGeneratorContext()
2296 obj = JSHandle<JSPrimitiveRef>::Cast(NewJSObjectByConstructor(stringFunc)); in NewJSString()
2300 obj = JSHandle<JSPrimitiveRef>::Cast(newObject); in NewJSString()
2313 return JSHandle<GlobalEnv>(thread_, GlobalEnv::Cast(header)); in NewGlobalEnv()
2321 JSHClass::Cast(thread_->GlobalConstants()->GetEnvClass().GetTaggedObject()), size); in NewLexicalEnv()
2331 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewEmptySymbol()
2332 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewEmptySymbol()
2343 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewJSSymbol()
2344 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewJSSymbol()
2362 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewPrivateNameSymbol()
2363 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewPrivateNameSymbol()
2375 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewWellKnownSymbol()
2376 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewWellKnownSymbol()
2388 JSHClass::Cast(thread_->GlobalConstants()->GetSymbolClass().GetTaggedObject())); in NewPublicSymbol()
2389 JSHandle<JSSymbol> obj(thread_, JSSymbol::Cast(header)); in NewPublicSymbol()
2441 JSHClass::Cast(thread_->GlobalConstants()->GetAccessorDataClass().GetTaggedObject())); in NewAccessorData()
2442 JSHandle<AccessorData> acc(thread_, AccessorData::Cast(header)); in NewAccessorData()
2452 JSHClass::Cast(thread_->GlobalConstants()->GetInternalAccessorClass().GetTaggedObject())); in NewInternalAccessor()
2453 JSHandle<InternalAccessor> obj(thread_, InternalAccessor::Cast(header)); in NewInternalAccessor()
2457 return JSHandle<AccessorData>::Cast(obj); in NewInternalAccessor()
2464 JSHClass::Cast(thread_->GlobalConstants()->GetCapabilityRecordClass().GetTaggedObject())); in NewPromiseCapability()
2476 JSHClass::Cast(thread_->GlobalConstants()->GetReactionsRecordClass().GetTaggedObject())); in NewPromiseReaction()
2488 … JSHClass::Cast(thread_->GlobalConstants()->GetPromiseIteratorRecordClass().GetTaggedObject())); in NewPromiseIteratorRecord()
2499 JSHClass::Cast(thread_->GlobalConstants()->GetMicroJobQueueClass().GetTaggedObject())); in NewMicroJobQueue()
2511 JSHClass::Cast(thread_->GlobalConstants()->GetPendingJobClass().GetTaggedObject())); in NewPendingJob()
2534 …auto jsProxyCallableClass = JSHClass::Cast(globalConst->GetJSProxyCallableClass().GetTaggedObject(… in NewJSProxy()
2535 …auto jsProxyConstructClass = JSHClass::Cast(globalConst->GetJSProxyConstructClass().GetTaggedObjec… in NewJSProxy()
2540 … JSHClass::Cast(thread_->GlobalConstants()->GetJSProxyOrdinaryClass().GetTaggedObject())); in NewJSProxy()
2574 … PropertyDescriptor realmDesc(thread_, JSHandle<JSTaggedValue>::Cast(realmObj), true, false, true); in NewJSRealm()
2576 JSObject::DefineOwnProperty(thread_, JSHandle<JSObject>::Cast(realm), realmkey, realmDesc); in NewJSRealm()
2599 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject(… in NewTaggedArray()
2701 TaggedArray *srcElements = TaggedArray::Cast(thisObjHandle->GetElements().GetTaggedObject()); in NewAndCopyTaggedArrayByObject()
2723 …MutantTaggedArray *srcElements = MutantTaggedArray::Cast(thisObjHandle->GetElements().GetTaggedObj… in NewAndCopyMutantTaggedArrayByObject()
2753 auto arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()); in NewTaggedArrayWithoutInit()
2783 …auto arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetMutantTaggedArrayClass().GetTagged… in NewMutantTaggedArrayWithoutInit()
2819 JSHClass::Cast(thread_->GlobalConstants()->GetCOWArrayClass().GetTaggedObject()), size); in NewCOWTaggedArray()
2832 …JSHClass::Cast(thread_->GlobalConstants()->GetCOWMutantTaggedArrayClass().GetTaggedObject()), size… in NewCOWMutantTaggedArray()
2845 … JSHClass::Cast(thread_->GlobalConstants()->GetMutantTaggedArrayClass().GetTaggedObject()), size); in NewMutantTaggedArray()
2854 return JSHandle<TaggedHashArray>::Cast(EmptyArray()); in NewTaggedHashArray()
2859 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in NewTaggedHashArray()
2869 …JSHClass *arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetByteArrayClass().GetTaggedObj… in NewByteArray()
2899 JSHClass::Cast(globalConst->GetLinkedNode().GetTaggedObject()), LinkedNode::SIZE); in NewLinkedNode()
2912 JSHClass::Cast(globalConst->GetRBTreeNode().GetTaggedObject()), RBTreeNode::SIZE); in NewTreeNode()
2925 JSHClass::Cast(thread_->GlobalConstants()->GetDictionaryClass().GetTaggedObject()), size); in NewDictionaryArray()
2942 …arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetMutantTaggedArrayClass().GetTaggedObjec… in ExtendArray()
2944 arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()); in ExtendArray()
2988 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyPartArray()
3018 … cowArrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetCOWMutantTaggedArrayClass() in CopyArray()
3021 … cowArrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetCOWArrayClass().GetTaggedObject()); in CopyArray()
3027 …arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetMutantTaggedArrayClass().GetTaggedObjec… in CopyArray()
3029 … arrayClass = JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()); in CopyArray()
3057 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyFromEnumCache()
3074 …JSHandle<LayoutInfo> layoutInfoHandle = JSHandle<LayoutInfo>::Cast(NewTaggedArrayWithoutInit(array… in CreateLayoutInfo()
3087 JSHandle<LayoutInfo>::Cast(newArray)->Initialize(thread_, oldArray->GetExtraLength()); in ExtendLayoutInfo()
3094 return JSHandle<LayoutInfo>::Cast(newArray); in ExtendLayoutInfo()
3100 return JSHandle<LayoutInfo>(CopyArray(JSHandle<TaggedArray>::Cast(old), newLength, newLength)); in CopyLayoutInfo()
3120 JSHClass::Cast(thread_->GlobalConstants()->GetConstantPoolClass().GetTaggedObject()), size); in NewConstantPool()
3130 JSHClass::Cast(thread_->GlobalConstants()->GetProgramClass().GetTaggedObject())); in NewProgram()
3141 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetModuleNamespaceClass()); in NewModuleNamespace()
3144 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in NewModuleNamespace()
3155 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetNativeModuleFailureInfoClass()); in NewNativeModuleFailureInfo()
3158 …le<NativeModuleFailureInfo> nativeModuleFailureInfo = JSHandle<NativeModuleFailureInfo>::Cast(obj); in NewNativeModuleFailureInfo()
3314 JSHClass::Cast(thread_->GlobalConstants()->GetPropertyBoxClass().GetTaggedObject())); in NewPropertyBox()
3324 JSHClass::Cast(thread_->GlobalConstants()->GetProtoChangeMarkerClass().GetTaggedObject())); in NewProtoChangeMarker()
3334 JSHClass::Cast(thread_->GlobalConstants()->GetMarkerCellClass().GetTaggedObject())); in NewMarkerCell()
3344 JSHClass::Cast(thread_->GlobalConstants()->GetProtoChangeDetailsClass().GetTaggedObject())); in NewProtoChangeDetails()
3357 … JSHClass::Cast(thread_->GlobalConstants()->GetProfileTypeInfoClass().GetTaggedObject()), size); in NewProfileTypeInfo()
3382 JSHClass::Cast(thread_->GlobalConstants()->GetBigIntClass().GetTaggedObject()), size); in NewBigInt()
3412 auto queue = JSHandle<TaggedQueue>::Cast(NewTaggedArray(queueLength, JSTaggedValue::Hole())); in NewTaggedQueue()
3583 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseReactionFunctionClass()); in CreateJSPromiseReactionsFunction()
3586 JSHandle<JSPromiseReactionsFunction>::Cast(NewJSObject(hclass)); in CreateJSPromiseReactionsFunction()
3589 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(reactionsFunction); in CreateJSPromiseReactionsFunction()
3599 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseExecutorFunctionClass()); in CreateJSPromiseExecutorFunction()
3601 JSHandle<JSPromiseExecutorFunction>::Cast(NewJSObject(hclass)); in CreateJSPromiseExecutorFunction()
3603 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(executorFunction); in CreateJSPromiseExecutorFunction()
3614 … JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncModuleFulfilledFunctionClass()); in CreateJSAsyncModuleFulfilledFunction()
3616 JSHandle<JSAsyncModuleFulfilledFunction>::Cast(NewJSObject(hclass)); in CreateJSAsyncModuleFulfilledFunction()
3618 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(fulfilledFunction); in CreateJSAsyncModuleFulfilledFunction()
3629 … JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncModuleRejectedFunctionClass()); in CreateJSAsyncModuleRejectedFunction()
3631 JSHandle<JSAsyncModuleRejectedFunction>::Cast(NewJSObject(hclass)); in CreateJSAsyncModuleRejectedFunction()
3633 JSHandle<JSFunction> function = JSHandle<JSFunction>::Cast(rejectedFunction); in CreateJSAsyncModuleRejectedFunction()
3644 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllResolveElementFunctionClass… in NewJSPromiseAllResolveElementFunction()
3646 JSHandle<JSPromiseAllResolveElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllResolveElementFunction()
3647 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllResolveElementFunction()
3655 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllResolveElementFunction()
3662 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAnyRejectElementFunctionClass(… in NewJSPromiseAnyRejectElementFunction()
3664 JSHandle<JSPromiseAnyRejectElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAnyRejectElementFunction()
3665 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAnyRejectElementFunction()
3673 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAnyRejectElementFunction()
3680 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllSettledElementFunctionClass… in NewJSPromiseAllSettledResolveElementFunction()
3682 JSHandle<JSPromiseAllSettledElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllSettledResolveElementFunction()
3683 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllSettledResolveElementFunction()
3691 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllSettledResolveElementFunction()
3698 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseAllSettledElementFunctionClass… in NewJSPromiseAllSettledRejectElementFunction()
3700 JSHandle<JSPromiseAllSettledElementFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseAllSettledRejectElementFunction()
3701 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseAllSettledRejectElementFunction()
3709 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseAllSettledRejectElementFunction()
3716 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseFinallyFunctionClass()); in NewJSPromiseThenFinallyFunction()
3718 JSHandle<JSPromiseFinallyFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseThenFinallyFunction()
3719 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseThenFinallyFunction()
3723 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseThenFinallyFunction()
3730 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseFinallyFunctionClass()); in NewJSPromiseCatchFinallyFunction()
3732 JSHandle<JSPromiseFinallyFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseCatchFinallyFunction()
3733 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseCatchFinallyFunction()
3737 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSPromiseCatchFinallyFunction()
3744 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast( in NewJSAsyGenResNextRetProRstFulfilledFtn()
3747 JSHandle<JSAsyncGeneratorResNextRetProRstFtn>::Cast(NewJSObject(hclass)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
3748 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
3751 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyGenResNextRetProRstFulfilledFtn()
3758 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFromSyncIterUnwarpClass()); in NewJSAsyncFromSyncIterUnwarpFunction()
3760 JSHandle<JSAsyncFromSyncIterUnwarpFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncFromSyncIterUnwarpFunction()
3761 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyncFromSyncIterUnwarpFunction()
3765 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyncFromSyncIterUnwarpFunction()
3772 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast( in NewJSAsyGenResNextRetProRstRejectedFtn()
3775 JSHandle<JSAsyncGeneratorResNextRetProRstFtn>::Cast(NewJSObject(hclass)); in NewJSAsyGenResNextRetProRstRejectedFtn()
3776 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSAsyGenResNextRetProRstRejectedFtn()
3779 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(1)); in NewJSAsyGenResNextRetProRstRejectedFtn()
3786 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseValueThunkOrThrowerFunctionCla… in NewJSPromiseValueThunkFunction()
3788 JSHandle<JSPromiseValueThunkOrThrowerFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseValueThunkFunction()
3789 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseValueThunkFunction()
3792 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(0)); in NewJSPromiseValueThunkFunction()
3799 …JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetPromiseValueThunkOrThrowerFunctionCla… in NewJSPromiseThrowerFunction()
3801 JSHandle<JSPromiseValueThunkOrThrowerFunction>::Cast(NewJSObject(hclass)); in NewJSPromiseThrowerFunction()
3802 JSFunction::InitializeJSFunction(thread_, JSHandle<JSFunction>::Cast(function)); in NewJSPromiseThrowerFunction()
3805 JSFunction::SetFunctionLength(thread_, JSHandle<JSFunction>::Cast(function), JSTaggedValue(0)); in NewJSPromiseThrowerFunction()
3811 EcmaString *str = EcmaString::Cast(key->GetTaggedObject()); in InternString()
3824 TransitionHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewTransitionHandler()
3825 … JSHClass::Cast(thread_->GlobalConstants()->GetTransitionHandlerClass().GetTaggedObject()))); in NewTransitionHandler()
3835 PrototypeHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewPrototypeHandler()
3836 … JSHClass::Cast(thread_->GlobalConstants()->GetPrototypeHandlerClass().GetTaggedObject()))); in NewPrototypeHandler()
3850 TransWithProtoHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewTransWithProtoHandler()
3851 … JSHClass::Cast(thread_->GlobalConstants()->GetTransWithProtoHandlerClass().GetTaggedObject()))); in NewTransWithProtoHandler()
3863 StoreTSHandler::Cast(heap_->AllocateYoungOrHugeObject( in NewStoreTSHandler()
3864 … JSHClass::Cast(thread_->GlobalConstants()->GetStoreTSHandlerClass().GetTaggedObject()))); in NewStoreTSHandler()
3876 JSHClass::Cast(thread_->GlobalConstants()->GetPromiseRecordClass().GetTaggedObject())); in NewPromiseRecord()
3886 …JSHClass::Cast(thread_->GlobalConstants()->GetPromiseResolvingFunctionsRecordClass().GetTaggedObje… in NewResolvingFunctionsRecord()
3980 JSHandle<TaggedArray> hclassCacheArr = JSHandle<TaggedArray>::Cast(maybeCache); in GetObjectLiteralRootHClass()
4033 JSHClass::Cast(thread_->GlobalConstants()->GetMachineCodeClass().GetTaggedObject()), in NewMachineCodeObject()
4043 JSHClass::Cast(thread_->GlobalConstants()->GetMachineCodeClass().GetTaggedObject()), in NewMachineCodeObject()
4051 MachineCode *code = MachineCode::Cast(obj); in SetMachineCodeObjectData()
4053 LOG_FULL(FATAL) << "machine code cast failed"; in SetMachineCodeObjectData()
4069 … JSHClass::Cast(thread_->GlobalConstants()->GetClassInfoExtractorHClass().GetTaggedObject())); in NewClassInfoExtractor()
4420 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyDeque()
4458 JSHClass::Cast(thread_->GlobalConstants()->GetArrayClass().GetTaggedObject()), size); in CopyQueue()
4614 return JSHandle<JSAPIList>::Cast(NewJSObjectByConstructor(function)); in NewJSAPIList()
4621 return JSHandle<JSAPILinkedList>::Cast(NewJSObjectByConstructor(function)); in NewJSAPILinkedList()
4640 JSHClass::Cast(thread_->GlobalConstants()->GetImportEntryClass().GetTaggedObject())); in NewImportEntry()
4663 JSHClass::Cast(thread_->GlobalConstants()->GetLocalExportEntryClass().GetTaggedObject())); in NewLocalExportEntry()
4687 … JSHClass::Cast(thread_->GlobalConstants()->GetIndirectExportEntryClass().GetTaggedObject())); in NewIndirectExportEntry()
4709 JSHClass::Cast(thread_->GlobalConstants()->GetStarExportEntryClass().GetTaggedObject())); in NewStarExportEntry()
4719 JSHClass::Cast(thread_->GlobalConstants()->GetSourceTextModuleClass().GetTaggedObject())); in NewSourceTextModule()
4765 JSHClass::Cast(thread_->GlobalConstants()->GetResolvedBindingClass().GetTaggedObject())); in NewResolvedBindingRecord()
4785 … JSHClass::Cast(thread_->GlobalConstants()->GetResolvedIndexBindingClass().GetTaggedObject())); in NewResolvedIndexBindingRecord()
4796 JSHClass::Cast(thread_->GlobalConstants()->GetCellRecordClass().GetTaggedObject())); in NewCellRecord()
4848 JSHandle<JSObject> obj(thread_, JSObject::Cast(NewOldSpaceObject(jshclass))); in NewOldSpaceJSObject()
4864 … JSHandle<JSFunction>::Cast(vm_->GetGlobalEnv()->GetArrayFunction())->GetProtoOrHClass()); in NewJSStableArrayWithElements()
4865 JSHandle<JSArray> array = JSHandle<JSArray>::Cast(NewJSObject(cls)); in NewJSStableArrayWithElements()
4879 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClass()); in NewJSAsyncGeneratorFunction()
4880 JSHandle<JSFunction> asyncGeneratorFunc = JSHandle<JSFunction>::Cast(NewJSObject(hclass)); in NewJSAsyncGeneratorFunction()
4890 …JSHClass::Cast(thread_->GlobalConstants()->GetAsyncGeneratorRequestRecordClass().GetTaggedObject()… in NewAsyncGeneratorRequest()
4902 … JSHClass::Cast(thread_->GlobalConstants()->GetAsyncIteratorRecordClass().GetTaggedObject())); in NewAsyncIteratorRecord()
4915 … JSHClass::Cast(thread_->GlobalConstants()->GetAOTLiteralInfoClass().GetTaggedObject()), size); in NewAOTLiteralInfo()
4926 … JSHClass::Cast(thread_->GlobalConstants()->GetExtraProfileTypeInfoClass().GetTaggedObject())); in NewExtraProfileTypeInfo()
4937 … JSHClass::Cast(thread_->GlobalConstants()->GetProfileTypeInfoCell0Class().GetTaggedObject())); in NewProfileTypeInfoCell()
4952 JSHClass::Cast(globalConstants->GetFunctionTemplateClass().GetTaggedObject())); in NewFunctionTemplate()
4966 JSHClass::Cast(thread_->GlobalConstants()->GetVTableClass().GetTaggedObject()), size); in NewVTable()
4978 JSHClass::Cast(thread_->GlobalConstants()->GetClassLiteralClass().GetTaggedObject())); in NewClassLiteral()
4996 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithProto()); in NewJSFunction()
5000 hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in NewJSFunction()
5004 hclass = JSHandle<JSHClass>::Cast(env->GetGeneratorFunctionClass()); in NewJSFunction()
5010 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncFunctionClass()); in NewJSFunction()
5014 hclass = JSHandle<JSHClass>::Cast(env->GetAsyncGeneratorFunctionClass()); in NewJSFunction()
5032 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetFunctionClassWithoutProto()); in NewJSFunction()
5108 LayoutInfo *layout = LayoutInfo::Cast(layoutHandle.GetTaggedValue().GetTaggedObject()); in CreateLargeJSObjectWithProperties()
5211 LayoutInfo *layout = LayoutInfo::Cast(layoutHandle.GetTaggedValue().GetTaggedObject()); in CreateLargeJSObjectWithNamedProperties()