Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
H A Djs_collator.cpp689 const auto length2 = static_cast<int>(EcmaStringAccessor(string2).GetLength()); in TryFastCompareStrings() local
690 int commonLength = std::min(length1, length2); in TryFastCompareStrings()
699 !CharIsAsciiOrOutOfBounds(string2, length2, fastCompareData.processedUntil + 1)) { in TryFastCompareStrings()
706 UCollationResult lengthResult = ToUCollationResult(length1 - length2); in TryFastCompareStrings()
711 !CharCanFastCompareOrOutOfBounds(string2, length2, commonLength)) { in TryFastCompareStrings()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
H A Dstring.cpp989 uint32_t length2 = string2->GetLength(); in Concat() local
990 uint32_t newLength = length1 + length2; in Concat()
1009 memcpy_s(sp.Data(), sp.SizeBytes(), string2->GetDataMUtf8(), length2); in Concat()
1021 for (uint32_t i = 0; i < length2; ++i) { in Concat()
1025 memcpy_s(sp.Data(), sp.SizeBytes(), string2->GetDataUtf16(), length2 << 1U); in Concat()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp2509 uint32_t length2 = val5Arr->Length(vm); in JsonObjGetArray() local
2510 GTEST_LOG_(INFO) << "arr5 length2 : " << length2; in JsonObjGetArray()
2511 for (uint32_t i = 0; i < length2; ++i) { in JsonObjGetArray()

Completed in 11 milliseconds