Lines Matching full:zero
353 JSFunction::SetFunctionLength(thread_, funcFuncPrototype, JSTaggedValue(FunctionLength::ZERO)); in InitializeFunction()
403 Function::FunctionPrototypeToString, FunctionLength::ZERO); in InitializeFunction()
456 …SetFunction(env, objFuncPrototype, "toLocaleString", Object::ToLocaleString, FunctionLength::ZERO); in InitializeObject()
459 FunctionLength::ZERO); in InitializeObject()
462 FunctionLength::ZERO); in InitializeObject()
464 SetFunction(env, objFuncPrototype, "createRealm", Object::CreateRealm, FunctionLength::ZERO); in InitializeObject()
468 …ggedValue> protoGetter = CreateGetter(env, Object::ProtoGetter, "__proto__", FunctionLength::ZERO); in InitializeObject()
487 …nConstructor(env, symbolFuncPrototype, Symbol::SymbolConstructor, "Symbol", FunctionLength::ZERO)); in InitializeSymbol()
533 FunctionLength::ZERO); in InitializeSymbol()
535 FunctionLength::ZERO); in InitializeSymbol()
580 …onstructor(realm, symbolFuncPrototype, Symbol::SymbolConstructor, "Symbol", FunctionLength::ZERO)); in InitializeSymbolWithRealm()
616 FunctionLength::ZERO); in InitializeSymbolWithRealm()
618 FunctionLength::ZERO); in InitializeSymbolWithRealm()
653 JSHandle<JSTaggedValue> toObject(thread_, JSTaggedValue(FunctionLength::ZERO)); in InitializeNumber()
670 …SetFunction(env, numFuncPrototype, "toLocaleString", Number::ToLocaleString, FunctionLength::ZERO); in InitializeNumber()
675 FunctionLength::ZERO); in InitializeNumber()
720 …(env, bigIntFuncPrototype, "toLocaleString", BuiltinsBigInt::ToLocaleString, FunctionLength::ZERO); in InitializeBigInt()
721 … SetFunction(env, bigIntFuncPrototype, "toString", BuiltinsBigInt::ToString, FunctionLength::ZERO); in InitializeBigInt()
722 SetFunction(env, bigIntFuncPrototype, "valueOf", BuiltinsBigInt::ValueOf, FunctionLength::ZERO); in InitializeBigInt()
752 SetFunction(env, dateFuncPrototype, "getDate", Date::GetDate, FunctionLength::ZERO); in InitializeDate()
753 SetFunction(env, dateFuncPrototype, "getDay", Date::GetDay, FunctionLength::ZERO); in InitializeDate()
754 SetFunction(env, dateFuncPrototype, "getFullYear", Date::GetFullYear, FunctionLength::ZERO); in InitializeDate()
755 SetFunction(env, dateFuncPrototype, "getHours", Date::GetHours, FunctionLength::ZERO); in InitializeDate()
756 …etFunction(env, dateFuncPrototype, "getMilliseconds", Date::GetMilliseconds, FunctionLength::ZERO); in InitializeDate()
757 SetFunction(env, dateFuncPrototype, "getMinutes", Date::GetMinutes, FunctionLength::ZERO); in InitializeDate()
758 SetFunction(env, dateFuncPrototype, "getMonth", Date::GetMonth, FunctionLength::ZERO); in InitializeDate()
759 SetFunction(env, dateFuncPrototype, "getSeconds", Date::GetSeconds, FunctionLength::ZERO); in InitializeDate()
760 SetFunction(env, dateFuncPrototype, "getTime", Date::GetTime, FunctionLength::ZERO); in InitializeDate()
761 …nction(env, dateFuncPrototype, "getTimezoneOffset", Date::GetTimezoneOffset, FunctionLength::ZERO); in InitializeDate()
762 SetFunction(env, dateFuncPrototype, "getUTCDate", Date::GetUTCDate, FunctionLength::ZERO); in InitializeDate()
763 SetFunction(env, dateFuncPrototype, "getUTCDay", Date::GetUTCDay, FunctionLength::ZERO); in InitializeDate()
764 … SetFunction(env, dateFuncPrototype, "getUTCFullYear", Date::GetUTCFullYear, FunctionLength::ZERO); in InitializeDate()
765 SetFunction(env, dateFuncPrototype, "getUTCHours", Date::GetUTCHours, FunctionLength::ZERO); in InitializeDate()
766 …tion(env, dateFuncPrototype, "getUTCMilliseconds", Date::GetUTCMilliseconds, FunctionLength::ZERO); in InitializeDate()
767 SetFunction(env, dateFuncPrototype, "getUTCMinutes", Date::GetUTCMinutes, FunctionLength::ZERO); in InitializeDate()
768 SetFunction(env, dateFuncPrototype, "getUTCMonth", Date::GetUTCMonth, FunctionLength::ZERO); in InitializeDate()
769 SetFunction(env, dateFuncPrototype, "getUTCSeconds", Date::GetUTCSeconds, FunctionLength::ZERO); in InitializeDate()
787 SetFunction(env, dateFuncPrototype, "toDateString", Date::ToDateString, FunctionLength::ZERO); in InitializeDate()
788 SetFunction(env, dateFuncPrototype, "toISOString", Date::ToISOString, FunctionLength::ZERO); in InitializeDate()
790 …tion(env, dateFuncPrototype, "toLocaleDateString", Date::ToLocaleDateString, FunctionLength::ZERO); in InitializeDate()
791 … SetFunction(env, dateFuncPrototype, "toLocaleString", Date::ToLocaleString, FunctionLength::ZERO); in InitializeDate()
792 …tion(env, dateFuncPrototype, "toLocaleTimeString", Date::ToLocaleTimeString, FunctionLength::ZERO); in InitializeDate()
794 FunctionLength::ZERO); in InitializeDate()
795 SetFunction(env, dateFuncPrototype, "toTimeString", Date::ToTimeString, FunctionLength::ZERO); in InitializeDate()
796 SetFunction(env, dateFuncPrototype, "toUTCString", Date::ToUTCString, FunctionLength::ZERO); in InitializeDate()
798 FunctionLength::ZERO); in InitializeDate()
804 SetFunction(env, dateFunction, "now", Date::Now, FunctionLength::ZERO); in InitializeDate()
834 Boolean::BooleanPrototypeToString, FunctionLength::ZERO); in InitializeBoolean()
836 Boolean::BooleanPrototypeValueOf, FunctionLength::ZERO); in InitializeBoolean()
910 FunctionLength::ZERO); in InitializeAllTypeError()
1055 errorParameter.nativeMethod, FunctionLength::ZERO); in InitializeError()
1115 …iltinConstructor(env, setFuncPrototype, BuiltinsSet::SetConstructor, "Set", FunctionLength::ZERO)); in InitializeSet()
1124 SetFunction(env, setFuncPrototype, "clear", BuiltinsSet::Clear, FunctionLength::ZERO); in InitializeSet()
1132 SetFunction(env, setFuncPrototype, "entries", BuiltinsSet::Entries, FunctionLength::ZERO); in InitializeSet()
1134 SetFunction(env, setFuncPrototype, "values", BuiltinsSet::Values, FunctionLength::ZERO); in InitializeSet()
1147 …<JSTaggedValue> sizeGetter = CreateGetter(env, BuiltinsSet::GetSize, "size", FunctionLength::ZERO); in InitializeSet()
1154 CreateGetter(env, BuiltinsSet::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeSet()
1176 …iltinConstructor(env, mapFuncPrototype, BuiltinsMap::MapConstructor, "Map", FunctionLength::ZERO)); in InitializeMap()
1187 SetFunction(env, mapFuncPrototype, "clear", BuiltinsMap::Clear, FunctionLength::ZERO); in InitializeMap()
1198 SetFunction(env, mapFuncPrototype, "keys", BuiltinsMap::Keys, FunctionLength::ZERO); in InitializeMap()
1200 SetFunction(env, mapFuncPrototype, "values", BuiltinsMap::Values, FunctionLength::ZERO); in InitializeMap()
1202 SetFunction(env, mapFuncPrototype, "entries", BuiltinsMap::Entries, FunctionLength::ZERO); in InitializeMap()
1207 …<JSTaggedValue> sizeGetter = CreateGetter(env, BuiltinsMap::GetSize, "size", FunctionLength::ZERO); in InitializeMap()
1214 CreateGetter(env, BuiltinsMap::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeMap()
1241 … env, weakMapFuncPrototype, BuiltinsWeakMap::WeakMapConstructor, "WeakMap", FunctionLength::ZERO)); in InitializeWeakMap()
1277 … env, weakSetFuncPrototype, BuiltinsWeakSet::WeakSetConstructor, "WeakSet", FunctionLength::ZERO)); in InitializeWeakSet()
1327 SetFunction(env, mathObject, "random", Math::Random, FunctionLength::ZERO); in InitializeMath()
1403 …etFunction(env, stringFuncPrototype, "normalize", BuiltinsString::Normalize, FunctionLength::ZERO); in InitializeString()
1411 …stringFuncPrototype, "toLocaleLowerCase", BuiltinsString::ToLocaleLowerCase, FunctionLength::ZERO); in InitializeString()
1412 …stringFuncPrototype, "toLocaleUpperCase", BuiltinsString::ToLocaleUpperCase, FunctionLength::ZERO); in InitializeString()
1413 …nction(env, stringFuncPrototype, "toLowerCase", BuiltinsString::ToLowerCase, FunctionLength::ZERO); in InitializeString()
1415 BuiltinsString::ToString, FunctionLength::ZERO); in InitializeString()
1416 …nction(env, stringFuncPrototype, "toUpperCase", BuiltinsString::ToUpperCase, FunctionLength::ZERO); in InitializeString()
1417 SetFunction(env, stringFuncPrototype, "trim", BuiltinsString::Trim, FunctionLength::ZERO); in InitializeString()
1419 BuiltinsString::ValueOf, FunctionLength::ZERO); in InitializeString()
1421 BuiltinsString::GetStringIterator, FunctionLength::ZERO); in InitializeString()
1429 …Value> lengthGetter = CreateGetter(env, BuiltinsString::GetLength, "length", FunctionLength::ZERO); in InitializeString()
1450 SetFunction(env, strIterPrototype, "next", StringIterator::Next, FunctionLength::ZERO); in InitializeStringIterator()
1470 BuiltinsIterator::GetIteratorObj, FunctionLength::ZERO); in InitializeIterator()
1505 SetFunction(env, setIteratorPrototype, "next", JSSetIterator::Next, FunctionLength::ZERO); in InitializeSetIterator()
1516 SetFunction(env, mapIteratorPrototype, "next", JSMapIterator::Next, FunctionLength::ZERO); in InitializeMapIterator()
1526 SetFunction(env, arrayIteratorPrototype, "next", JSArrayIterator::Next, FunctionLength::ZERO); in InitializeArrayIterator()
1552 FunctionLength::ZERO); in InitializeRegExp()
1554 …le<JSTaggedValue> flagsGetter = CreateGetter(env, RegExp::GetFlags, "flags", FunctionLength::ZERO); in InitializeRegExp()
1558 …JSTaggedValue> sourceGetter = CreateGetter(env, RegExp::GetSource, "source", FunctionLength::ZERO); in InitializeRegExp()
1562 …JSTaggedValue> globalGetter = CreateGetter(env, RegExp::GetGlobal, "global", FunctionLength::ZERO); in InitializeRegExp()
1567 CreateGetter(env, RegExp::GetIgnoreCase, "ignoreCase", FunctionLength::ZERO); in InitializeRegExp()
1572 CreateGetter(env, RegExp::GetMultiline, "multiline", FunctionLength::ZERO); in InitializeRegExp()
1576 …JSTaggedValue> dotAllGetter = CreateGetter(env, RegExp::GetDotAll, "dotAll", FunctionLength::ZERO); in InitializeRegExp()
1580 …JSTaggedValue> stickyGetter = CreateGetter(env, RegExp::GetSticky, "sticky", FunctionLength::ZERO); in InitializeRegExp()
1584 …aggedValue> unicodeGetter = CreateGetter(env, RegExp::GetUnicode, "unicode", FunctionLength::ZERO); in InitializeRegExp()
1591 CreateGetter(env, BuiltinsMap::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeRegExp()
1618 …JSHandle<JSArray>::Cast(arrFuncPrototype)->SetLength(thread_, JSTaggedValue(FunctionLength::ZERO)); in InitializeArray()
1641 SetFunction(env, arrFuncPrototype, "entries", BuiltinsArray::Entries, FunctionLength::ZERO); in InitializeArray()
1650 SetFunction(env, arrFuncPrototype, "keys", BuiltinsArray::Keys, FunctionLength::ZERO); in InitializeArray()
1653 SetFunction(env, arrFuncPrototype, "pop", BuiltinsArray::Pop, FunctionLength::ZERO); in InitializeArray()
1657 SetFunction(env, arrFuncPrototype, "reverse", BuiltinsArray::Reverse, FunctionLength::ZERO); in InitializeArray()
1658 SetFunction(env, arrFuncPrototype, "shift", BuiltinsArray::Shift, FunctionLength::ZERO); in InitializeArray()
1664 BuiltinsArray::ToLocaleString, FunctionLength::ZERO); in InitializeArray()
1666 FunctionLength::ZERO); in InitializeArray()
1668 SetFunction(env, arrFuncPrototype, "values", BuiltinsArray::Values, FunctionLength::ZERO); in InitializeArray()
1681 SetFunction(env, arrayFunction, "of", BuiltinsArray::Of, FunctionLength::ZERO); in InitializeArray()
1686 CreateGetter(env, BuiltinsArray::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeArray()
1702 CreateGetter(env, BuiltinsArray::Unscopables, "[Symbol.unscopables]", FunctionLength::ZERO); in InitializeArray()
1723 …FuncPrototype, BuiltinsTypedArray::TypedArrayBaseConstructor, "TypedArray", FunctionLength::ZERO)); in InitializeTypedArray()
1730 …Function(env, typedArrFuncPrototype, "entries", BuiltinsTypedArray::Entries, FunctionLength::ZERO); in InitializeTypedArray()
1739 SetFunction(env, typedArrFuncPrototype, "keys", BuiltinsTypedArray::Keys, FunctionLength::ZERO); in InitializeTypedArray()
1744 …Function(env, typedArrFuncPrototype, "reverse", BuiltinsTypedArray::Reverse, FunctionLength::ZERO); in InitializeTypedArray()
1751 BuiltinsTypedArray::ToLocaleString, FunctionLength::ZERO); in InitializeTypedArray()
1752 …etFunction(env, typedArrFuncPrototype, "values", BuiltinsTypedArray::Values, FunctionLength::ZERO); in InitializeTypedArray()
1755 CreateGetter(env, BuiltinsTypedArray::GetBuffer, "buffer", FunctionLength::ZERO); in InitializeTypedArray()
1760 CreateGetter(env, BuiltinsTypedArray::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeTypedArray()
1765 CreateGetter(env, BuiltinsTypedArray::GetByteOffset, "byteOffset", FunctionLength::ZERO); in InitializeTypedArray()
1770 CreateGetter(env, BuiltinsTypedArray::GetLength, "length", FunctionLength::ZERO); in InitializeTypedArray()
1793 … CreateGetter(env, BuiltinsTypedArray::ToStringTag, "[Symbol.toStringTag]", FunctionLength::ZERO); in InitializeTypedArray()
1798 SetFunction(env, typedArrayFunction, "of", BuiltinsTypedArray::Of, FunctionLength::ZERO); in InitializeTypedArray()
1803 CreateGetter(env, BuiltinsTypedArray::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeTypedArray()
2073 CreateGetter(env, ArrayBuffer::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeArrayBuffer()
2078 CreateGetter(env, ArrayBuffer::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeArrayBuffer()
2152 CreateGetter(env, Promise::GetSpecies, "[Symbol.species]", FunctionLength::ZERO); in InitializePromise()
2202 …TaggedValue> bufferGetter = CreateGetter(env, DataView::GetBuffer, "buffer", FunctionLength::ZERO); in InitializeDataView()
2208 CreateGetter(env, DataView::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeDataView()
2213 …edValue> offsetGetter = CreateGetter(env, DataView::GetOffset, "byteOffset", FunctionLength::ZERO); in InitializeDataView()
2565 "DateTimeFormat", FunctionLength::ZERO)); in InitializeDateTimeFormat()
2577 …gedValue> formatGetter = CreateGetter(env, DateTimeFormat::Format, "format", FunctionLength::ZERO); in InitializeDateTimeFormat()
2585 …ction(env, dtfPrototype, "resolvedOptions", DateTimeFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeDateTimeFormat()
2608 "RelativeTimeFormat", FunctionLength::ZERO)); in InitializeRelativeTimeFormat()
2626 …n(env, rtfPrototype, "resolvedOptions", RelativeTimeFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeRelativeTimeFormat()
2644 "NumberFormat", FunctionLength::ZERO)); in InitializeNumberFormat()
2656 …aggedValue> formatGetter = CreateGetter(env, NumberFormat::Format, "format", FunctionLength::ZERO); in InitializeNumberFormat()
2664 …Function(env, nfPrototype, "resolvedOptions", NumberFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeNumberFormat()
2685 SetFunction(env, localePrototype, "maximize", Locale::Maximize, FunctionLength::ZERO); in InitializeLocale()
2686 SetFunction(env, localePrototype, "minimize", Locale::Minimize, FunctionLength::ZERO); in InitializeLocale()
2687 SetFunction(env, localePrototype, "toString", Locale::ToString, FunctionLength::ZERO); in InitializeLocale()
2689 …edValue> baseNameGetter = CreateGetter(env, Locale::GetBaseName, "baseName", FunctionLength::ZERO); in InitializeLocale()
2692 …edValue> calendarGetter = CreateGetter(env, Locale::GetCalendar, "calendar", FunctionLength::ZERO); in InitializeLocale()
2696 CreateGetter(env, Locale::GetCaseFirst, "caseFirst", FunctionLength::ZERO); in InitializeLocale()
2700 CreateGetter(env, Locale::GetCollation, "collation", FunctionLength::ZERO); in InitializeLocale()
2704 CreateGetter(env, Locale::GetHourCycle, "hourCycle", FunctionLength::ZERO); in InitializeLocale()
2707 …aggedValue> numericGetter = CreateGetter(env, Locale::GetNumeric, "numeric", FunctionLength::ZERO); in InitializeLocale()
2711 CreateGetter(env, Locale::GetNumberingSystem, "numberingSystem", FunctionLength::ZERO); in InitializeLocale()
2714 …edValue> languageGetter = CreateGetter(env, Locale::GetLanguage, "language", FunctionLength::ZERO); in InitializeLocale()
2717 …JSTaggedValue> scriptGetter = CreateGetter(env, Locale::GetScript, "script", FunctionLength::ZERO); in InitializeLocale()
2720 …JSTaggedValue> regionGetter = CreateGetter(env, Locale::GetRegion, "region", FunctionLength::ZERO); in InitializeLocale()
2743 …structor(env, collatorPrototype, Collator::CollatorConstructor, "Collator", FunctionLength::ZERO)); in InitializeCollator()
2755 …TaggedValue> compareGetter = CreateGetter(env, Collator::Compare, "compare", FunctionLength::ZERO); in InitializeCollator()
2760 …nction(env, collatorPrototype, "resolvedOptions", Collator::ResolvedOptions, FunctionLength::ZERO); in InitializeCollator()
2778 …uctor(env, prPrototype, PluralRules::PluralRulesConstructor, "PluralRules", FunctionLength::ZERO)); in InitializePluralRules()
2793 …tFunction(env, prPrototype, "resolvedOptions", PluralRules::ResolvedOptions, FunctionLength::ZERO); in InitializePluralRules()
2799 SetFunction(env, tools, "print", builtins::BuiltinsArkTools::ObjectDump, FunctionLength::ZERO); in InitializeArkTools()
2806 SetFrozenFunction(env, arkPrivate, "Load", ContainersPrivate::Load, FunctionLength::ZERO); in InitializeArkPrivate()