Home
last modified time | relevance | path

Searched refs:firstLength (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_array.cpp65 uint32_t firstLength = first->GetLength();
67 uint32_t length = firstLength + secondLength;
71 for (; index < firstLength; ++index) {
75 argument->Set(thread, index, second->Get(index - firstLength));
83 uint32_t firstLength = first->GetLength(); in AppendSkipHole() local
85 ASSERT(firstLength + secondLength >= copyLength); in AppendSkipHole()
90 for (; index < firstLength; ++index) { in AppendSkipHole()
H A Decma_string-inl.h401 uint32_t firstLength = first->GetLength(); in WriteToFlat() local
403 if (secondLength >= firstLength) { in WriteToFlat()
407 CopyChars(buf + firstLength, buf, firstLength); in WriteToFlat()
410 buf += firstLength; in WriteToFlat()
411 maxLength -= firstLength; in WriteToFlat()
413 length -= firstLength; in WriteToFlat()
418 buf[firstLength] = static_cast<Char>(second->At<false>(0)); in WriteToFlat()
420 CopyChars(buf + firstLength, second->GetDataUtf8(), secondLength); in WriteToFlat()
422 WriteToFlat(second, buf + firstLength, maxLengt in WriteToFlat()
[all...]
H A Decma_string.cpp511 uint32_t firstLength = firstString->GetLength(); in CalculateAllConcatHashCode() local
513 if ((firstLength + secondLength < MAX_ELEMENT_INDEX_LEN) && in CalculateAllConcatHashCode()
516 firstString->HashIntegerString(firstLength, &hashCode, 0); in CalculateAllConcatHashCode()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder.cpp9219 GateRef firstLength = GetLengthOfTaggedArray(first); in AppendSkipHole() local
9231 BRANCH(Int32UnsignedLessThan(*index, firstLength), &storeValue, &afterLoop); in AppendSkipHole()

Completed in 21 milliseconds