V8 Project
|
Public Member Functions | |
NameBuffer () | |
void | Reset () |
void | Init (Logger::LogEventsAndTags tag) |
void | AppendName (Name *name) |
void | AppendString (String *str) |
void | AppendBytes (const char *bytes, int size) |
void | AppendBytes (const char *bytes) |
void | AppendByte (char c) |
void | AppendInt (int n) |
void | AppendHex (uint32_t n) |
const char * | get () |
int | size () const |
Private Attributes | |
int | utf8_pos_ |
char | utf8_buffer_ [kUtf8BufferSize] |
uc16 | utf16_buffer [kUtf16BufferSize] |
Static Private Attributes | |
static const int | kUtf8BufferSize = 512 |
static const int | kUtf16BufferSize = 128 |
|
inline |
|
inline |
Definition at line 119 of file log.cc.
References kUtf8BufferSize, utf8_buffer_, and utf8_pos_.
Referenced by AppendName(), v8::internal::CodeEventLogger::CodeCreateEvent(), and Init().
|
inline |
Definition at line 115 of file log.cc.
References AppendBytes(), and v8::internal::StrLength().
|
inline |
Definition at line 109 of file log.cc.
References kUtf8BufferSize, v8::internal::MemCopy(), v8::internal::Min(), size(), utf8_buffer_, and utf8_pos_.
Referenced by AppendBytes(), AppendName(), v8::internal::CodeEventLogger::CodeCreateEvent(), and Init().
|
inline |
Definition at line 133 of file log.cc.
References kUtf8BufferSize, size(), v8::internal::SNPrintF(), utf8_buffer_, and utf8_pos_.
Referenced by AppendName(), and v8::internal::CodeEventLogger::CodeCreateEvent().
|
inline |
Definition at line 124 of file log.cc.
References kUtf8BufferSize, size(), v8::internal::SNPrintF(), utf8_buffer_, and utf8_pos_.
Referenced by v8::internal::CodeEventLogger::CodeCreateEvent().
|
inline |
Definition at line 73 of file log.cc.
References AppendByte(), AppendBytes(), AppendHex(), AppendString(), v8::internal::Name::Hash(), and name.
Referenced by v8::internal::CodeEventLogger::CodeCreateEvent().
|
inline |
Definition at line 90 of file log.cc.
References unibrow::Utf8::Encode(), unibrow::Utf8::kMaxOneByteChar, unibrow::Utf16::kNoPreviousCharacter, kUtf16BufferSize, kUtf8BufferSize, v8::internal::String::length(), unibrow::Utf8::Length(), v8::internal::Min(), NULL, utf16_buffer, utf8_buffer_, utf8_pos_, and v8::internal::String::WriteToFlat().
Referenced by AppendName(), v8::internal::CodeEventLogger::CodeCreateEvent(), and v8::internal::CodeEventLogger::RegExpCodeCreateEvent().
|
inline |
Definition at line 142 of file log.cc.
References utf8_buffer_.
Referenced by v8::internal::CodeEventLogger::CodeCreateEvent(), and v8::internal::CodeEventLogger::RegExpCodeCreateEvent().
|
inline |
Definition at line 67 of file log.cc.
References AppendByte(), AppendBytes(), v8::internal::kLogEventsNames, and Reset().
Referenced by v8::internal::CodeEventLogger::CodeCreateEvent(), and v8::internal::CodeEventLogger::RegExpCodeCreateEvent().
|
inline |
|
inline |
Definition at line 143 of file log.cc.
References utf8_pos_.
Referenced by AppendBytes(), AppendHex(), AppendInt(), v8::internal::CodeEventLogger::CodeCreateEvent(), and v8::internal::CodeEventLogger::RegExpCodeCreateEvent().
|
staticprivate |
Definition at line 147 of file log.cc.
Referenced by AppendString().
|
staticprivate |
Definition at line 146 of file log.cc.
Referenced by AppendByte(), AppendBytes(), AppendHex(), AppendInt(), and AppendString().
|
private |
Definition at line 151 of file log.cc.
Referenced by AppendString().
|
private |
Definition at line 150 of file log.cc.
Referenced by AppendByte(), AppendBytes(), AppendHex(), AppendInt(), AppendString(), and get().
|
private |
Definition at line 149 of file log.cc.
Referenced by AppendByte(), AppendBytes(), AppendHex(), AppendInt(), AppendString(), Reset(), and size().