Home
last modified time | relevance | path

Searched refs:minCount (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp276 int32_t CompareBytesBlock(T *lstrPt, T *rstrPt, int32_t minCount) in CompareBytesBlock() argument
281 int32_t totalBytes = minCount * sizeof(T); in CompareBytesBlock()
295 for (int32_t i = curElementPos; i < minCount; ++i) { in CompareBytesBlock()
317 int32_t minCount = (lengRet < 0) ? lstrLeng : rstrLeng; in Compare() local
321 int32_t charDiff = CompareBytesBlock(lstr->GetDataMUtf8(), rstr->GetDataMUtf8(), minCount); in Compare()
328 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
335 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
340 int32_t charDiff = CompareBytesBlock(lstr->GetDataUtf16(), rstr->GetDataUtf16(), minCount); in Compare()
/arkcompiler/ets_runtime/ecmascript/
Decma_string.cpp237 int32_t minCount = (countDiff < 0) ? lhsCount : rhsCount; in Compare() local
241 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
248 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
255 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()
262 int32_t charDiff = CompareStringSpan(lhsSp, rhsSp, minCount); in Compare()