• Home
  • Raw
  • Download

Lines Matching refs:SetFunction

427     SetFunction(env, globalObject, "print", Global::PrintEntrypoint, 0);  in InitializeGlobalObject()
428 SetFunction(env, globalObject, "markModuleCollectable", Global::MarkModuleCollectable, 0); in InitializeGlobalObject()
430 SetFunction(env, globalObject, "startRuntimeStat", Global::StartRuntimeStat, 0); in InitializeGlobalObject()
431 SetFunction(env, globalObject, "stopRuntimeStat", Global::StopRuntimeStat, 0); in InitializeGlobalObject()
435 SetFunction(env, globalObject, "printOptStat", Global::PrintOptStat, 0); in InitializeGlobalObject()
439 SetFunction(env, globalObject, "printFunctionCallStat", Global::PrintFunctionCallStat, 0); in InitializeGlobalObject()
454 SetFunction(env, globalObject, "eval", Global::NotSupportEval, FunctionLength::ONE); in InitializeGlobalObject()
455 SetFunction(env, globalObject, "isFinite", Global::IsFinite, FunctionLength::ONE); in InitializeGlobalObject()
456 SetFunction(env, globalObject, "isNaN", Global::IsNaN, FunctionLength::ONE); in InitializeGlobalObject()
457 SetFunction(env, globalObject, "decodeURI", Global::DecodeURI, FunctionLength::ONE); in InitializeGlobalObject()
458 SetFunction(env, globalObject, "encodeURI", Global::EncodeURI, FunctionLength::ONE); in InitializeGlobalObject()
459SetFunction(env, globalObject, "decodeURIComponent", Global::DecodeURIComponent, FunctionLength::O… in InitializeGlobalObject()
460SetFunction(env, globalObject, "encodeURIComponent", Global::EncodeURIComponent, FunctionLength::O… in InitializeGlobalObject()
519SetFunction(env, funcFuncPrototypeObj, "apply", Function::FunctionPrototypeApply, FunctionLength::… in InitializeFunction()
521SetFunction(env, funcFuncPrototypeObj, "bind", Function::FunctionPrototypeBind, FunctionLength::ON… in InitializeFunction()
523SetFunction(env, funcFuncPrototypeObj, "call", Function::FunctionPrototypeCall, FunctionLength::ON… in InitializeFunction()
525 SetFunction(env, funcFuncPrototypeObj, thread_->GlobalConstants()->GetHandledToStringString(), in InitializeFunction()
535 SetFunction(env, objFunc, "assign", Object::Assign, FunctionLength::TWO); in InitializeObject()
537 SetFunction(env, objFunc, "create", Object::Create, FunctionLength::TWO); in InitializeObject()
539 SetFunction(env, objFunc, "defineProperties", Object::DefineProperties, FunctionLength::TWO); in InitializeObject()
541 SetFunction(env, objFunc, "defineProperty", Object::DefineProperty, FunctionLength::THREE); in InitializeObject()
543 SetFunction(env, objFunc, "freeze", Object::Freeze, FunctionLength::ONE); in InitializeObject()
545SetFunction(env, objFunc, "getOwnPropertyDescriptor", Object::GetOwnPropertyDescriptor, FunctionLe… in InitializeObject()
547SetFunction(env, objFunc, "getOwnPropertyNames", Object::GetOwnPropertyNames, FunctionLength::ONE); in InitializeObject()
549SetFunction(env, objFunc, "getOwnPropertySymbols", Object::GetOwnPropertySymbols, FunctionLength::… in InitializeObject()
551 SetFunction(env, objFunc, "getPrototypeOf", Object::GetPrototypeOf, FunctionLength::ONE); in InitializeObject()
553 SetFunction(env, objFunc, "is", Object::Is, 2); in InitializeObject()
555 SetFunction(env, objFunc, "isExtensible", Object::IsExtensible, FunctionLength::ONE); in InitializeObject()
557 SetFunction(env, objFunc, "isFrozen", Object::IsFrozen, FunctionLength::ONE); in InitializeObject()
559 SetFunction(env, objFunc, "isSealed", Object::IsSealed, FunctionLength::ONE); in InitializeObject()
561 SetFunction(env, objFunc, "keys", Object::Keys, FunctionLength::ONE); in InitializeObject()
563 SetFunction(env, objFunc, "values", Object::Values, FunctionLength::ONE); in InitializeObject()
565 SetFunction(env, objFunc, "preventExtensions", Object::PreventExtensions, FunctionLength::ONE); in InitializeObject()
567 SetFunction(env, objFunc, "seal", Object::Seal, FunctionLength::ONE); in InitializeObject()
569 SetFunction(env, objFunc, "setPrototypeOf", Object::SetPrototypeOf, FunctionLength::TWO); in InitializeObject()
571 SetFunction(env, objFunc, "entries", Object::Entries, FunctionLength::ONE); in InitializeObject()
573 SetFunction(env, objFunc, "fromEntries", Object::FromEntries, FunctionLength::ONE); in InitializeObject()
575 SetFunction(env, objFunc, "hasOwn", Object::HasOwn, FunctionLength::TWO); in InitializeObject()
579SetFunction(env, objFuncPrototype, "hasOwnProperty", Object::HasOwnProperty, FunctionLength::ONE); in InitializeObject()
581 SetFunction(env, objFuncPrototype, "isPrototypeOf", Object::IsPrototypeOf, FunctionLength::ONE); in InitializeObject()
583SetFunction(env, objFuncPrototype, "propertyIsEnumerable", Object::PropertyIsEnumerable, FunctionL… in InitializeObject()
585SetFunction(env, objFuncPrototype, "toLocaleString", Object::ToLocaleString, FunctionLength::ZERO); in InitializeObject()
587SetFunction(env, objFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Object:… in InitializeObject()
590SetFunction(env, objFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), Object::… in InitializeObject()
593 SetFunction(env, objFuncPrototype, "createRealm", Object::CreateRealm, FunctionLength::ZERO); in InitializeObject()
624 SetFunction(env, symbolFunction, "for", Symbol::For, FunctionLength::ONE); in InitializeSymbol()
625 SetFunction(env, symbolFunction, "keyFor", Symbol::KeyFor, FunctionLength::ONE); in InitializeSymbol()
669SetFunction(env, symbolFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Symb… in InitializeSymbol()
671SetFunction(env, symbolFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), Symbo… in InitializeSymbol()
729 SetFunction(realm, symbolFunction, "for", Symbol::For, FunctionLength::ONE); in InitializeSymbolWithRealm()
730 SetFunction(realm, symbolFunction, "keyFor", Symbol::KeyFor, FunctionLength::ONE); in InitializeSymbolWithRealm()
760SetFunction(realm, symbolFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Sy… in InitializeSymbolWithRealm()
762SetFunction(realm, symbolFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), Sym… in InitializeSymbolWithRealm()
817 SetFunction(env, numFuncPrototype, "toExponential", Number::ToExponential, FunctionLength::ONE); in InitializeNumber()
818 SetFunction(env, numFuncPrototype, "toFixed", Number::ToFixed, FunctionLength::ONE); in InitializeNumber()
819SetFunction(env, numFuncPrototype, "toLocaleString", Number::ToLocaleString, FunctionLength::ZERO); in InitializeNumber()
820 SetFunction(env, numFuncPrototype, "toPrecision", Number::ToPrecision, FunctionLength::ONE); in InitializeNumber()
821SetFunction(env, numFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Number:… in InitializeNumber()
823SetFunction(env, numFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), Number::… in InitializeNumber()
827 SetFunction(env, numFunction, "isFinite", Number::IsFinite, FunctionLength::ONE); in InitializeNumber()
828 SetFunction(env, numFunction, "isInteger", Number::IsInteger, FunctionLength::ONE); in InitializeNumber()
829 SetFunction(env, numFunction, "isNaN", Number::IsNaN, FunctionLength::ONE); in InitializeNumber()
830 SetFunction(env, numFunction, "isSafeInteger", Number::IsSafeInteger, FunctionLength::ONE); in InitializeNumber()
880SetFunction(env, bigIntFuncPrototype, "toLocaleString", BuiltinsBigInt::ToLocaleString, FunctionLe… in InitializeBigInt()
881SetFunction(env, bigIntFuncPrototype, "toString", BuiltinsBigInt::ToString, FunctionLength::ZERO); in InitializeBigInt()
882 SetFunction(env, bigIntFuncPrototype, "valueOf", BuiltinsBigInt::ValueOf, FunctionLength::ZERO); in InitializeBigInt()
885 SetFunction(env, bigIntFunction, "asUintN", BuiltinsBigInt::AsUintN, FunctionLength::TWO); in InitializeBigInt()
886 SetFunction(env, bigIntFunction, "asIntN", BuiltinsBigInt::AsIntN, FunctionLength::TWO); in InitializeBigInt()
912 SetFunction(env, dateFuncPrototype, "getDate", Date::GetDate, FunctionLength::ZERO); in InitializeDate()
913 SetFunction(env, dateFuncPrototype, "getDay", Date::GetDay, FunctionLength::ZERO); in InitializeDate()
914 SetFunction(env, dateFuncPrototype, "getFullYear", Date::GetFullYear, FunctionLength::ZERO); in InitializeDate()
915 SetFunction(env, dateFuncPrototype, "getHours", Date::GetHours, FunctionLength::ZERO); in InitializeDate()
916SetFunction(env, dateFuncPrototype, "getMilliseconds", Date::GetMilliseconds, FunctionLength::ZERO… in InitializeDate()
917 SetFunction(env, dateFuncPrototype, "getMinutes", Date::GetMinutes, FunctionLength::ZERO); in InitializeDate()
918 SetFunction(env, dateFuncPrototype, "getMonth", Date::GetMonth, FunctionLength::ZERO); in InitializeDate()
919 SetFunction(env, dateFuncPrototype, "getSeconds", Date::GetSeconds, FunctionLength::ZERO); in InitializeDate()
920 SetFunction(env, dateFuncPrototype, "getTime", Date::GetTime, FunctionLength::ZERO); in InitializeDate()
921SetFunction(env, dateFuncPrototype, "getTimezoneOffset", Date::GetTimezoneOffset, FunctionLength::… in InitializeDate()
922 SetFunction(env, dateFuncPrototype, "getUTCDate", Date::GetUTCDate, FunctionLength::ZERO); in InitializeDate()
923 SetFunction(env, dateFuncPrototype, "getUTCDay", Date::GetUTCDay, FunctionLength::ZERO); in InitializeDate()
924SetFunction(env, dateFuncPrototype, "getUTCFullYear", Date::GetUTCFullYear, FunctionLength::ZERO); in InitializeDate()
925 SetFunction(env, dateFuncPrototype, "getUTCHours", Date::GetUTCHours, FunctionLength::ZERO); in InitializeDate()
926SetFunction(env, dateFuncPrototype, "getUTCMilliseconds", Date::GetUTCMilliseconds, FunctionLength… in InitializeDate()
927 SetFunction(env, dateFuncPrototype, "getUTCMinutes", Date::GetUTCMinutes, FunctionLength::ZERO); in InitializeDate()
928 SetFunction(env, dateFuncPrototype, "getUTCMonth", Date::GetUTCMonth, FunctionLength::ZERO); in InitializeDate()
929 SetFunction(env, dateFuncPrototype, "getUTCSeconds", Date::GetUTCSeconds, FunctionLength::ZERO); in InitializeDate()
931 SetFunction(env, dateFuncPrototype, "setDate", Date::SetDate, FunctionLength::ONE); in InitializeDate()
932 SetFunction(env, dateFuncPrototype, "setFullYear", Date::SetFullYear, FunctionLength::THREE); in InitializeDate()
933 SetFunction(env, dateFuncPrototype, "setHours", Date::SetHours, FunctionLength::FOUR); in InitializeDate()
934SetFunction(env, dateFuncPrototype, "setMilliseconds", Date::SetMilliseconds, FunctionLength::ONE); in InitializeDate()
935 SetFunction(env, dateFuncPrototype, "setMinutes", Date::SetMinutes, FunctionLength::THREE); in InitializeDate()
936 SetFunction(env, dateFuncPrototype, "setMonth", Date::SetMonth, FunctionLength::TWO); in InitializeDate()
937 SetFunction(env, dateFuncPrototype, "setSeconds", Date::SetSeconds, FunctionLength::TWO); in InitializeDate()
938 SetFunction(env, dateFuncPrototype, "setTime", Date::SetTime, FunctionLength::ONE); in InitializeDate()
939 SetFunction(env, dateFuncPrototype, "setUTCDate", Date::SetUTCDate, FunctionLength::ONE); in InitializeDate()
940SetFunction(env, dateFuncPrototype, "setUTCFullYear", Date::SetUTCFullYear, FunctionLength::THREE); in InitializeDate()
941 SetFunction(env, dateFuncPrototype, "setUTCHours", Date::SetUTCHours, FunctionLength::FOUR); in InitializeDate()
942SetFunction(env, dateFuncPrototype, "setUTCMilliseconds", Date::SetUTCMilliseconds, FunctionLength… in InitializeDate()
943SetFunction(env, dateFuncPrototype, "setUTCMinutes", Date::SetUTCMinutes, FunctionLength::THREE); in InitializeDate()
944 SetFunction(env, dateFuncPrototype, "setUTCMonth", Date::SetUTCMonth, FunctionLength::TWO); in InitializeDate()
945 SetFunction(env, dateFuncPrototype, "setUTCSeconds", Date::SetUTCSeconds, FunctionLength::TWO); in InitializeDate()
947 SetFunction(env, dateFuncPrototype, "toDateString", Date::ToDateString, FunctionLength::ZERO); in InitializeDate()
948 SetFunction(env, dateFuncPrototype, "toISOString", Date::ToISOString, FunctionLength::ZERO); in InitializeDate()
949 SetFunction(env, dateFuncPrototype, "toJSON", Date::ToJSON, FunctionLength::ONE); in InitializeDate()
950SetFunction(env, dateFuncPrototype, "toLocaleDateString", Date::ToLocaleDateString, FunctionLength… in InitializeDate()
951SetFunction(env, dateFuncPrototype, "toLocaleString", Date::ToLocaleString, FunctionLength::ZERO); in InitializeDate()
952SetFunction(env, dateFuncPrototype, "toLocaleTimeString", Date::ToLocaleTimeString, FunctionLength… in InitializeDate()
953SetFunction(env, dateFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Date::… in InitializeDate()
955 SetFunction(env, dateFuncPrototype, "toTimeString", Date::ToTimeString, FunctionLength::ZERO); in InitializeDate()
956 SetFunction(env, dateFuncPrototype, "toUTCString", Date::ToUTCString, FunctionLength::ZERO); in InitializeDate()
957SetFunction(env, dateFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), Date::V… in InitializeDate()
964 SetFunction(env, dateFunction, "now", Date::Now, FunctionLength::ZERO); in InitializeDate()
965 SetFunction(env, dateFunction, "parse", Date::Parse, FunctionLength::ONE); in InitializeDate()
966 SetFunction(env, dateFunction, "UTC", Date::UTC, utcLength); in InitializeDate()
1003 SetFunction(env, booleanFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), in InitializeBoolean()
1005 SetFunction(env, booleanFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), in InitializeBoolean()
1016 SetFunction(env, proxyFunction, "revocable", Proxy::Revocable, FunctionLength::TWO); in InitializeProxy()
1079SetFunction(env, errorFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Error… in InitializeAllTypeError()
1248SetFunction(env, nativeErrorFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), in InitializeError()
1321 SetFunction(env, setFuncPrototype, "add", BuiltinsSet::Add, FunctionLength::ONE); in InitializeSet()
1323 SetFunction(env, setFuncPrototype, "clear", BuiltinsSet::Clear, FunctionLength::ZERO); in InitializeSet()
1325 SetFunction(env, setFuncPrototype, "delete", BuiltinsSet::Delete, FunctionLength::ONE); in InitializeSet()
1327 SetFunction(env, setFuncPrototype, "has", BuiltinsSet::Has, FunctionLength::ONE); in InitializeSet()
1329 SetFunction(env, setFuncPrototype, "forEach", BuiltinsSet::ForEach, FunctionLength::ONE); in InitializeSet()
1331 SetFunction(env, setFuncPrototype, "entries", BuiltinsSet::Entries, FunctionLength::ZERO); in InitializeSet()
1333 SetFunction(env, setFuncPrototype, "values", BuiltinsSet::Values, FunctionLength::ZERO); in InitializeSet()
1396SetFunction(env, mapFuncPrototype, globalConst->GetHandledSetString(), BuiltinsMap::Set, FunctionL… in InitializeMap()
1398 SetFunction(env, mapFuncPrototype, "clear", BuiltinsMap::Clear, FunctionLength::ZERO); in InitializeMap()
1400 SetFunction(env, mapFuncPrototype, "delete", BuiltinsMap::Delete, FunctionLength::ONE); in InitializeMap()
1402 SetFunction(env, mapFuncPrototype, "has", BuiltinsMap::Has, FunctionLength::ONE); in InitializeMap()
1404SetFunction(env, mapFuncPrototype, thread_->GlobalConstants()->GetHandledGetString(), BuiltinsMap:… in InitializeMap()
1407 SetFunction(env, mapFuncPrototype, "forEach", BuiltinsMap::ForEach, FunctionLength::ONE); in InitializeMap()
1409 SetFunction(env, mapFuncPrototype, "keys", BuiltinsMap::Keys, FunctionLength::ZERO); in InitializeMap()
1411 SetFunction(env, mapFuncPrototype, "values", BuiltinsMap::Values, FunctionLength::ZERO); in InitializeMap()
1413 SetFunction(env, mapFuncPrototype, "entries", BuiltinsMap::Entries, FunctionLength::ZERO); in InitializeMap()
1474 SetFunction(env, weakMapFuncPrototype, globalConst->GetHandledSetString(), BuiltinsWeakMap::Set, in InitializeWeakMap()
1477 SetFunction(env, weakMapFuncPrototype, "delete", BuiltinsWeakMap::Delete, FunctionLength::ONE); in InitializeWeakMap()
1479 SetFunction(env, weakMapFuncPrototype, "has", BuiltinsWeakMap::Has, FunctionLength::ONE); in InitializeWeakMap()
1481SetFunction(env, weakMapFuncPrototype, thread_->GlobalConstants()->GetHandledGetString(), Builtins… in InitializeWeakMap()
1519 SetFunction(env, weakSetFuncPrototype, "add", BuiltinsWeakSet::Add, FunctionLength::ONE); in InitializeWeakSet()
1521 SetFunction(env, weakSetFuncPrototype, "delete", BuiltinsWeakSet::Delete, FunctionLength::ONE); in InitializeWeakSet()
1523 SetFunction(env, weakSetFuncPrototype, "has", BuiltinsWeakSet::Has, FunctionLength::ONE); in InitializeWeakSet()
1548 SetFunction(env, atomicsObject, "add", Atomics::Add, FunctionLength::THREE); in InitializeAtomics()
1549 SetFunction(env, atomicsObject, "and", Atomics::And, FunctionLength::THREE); in InitializeAtomics()
1550 SetFunction(env, atomicsObject, "sub", Atomics::Sub, FunctionLength::THREE); in InitializeAtomics()
1551 SetFunction(env, atomicsObject, "or", Atomics::Or, FunctionLength::THREE); in InitializeAtomics()
1552 SetFunction(env, atomicsObject, "xor", Atomics::Xor, FunctionLength::THREE); in InitializeAtomics()
1553SetFunction(env, atomicsObject, "compareExchange", Atomics::CompareExchange, FunctionLength::FOUR); in InitializeAtomics()
1554 SetFunction(env, atomicsObject, "exchange", Atomics::Exchange, FunctionLength::THREE); in InitializeAtomics()
1555 SetFunction(env, atomicsObject, "isLockFree", Atomics::IsLockFree, FunctionLength::ONE); in InitializeAtomics()
1556 SetFunction(env, atomicsObject, "load", Atomics::Load, FunctionLength::TWO); in InitializeAtomics()
1557 SetFunction(env, atomicsObject, "store", Atomics::Store, FunctionLength::THREE); in InitializeAtomics()
1558 SetFunction(env, atomicsObject, "wait", Atomics::Wait, FunctionLength::FOUR); in InitializeAtomics()
1559 SetFunction(env, atomicsObject, "notify", Atomics::Notify, FunctionLength::THREE); in InitializeAtomics()
1589 SetFunction(env, weakRefFuncPrototype, "deref", BuiltinsWeakRef::Deref, FunctionLength::ZERO); in InitializeWeakRef()
1632 SetFunction(env, finalizationRegistryFuncPrototype, "register", in InitializeFinalizationRegistry()
1634 SetFunction(env, finalizationRegistryFuncPrototype, "unregister", in InitializeFinalizationRegistry()
1659 SetFunction(env, mathObject, "abs", Math::Abs, FunctionLength::ONE, BUILTINS_STUB_ID(ABS)); in InitializeMath()
1660 SetFunction(env, mathObject, "acos", Math::Acos, FunctionLength::ONE, BUILTINS_STUB_ID(ACOS)); in InitializeMath()
1661 SetFunction(env, mathObject, "acosh", Math::Acosh, FunctionLength::ONE); in InitializeMath()
1662 SetFunction(env, mathObject, "asin", Math::Asin, FunctionLength::ONE); in InitializeMath()
1663 SetFunction(env, mathObject, "asinh", Math::Asinh, FunctionLength::ONE); in InitializeMath()
1664 SetFunction(env, mathObject, "atan", Math::Atan, FunctionLength::ONE, BUILTINS_STUB_ID(ATAN)); in InitializeMath()
1665 SetFunction(env, mathObject, "atanh", Math::Atanh, FunctionLength::ONE); in InitializeMath()
1666 SetFunction(env, mathObject, "atan2", Math::Atan2, FunctionLength::TWO); in InitializeMath()
1667 SetFunction(env, mathObject, "cbrt", Math::Cbrt, FunctionLength::ONE); in InitializeMath()
1668 SetFunction(env, mathObject, "ceil", Math::Ceil, FunctionLength::ONE); in InitializeMath()
1669 SetFunction(env, mathObject, "clz32", Math::Clz32, FunctionLength::ONE); in InitializeMath()
1670 SetFunction(env, mathObject, "cos", Math::Cos, FunctionLength::ONE, BUILTINS_STUB_ID(COS)); in InitializeMath()
1671 SetFunction(env, mathObject, "cosh", Math::Cosh, FunctionLength::ONE); in InitializeMath()
1672 SetFunction(env, mathObject, "exp", Math::Exp, FunctionLength::ONE); in InitializeMath()
1673 SetFunction(env, mathObject, "expm1", Math::Expm1, FunctionLength::ONE); in InitializeMath()
1674SetFunction(env, mathObject, "floor", Math::Floor, FunctionLength::ONE, BUILTINS_STUB_ID(FLOOR)); in InitializeMath()
1675 SetFunction(env, mathObject, "fround", Math::Fround, FunctionLength::ONE); in InitializeMath()
1676 SetFunction(env, mathObject, "hypot", Math::Hypot, FunctionLength::TWO); in InitializeMath()
1677 SetFunction(env, mathObject, "imul", Math::Imul, FunctionLength::TWO); in InitializeMath()
1678 SetFunction(env, mathObject, "log", Math::Log, FunctionLength::ONE); in InitializeMath()
1679 SetFunction(env, mathObject, "log1p", Math::Log1p, FunctionLength::ONE); in InitializeMath()
1680 SetFunction(env, mathObject, "log10", Math::Log10, FunctionLength::ONE); in InitializeMath()
1681 SetFunction(env, mathObject, "log2", Math::Log2, FunctionLength::ONE); in InitializeMath()
1682 SetFunction(env, mathObject, "max", Math::Max, FunctionLength::TWO); in InitializeMath()
1683 SetFunction(env, mathObject, "min", Math::Min, FunctionLength::TWO); in InitializeMath()
1684 SetFunction(env, mathObject, "pow", Math::Pow, FunctionLength::TWO); in InitializeMath()
1685 SetFunction(env, mathObject, "random", Math::Random, FunctionLength::ZERO); in InitializeMath()
1686 SetFunction(env, mathObject, "round", Math::Round, FunctionLength::ONE); in InitializeMath()
1687 SetFunction(env, mathObject, "sign", Math::Sign, FunctionLength::ONE); in InitializeMath()
1688 SetFunction(env, mathObject, "sin", Math::Sin, FunctionLength::ONE, BUILTINS_STUB_ID(SIN)); in InitializeMath()
1689 SetFunction(env, mathObject, "sinh", Math::Sinh, FunctionLength::ONE); in InitializeMath()
1690 SetFunction(env, mathObject, "sqrt", Math::Sqrt, FunctionLength::ONE, BUILTINS_STUB_ID(SQRT)); in InitializeMath()
1691 SetFunction(env, mathObject, "tan", Math::Tan, FunctionLength::ONE); in InitializeMath()
1692 SetFunction(env, mathObject, "tanh", Math::Tanh, FunctionLength::ONE); in InitializeMath()
1693 SetFunction(env, mathObject, "trunc", Math::Trunc, FunctionLength::ONE); in InitializeMath()
1719 SetFunction(env, jsonObject, "parse", Json::Parse, FunctionLength::TWO); in InitializeJson()
1720 SetFunction(env, jsonObject, "stringify", Json::Stringify, FunctionLength::THREE); in InitializeJson()
1750 SetFunction(env, stringFuncPrototype, "charAt", BuiltinsString::CharAt, FunctionLength::ONE, in InitializeString()
1752SetFunction(env, stringFuncPrototype, "charCodeAt", BuiltinsString::CharCodeAt, FunctionLength::ON… in InitializeString()
1754SetFunction(env, stringFuncPrototype, "codePointAt", BuiltinsString::CodePointAt, FunctionLength::… in InitializeString()
1755 SetFunction(env, stringFuncPrototype, "concat", BuiltinsString::Concat, FunctionLength::ONE); in InitializeString()
1756SetFunction(env, stringFuncPrototype, "endsWith", BuiltinsString::EndsWith, FunctionLength::ONE); in InitializeString()
1757SetFunction(env, stringFuncPrototype, "includes", BuiltinsString::Includes, FunctionLength::ONE); in InitializeString()
1758 SetFunction(env, stringFuncPrototype, "indexOf", BuiltinsString::IndexOf, FunctionLength::ONE, in InitializeString()
1760SetFunction(env, stringFuncPrototype, "lastIndexOf", BuiltinsString::LastIndexOf, FunctionLength::… in InitializeString()
1761SetFunction(env, stringFuncPrototype, "localeCompare", BuiltinsString::LocaleCompare, FunctionLeng… in InitializeString()
1762 SetFunction(env, stringFuncPrototype, "match", BuiltinsString::Match, FunctionLength::ONE); in InitializeString()
1763SetFunction(env, stringFuncPrototype, "matchAll", BuiltinsString::MatchAll, FunctionLength::ONE); in InitializeString()
1764 SetFunction(env, stringFuncPrototype, "repeat", BuiltinsString::Repeat, FunctionLength::ONE); in InitializeString()
1765SetFunction(env, stringFuncPrototype, "normalize", BuiltinsString::Normalize, FunctionLength::ZERO… in InitializeString()
1766SetFunction(env, stringFuncPrototype, "padStart", BuiltinsString::PadStart, FunctionLength::ONE); in InitializeString()
1767 SetFunction(env, stringFuncPrototype, "padEnd", BuiltinsString::PadEnd, FunctionLength::ONE); in InitializeString()
1768 SetFunction(env, stringFuncPrototype, "replace", BuiltinsString::Replace, FunctionLength::TWO); in InitializeString()
1769SetFunction(env, stringFuncPrototype, "replaceAll", BuiltinsString::ReplaceAll, FunctionLength::TW… in InitializeString()
1770 SetFunction(env, stringFuncPrototype, "search", BuiltinsString::Search, FunctionLength::ONE); in InitializeString()
1771 SetFunction(env, stringFuncPrototype, "slice", BuiltinsString::Slice, FunctionLength::TWO); in InitializeString()
1772 SetFunction(env, stringFuncPrototype, "split", BuiltinsString::Split, FunctionLength::TWO); in InitializeString()
1773SetFunction(env, stringFuncPrototype, "startsWith", BuiltinsString::StartsWith, FunctionLength::ON… in InitializeString()
1774SetFunction(env, stringFuncPrototype, "substring", BuiltinsString::Substring, FunctionLength::TWO, in InitializeString()
1776 SetFunction(env, stringFuncPrototype, "substr", BuiltinsString::SubStr, FunctionLength::TWO); in InitializeString()
1777 SetFunction(env, stringFuncPrototype, "at", BuiltinsString::At, FunctionLength::ONE); in InitializeString()
1778SetFunction(env, stringFuncPrototype, "toLocaleLowerCase", BuiltinsString::ToLocaleLowerCase, Func… in InitializeString()
1779SetFunction(env, stringFuncPrototype, "toLocaleUpperCase", BuiltinsString::ToLocaleUpperCase, Func… in InitializeString()
1780SetFunction(env, stringFuncPrototype, "toLowerCase", BuiltinsString::ToLowerCase, FunctionLength::… in InitializeString()
1781 SetFunction(env, stringFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), in InitializeString()
1783SetFunction(env, stringFuncPrototype, "toUpperCase", BuiltinsString::ToUpperCase, FunctionLength::… in InitializeString()
1784 SetFunction(env, stringFuncPrototype, "trim", BuiltinsString::Trim, FunctionLength::ZERO); in InitializeString()
1785SetFunction(env, stringFuncPrototype, "trimStart", BuiltinsString::TrimStart, FunctionLength::ZERO… in InitializeString()
1786 SetFunction(env, stringFuncPrototype, "trimEnd", BuiltinsString::TrimEnd, FunctionLength::ZERO); in InitializeString()
1787SetFunction(env, stringFuncPrototype, "trimLeft", BuiltinsString::TrimLeft, FunctionLength::ZERO); in InitializeString()
1788SetFunction(env, stringFuncPrototype, "trimRight", BuiltinsString::TrimRight, FunctionLength::ZERO… in InitializeString()
1789 SetFunction(env, stringFuncPrototype, thread_->GlobalConstants()->GetHandledValueOfString(), in InitializeString()
1795SetFunction(env, stringFunction, "fromCharCode", BuiltinsString::FromCharCode, FunctionLength::ONE… in InitializeString()
1796SetFunction(env, stringFunction, "fromCodePoint", BuiltinsString::FromCodePoint, FunctionLength::O… in InitializeString()
1797 SetFunction(env, stringFunction, "raw", BuiltinsString::Raw, FunctionLength::ONE); in InitializeString()
1821 SetFunction(env, strIterPrototype, "next", StringIterator::Next, FunctionLength::ZERO); in InitializeStringIterator()
1834SetFunction(env, asyncItPrototype, "next", BuiltinsAsyncFromSyncIterator::Next, FunctionLength::ON… in InitializeAsyncFromSyncIterator()
1835SetFunction(env, asyncItPrototype, "return", BuiltinsAsyncFromSyncIterator::Return, FunctionLength… in InitializeAsyncFromSyncIterator()
1836SetFunction(env, asyncItPrototype, "throw", BuiltinsAsyncFromSyncIterator::Throw, FunctionLength::… in InitializeAsyncFromSyncIterator()
1861 SetFunction(env, iteratorPrototype, "next", BuiltinsIterator::Next, FunctionLength::ONE); in InitializeIterator()
1863 SetFunction(env, iteratorPrototype, "return", BuiltinsIterator::Return, FunctionLength::ONE); in InitializeIterator()
1865 SetFunction(env, iteratorPrototype, "throw", BuiltinsIterator::Throw, FunctionLength::ONE); in InitializeIterator()
1901SetFunction(env, asyncIteratorPrototype, "next", BuiltinsAsyncIterator::Next, FunctionLength::ONE); in InitializeAsyncIterator()
1903SetFunction(env, asyncIteratorPrototype, "return", BuiltinsAsyncIterator::Return, FunctionLength::… in InitializeAsyncIterator()
1905SetFunction(env, asyncIteratorPrototype, "throw", BuiltinsAsyncIterator::Throw, FunctionLength::ON… in InitializeAsyncIterator()
1930 SetFunction(env, forinIteratorPrototype, "next", JSForInIterator::Next, FunctionLength::ONE); in InitializeForinIterator()
1941 SetFunction(env, setIteratorPrototype, "next", JSSetIterator::Next, FunctionLength::ZERO); in InitializeSetIterator()
1952 SetFunction(env, mapIteratorPrototype, "next", JSMapIterator::Next, FunctionLength::ZERO); in InitializeMapIterator()
1962 SetFunction(env, arrayIteratorPrototype, "next", JSArrayIterator::Next, FunctionLength::ZERO); in InitializeArrayIterator()
1973 SetFunction(env, regExpIteratorPrototype, "next", JSRegExpIterator::Next, FunctionLength::ZERO); in InitializeRegexpIterator()
2000 SetFunction(env, regPrototype, "exec", RegExp::Exec, FunctionLength::ONE); in InitializeRegExp()
2001 SetFunction(env, regPrototype, "test", RegExp::Test, FunctionLength::ONE); in InitializeRegExp()
2002 SetFunction(env, regPrototype, globalConstants->GetHandledToStringString(), RegExp::ToString, in InitializeRegExp()
2096 SetFunction(env, arrFuncPrototype, "concat", BuiltinsArray::Concat, FunctionLength::ONE); in InitializeArray()
2097SetFunction(env, arrFuncPrototype, "copyWithin", BuiltinsArray::CopyWithin, FunctionLength::TWO); in InitializeArray()
2098 SetFunction(env, arrFuncPrototype, "entries", BuiltinsArray::Entries, FunctionLength::ZERO); in InitializeArray()
2099 SetFunction(env, arrFuncPrototype, "every", BuiltinsArray::Every, FunctionLength::ONE); in InitializeArray()
2100 SetFunction(env, arrFuncPrototype, "fill", BuiltinsArray::Fill, FunctionLength::ONE); in InitializeArray()
2101 SetFunction(env, arrFuncPrototype, "filter", BuiltinsArray::Filter, FunctionLength::ONE); in InitializeArray()
2102 SetFunction(env, arrFuncPrototype, "find", BuiltinsArray::Find, FunctionLength::ONE); in InitializeArray()
2103 SetFunction(env, arrFuncPrototype, "findIndex", BuiltinsArray::FindIndex, FunctionLength::ONE); in InitializeArray()
2104 SetFunction(env, arrFuncPrototype, "findLast", BuiltinsArray::FindLast, FunctionLength::ONE); in InitializeArray()
2105SetFunction(env, arrFuncPrototype, "findLastIndex", BuiltinsArray::FindLastIndex, FunctionLength::… in InitializeArray()
2106 SetFunction(env, arrFuncPrototype, "forEach", BuiltinsArray::ForEach, FunctionLength::ONE); in InitializeArray()
2107 SetFunction(env, arrFuncPrototype, "indexOf", BuiltinsArray::IndexOf, FunctionLength::ONE); in InitializeArray()
2108 SetFunction(env, arrFuncPrototype, "join", BuiltinsArray::Join, FunctionLength::ONE); in InitializeArray()
2109 SetFunction(env, arrFuncPrototype, "keys", BuiltinsArray::Keys, FunctionLength::ZERO); in InitializeArray()
2110SetFunction(env, arrFuncPrototype, "lastIndexOf", BuiltinsArray::LastIndexOf, FunctionLength::ONE); in InitializeArray()
2111 SetFunction(env, arrFuncPrototype, "map", BuiltinsArray::Map, FunctionLength::ONE); in InitializeArray()
2112 SetFunction(env, arrFuncPrototype, "pop", BuiltinsArray::Pop, FunctionLength::ZERO); in InitializeArray()
2113 SetFunction(env, arrFuncPrototype, "push", BuiltinsArray::Push, FunctionLength::ONE); in InitializeArray()
2114 SetFunction(env, arrFuncPrototype, "reduce", BuiltinsArray::Reduce, FunctionLength::ONE); in InitializeArray()
2115SetFunction(env, arrFuncPrototype, "reduceRight", BuiltinsArray::ReduceRight, FunctionLength::ONE); in InitializeArray()
2116 SetFunction(env, arrFuncPrototype, "reverse", BuiltinsArray::Reverse, FunctionLength::ZERO); in InitializeArray()
2117 SetFunction(env, arrFuncPrototype, "shift", BuiltinsArray::Shift, FunctionLength::ZERO); in InitializeArray()
2118 SetFunction(env, arrFuncPrototype, "slice", BuiltinsArray::Slice, FunctionLength::TWO); in InitializeArray()
2119 SetFunction(env, arrFuncPrototype, "some", BuiltinsArray::Some, FunctionLength::ONE); in InitializeArray()
2120 SetFunction(env, arrFuncPrototype, "sort", BuiltinsArray::Sort, FunctionLength::ONE); in InitializeArray()
2121 SetFunction(env, arrFuncPrototype, "splice", BuiltinsArray::Splice, FunctionLength::TWO); in InitializeArray()
2122 SetFunction(env, arrFuncPrototype, thread_->GlobalConstants()->GetHandledToLocaleStringString(), in InitializeArray()
2124SetFunction(env, arrFuncPrototype, thread_->GlobalConstants()->GetHandledToStringString(), Builtin… in InitializeArray()
2126 SetFunction(env, arrFuncPrototype, "unshift", BuiltinsArray::Unshift, FunctionLength::ONE); in InitializeArray()
2127 SetFunction(env, arrFuncPrototype, "values", BuiltinsArray::Values, FunctionLength::ZERO); in InitializeArray()
2128 SetFunction(env, arrFuncPrototype, "includes", BuiltinsArray::Includes, FunctionLength::ONE); in InitializeArray()
2129 SetFunction(env, arrFuncPrototype, "flat", BuiltinsArray::Flat, FunctionLength::ZERO); in InitializeArray()
2130 SetFunction(env, arrFuncPrototype, "flatMap", BuiltinsArray::FlatMap, FunctionLength::ONE); in InitializeArray()
2131 SetFunction(env, arrFuncPrototype, "at", BuiltinsArray::At, FunctionLength::ONE); in InitializeArray()
2132SetFunction(env, arrFuncPrototype, "toReversed", BuiltinsArray::ToReversed, FunctionLength::ZERO); in InitializeArray()
2133 SetFunction(env, arrFuncPrototype, "with", BuiltinsArray::With, FunctionLength::TWO); in InitializeArray()
2134 SetFunction(env, arrFuncPrototype, "toSorted", BuiltinsArray::ToSorted, FunctionLength::ONE); in InitializeArray()
2135 SetFunction(env, arrFuncPrototype, "toSpliced", BuiltinsArray::ToSpliced, FunctionLength::TWO); in InitializeArray()
2147 SetFunction(env, arrayFunction, "from", BuiltinsArray::From, FunctionLength::ONE); in InitializeArray()
2148 SetFunction(env, arrayFunction, "isArray", BuiltinsArray::IsArray, FunctionLength::ONE); in InitializeArray()
2149 SetFunction(env, arrayFunction, "of", BuiltinsArray::Of, FunctionLength::ZERO); in InitializeArray()
2197SetFunction(env, typedArrFuncPrototype, "copyWithin", BuiltinsTypedArray::CopyWithin, FunctionLeng… in InitializeTypedArray()
2198SetFunction(env, typedArrFuncPrototype, "entries", BuiltinsTypedArray::Entries, FunctionLength::ZE… in InitializeTypedArray()
2199SetFunction(env, typedArrFuncPrototype, "every", BuiltinsTypedArray::Every, FunctionLength::ONE); in InitializeTypedArray()
2200 SetFunction(env, typedArrFuncPrototype, "at", BuiltinsTypedArray::At, FunctionLength::ONE); in InitializeTypedArray()
2201 SetFunction(env, typedArrFuncPrototype, "fill", BuiltinsTypedArray::Fill, FunctionLength::ONE); in InitializeTypedArray()
2202SetFunction(env, typedArrFuncPrototype, "filter", BuiltinsTypedArray::Filter, FunctionLength::ONE); in InitializeTypedArray()
2203 SetFunction(env, typedArrFuncPrototype, "find", BuiltinsTypedArray::Find, FunctionLength::ONE); in InitializeTypedArray()
2204SetFunction(env, typedArrFuncPrototype, "findIndex", BuiltinsTypedArray::FindIndex, FunctionLength… in InitializeTypedArray()
2205SetFunction(env, typedArrFuncPrototype, "findLast", BuiltinsTypedArray::FindLast, FunctionLength::… in InitializeTypedArray()
2206SetFunction(env, typedArrFuncPrototype, "findLastIndex", BuiltinsTypedArray::FindLastIndex, Functi… in InitializeTypedArray()
2207SetFunction(env, typedArrFuncPrototype, "forEach", BuiltinsTypedArray::ForEach, FunctionLength::ON… in InitializeTypedArray()
2208SetFunction(env, typedArrFuncPrototype, "indexOf", BuiltinsTypedArray::IndexOf, FunctionLength::ON… in InitializeTypedArray()
2209 SetFunction(env, typedArrFuncPrototype, "join", BuiltinsTypedArray::Join, FunctionLength::ONE); in InitializeTypedArray()
2210 SetFunction(env, typedArrFuncPrototype, "keys", BuiltinsTypedArray::Keys, FunctionLength::ZERO); in InitializeTypedArray()
2211SetFunction(env, typedArrFuncPrototype, "lastIndexOf", BuiltinsTypedArray::LastIndexOf, FunctionLe… in InitializeTypedArray()
2212 SetFunction(env, typedArrFuncPrototype, "map", BuiltinsTypedArray::Map, FunctionLength::ONE); in InitializeTypedArray()
2213SetFunction(env, typedArrFuncPrototype, "reduce", BuiltinsTypedArray::Reduce, FunctionLength::ONE); in InitializeTypedArray()
2214SetFunction(env, typedArrFuncPrototype, "reduceRight", BuiltinsTypedArray::ReduceRight, FunctionLe… in InitializeTypedArray()
2215SetFunction(env, typedArrFuncPrototype, "reverse", BuiltinsTypedArray::Reverse, FunctionLength::ZE… in InitializeTypedArray()
2216 SetFunction(env, typedArrFuncPrototype, "set", BuiltinsTypedArray::Set, FunctionLength::ONE); in InitializeTypedArray()
2217SetFunction(env, typedArrFuncPrototype, "slice", BuiltinsTypedArray::Slice, FunctionLength::TWO); in InitializeTypedArray()
2218 SetFunction(env, typedArrFuncPrototype, "some", BuiltinsTypedArray::Some, FunctionLength::ONE); in InitializeTypedArray()
2219 SetFunction(env, typedArrFuncPrototype, "sort", BuiltinsTypedArray::Sort, FunctionLength::ONE); in InitializeTypedArray()
2220SetFunction(env, typedArrFuncPrototype, "toSorted", BuiltinsTypedArray::ToSorted, FunctionLength::… in InitializeTypedArray()
2221SetFunction(env, typedArrFuncPrototype, "subarray", BuiltinsTypedArray::Subarray, FunctionLength::… in InitializeTypedArray()
2222SetFunction(env, typedArrFuncPrototype, thread_->GlobalConstants()->GetHandledToLocaleStringString… in InitializeTypedArray()
2224SetFunction(env, typedArrFuncPrototype, "values", BuiltinsTypedArray::Values, FunctionLength::ZERO… in InitializeTypedArray()
2225 SetFunction(env, typedArrFuncPrototype, "with", BuiltinsTypedArray::With, FunctionLength::TWO); in InitializeTypedArray()
2226SetFunction(env, typedArrFuncPrototype, "includes", BuiltinsTypedArray::Includes, FunctionLength::… in InitializeTypedArray()
2227SetFunction(env, typedArrFuncPrototype, "toReversed", BuiltinsTypedArray::ToReversed, FunctionLeng… in InitializeTypedArray()
2274 SetFunction(env, typedArrayFunction, "from", BuiltinsTypedArray::From, FunctionLength::ONE); in InitializeTypedArray()
2275 SetFunction(env, typedArrayFunction, "of", BuiltinsTypedArray::Of, FunctionLength::ZERO); in InitializeTypedArray()
2628 SetFunction(env, arrayBufferFuncPrototype, "slice", ArrayBuffer::Slice, FunctionLength::TWO); in InitializeArrayBuffer()
2631 SetFunction(env, arrayBufferFunction, "isView", ArrayBuffer::IsView, FunctionLength::ONE); in InitializeArrayBuffer()
2670 SetFunction(env, reflectObject, "apply", Reflect::ReflectApply, FunctionLength::THREE); in InitializeReflect()
2671 SetFunction(env, reflectObject, "construct", Reflect::ReflectConstruct, FunctionLength::TWO); in InitializeReflect()
2672SetFunction(env, reflectObject, "defineProperty", Reflect::ReflectDefineProperty, FunctionLength::… in InitializeReflect()
2673SetFunction(env, reflectObject, "deleteProperty", Reflect::ReflectDeleteProperty, FunctionLength::… in InitializeReflect()
2674 SetFunction(env, reflectObject, "get", Reflect::ReflectGet, FunctionLength::TWO); in InitializeReflect()
2675SetFunction(env, reflectObject, "getOwnPropertyDescriptor", Reflect::ReflectGetOwnPropertyDescript… in InitializeReflect()
2677SetFunction(env, reflectObject, "getPrototypeOf", Reflect::ReflectGetPrototypeOf, FunctionLength::… in InitializeReflect()
2678 SetFunction(env, reflectObject, "has", Reflect::ReflectHas, FunctionLength::TWO); in InitializeReflect()
2679SetFunction(env, reflectObject, "isExtensible", Reflect::ReflectIsExtensible, FunctionLength::ONE); in InitializeReflect()
2680 SetFunction(env, reflectObject, "ownKeys", Reflect::ReflectOwnKeys, FunctionLength::ONE); in InitializeReflect()
2681SetFunction(env, reflectObject, "preventExtensions", Reflect::ReflectPreventExtensions, FunctionLe… in InitializeReflect()
2682 SetFunction(env, reflectObject, "set", Reflect::ReflectSet, FunctionLength::THREE); in InitializeReflect()
2683SetFunction(env, reflectObject, "setPrototypeOf", Reflect::ReflectSetPrototypeOf, FunctionLength::… in InitializeReflect()
2717SetFunction(env, sharedArrayBufferFuncPrototype, "slice", SharedArrayBuffer::Slice, FunctionLength… in InitializeSharedArrayBuffer()
2720 SetFunction(env, SharedArrayBufferFunction, in InitializeSharedArrayBuffer()
2766 SetFunction(env, promiseFunction, "all", Promise::All, FunctionLength::ONE); in InitializePromise()
2767 SetFunction(env, promiseFunction, "race", Promise::Race, FunctionLength::ONE); in InitializePromise()
2768 SetFunction(env, promiseFunction, "resolve", Promise::Resolve, FunctionLength::ONE); in InitializePromise()
2769 SetFunction(env, promiseFunction, "reject", Promise::Reject, FunctionLength::ONE); in InitializePromise()
2770 SetFunction(env, promiseFunction, "any", Promise::Any, FunctionLength::ONE); in InitializePromise()
2771 SetFunction(env, promiseFunction, "allSettled", Promise::AllSettled, FunctionLength::ONE); in InitializePromise()
2774 SetFunction(env, promiseFuncPrototype, "catch", Promise::Catch, FunctionLength::ONE); in InitializePromise()
2775 SetFunction(env, promiseFuncPrototype, "then", Promise::Then, FunctionLength::TWO); in InitializePromise()
2776 SetFunction(env, promiseFuncPrototype, "finally", Promise::Finally, FunctionLength::ONE); in InitializePromise()
2873SetFunction(env, dataViewFuncPrototype, "getFloat32", DataView::GetFloat32, FunctionLength::ONE); in InitializeDataView()
2874SetFunction(env, dataViewFuncPrototype, "getFloat64", DataView::GetFloat64, FunctionLength::ONE); in InitializeDataView()
2875 SetFunction(env, dataViewFuncPrototype, "getInt8", DataView::GetInt8, FunctionLength::ONE); in InitializeDataView()
2876 SetFunction(env, dataViewFuncPrototype, "getInt16", DataView::GetInt16, FunctionLength::ONE); in InitializeDataView()
2877 SetFunction(env, dataViewFuncPrototype, "getInt32", DataView::GetInt32, FunctionLength::ONE); in InitializeDataView()
2878 SetFunction(env, dataViewFuncPrototype, "getUint8", DataView::GetUint8, FunctionLength::ONE); in InitializeDataView()
2879 SetFunction(env, dataViewFuncPrototype, "getUint16", DataView::GetUint16, FunctionLength::ONE); in InitializeDataView()
2880 SetFunction(env, dataViewFuncPrototype, "getUint32", DataView::GetUint32, FunctionLength::ONE); in InitializeDataView()
2881SetFunction(env, dataViewFuncPrototype, "getBigInt64", DataView::GetBigInt64, FunctionLength::ONE); in InitializeDataView()
2882SetFunction(env, dataViewFuncPrototype, "getBigUint64", DataView::GetBigUint64, FunctionLength::ON… in InitializeDataView()
2883SetFunction(env, dataViewFuncPrototype, "setFloat32", DataView::SetFloat32, FunctionLength::TWO); in InitializeDataView()
2884SetFunction(env, dataViewFuncPrototype, "setFloat64", DataView::SetFloat64, FunctionLength::TWO); in InitializeDataView()
2885 SetFunction(env, dataViewFuncPrototype, "setInt8", DataView::SetInt8, FunctionLength::TWO); in InitializeDataView()
2886 SetFunction(env, dataViewFuncPrototype, "setInt16", DataView::SetInt16, FunctionLength::TWO); in InitializeDataView()
2887 SetFunction(env, dataViewFuncPrototype, "setInt32", DataView::SetInt32, FunctionLength::TWO); in InitializeDataView()
2888 SetFunction(env, dataViewFuncPrototype, "setUint8", DataView::SetUint8, FunctionLength::TWO); in InitializeDataView()
2889 SetFunction(env, dataViewFuncPrototype, "setUint16", DataView::SetUint16, FunctionLength::TWO); in InitializeDataView()
2890 SetFunction(env, dataViewFuncPrototype, "setUint32", DataView::SetUint32, FunctionLength::TWO); in InitializeDataView()
2891SetFunction(env, dataViewFuncPrototype, "setBigInt64", DataView::SetBigInt64, FunctionLength::TWO); in InitializeDataView()
2892SetFunction(env, dataViewFuncPrototype, "setBigUint64", DataView::SetBigUint64, FunctionLength::TW… in InitializeDataView()
2972 void Builtins::SetFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &obj, const cha… in SetFunction() function in panda::ecmascript::Builtins
2976 SetFunction(env, obj, keyString, func, length, builtinId); in SetFunction()
2979 void Builtins::SetFunction(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &obj, in SetFunction() function in panda::ecmascript::Builtins
3226SetFunction(env, generatorFuncPrototype, "next", GeneratorObject::GeneratorPrototypeNext, Function… in InitializeGenerator()
3228SetFunction(env, generatorFuncPrototype, "return", GeneratorObject::GeneratorPrototypeReturn, Func… in InitializeGenerator()
3230SetFunction(env, generatorFuncPrototype, "throw", GeneratorObject::GeneratorPrototypeThrow, Functi… in InitializeGenerator()
3257SetFunction(env, asyncGeneratorFuncPrototype, "next", AsyncGeneratorObject::AsyncGeneratorPrototyp… in InitializeAsyncGenerator()
3260SetFunction(env, asyncGeneratorFuncPrototype, "return", AsyncGeneratorObject::AsyncGeneratorProtot… in InitializeAsyncGenerator()
3263SetFunction(env, asyncGeneratorFuncPrototype, "throw", AsyncGeneratorObject::AsyncGeneratorPrototy… in InitializeAsyncGenerator()
3370SetFunction(env, intlObject, "getCanonicalLocales", Intl::GetCanonicalLocales, FunctionLength::ONE… in InitializeIntl()
3402SetFunction(env, dtfFunction, "supportedLocalesOf", DateTimeFormat::SupportedLocalesOf, FunctionLe… in InitializeDateTimeFormat()
3415SetFunction(env, dtfPrototype, "formatToParts", DateTimeFormat::FormatToParts, FunctionLength::ONE… in InitializeDateTimeFormat()
3418SetFunction(env, dtfPrototype, "resolvedOptions", DateTimeFormat::ResolvedOptions, FunctionLength:… in InitializeDateTimeFormat()
3420 SetFunction(env, dtfPrototype, "formatRange", DateTimeFormat::FormatRange, FunctionLength::TWO); in InitializeDateTimeFormat()
3422SetFunction(env, dtfPrototype, "formatRangeToParts", DateTimeFormat::FormatRangeToParts, FunctionL… in InitializeDateTimeFormat()
3445SetFunction(env, rtfFunction, "supportedLocalesOf", RelativeTimeFormat::SupportedLocalesOf, Functi… in InitializeRelativeTimeFormat()
3453 SetFunction(env, rtfPrototype, "format", RelativeTimeFormat::Format, FunctionLength::TWO); in InitializeRelativeTimeFormat()
3456SetFunction(env, rtfPrototype, "formatToParts", RelativeTimeFormat::FormatToParts, FunctionLength:… in InitializeRelativeTimeFormat()
3459SetFunction(env, rtfPrototype, "resolvedOptions", RelativeTimeFormat::ResolvedOptions, FunctionLen… in InitializeRelativeTimeFormat()
3481SetFunction(env, nfFunction, "supportedLocalesOf", NumberFormat::SupportedLocalesOf, FunctionLengt… in InitializeNumberFormat()
3494SetFunction(env, nfPrototype, "formatToParts", NumberFormat::FormatToParts, FunctionLength::ONE); in InitializeNumberFormat()
3497SetFunction(env, nfPrototype, "resolvedOptions", NumberFormat::ResolvedOptions, FunctionLength::ZE… in InitializeNumberFormat()
3518 SetFunction(env, localePrototype, "maximize", Locale::Maximize, FunctionLength::ZERO); in InitializeLocale()
3519 SetFunction(env, localePrototype, "minimize", Locale::Minimize, FunctionLength::ZERO); in InitializeLocale()
3520 SetFunction(env, localePrototype, "toString", Locale::ToString, FunctionLength::ZERO); in InitializeLocale()
3580SetFunction(env, collatorFunction, "supportedLocalesOf", Collator::SupportedLocalesOf, FunctionLen… in InitializeCollator()
3593SetFunction(env, collatorPrototype, "resolvedOptions", Collator::ResolvedOptions, FunctionLength::… in InitializeCollator()
3615SetFunction(env, prFunction, "supportedLocalesOf", PluralRules::SupportedLocalesOf, FunctionLength… in InitializePluralRules()
3623 SetFunction(env, prPrototype, "select", PluralRules::Select, FunctionLength::ONE); in InitializePluralRules()
3626SetFunction(env, prPrototype, "resolvedOptions", PluralRules::ResolvedOptions, FunctionLength::ZER… in InitializePluralRules()
3648SetFunction(env, dnFunction, "supportedLocalesOf", DisplayNames::SupportedLocalesOf, FunctionLengt… in InitializeDisplayNames()
3656 SetFunction(env, dnPrototype, "of", DisplayNames::Of, FunctionLength::ONE); in InitializeDisplayNames()
3659SetFunction(env, dnPrototype, "resolvedOptions", DisplayNames::ResolvedOptions, FunctionLength::ZE… in InitializeDisplayNames()
3681SetFunction(env, lfFunction, "supportedLocalesOf", ListFormat::SupportedLocalesOf, FunctionLength:… in InitializeListFormat()
3689 SetFunction(env, lfPrototype, "format", ListFormat::Format, FunctionLength::ONE); in InitializeListFormat()
3692 SetFunction(env, lfPrototype, "formatToParts", ListFormat::FormatToParts, FunctionLength::ONE); in InitializeListFormat()
3695SetFunction(env, lfPrototype, "resolvedOptions", ListFormat::ResolvedOptions, FunctionLength::ZERO… in InitializeListFormat()
3701 SetFunction(env, tools, "print", builtins::BuiltinsArkTools::ObjectDump, FunctionLength::ZERO); in InitializeArkTools()
3702SetFunction(env, tools, "excutePendingJob", builtins::BuiltinsArkTools::ExcutePendingJob, Function… in InitializeArkTools()
3703SetFunction(env, tools, "getLexicalEnv", builtins::BuiltinsArkTools::GetLexicalEnv, FunctionLength… in InitializeArkTools()
3704SetFunction(env, tools, "compareHClass", builtins::BuiltinsArkTools::CompareHClass, FunctionLength… in InitializeArkTools()
3705SetFunction(env, tools, "dumpHClass", builtins::BuiltinsArkTools::DumpHClass, FunctionLength::ONE); in InitializeArkTools()
3706SetFunction(env, tools, "isTSHClass", builtins::BuiltinsArkTools::IsTSHClass, FunctionLength::ONE); in InitializeArkTools()
3707SetFunction(env, tools, "getHClass", builtins::BuiltinsArkTools::GetHClass, FunctionLength::ONE); in InitializeArkTools()
3708SetFunction(env, tools, "hasTSSubtyping", builtins::BuiltinsArkTools::HasTSSubtyping, FunctionLeng… in InitializeArkTools()
3709 SetFunction(env, tools, "isNotHoleProperty", builtins::BuiltinsArkTools::IsNotHoleProperty, in InitializeArkTools()
3711SetFunction(env, tools, "forceFullGC", builtins::BuiltinsArkTools::ForceFullGC, FunctionLength::ZE… in InitializeArkTools()
3712SetFunction(env, tools, "removeAOTFlag", builtins::BuiltinsArkTools::RemoveAOTFlag, FunctionLength… in InitializeArkTools()
3714SetFunction(env, tools, "startCpuProf", builtins::BuiltinsArkTools::StartCpuProfiler, FunctionLeng… in InitializeArkTools()
3715SetFunction(env, tools, "stopCpuProf", builtins::BuiltinsArkTools::StopCpuProfiler, FunctionLength… in InitializeArkTools()
3717SetFunction(env, tools, "isPrototype", builtins::BuiltinsArkTools::IsPrototype, FunctionLength::ON… in InitializeArkTools()
3718SetFunction(env, tools, "timeInUs", builtins::BuiltinsArkTools::TimeInUs, FunctionLength::ZERO); in InitializeArkTools()
3808 SetFunction(env, cjsModuleFunction, "_load", BuiltinsCjsModule::Load, FunctionLength::ONE); in InitializeCjsModule()
3809SetFunction(env, cjsModuleFunction, "_resolveFilename", BuiltinsCjsModule::ResolveFilename, Functi… in InitializeCjsModule()
3812SetFunction(env, cjsModulePrototype, "require", BuiltinsCjsModule::Require, FunctionLength::ONE); in InitializeCjsModule()
3813 SetFunction(env, cjsModulePrototype, "getExportsForCircularRequire", in InitializeCjsModule()
3815SetFunction(env, cjsModulePrototype, "updateChildren", BuiltinsCjsModule::UpdateChildren, Function… in InitializeCjsModule()
3884 SetFunction(env, cjsRequirePrototype, "Main", BuiltinsCjsRequire::Main, FunctionLength::ONE); in InitializeCjsRequire()