Lines Matching defs:startIndexHandle
23 int64_t ArrayHelper::GetStartIndex(JSThread *thread, const JSHandle<JSTaggedValue> &startIndexHandle,
40 if (LIKELY(startIndexHandle->IsInt())) {
41 // Fast path: startIndexHandle is tagged int32.
42 return doClamp(startIndexHandle->GetInt());
44 // Slow path: startIndexHandle is targged double, or type conversion is involved.
45 JSTaggedNumber fromIndexTemp = JSTaggedValue::ToNumber(thread, startIndexHandle);
63 int64_t ArrayHelper::GetLastStartIndex(JSThread *thread, const JSHandle<JSTaggedValue> &startIndexHandle,
78 if (LIKELY(startIndexHandle->IsInt())) {
79 // Fast path: startIndexHandle is tagged int32.
80 return doClamp(startIndexHandle->GetInt());
82 // Slow path: startIndexHandle is targged double, or type conversion is involved.
83 JSTaggedNumber fromIndexTemp = JSTaggedValue::ToNumber(thread, startIndexHandle);