• Home
  • Raw
  • Download

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,
446static JSTaggedType TryToElementsIndexOrFindInStringTable(uintptr_t argGlue, JSTaggedType ecmaStri…
447 static JSTaggedType TryGetInternString(uintptr_t argGlue, JSTaggedType ecmaString);
448static JSTaggedType CreateArrayFromList([[maybe_unused]] uintptr_t argGlue, int32_t argc, JSTagged…
449 static JSTaggedType GetActualArgvNoGC(uintptr_t argGlue);
450static 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);
465static 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);
469static 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);
480static int32_t StringGetStart(bool isUtf8, EcmaString *srcString, int32_t length, int32_t startInd…
481static int32_t StringGetEnd(bool isUtf8, EcmaString *srcString, int32_t start, int32_t length, int…
483static 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);
488static inline JSTaggedValue RuntimeExp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponen…
489 static inline JSTaggedValue RuntimeIsIn(JSThread *thread, const JSHandle<JSTaggedValue> &prop,
491static inline JSTaggedValue RuntimeInstanceof(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
493static inline JSTaggedValue RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> t…
496static inline JSTaggedValue RuntimeCreateGeneratorObj(JSThread *thread, const JSHandle<JSTaggedVal…
498 static inline JSTaggedValue RuntimeCreateAsyncGeneratorObj(JSThread *thread,
501static inline JSTaggedValue RuntimeAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedValue>…
503static inline JSTaggedValue RuntimeAsyncGeneratorReject(JSThread *thread, JSHandle<JSTaggedValue> …
505static inline JSTaggedValue RuntimeGetTemplateObject(JSThread *thread, const JSHandle<JSTaggedValu…
506static inline JSTaggedValue RuntimeGetNextPropName(JSThread *thread, const JSHandle<JSTaggedValue>…
507static inline JSTaggedValue RuntimeIterNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
508static inline JSTaggedValue RuntimeCloseIterator(JSThread *thread, const JSHandle<JSTaggedValue> &…
509static inline JSTaggedValue RuntimeSuperCallSpread(JSThread *thread, const JSHandle<JSTaggedValue>…
512static inline JSTaggedValue RuntimeDelObjProp(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
514static inline JSTaggedValue RuntimeNewObjApply(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
516static inline JSTaggedValue RuntimeCreateIterResultObj(JSThread *thread, const JSHandle<JSTaggedVa…
518 static inline JSTaggedValue RuntimeAsyncFunctionAwaitUncaught(JSThread *thread,
521 static inline JSTaggedValue RuntimeAsyncFunctionResolveOrReject(JSThread *thread,
525static inline JSTaggedValue RuntimeCopyDataProperties(JSThread *thread, const JSHandle<JSTaggedVal…
527static inline JSTaggedValue RuntimeStArraySpread(JSThread *thread, const JSHandle<JSTaggedValue> &…
529static inline JSTaggedValue RuntimeSetObjectWithProto(JSThread *thread, const JSHandle<JSTaggedVal…
531static inline JSTaggedValue RuntimeGetIteratorNext(JSThread *thread, const JSHandle<JSTaggedValue>…
533static inline JSTaggedValue RuntimeLdObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
536static inline JSTaggedValue RuntimeStObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
539static inline JSTaggedValue RuntimeStOwnByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
542static inline JSTaggedValue RuntimeLdSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
544static inline JSTaggedValue RuntimeStSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
547static inline JSTaggedValue RuntimeLdObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
549static inline JSTaggedValue RuntimeStObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
551static inline JSTaggedValue RuntimeStOwnByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
554static 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);
558static inline JSTaggedValue RuntimeResolveClass(JSThread *thread, const JSHandle<JSFunction> &ctor,
562static inline JSTaggedValue RuntimeCloneClassFromTemplate(JSThread *thread, const JSHandle<JSFunct…
565 static inline JSTaggedValue RuntimeCreateClassWithBuffer(JSThread *thread,
572 static inline JSTaggedValue RuntimeCreateSharedClass(JSThread *thread,
577static inline JSTaggedValue RuntimeLdSendableClass(const JSHandle<JSTaggedValue> &env, uint16_t le…
578 static inline JSTaggedValue RuntimeSetClassInheritanceRelationship(JSThread *thread,
582static inline JSTaggedValue RuntimeSetClassConstructorLength(JSThread *thread, JSTaggedValue ctor,
584static inline JSTaggedValue RuntimeNotifyInlineCache(JSThread *thread, const JSHandle<Method> &met…
586static inline JSTaggedValue RuntimeStOwnByValueWithNameSet(JSThread *thread, const JSHandle<JSTagg…
589static inline JSTaggedValue RuntimeStOwnByName(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
592static 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,
597static 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,
615static inline JSTaggedValue RuntimeGetPropIterator(JSThread *thread, const JSHandle<JSTaggedValue>…
616 static inline JSTaggedValue RuntimeAsyncFunctionEnter(JSThread *thread);
617static inline JSTaggedValue RuntimeGetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
618static inline JSTaggedValue RuntimeGetAsyncIterator(JSThread *thread, const JSHandle<JSTaggedValue…
619static 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);
625static inline void RuntimeThrowUndefinedIfHole(JSThread *thread, const JSHandle<EcmaString> &obj);
626 static inline void RuntimeThrowIfNotObject(JSThread *thread);
627static inline void RuntimeThrowConstAssignment(JSThread *thread, const JSHandle<EcmaString> &value…
628 static inline JSTaggedValue RuntimeLdGlobalRecord(JSThread *thread, JSTaggedValue key);
629static inline JSTaggedValue RuntimeTryLdGlobalByName(JSThread *thread, const JSHandle<JSTaggedValu…
631static inline JSTaggedValue RuntimeTryUpdateGlobalRecord(JSThread *thread, JSTaggedValue prop, JST…
632static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, const JSHandle<JSTaggedVa…
634static inline JSTaggedValue RuntimeLdGlobalVarFromProto(JSThread *thread, const JSHandle<JSTaggedV…
636static inline JSTaggedValue RuntimeStGlobalVar(JSThread *thread, const JSHandle<JSTaggedValue> &pr…
638static inline JSTaggedValue RuntimeToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &value…
639static inline JSTaggedValue RuntimeDynamicImport(JSThread *thread, const JSHandle<JSTaggedValue> &…
641static inline JSTaggedValue RuntimeToNumeric(JSThread *thread, const JSHandle<JSTaggedValue> &valu…
642 static inline JSTaggedValue RuntimeEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
644static 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,
652static inline JSTaggedValue RuntimeGreater(JSThread *thread, const JSHandle<JSTaggedValue> &left,
654static 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,
682static 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,
693static inline JSTaggedValue RuntimeGetUnmapedArgs(JSThread *thread, JSTaggedType *sp, uint32_t act…
695static inline JSTaggedValue RuntimeCopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restN…
697static inline JSTaggedValue RuntimeCreateArrayWithBuffer(JSThread *thread, ObjectFactory *factory,
699static inline JSTaggedValue RuntimeCreateObjectWithBuffer(JSThread *thread, ObjectFactory *factory,
701 static inline JSTaggedValue RuntimeNewLexicalEnv(JSThread *thread, uint16_t numVars);
702static inline JSTaggedValue RuntimeNewObjRange(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
705static inline JSTaggedValue RuntimeDefinefunc(JSThread *thread, const JSHandle<JSTaggedValue> &con…
709 static inline void DefineFuncTryUseAOTHClass(JSThread *thread, const JSHandle<JSFunction> &func,
711static inline JSTaggedValue RuntimeCreateRegExpWithLiteral(JSThread *thread, const JSHandle<JSTagg…
713 static inline JSTaggedValue RuntimeThrowIfSuperNotCorrectCall(JSThread *thread, uint16_t index,
715static inline JSTaggedValue RuntimeCreateObjectHavingMethod(JSThread *thread, ObjectFactory *facto…
718static inline JSTaggedValue RuntimeCreateObjectWithExcludedKeys(JSThread *thread, uint16_t numKeys,
721static inline JSTaggedValue RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHa…
724static inline JSTaggedValue RuntimeCallSpread(JSThread *thread, const JSHandle<JSTaggedValue> &fun…
727static inline JSTaggedValue RuntimeDefineGetterSetterByValue(JSThread *thread, const JSHandle<JSOb…
733static inline JSTaggedValue RuntimeSuperCall(JSThread *thread, const JSHandle<JSTaggedValue> &func,
736static inline JSTaggedValue RuntimeOptSuperCall(JSThread *thread, uintptr_t argv, uint32_t argc);
737 static inline JSTaggedValue RuntimeThrowTypeError(JSThread *thread, const char *message);
738static inline JSTaggedValue RuntimeGetCallSpreadArgs(JSThread *thread, const JSHandle<JSTaggedValu…
739static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, JSTaggedValue prop, const…
740 static inline JSTaggedValue RuntimeThrowSyntaxError(JSThread *thread, const char *message);
741static inline JSTaggedValue RuntimeLdBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &numbe…
742static 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,
746static inline JSTaggedValue RuntimeOptNewLexicalEnvWithName(JSThread *thread, uint16_t numVars, ui…
749static inline JSTaggedValue RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t…
750static inline JSTaggedValue RuntimeOptSuspendGenerator(JSThread *thread, const JSHandle<JSTaggedVa…
752static inline JSTaggedValue RuntimeOptAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedVal…
754 static inline JSTaggedValue CommonCreateObjectWithExcludedKeys(JSThread *thread,
758static inline JSTaggedValue RuntimeOptCreateObjectWithExcludedKeys(JSThread *thread, uintptr_t arg…
759static 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,
766static inline JSTaggedValue RuntimeOptConstructBoundFunction(JSThread *thread, JSHandle<JSBoundFun…
770static inline JSTaggedValue RuntimeOptConstructGeneric(JSThread *thread, JSHandle<JSFunction> ctor,
773static inline JSTaggedValue GetResultValue(JSThread *thread, bool isAotMethod, JSHandle<JSFunction…
775static 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,
787static inline JSTaggedValue RuntimeNotifyConcurrentResult(JSThread *thread, JSTaggedValue result,
789 static inline JSTaggedValue RuntimeDefineField(JSThread *thread, JSTaggedValue obj,
791static inline JSTaggedValue RuntimeCreatePrivateProperty(JSThread *thread, JSTaggedValue constpool,
793static 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,
801static inline bool IsNeedNotifyHclassChangedForAotTransition(JSThread *thread, const JSHandle<JSHC…
803static 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,
809static inline JSTaggedValue TryCopyCOWArray(JSThread *thread, JSHandle<JSArray> holderHandler, boo…
810static 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);