Lines Matching defs:index
56 inline static JSTaggedType GetTArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index)
58 ASSERT(index < argc);
59 return *(reinterpret_cast<JSTaggedType *>(argv) + (index));
62 inline static JSTaggedValue GetArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index)
64 ASSERT(index < argc);
65 return JSTaggedValue(*(reinterpret_cast<JSTaggedType *>(argv) + (index)));
69 inline static JSHandle<T> GetHArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index)
71 ASSERT(index < argc);
72 return JSHandle<T>(&(reinterpret_cast<JSTaggedType *>(argv)[index]));
76 inline static T *GetPtrArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index)
78 ASSERT(index < argc);
79 return reinterpret_cast<T*>(*(reinterpret_cast<JSTaggedType *>(argv) + (index)));
214 JSTaggedValue index, const JSHandle<JSTaggedValue> &src);
282 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index);
283 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index,
288 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value);
289 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value,
294 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index);
295 static inline JSTaggedValue RuntimeLdLocalModuleVarWithModule(JSThread *thread, int32_t index,
297 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index,
299 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index);
300 static inline JSTaggedValue RuntimeLdExternalModuleVarWithModule(JSThread *thread, int32_t index,
302 static inline JSTaggedValue RuntimeLdSendableExternalModuleVar(JSThread *thread, int32_t index,
304 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index,
306 static inline JSTaggedValue RuntimeLdLazySendableExternalModuleVar(JSThread *thread, int32_t index,
308 static inline JSTaggedValue RuntimeLdLazyExternalModuleVar(JSThread *thread, int32_t index,
318 const int32_t index);
414 static inline JSTaggedValue RuntimeThrowIfSuperNotCorrectCall(JSThread *thread, uint16_t index,
491 static inline JSTaggedValue RuntimeLdPatchVar(JSThread *thread, uint32_t index);
492 static inline JSTaggedValue RuntimeStPatchVar(JSThread *thread, uint32_t index,
525 static inline uint16_t GetCodeUnit(Span<T> &sp, int32_t index, int32_t length);