Home
last modified time | relevance | path

Searched refs:utf16_length (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dunicode-decoder.cc55 size_t utf16_length = 0; in Reset() local
59 while (utf16_length < buffer_length && !it.Done()) { in Reset()
62 utf16_length++; in Reset()
66 chars_written_ = utf16_length; in Reset()
71 utf16_length++; in Reset()
73 utf16_length_ = utf16_length; in Reset()
Dobjects.cc12405 int utf16_length = 0; in ComputeUtf8Hash() local
12408 while (utf16_length < String::kMaxHashCalcLength && !it.Done()) { in ComputeUtf8Hash()
12409 utf16_length++; in ComputeUtf8Hash()
12419 utf16_length++; in ComputeUtf8Hash()
12422 *utf16_length_out = utf16_length; in ComputeUtf8Hash()
12424 hasher.length_ = utf16_length; in ComputeUtf8Hash()
/external/v8/src/heap/
Dfactory.cc629 int utf16_length = static_cast<int>(decoder->Utf16Length()); in NewStringFromUtf8() local
630 DCHECK_GT(utf16_length, 0); in NewStringFromUtf8()
636 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String); in NewStringFromUtf8()
645 decoder->WriteUtf16(data, utf16_length, non_ascii); in NewStringFromUtf8()
668 int utf16_length = static_cast<int>(decoder->Utf16Length()); in NewStringFromUtf8SubString() local
669 DCHECK_GT(utf16_length, 0); in NewStringFromUtf8SubString()
675 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String); in NewStringFromUtf8SubString()
690 decoder->WriteUtf16(data, utf16_length, non_ascii); in NewStringFromUtf8SubString()