log.cc | 454 utf8_pos_ = 0; 460 int utf8_length = Min(str->length(), kUtf8BufferSize - utf8_pos_); 461 String::WriteToFlat(str, utf8_buffer_ + utf8_pos_, 0, utf8_length); 462 utf8_pos_ += utf8_length; 468 for (int i = 0; i < uc16_length && utf8_pos_ < kUtf8BufferSize; ++i) { 471 utf8_buffer_[utf8_pos_++] = static_cast<char>(c); 474 if (utf8_pos_ + char_length > kUtf8BufferSize) break; 475 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); 476 utf8_pos_ += char_length; 483 size = Min(size, kUtf8BufferSize - utf8_pos_); 512 int utf8_pos_; member in class:v8::internal::Logger::NameBuffer [all...] |