Home
last modified time | relevance | path

Searched refs:thisLen (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.cpp236 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CharAt() local
252 if (pos < 0 || pos >= thisLen) { in CharAt()
275 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CharCodeAt() local
291 if (pos < 0 || pos >= thisLen) { in CharCodeAt()
315 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CodePointAt() local
316 if (pos < 0 || pos >= thisLen) { in CodePointAt()
320 if (first < base::utf_helper::DECODE_LEAD_LOW || first > base::utf_helper::DECODE_LEAD_HIGH || pos + 1 == thisLen) { in CodePointAt()
377 uint32_t thisLen = EcmaStringAccessor(thisHandle).GetLength(); in EndsWith() local
382 pos = static_cast<int32_t>(thisLen); in EndsWith()
387 pos = static_cast<int32_t>(thisLen); in EndsWith()
423 uint32_t thisLen = EcmaStringAccessor(thisHandle).GetLength(); Includes() local
453 uint32_t thisLen = EcmaStringAccessor(thisHandle).GetLength(); IndexOf() local
491 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisHandle).GetLength()); LastIndexOf() local
975 uint32_t thisLen = EcmaStringAccessor(thisHandle).GetLength(); Repeat() local
1127 auto thisLen = EcmaStringAccessor(thisString).GetLength(); Replace() local
1261 auto thisLen = EcmaStringAccessor(thisString).GetLength(); ReplaceAll() local
1546 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisHandle).GetLength()); Slice() local
1818 uint32_t thisLen = EcmaStringAccessor(thisHandle).GetLength(); StartsWith() local
1857 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisHandle).GetLength()); Substring() local
2202 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisHandle).GetLength()); At() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp130 GateRef thisLen = GetLengthFromString(thisValue); in CharAt() local
150 BRANCH(Int32GreaterThanOrEqual(*pos, thisLen), &posGreaterLen, &posNotGreaterLen); in CharAt()
307 GateRef thisLen = GetLengthFromString(thisValue); in CheckParamsAndGetPosition() local
331 BRANCH(Int32UnsignedLessThan(pos->ReadVariable(), thisLen), posIsValid, exit); in CheckParamsAndGetPosition()
373 GateRef thisLen = GetLengthFromString(thisValue); in IndexOf() local
400 BRANCH(Int32LessThanOrEqual(*pos, thisLen), &nextCount, &posNotLessThanLen); in IndexOf()
403 pos = thisLen; in IndexOf()
422 BRANCH(Int32LessThanOrEqual(resPos, thisLen), &resPosLessZero, exit); in IndexOf()
477 GateRef thisLen = GetLengthFromString(thisValue); in Substring() local
496 end = thisLen; in Substring()
609 GateRef thisLen = GetLengthFromString(thisValue); SubStr() local
897 GateRef thisLen = thisStringInfoGate.GetLength(); Replace() local
1005 GateRef thisLen = GetLengthFromString(thisValue); Slice() local
1376 GateRef thisLen = stringInfoGate.GetLength(); FastSubString() local
2803 GateRef thisLen = GetLengthFromString(thisValue); StartsWith() local
2922 GateRef thisLen = GetLengthFromString(thisValue); EndsWith() local
3133 GateRef thisLen = GetLengthFromString(thisValue); PadStart() local
3258 GateRef thisLen = GetLengthFromString(thisValue); PadEnd() local
[all...]
H A Dbuiltins_typedarray_stub_builder.cpp799 GateRef thisLen = GetArrayLength(thisValue); in Includes() local
800 BRANCH(Int32Equal(thisLen, Int32(0)), &notFound, &thisLenNotZero); in Includes()
814 BRANCH(Int32GreaterThanOrEqual(*fromIndex, thisLen), &notFound, &nextProcess); in Includes()
825 BRANCH(Int32LessThan(Int32Add(*fromIndex, thisLen), Int32(0)), &setBackZero, &calculateFrom); in Includes()
836 fromIndex = Int32Add(*fromIndex, thisLen); in Includes()
848 BRANCH(Int32LessThan(*fromIndex, thisLen), &next, &loopExit); in Includes()
903 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); in CopyWithin() local
920 endPos = thisLen; in CopyWithin()
941 copyTo = CalculatePositionWithLength(argTarget, thisLen); in CopyWithin()
942 copyFrom = CalculatePositionWithLength(*startPos, thisLen); in CopyWithin()
1033 GateRef thisLen = GetArrayLength(thisValue); ReduceRight() local
1141 GateRef thisLen = GetArrayLength(thisValue); Reduce() local
1446 GateRef thisLen = GetArrayLength(thisValue); Filter() local
1576 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); Slice() local
1733 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); With() local
2492 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); ToSorted() local
2650 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); Map() local
[all...]
H A Dbuiltins_array_stub_builder.cpp69 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); in With() local
106 actualIndex = Int64Add(thisLen, *relativeIndex); in With()
111 BRANCH(BitOr(Int64GreaterThanOrEqual(*actualIndex, thisLen), Int64LessThan(*actualIndex, Int64(0))), in With()
116 GrowElementsCapacity(glue, newArray, TruncInt64ToInt32(thisLen)); in With()
127 BRANCH(Int64LessThan(*k, thisLen), &loopNext, &loopExit); in With()
160 SetArrayLength(glue, newArray, thisLen); in With()
198 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); in Unshift() local
200 GateRef newLen = Int64Add(thisLen, argLen); in Unshift()
238 ArrayCopy<MustOverlap>(glue, arrayStart, moveTo, TruncInt64ToInt32(thisLen), in Unshift()
244 ArrayCopy<MustOverlap>(glue, arrayStart, moveTo, TruncInt64ToInt32(thisLen)); in Unshift()
303 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); Shift() local
427 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); Concat() local
1041 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); Pop() local
2574 GateRef thisLen = GetArrayLength(thisValue); Includes() local
3291 GateRef thisLen = GetArrayLength(thisValue); ToSpliced() local
3522 GateRef thisLen = ZExtInt32ToInt64(GetArrayLength(thisValue)); CopyWithin() local
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_stable_array.cpp1167 int64_t thisLen = base::ArrayHelper::GetArrayLength(thread, thisObjVal);
1170 while (k < thisLen) {
1171 if (ElementAccessor::GetElementsLength(thisObjHandle) != thisLen) {
1262 uint32_t thisLen = receiver->GetArrayLength();
1263 if (thisLen == 0) {
1273 k = static_cast<int64_t>(thisLen) + relativeIndex;
1275 if (k < 0 || k >= thisLen) {
1287 uint32_t thisLen = receiver->GetArrayLength();
1288 if (thisLen == 0) {
1298 k = static_cast<int64_t>(thisLen)
[all...]
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfast_json_stringifier.cpp183 uint32_t thisLen = stack_.size(); in PushValue() local
185 for (uint32_t i = 0; i < thisLen; i++) { in PushValue()
H A Djson_stringifier.cpp377 uint32_t thisLen = stack_.size(); in PushValue() local
379 for (uint32_t i = 0; i < thisLen; i++) { in PushValue()

Completed in 21 milliseconds