Lines Matching refs:utf8_pos_
65 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()
122 utf8_buffer_[utf8_pos_++] = c; in AppendByte()
126 int space = kUtf8BufferSize - utf8_pos_; in AppendInt()
128 Vector<char> buffer(utf8_buffer_ + utf8_pos_, space); in AppendInt()
130 if (size > 0 && utf8_pos_ + size <= kUtf8BufferSize) { in AppendInt()
131 utf8_pos_ += size; in AppendInt()
136 int space = kUtf8BufferSize - utf8_pos_; in AppendHex()
138 Vector<char> buffer(utf8_buffer_ + utf8_pos_, space); in AppendHex()
140 if (size > 0 && utf8_pos_ + size <= kUtf8BufferSize) { in AppendHex()
141 utf8_pos_ += size; in AppendHex()
146 int size() const { return utf8_pos_; } in size()
152 int utf8_pos_; member in v8::internal::CodeEventLogger::NameBuffer