Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h310 uint32_t firstLength = first->GetLength(); in WriteToFlat() local
312 if (secondLength >= firstLength) { in WriteToFlat()
316 CopyChars(buf + firstLength, buf, firstLength); in WriteToFlat()
319 buf += firstLength; in WriteToFlat()
320 maxLength -= firstLength; in WriteToFlat()
322 length -= firstLength; in WriteToFlat()
327 buf[firstLength] = static_cast<Char>(second->At<false>(0)); in WriteToFlat()
329 CopyChars(buf + firstLength, second->GetDataUtf8(), secondLength); in WriteToFlat()
331 WriteToFlat(second, buf + firstLength, maxLength - firstLength); in WriteToFlat()
334 maxLength = firstLength; in WriteToFlat()
Dtagged_array-inl.h83 uint32_t firstLength = first->GetLength(); in Append() local
85 uint32_t length = firstLength + secondLength; in Append()
89 for (; index < firstLength; ++index) { in Append()
93 argument->Set(thread, index, second->Get(index - firstLength)); in Append()
101 uint32_t firstLength = first->GetLength(); in AppendSkipHole() local
103 ASSERT(firstLength + secondLength >= copyLength); in AppendSkipHole()
108 for (; index < firstLength; ++index) { in AppendSkipHole()