/external/v8/src/ |
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...] |
/external/chromium_org/v8/src/ |
log.cc | 85 utf8_pos_ = 0; 116 for (int i = 0; i < uc16_length && utf8_pos_ < kUtf8BufferSize; ++i) { 119 utf8_buffer_[utf8_pos_++] = static_cast<char>(c); 122 if (utf8_pos_ + char_length > kUtf8BufferSize) break; 123 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); 124 utf8_pos_ += char_length; 131 size = Min(size, kUtf8BufferSize - utf8_pos_); 132 OS::MemCopy(utf8_buffer_ + utf8_pos_, bytes, size); 133 utf8_pos_ += size; 141 if (utf8_pos_ >= kUtf8BufferSize) return 170 int utf8_pos_; member in class:v8::internal::CodeEventLogger::NameBuffer [all...] |