Home
last modified time | relevance | path

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

/external/v8/src/
Dlog.cc65 utf8_pos_ = 0; in Reset()
96 for (int i = 0; i < uc16_length && utf8_pos_ < kUtf8BufferSize; ++i) { in AppendString()
99 utf8_buffer_[utf8_pos_++] = static_cast<char>(c); in AppendString()
102 if (utf8_pos_ + char_length > kUtf8BufferSize) break; in AppendString()
103 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); in AppendString()
104 utf8_pos_ += char_length; in AppendString()
111 size = Min(size, kUtf8BufferSize - utf8_pos_); in AppendBytes()
112 MemCopy(utf8_buffer_ + utf8_pos_, bytes, size); in AppendBytes()
113 utf8_pos_ += size; in AppendBytes()
121 if (utf8_pos_ >= kUtf8BufferSize) return; in AppendByte()
[all …]