Lines Matching full:static
398 static void Initialize(JSThread *thread);
401 static JSTaggedType name(uintptr_t argGlue, uint32_t argc, uintptr_t argv);
406 … inline static JSTaggedType GetTArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in TEST_RUNTIME_STUB_GC_LIST()
412 … inline static JSTaggedValue GetArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetArg()
419 … inline static JSHandle<T> GetHArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetHArg()
426 inline static T *GetPtrArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetPtrArg()
432 static void Dump(JSTaggedType value);
433 static void DebugDump(JSTaggedType value);
434 static void DumpWithHint(uintptr_t hintStrAddress, JSTaggedType value);
435 static void DebugDumpWithHint(uintptr_t hintStrAddress, JSTaggedType value);
436 static void DebugPrint(int fmtMessageId, ...);
437 static void DebugPrintCustom(uintptr_t fmt, ...);
438 static void DebugPrintInstruction([[maybe_unused]] uintptr_t argGlue, const uint8_t *pc);
439 static void Comment(uintptr_t argStr);
440 static void FatalPrint(int fmtMessageId, ...);
441 static void FatalPrintCustom(uintptr_t fmt, ...);
442 static void MarkingBarrier([[maybe_unused]] uintptr_t argGlue,
444 static void StoreBarrier([[maybe_unused]] uintptr_t argGlue,
446 …static JSTaggedType TryToElementsIndexOrFindInStringTable(uintptr_t argGlue, JSTaggedType ecmaStri…
447 static JSTaggedType TryGetInternString(uintptr_t argGlue, JSTaggedType ecmaString);
448 …static JSTaggedType CreateArrayFromList([[maybe_unused]] uintptr_t argGlue, int32_t argc, JSTagged…
449 static JSTaggedType GetActualArgvNoGC(uintptr_t argGlue);
450 …static void InsertOldToNewRSet([[maybe_unused]] uintptr_t argGlue, uintptr_t object, size_t offset…
451 static int32_t DoubleToInt(double x, size_t bits);
452 static JSTaggedType DoubleToLength(double x);
453 static double FloatMod(double x, double y);
454 static JSTaggedType FloatSqrt(double x);
455 static JSTaggedType FloatCos(double x);
456 static JSTaggedType FloatSin(double x);
457 static JSTaggedType FloatACos(double x);
458 static JSTaggedType FloatATan(double x);
459 static JSTaggedType FloatFloor(double x);
460 static int32_t FindElementWithCache(uintptr_t argGlue, JSTaggedType hclass,
462 static bool StringsAreEquals(EcmaString *str1, EcmaString *str2);
463 static bool BigIntEquals(JSTaggedType left, JSTaggedType right);
464 static bool BigIntSameValueZero(JSTaggedType key, JSTaggedType other);
465 …static JSTaggedValue JSHClassFindProtoTransitions(JSHClass *cls, JSTaggedValue key, JSTaggedValue …
466 static JSTaggedValue NumberHelperStringToDouble(EcmaString *str);
467 static JSTaggedValue GetStringToListCacheArray(uintptr_t argGlue);
468 static int FastArraySort(JSTaggedType x, JSTaggedType y);
469 …static JSTaggedValue LocaleCompareNoGc(uintptr_t argGlue, JSTaggedType locales, EcmaString *thisHa…
471 static void ArrayTrim(uintptr_t argGlue, TaggedArray *array, int64_t newLength);
472 static double TimeClip(double time);
473 static double SetDateValues(double year, double month, double day);
474 static void StartCallTimer(uintptr_t argGlue, JSTaggedType func, bool isAot);
475 static void EndCallTimer(uintptr_t argGlue, JSTaggedType func);
476 static JSTaggedValue RuntimeArraySort(JSThread *thread, JSHandle<JSTaggedValue> thisHandle);
478 static JSTaggedValue CallBoundFunction(EcmaRuntimeCallInfo *info);
480 …static int32_t StringGetStart(bool isUtf8, EcmaString *srcString, int32_t length, int32_t startInd…
481 …static int32_t StringGetEnd(bool isUtf8, EcmaString *srcString, int32_t start, int32_t length, int…
483 … static void DumpToStreamWithHint(std::ostream &out, std::string_view prompt, JSTaggedValue value);
484 static void PrintHeapReginInfo(uintptr_t argGlue);
486 static inline JSTaggedValue RuntimeInc(JSThread *thread, const JSHandle<JSTaggedValue> &value);
487 static inline JSTaggedValue RuntimeDec(JSThread *thread, const JSHandle<JSTaggedValue> &value);
488 …static inline JSTaggedValue RuntimeExp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponen…
489 static inline JSTaggedValue RuntimeIsIn(JSThread *thread, const JSHandle<JSTaggedValue> &prop,
491 …static inline JSTaggedValue RuntimeInstanceof(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
493 …static inline JSTaggedValue RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> t…
496 …static inline JSTaggedValue RuntimeCreateGeneratorObj(JSThread *thread, const JSHandle<JSTaggedVal…
498 static inline JSTaggedValue RuntimeCreateAsyncGeneratorObj(JSThread *thread,
501 …static inline JSTaggedValue RuntimeAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedValue>…
503 …static inline JSTaggedValue RuntimeAsyncGeneratorReject(JSThread *thread, JSHandle<JSTaggedValue> …
505 …static inline JSTaggedValue RuntimeGetTemplateObject(JSThread *thread, const JSHandle<JSTaggedValu…
506 …static inline JSTaggedValue RuntimeGetNextPropName(JSThread *thread, const JSHandle<JSTaggedValue>…
507 …static inline JSTaggedValue RuntimeIterNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
508 …static inline JSTaggedValue RuntimeCloseIterator(JSThread *thread, const JSHandle<JSTaggedValue> &…
509 …static inline JSTaggedValue RuntimeSuperCallSpread(JSThread *thread, const JSHandle<JSTaggedValue>…
512 …static inline JSTaggedValue RuntimeDelObjProp(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
514 …static inline JSTaggedValue RuntimeNewObjApply(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
516 …static inline JSTaggedValue RuntimeCreateIterResultObj(JSThread *thread, const JSHandle<JSTaggedVa…
518 static inline JSTaggedValue RuntimeAsyncFunctionAwaitUncaught(JSThread *thread,
521 static inline JSTaggedValue RuntimeAsyncFunctionResolveOrReject(JSThread *thread,
525 …static inline JSTaggedValue RuntimeCopyDataProperties(JSThread *thread, const JSHandle<JSTaggedVal…
527 …static inline JSTaggedValue RuntimeStArraySpread(JSThread *thread, const JSHandle<JSTaggedValue> &…
529 …static inline JSTaggedValue RuntimeSetObjectWithProto(JSThread *thread, const JSHandle<JSTaggedVal…
531 …static inline JSTaggedValue RuntimeGetIteratorNext(JSThread *thread, const JSHandle<JSTaggedValue>…
533 …static inline JSTaggedValue RuntimeLdObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
536 …static inline JSTaggedValue RuntimeStObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
539 …static inline JSTaggedValue RuntimeStOwnByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
542 …static inline JSTaggedValue RuntimeLdSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
544 …static inline JSTaggedValue RuntimeStSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
547 …static inline JSTaggedValue RuntimeLdObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
549 …static inline JSTaggedValue RuntimeStObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
551 …static inline JSTaggedValue RuntimeStOwnByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
554 …static inline JSTaggedValue RuntimeStGlobalRecord(JSThread *thread, const JSHandle<JSTaggedValue> …
556 static inline JSTaggedValue RuntimeNeg(JSThread *thread, const JSHandle<JSTaggedValue> &value);
557 static inline JSTaggedValue RuntimeNot(JSThread *thread, const JSHandle<JSTaggedValue> &value);
558 …static inline JSTaggedValue RuntimeResolveClass(JSThread *thread, const JSHandle<JSFunction> &ctor,
562 …static inline JSTaggedValue RuntimeCloneClassFromTemplate(JSThread *thread, const JSHandle<JSFunct…
565 static inline JSTaggedValue RuntimeCreateClassWithBuffer(JSThread *thread,
572 static inline JSTaggedValue RuntimeCreateSharedClass(JSThread *thread,
577 …static inline JSTaggedValue RuntimeLdSendableClass(const JSHandle<JSTaggedValue> &env, uint16_t le…
578 static inline JSTaggedValue RuntimeSetClassInheritanceRelationship(JSThread *thread,
582 … static inline JSTaggedValue RuntimeSetClassConstructorLength(JSThread *thread, JSTaggedValue ctor,
584 …static inline JSTaggedValue RuntimeNotifyInlineCache(JSThread *thread, const JSHandle<Method> &met…
586 …static inline JSTaggedValue RuntimeStOwnByValueWithNameSet(JSThread *thread, const JSHandle<JSTagg…
589 …static inline JSTaggedValue RuntimeStOwnByName(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
592 …static inline JSTaggedValue RuntimeSuspendGenerator(JSThread *thread, const JSHandle<JSTaggedValue…
594 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index);
595 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index,
597 … static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, JSTaggedValue localName);
598 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, JSTaggedValue localName,
600 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value);
601 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value,
603 static inline void RuntimeStModuleVar(JSThread *thread, JSTaggedValue key, JSTaggedValue value);
604 static inline void RuntimeStModuleVar(JSThread *thread, JSTaggedValue key, JSTaggedValue value,
606 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index);
607 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index,
609 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index);
610 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index,
612 static inline JSTaggedValue RuntimeLdModuleVar(JSThread *thread, JSTaggedValue key, bool inner);
613 static inline JSTaggedValue RuntimeLdModuleVar(JSThread *thread, JSTaggedValue key, bool inner,
615 …static inline JSTaggedValue RuntimeGetPropIterator(JSThread *thread, const JSHandle<JSTaggedValue>…
616 static inline JSTaggedValue RuntimeAsyncFunctionEnter(JSThread *thread);
617 …static inline JSTaggedValue RuntimeGetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
618 …static inline JSTaggedValue RuntimeGetAsyncIterator(JSThread *thread, const JSHandle<JSTaggedValue…
619 …static inline void RuntimeSetGeneratorState(JSThread *thread, const JSHandle<JSTaggedValue> &genOb…
621 static inline void RuntimeThrow(JSThread *thread, JSTaggedValue value);
622 static inline void RuntimeThrowThrowNotExists(JSThread *thread);
623 static inline void RuntimeThrowPatternNonCoercible(JSThread *thread);
624 static inline void RuntimeThrowDeleteSuperProperty(JSThread *thread);
625 … static inline void RuntimeThrowUndefinedIfHole(JSThread *thread, const JSHandle<EcmaString> &obj);
626 static inline void RuntimeThrowIfNotObject(JSThread *thread);
627 …static inline void RuntimeThrowConstAssignment(JSThread *thread, const JSHandle<EcmaString> &value…
628 static inline JSTaggedValue RuntimeLdGlobalRecord(JSThread *thread, JSTaggedValue key);
629 …static inline JSTaggedValue RuntimeTryLdGlobalByName(JSThread *thread, const JSHandle<JSTaggedValu…
631 …static inline JSTaggedValue RuntimeTryUpdateGlobalRecord(JSThread *thread, JSTaggedValue prop, JST…
632 …static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, const JSHandle<JSTaggedVa…
634 …static inline JSTaggedValue RuntimeLdGlobalVarFromProto(JSThread *thread, const JSHandle<JSTaggedV…
636 …static inline JSTaggedValue RuntimeStGlobalVar(JSThread *thread, const JSHandle<JSTaggedValue> &pr…
638 …static inline JSTaggedValue RuntimeToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &value…
639 …static inline JSTaggedValue RuntimeDynamicImport(JSThread *thread, const JSHandle<JSTaggedValue> &…
641 …static inline JSTaggedValue RuntimeToNumeric(JSThread *thread, const JSHandle<JSTaggedValue> &valu…
642 static inline JSTaggedValue RuntimeEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
644 …static inline JSTaggedValue RuntimeLdObjByName(JSThread *thread, JSTaggedValue obj, JSTaggedValue …
646 static inline JSTaggedValue RuntimeNotEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
648 static inline JSTaggedValue RuntimeLess(JSThread *thread, const JSHandle<JSTaggedValue> &left,
650 static inline JSTaggedValue RuntimeLessEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
652 … static inline JSTaggedValue RuntimeGreater(JSThread *thread, const JSHandle<JSTaggedValue> &left,
654 …static inline JSTaggedValue RuntimeGreaterEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
656 static inline JSTaggedValue RuntimeAdd2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
658 static inline JSTaggedValue RuntimeShl2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
660 static inline JSTaggedValue RuntimeShr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
662 static inline JSTaggedValue RuntimeSub2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
664 static inline JSTaggedValue RuntimeMul2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
666 static inline JSTaggedValue RuntimeDiv2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
668 static inline JSTaggedValue RuntimeMod2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
670 static inline JSTaggedValue RuntimeAshr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
672 static inline JSTaggedValue RuntimeAnd2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
674 static inline JSTaggedValue RuntimeOr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
676 static inline JSTaggedValue RuntimeXor2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
678 static inline JSTaggedValue RuntimeStOwnByNameWithNameSet(JSThread *thread,
682 …static inline JSTaggedValue RuntimeStObjByName(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
685 static inline JSTaggedValue RuntimeToJSTaggedValueWithInt32(JSThread *thread,
687 static inline JSTaggedValue RuntimeToJSTaggedValueWithUint32(JSThread *thread,
689 static inline JSTaggedValue RuntimeCreateEmptyObject(JSThread *thread, ObjectFactory *factory,
691 static inline JSTaggedValue RuntimeCreateEmptyArray(JSThread *thread, ObjectFactory *factory,
693 …static inline JSTaggedValue RuntimeGetUnmapedArgs(JSThread *thread, JSTaggedType *sp, uint32_t act…
695 …static inline JSTaggedValue RuntimeCopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restN…
697 … static inline JSTaggedValue RuntimeCreateArrayWithBuffer(JSThread *thread, ObjectFactory *factory,
699 …static inline JSTaggedValue RuntimeCreateObjectWithBuffer(JSThread *thread, ObjectFactory *factory,
701 static inline JSTaggedValue RuntimeNewLexicalEnv(JSThread *thread, uint16_t numVars);
702 …static inline JSTaggedValue RuntimeNewObjRange(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
705 …static inline JSTaggedValue RuntimeDefinefunc(JSThread *thread, const JSHandle<JSTaggedValue> &con…
709 static inline void DefineFuncTryUseAOTHClass(JSThread *thread, const JSHandle<JSFunction> &func,
711 …static inline JSTaggedValue RuntimeCreateRegExpWithLiteral(JSThread *thread, const JSHandle<JSTagg…
713 static inline JSTaggedValue RuntimeThrowIfSuperNotCorrectCall(JSThread *thread, uint16_t index,
715 …static inline JSTaggedValue RuntimeCreateObjectHavingMethod(JSThread *thread, ObjectFactory *facto…
718 …static inline JSTaggedValue RuntimeCreateObjectWithExcludedKeys(JSThread *thread, uint16_t numKeys,
721 …static inline JSTaggedValue RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHa…
724 …static inline JSTaggedValue RuntimeCallSpread(JSThread *thread, const JSHandle<JSTaggedValue> &fun…
727 …static inline JSTaggedValue RuntimeDefineGetterSetterByValue(JSThread *thread, const JSHandle<JSOb…
733 …static inline JSTaggedValue RuntimeSuperCall(JSThread *thread, const JSHandle<JSTaggedValue> &func,
736 … static inline JSTaggedValue RuntimeOptSuperCall(JSThread *thread, uintptr_t argv, uint32_t argc);
737 static inline JSTaggedValue RuntimeThrowTypeError(JSThread *thread, const char *message);
738 …static inline JSTaggedValue RuntimeGetCallSpreadArgs(JSThread *thread, const JSHandle<JSTaggedValu…
739 …static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, JSTaggedValue prop, const…
740 static inline JSTaggedValue RuntimeThrowSyntaxError(JSThread *thread, const char *message);
741 …static inline JSTaggedValue RuntimeLdBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &numbe…
742 …static inline JSTaggedValue RuntimeNewLexicalEnvWithName(JSThread *thread, uint16_t numVars, uint1…
743 static inline JSTaggedValue RuntimeOptGetUnmapedArgs(JSThread *thread, uint32_t actualNumArgs);
744 static inline JSTaggedValue RuntimeGetUnmapedJSArgumentObj(JSThread *thread,
746 …static inline JSTaggedValue RuntimeOptNewLexicalEnvWithName(JSThread *thread, uint16_t numVars, ui…
749 …static inline JSTaggedValue RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t…
750 …static inline JSTaggedValue RuntimeOptSuspendGenerator(JSThread *thread, const JSHandle<JSTaggedVa…
752 …static inline JSTaggedValue RuntimeOptAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedVal…
754 static inline JSTaggedValue CommonCreateObjectWithExcludedKeys(JSThread *thread,
758 …static inline JSTaggedValue RuntimeOptCreateObjectWithExcludedKeys(JSThread *thread, uintptr_t arg…
759 …static inline JSTaggedValue RuntimeOptNewObjRange(JSThread *thread, uintptr_t argv, uint32_t argc);
760 static inline JSTaggedValue RuntimeOptConstruct(JSThread *thread, JSHandle<JSTaggedValue> ctor,
763 static inline JSTaggedValue RuntimeOptConstructProxy(JSThread *thread, JSHandle<JSProxy> ctor,
766 …static inline JSTaggedValue RuntimeOptConstructBoundFunction(JSThread *thread, JSHandle<JSBoundFun…
770 …static inline JSTaggedValue RuntimeOptConstructGeneric(JSThread *thread, JSHandle<JSFunction> ctor,
773 …static inline JSTaggedValue GetResultValue(JSThread *thread, bool isAotMethod, JSHandle<JSFunction…
775 …static inline JSTaggedValue RuntimeOptGenerateScopeInfo(JSThread *thread, uint16_t scopeId, JSTagg…
776 static inline JSTaggedType *GetActualArgv(JSThread *thread);
777 static inline JSTaggedType *GetActualArgvFromStub(JSThread *thread);
778 static inline OptimizedJSFunctionFrame *GetOptimizedJSFunctionFrame(JSThread *thread);
779 static inline OptimizedJSFunctionFrame *GetOptimizedJSFunctionFrameNoGC(JSThread *thread);
781 static JSTaggedValue NewObject(EcmaRuntimeCallInfo *info);
782 static void SaveFrameToContext(JSThread *thread, JSHandle<GeneratorContext> context);
784 static inline JSTaggedValue RuntimeLdPatchVar(JSThread *thread, uint32_t index);
785 static inline JSTaggedValue RuntimeStPatchVar(JSThread *thread, uint32_t index,
787 … static inline JSTaggedValue RuntimeNotifyConcurrentResult(JSThread *thread, JSTaggedValue result,
789 static inline JSTaggedValue RuntimeDefineField(JSThread *thread, JSTaggedValue obj,
791 …static inline JSTaggedValue RuntimeCreatePrivateProperty(JSThread *thread, JSTaggedValue constpool,
793 …static inline JSTaggedValue RuntimeDefinePrivateProperty(JSThread *thread, JSTaggedValue lexicalEn…
795 static inline JSTaggedValue RuntimeLdPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv,
797 static inline JSTaggedValue RuntimeStPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv,
799 static inline JSTaggedValue RuntimeTestIn(JSThread *thread, JSTaggedValue lexicalEnv,
801 …static inline bool IsNeedNotifyHclassChangedForAotTransition(JSThread *thread, const JSHandle<JSHC…
803 …static inline JSTaggedValue RuntimeUpdateAOTHClass(JSThread *thread, const JSHandle<JSHClass> &old…
805 static inline JSTaggedValue RuntimeNotifyDebuggerStatement(JSThread *thread);
806 static inline bool CheckElementsNumber(JSHandle<TaggedArray> elements, uint32_t len);
807 static inline JSHandle<JSTaggedValue> GetOrCreateNumberString(JSThread *thread,
809 …static inline JSTaggedValue TryCopyCOWArray(JSThread *thread, JSHandle<JSArray> holderHandler, boo…
810 …static inline JSTaggedValue ArrayNumberSort(JSThread *thread, JSHandle<JSObject> thisObj, uint32_t…
811 static inline bool ShouldUseAOTHClass(const JSHandle<JSTaggedValue> &ihc,
814 static inline JSTaggedType RuntimeTryGetInternString(uintptr_t argGlue, EcmaString *string);