Home
last modified time | relevance | path

Searched refs:lhsSp (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Decma_string.cpp222 int32_t CompareStringSpan(Span<T1> &lhsSp, Span<T2> &rhsSp, int32_t count) in CompareStringSpan() argument
225 auto left = static_cast<int32_t>(lhsSp[i]); in CompareStringSpan()
248 Span<const uint8_t> lhsSp(lhs.GetDataUtf8(), lhsCount); in Compare()
250 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
255 Span<const uint8_t> lhsSp(lhs.GetDataUtf8(), lhsCount); in Compare()
257 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
262 Span<const uint16_t> lhsSp(lhs.GetDataUtf16(), rhsCount); in Compare()
264 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
269 Span<const uint16_t> lhsSp(lhs.GetDataUtf16(), lhsCount); in Compare()
271 int32_t charDiff = CompareStringSpan(lhsSp, rhsS in Compare()
280 IsSubStringAtSpan(Span<T1> &lhsSp, Span<T2> &rhsSp, uint32_t offset) IsSubStringAtSpan() argument
332 IndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos, int32_t max) IndexOf() argument
360 LastIndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos) LastIndexOf() argument
[all...]
H A Decma_string.h674 static int32_t IndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos, int32_t max);
677 static int32_t LastIndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos);
/arkcompiler/runtime_core/static_core/runtime/coretypes/
H A Dstring.cpp278 int32_t CompareStringSpan(Span<T1> &lhsSp, Span<T2> &rhsSp, int32_t count) in CompareStringSpan() argument
281 int32_t charDiff = static_cast<int32_t>(lhsSp[i]) - static_cast<int32_t>(rhsSp[i]); in CompareStringSpan()
340 Span<uint8_t> lhsSp(lstr->GetDataMUtf8(), lstrLeng); in Compare()
342 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
347 Span<uint16_t> lhsSp(lstr->GetDataUtf16(), lstrLeng); in Compare()
349 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
379 static int32_t IndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos, int32_t max) in IndexOf() argument
386 auto *shiftedLhs = lhsSp.begin() + tailedEnd; in IndexOf()
393 if (SubstringEquals(lhsSp, rhsSp, pos)) { in IndexOf()
415 shiftedLhs = lhsSp in IndexOf()
433 LastIndexOf(Span<const T1> &lhsSp, Span<const T2> &rhsSp, int32_t pos) LastIndexOf() argument
[all...]

Completed in 6 milliseconds