Lines Matching full:zero
409 JSFunction::SetFunctionLength(thread_, funcFuncPrototype, JSTaggedValue(FunctionLength::ZERO)); in InitializeFunction()
454 Function::FunctionPrototypeToString, FunctionLength::ZERO); in InitializeFunction()
511 …SetFunction(env, objFuncPrototype, "toLocaleString", Object::ToLocaleString, FunctionLength::ZERO); in InitializeObject()
514 FunctionLength::ZERO); in InitializeObject()
517 FunctionLength::ZERO); in InitializeObject()
519 SetFunction(env, objFuncPrototype, "createRealm", Object::CreateRealm, FunctionLength::ZERO); in InitializeObject()
523 …ggedValue> protoGetter = CreateGetter(env, Object::ProtoGetter, "__proto__", FunctionLength::ZERO); in InitializeObject()
542 …nConstructor(env, symbolFuncPrototype, Symbol::SymbolConstructor, "Symbol", FunctionLength::ZERO)); in InitializeSymbol()
596 FunctionLength::ZERO); in InitializeSymbol()
598 FunctionLength::ZERO); in InitializeSymbol()
647 …onstructor(realm, symbolFuncPrototype, Symbol::SymbolConstructor, "Symbol", FunctionLength::ZERO)); in InitializeSymbolWithRealm()
687 FunctionLength::ZERO); in InitializeSymbolWithRealm()
689 FunctionLength::ZERO); in InitializeSymbolWithRealm()
728 JSHandle<JSTaggedValue> toObject(thread_, JSTaggedValue(FunctionLength::ZERO)); in InitializeNumber()
745 …SetFunction(env, numFuncPrototype, "toLocaleString", Number::ToLocaleString, FunctionLength::ZERO); in InitializeNumber()
750 FunctionLength::ZERO); in InitializeNumber()
806 …(env, bigIntFuncPrototype, "toLocaleString", BuiltinsBigInt::ToLocaleString, FunctionLength::ZERO); in InitializeBigInt()
807 … SetFunction(env, bigIntFuncPrototype, "toString", BuiltinsBigInt::ToString, FunctionLength::ZERO); in InitializeBigInt()
808 SetFunction(env, bigIntFuncPrototype, "valueOf", BuiltinsBigInt::ValueOf, FunctionLength::ZERO); in InitializeBigInt()
838 SetFunction(env, dateFuncPrototype, "getDate", Date::GetDate, FunctionLength::ZERO); in InitializeDate()
839 SetFunction(env, dateFuncPrototype, "getDay", Date::GetDay, FunctionLength::ZERO); in InitializeDate()
840 SetFunction(env, dateFuncPrototype, "getFullYear", Date::GetFullYear, FunctionLength::ZERO); in InitializeDate()
841 SetFunction(env, dateFuncPrototype, "getHours", Date::GetHours, FunctionLength::ZERO); in InitializeDate()
842 …etFunction(env, dateFuncPrototype, "getMilliseconds", Date::GetMilliseconds, FunctionLength::ZERO); in InitializeDate()
843 SetFunction(env, dateFuncPrototype, "getMinutes", Date::GetMinutes, FunctionLength::ZERO); in InitializeDate()
844 SetFunction(env, dateFuncPrototype, "getMonth", Date::GetMonth, FunctionLength::ZERO); in InitializeDate()
845 SetFunction(env, dateFuncPrototype, "getSeconds", Date::GetSeconds, FunctionLength::ZERO); in InitializeDate()
846 SetFunction(env, dateFuncPrototype, "getTime", Date::GetTime, FunctionLength::ZERO); in InitializeDate()
847 …nction(env, dateFuncPrototype, "getTimezoneOffset", Date::GetTimezoneOffset, FunctionLength::ZERO); in InitializeDate()
848 SetFunction(env, dateFuncPrototype, "getUTCDate", Date::GetUTCDate, FunctionLength::ZERO); in InitializeDate()
849 SetFunction(env, dateFuncPrototype, "getUTCDay", Date::GetUTCDay, FunctionLength::ZERO); in InitializeDate()
850 … SetFunction(env, dateFuncPrototype, "getUTCFullYear", Date::GetUTCFullYear, FunctionLength::ZERO); in InitializeDate()
851 SetFunction(env, dateFuncPrototype, "getUTCHours", Date::GetUTCHours, FunctionLength::ZERO); in InitializeDate()
852 …tion(env, dateFuncPrototype, "getUTCMilliseconds", Date::GetUTCMilliseconds, FunctionLength::ZERO); in InitializeDate()
853 SetFunction(env, dateFuncPrototype, "getUTCMinutes", Date::GetUTCMinutes, FunctionLength::ZERO); in InitializeDate()
854 SetFunction(env, dateFuncPrototype, "getUTCMonth", Date::GetUTCMonth, FunctionLength::ZERO); in InitializeDate()
855 SetFunction(env, dateFuncPrototype, "getUTCSeconds", Date::GetUTCSeconds, FunctionLength::ZERO); in InitializeDate()
873 SetFunction(env, dateFuncPrototype, "toDateString", Date::ToDateString, FunctionLength::ZERO); in InitializeDate()
874 SetFunction(env, dateFuncPrototype, "toISOString", Date::ToISOString, FunctionLength::ZERO); in InitializeDate()
876 …tion(env, dateFuncPrototype, "toLocaleDateString", Date::ToLocaleDateString, FunctionLength::ZERO); in InitializeDate()
877 … SetFunction(env, dateFuncPrototype, "toLocaleString", Date::ToLocaleString, FunctionLength::ZERO); in InitializeDate()
878 …tion(env, dateFuncPrototype, "toLocaleTimeString", Date::ToLocaleTimeString, FunctionLength::ZERO); in InitializeDate()
880 FunctionLength::ZERO); in InitializeDate()
881 SetFunction(env, dateFuncPrototype, "toTimeString", Date::ToTimeString, FunctionLength::ZERO); in InitializeDate()
882 SetFunction(env, dateFuncPrototype, "toUTCString", Date::ToUTCString, FunctionLength::ZERO); in InitializeDate()
884 FunctionLength::ZERO); in InitializeDate()
890 SetFunction(env, dateFunction, "now", Date::Now, FunctionLength::ZERO); in InitializeDate()
920 Boolean::BooleanPrototypeToString, FunctionLength::ZERO); in InitializeBoolean()
922 Boolean::BooleanPrototypeValueOf, FunctionLength::ZERO); in InitializeBoolean()
996 FunctionLength::ZERO); in InitializeAllTypeError()
1165 errorParameter.nativeMethod, FunctionLength::ZERO); in InitializeError()
1229 …iltinConstructor(env, setFuncPrototype, BuiltinsSet::SetConstructor, "Set", FunctionLength::ZERO)); in InitializeSet()
1238 SetFunction(env, setFuncPrototype, "clear", BuiltinsSet::Clear, FunctionLength::ZERO); in InitializeSet()
1246 SetFunction(env, setFuncPrototype, "entries", BuiltinsSet::Entries, FunctionLength::ZERO); in InitializeSet()
1248 SetFunction(env, setFuncPrototype, "values", BuiltinsSet::Values, FunctionLength::ZERO); in InitializeSet()
1261 …<JSTaggedValue> sizeGetter = CreateGetter(env, BuiltinsSet::GetSize, "size", FunctionLength::ZERO); in InitializeSet()
1268 CreateGetter(env, BuiltinsSet::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeSet()
1290 …iltinConstructor(env, mapFuncPrototype, BuiltinsMap::MapConstructor, "Map", FunctionLength::ZERO)); in InitializeMap()
1301 SetFunction(env, mapFuncPrototype, "clear", BuiltinsMap::Clear, FunctionLength::ZERO); in InitializeMap()
1312 SetFunction(env, mapFuncPrototype, "keys", BuiltinsMap::Keys, FunctionLength::ZERO); in InitializeMap()
1314 SetFunction(env, mapFuncPrototype, "values", BuiltinsMap::Values, FunctionLength::ZERO); in InitializeMap()
1316 SetFunction(env, mapFuncPrototype, "entries", BuiltinsMap::Entries, FunctionLength::ZERO); in InitializeMap()
1321 …<JSTaggedValue> sizeGetter = CreateGetter(env, BuiltinsMap::GetSize, "size", FunctionLength::ZERO); in InitializeMap()
1328 CreateGetter(env, BuiltinsMap::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeMap()
1355 … env, weakMapFuncPrototype, BuiltinsWeakMap::WeakMapConstructor, "WeakMap", FunctionLength::ZERO)); in InitializeWeakMap()
1391 … env, weakSetFuncPrototype, BuiltinsWeakSet::WeakSetConstructor, "WeakSet", FunctionLength::ZERO)); in InitializeWeakSet()
1457 SetFunction(env, weakRefFuncPrototype, "deref", BuiltinsWeakRef::Deref, FunctionLength::ZERO); in InitializeWeakRef()
1531 SetFunction(env, mathObject, "random", Math::Random, FunctionLength::ZERO); in InitializeMath()
1611 …etFunction(env, stringFuncPrototype, "normalize", BuiltinsString::Normalize, FunctionLength::ZERO); in InitializeString()
1623 …stringFuncPrototype, "toLocaleLowerCase", BuiltinsString::ToLocaleLowerCase, FunctionLength::ZERO); in InitializeString()
1624 …stringFuncPrototype, "toLocaleUpperCase", BuiltinsString::ToLocaleUpperCase, FunctionLength::ZERO); in InitializeString()
1625 …nction(env, stringFuncPrototype, "toLowerCase", BuiltinsString::ToLowerCase, FunctionLength::ZERO); in InitializeString()
1627 BuiltinsString::ToString, FunctionLength::ZERO); in InitializeString()
1628 …nction(env, stringFuncPrototype, "toUpperCase", BuiltinsString::ToUpperCase, FunctionLength::ZERO); in InitializeString()
1629 SetFunction(env, stringFuncPrototype, "trim", BuiltinsString::Trim, FunctionLength::ZERO); in InitializeString()
1630 …etFunction(env, stringFuncPrototype, "trimStart", BuiltinsString::TrimStart, FunctionLength::ZERO); in InitializeString()
1631 SetFunction(env, stringFuncPrototype, "trimEnd", BuiltinsString::TrimEnd, FunctionLength::ZERO); in InitializeString()
1632 … SetFunction(env, stringFuncPrototype, "trimLeft", BuiltinsString::TrimLeft, FunctionLength::ZERO); in InitializeString()
1633 …etFunction(env, stringFuncPrototype, "trimRight", BuiltinsString::TrimRight, FunctionLength::ZERO); in InitializeString()
1635 BuiltinsString::ValueOf, FunctionLength::ZERO); in InitializeString()
1637 BuiltinsString::GetStringIterator, FunctionLength::ZERO); in InitializeString()
1645 …Value> lengthGetter = CreateGetter(env, BuiltinsString::GetLength, "length", FunctionLength::ZERO); in InitializeString()
1666 SetFunction(env, strIterPrototype, "next", StringIterator::Next, FunctionLength::ZERO); in InitializeStringIterator()
1713 BuiltinsIterator::GetIteratorObj, FunctionLength::ZERO); in InitializeIterator()
1753 BuiltinsAsyncIterator::GetAsyncIteratorObj, FunctionLength::ZERO); in InitializeAsyncIterator()
1786 SetFunction(env, setIteratorPrototype, "next", JSSetIterator::Next, FunctionLength::ZERO); in InitializeSetIterator()
1797 SetFunction(env, mapIteratorPrototype, "next", JSMapIterator::Next, FunctionLength::ZERO); in InitializeMapIterator()
1807 SetFunction(env, arrayIteratorPrototype, "next", JSArrayIterator::Next, FunctionLength::ZERO); in InitializeArrayIterator()
1818 SetFunction(env, regExpIteratorPrototype, "next", JSRegExpIterator::Next, FunctionLength::ZERO); in InitializeRegexpIterator()
1848 FunctionLength::ZERO); in InitializeRegExp()
1850 …le<JSTaggedValue> flagsGetter = CreateGetter(env, RegExp::GetFlags, "flags", FunctionLength::ZERO); in InitializeRegExp()
1854 …JSTaggedValue> sourceGetter = CreateGetter(env, RegExp::GetSource, "source", FunctionLength::ZERO); in InitializeRegExp()
1858 …JSTaggedValue> globalGetter = CreateGetter(env, RegExp::GetGlobal, "global", FunctionLength::ZERO); in InitializeRegExp()
1863 CreateGetter(env, RegExp::GetIgnoreCase, "ignoreCase", FunctionLength::ZERO); in InitializeRegExp()
1868 CreateGetter(env, RegExp::GetMultiline, "multiline", FunctionLength::ZERO); in InitializeRegExp()
1872 …JSTaggedValue> dotAllGetter = CreateGetter(env, RegExp::GetDotAll, "dotAll", FunctionLength::ZERO); in InitializeRegExp()
1876 …JSTaggedValue> stickyGetter = CreateGetter(env, RegExp::GetSticky, "sticky", FunctionLength::ZERO); in InitializeRegExp()
1880 …aggedValue> unicodeGetter = CreateGetter(env, RegExp::GetUnicode, "unicode", FunctionLength::ZERO); in InitializeRegExp()
1887 CreateGetter(env, BuiltinsMap::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeRegExp()
1917 …JSHandle<JSArray>::Cast(arrFuncPrototype)->SetLength(thread_, JSTaggedValue(FunctionLength::ZERO)); in InitializeArray()
1941 SetFunction(env, arrFuncPrototype, "entries", BuiltinsArray::Entries, FunctionLength::ZERO); in InitializeArray()
1950 SetFunction(env, arrFuncPrototype, "keys", BuiltinsArray::Keys, FunctionLength::ZERO); in InitializeArray()
1953 SetFunction(env, arrFuncPrototype, "pop", BuiltinsArray::Pop, FunctionLength::ZERO); in InitializeArray()
1957 SetFunction(env, arrFuncPrototype, "reverse", BuiltinsArray::Reverse, FunctionLength::ZERO); in InitializeArray()
1958 SetFunction(env, arrFuncPrototype, "shift", BuiltinsArray::Shift, FunctionLength::ZERO); in InitializeArray()
1964 BuiltinsArray::ToLocaleString, FunctionLength::ZERO); in InitializeArray()
1966 FunctionLength::ZERO); in InitializeArray()
1968 SetFunction(env, arrFuncPrototype, "values", BuiltinsArray::Values, FunctionLength::ZERO); in InitializeArray()
1970 SetFunction(env, arrFuncPrototype, "flat", BuiltinsArray::Flat, FunctionLength::ZERO); in InitializeArray()
1984 SetFunction(env, arrayFunction, "of", BuiltinsArray::Of, FunctionLength::ZERO); in InitializeArray()
1989 CreateGetter(env, BuiltinsArray::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeArray()
2005 CreateGetter(env, BuiltinsArray::Unscopables, "[Symbol.unscopables]", FunctionLength::ZERO); in InitializeArray()
2026 …FuncPrototype, BuiltinsTypedArray::TypedArrayBaseConstructor, "TypedArray", FunctionLength::ZERO)); in InitializeTypedArray()
2033 …Function(env, typedArrFuncPrototype, "entries", BuiltinsTypedArray::Entries, FunctionLength::ZERO); in InitializeTypedArray()
2042 SetFunction(env, typedArrFuncPrototype, "keys", BuiltinsTypedArray::Keys, FunctionLength::ZERO); in InitializeTypedArray()
2047 …Function(env, typedArrFuncPrototype, "reverse", BuiltinsTypedArray::Reverse, FunctionLength::ZERO); in InitializeTypedArray()
2054 BuiltinsTypedArray::ToLocaleString, FunctionLength::ZERO); in InitializeTypedArray()
2055 …etFunction(env, typedArrFuncPrototype, "values", BuiltinsTypedArray::Values, FunctionLength::ZERO); in InitializeTypedArray()
2059 CreateGetter(env, BuiltinsTypedArray::GetBuffer, "buffer", FunctionLength::ZERO); in InitializeTypedArray()
2064 CreateGetter(env, BuiltinsTypedArray::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeTypedArray()
2069 CreateGetter(env, BuiltinsTypedArray::GetByteOffset, "byteOffset", FunctionLength::ZERO); in InitializeTypedArray()
2074 CreateGetter(env, BuiltinsTypedArray::GetLength, "length", FunctionLength::ZERO); in InitializeTypedArray()
2097 … CreateGetter(env, BuiltinsTypedArray::ToStringTag, "[Symbol.toStringTag]", FunctionLength::ZERO); in InitializeTypedArray()
2102 SetFunction(env, typedArrayFunction, "of", BuiltinsTypedArray::Of, FunctionLength::ZERO); in InitializeTypedArray()
2107 CreateGetter(env, BuiltinsTypedArray::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeTypedArray()
2425 CreateGetter(env, ArrayBuffer::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeArrayBuffer()
2430 CreateGetter(env, ArrayBuffer::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeArrayBuffer()
2504 CreateGetter(env, SharedArrayBuffer::Species, "[Symbol.species]", FunctionLength::ZERO); in InitializeSharedArrayBuffer()
2509 CreateGetter(env, SharedArrayBuffer::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeSharedArrayBuffer()
2552 CreateGetter(env, Promise::GetSpecies, "[Symbol.species]", FunctionLength::ZERO); in InitializePromise()
2663 …TaggedValue> bufferGetter = CreateGetter(env, DataView::GetBuffer, "buffer", FunctionLength::ZERO); in InitializeDataView()
2669 CreateGetter(env, DataView::GetByteLength, "byteLength", FunctionLength::ZERO); in InitializeDataView()
2674 …edValue> offsetGetter = CreateGetter(env, DataView::GetOffset, "byteOffset", FunctionLength::ZERO); in InitializeDataView()
3136 "DateTimeFormat", FunctionLength::ZERO)); in InitializeDateTimeFormat()
3148 …gedValue> formatGetter = CreateGetter(env, DateTimeFormat::Format, "format", FunctionLength::ZERO); in InitializeDateTimeFormat()
3156 …ction(env, dtfPrototype, "resolvedOptions", DateTimeFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeDateTimeFormat()
3179 "RelativeTimeFormat", FunctionLength::ZERO)); in InitializeRelativeTimeFormat()
3197 …n(env, rtfPrototype, "resolvedOptions", RelativeTimeFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeRelativeTimeFormat()
3215 "NumberFormat", FunctionLength::ZERO)); in InitializeNumberFormat()
3227 …aggedValue> formatGetter = CreateGetter(env, NumberFormat::Format, "format", FunctionLength::ZERO); in InitializeNumberFormat()
3235 …Function(env, nfPrototype, "resolvedOptions", NumberFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeNumberFormat()
3256 SetFunction(env, localePrototype, "maximize", Locale::Maximize, FunctionLength::ZERO); in InitializeLocale()
3257 SetFunction(env, localePrototype, "minimize", Locale::Minimize, FunctionLength::ZERO); in InitializeLocale()
3258 SetFunction(env, localePrototype, "toString", Locale::ToString, FunctionLength::ZERO); in InitializeLocale()
3260 …edValue> baseNameGetter = CreateGetter(env, Locale::GetBaseName, "baseName", FunctionLength::ZERO); in InitializeLocale()
3263 …edValue> calendarGetter = CreateGetter(env, Locale::GetCalendar, "calendar", FunctionLength::ZERO); in InitializeLocale()
3267 CreateGetter(env, Locale::GetCaseFirst, "caseFirst", FunctionLength::ZERO); in InitializeLocale()
3271 CreateGetter(env, Locale::GetCollation, "collation", FunctionLength::ZERO); in InitializeLocale()
3275 CreateGetter(env, Locale::GetHourCycle, "hourCycle", FunctionLength::ZERO); in InitializeLocale()
3278 …aggedValue> numericGetter = CreateGetter(env, Locale::GetNumeric, "numeric", FunctionLength::ZERO); in InitializeLocale()
3282 CreateGetter(env, Locale::GetNumberingSystem, "numberingSystem", FunctionLength::ZERO); in InitializeLocale()
3285 …edValue> languageGetter = CreateGetter(env, Locale::GetLanguage, "language", FunctionLength::ZERO); in InitializeLocale()
3288 …JSTaggedValue> scriptGetter = CreateGetter(env, Locale::GetScript, "script", FunctionLength::ZERO); in InitializeLocale()
3291 …JSTaggedValue> regionGetter = CreateGetter(env, Locale::GetRegion, "region", FunctionLength::ZERO); in InitializeLocale()
3314 …structor(env, collatorPrototype, Collator::CollatorConstructor, "Collator", FunctionLength::ZERO)); in InitializeCollator()
3326 …TaggedValue> compareGetter = CreateGetter(env, Collator::Compare, "compare", FunctionLength::ZERO); in InitializeCollator()
3331 …nction(env, collatorPrototype, "resolvedOptions", Collator::ResolvedOptions, FunctionLength::ZERO); in InitializeCollator()
3349 …uctor(env, prPrototype, PluralRules::PluralRulesConstructor, "PluralRules", FunctionLength::ZERO)); in InitializePluralRules()
3364 …tFunction(env, prPrototype, "resolvedOptions", PluralRules::ResolvedOptions, FunctionLength::ZERO); in InitializePluralRules()
3397 …Function(env, dnPrototype, "resolvedOptions", DisplayNames::ResolvedOptions, FunctionLength::ZERO); in InitializeDisplayNames()
3415 "ListFormat", FunctionLength::ZERO)); in InitializeListFormat()
3433 …etFunction(env, lfPrototype, "resolvedOptions", ListFormat::ResolvedOptions, FunctionLength::ZERO); in InitializeListFormat()
3439 SetFunction(env, tools, "print", builtins::BuiltinsArkTools::ObjectDump, FunctionLength::ZERO); in InitializeArkTools()
3444 …Function(env, tools, "forceFullGC", builtins::BuiltinsArkTools::ForceFullGC, FunctionLength::ZERO); in InitializeArkTools()
3447 …on(env, tools, "startCpuProf", builtins::BuiltinsArkTools::StartCpuProfiler, FunctionLength::ZERO); in InitializeArkTools()
3448 …tion(env, tools, "stopCpuProf", builtins::BuiltinsArkTools::StopCpuProfiler, FunctionLength::ZERO); in InitializeArkTools()
3480 SetFrozenFunction(env, arkPrivate, "Load", ContainersPrivate::Load, FunctionLength::ZERO); in InitializeArkPrivate()