Lines Matching refs:idx
97 inline void SetCallArg(uint32_t idx, const JSTaggedValue tagged)
99 ASSERT_PRINT(idx < GetArgsNumber(), "Can not set values out of index range");
100 SetArg(idx + FIRST_ARGS_INDEX, tagged);
188 inline JSHandle<JSTaggedValue> GetCallArg(uint32_t idx) const
190 return GetArg(idx + FIRST_ARGS_INDEX);
211 inline JSTaggedValue GetCallArgValue(uint32_t idx) const
213 JSHandle<JSTaggedValue> arg = GetCallArg(idx);
234 inline uintptr_t GetArgAddress(uint32_t idx) const
236 if (idx < GetArgsNumber() + NUM_MANDATORY_JSFUNC_ARGS) {
237 return reinterpret_cast<uintptr_t>(&stackArgs_[idx]);
242 inline void SetArg(uint32_t idx, const JSTaggedValue tagged)
244 uintptr_t addr = GetArgAddress(idx);
250 inline JSHandle<JSTaggedValue> GetArg(uint32_t idx) const
252 return JSHandle<JSTaggedValue>(GetArgAddress(idx));