v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::CodeEventLogger::NameBuffer Class Reference
Collaboration diagram for v8::internal::CodeEventLogger::NameBuffer:

Public Member Functions

 NameBuffer ()
 
void Reset ()
 
void Init (CodeTag tag)
 
void AppendName (Tagged< Name > name)
 
void AppendString (Tagged< String > str)
 
void AppendBytes (const char *bytes, size_t size)
 
void AppendBytes (const char *bytes)
 
void AppendByte (char c)
 
void AppendInt (int n)
 
void AppendHex (uint32_t n)
 
const char * get ()
 
size_t size () const
 

Private Attributes

size_t utf8_pos_
 
char utf8_buffer_ [kUtf8BufferSize]
 

Static Private Attributes

static const size_t kUtf8BufferSize = 4096
 
static const size_t kUtf16BufferSize = kUtf8BufferSize
 

Detailed Description

Definition at line 161 of file log.cc.

Constructor & Destructor Documentation

◆ NameBuffer()

v8::internal::CodeEventLogger::NameBuffer::NameBuffer ( )
inline

Definition at line 163 of file log.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AppendByte()

void v8::internal::CodeEventLogger::NameBuffer::AppendByte ( char c)
inline

Definition at line 209 of file log.cc.

Here is the caller graph for this function:

◆ AppendBytes() [1/2]

void v8::internal::CodeEventLogger::NameBuffer::AppendBytes ( const char * bytes)
inline

Definition at line 203 of file log.cc.

Here is the call graph for this function:

◆ AppendBytes() [2/2]

void v8::internal::CodeEventLogger::NameBuffer::AppendBytes ( const char * bytes,
size_t size )
inline

Definition at line 197 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AppendHex()

void v8::internal::CodeEventLogger::NameBuffer::AppendHex ( uint32_t n)
inline

Definition at line 224 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AppendInt()

void v8::internal::CodeEventLogger::NameBuffer::AppendInt ( int n)
inline

Definition at line 214 of file log.cc.

Here is the call graph for this function:

◆ AppendName()

void v8::internal::CodeEventLogger::NameBuffer::AppendName ( Tagged< Name > name)
inline

Definition at line 173 of file log.cc.

Here is the call graph for this function:

◆ AppendString()

void v8::internal::CodeEventLogger::NameBuffer::AppendString ( Tagged< String > str)
inline

Definition at line 190 of file log.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

const char * v8::internal::CodeEventLogger::NameBuffer::get ( )
inline

Definition at line 234 of file log.cc.

◆ Init()

void v8::internal::CodeEventLogger::NameBuffer::Init ( CodeTag tag)
inline

Definition at line 167 of file log.cc.

Here is the call graph for this function:

◆ Reset()

void v8::internal::CodeEventLogger::NameBuffer::Reset ( )
inline

Definition at line 165 of file log.cc.

Here is the caller graph for this function:

◆ size()

size_t v8::internal::CodeEventLogger::NameBuffer::size ( ) const
inline

Definition at line 235 of file log.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ kUtf16BufferSize

const size_t v8::internal::CodeEventLogger::NameBuffer::kUtf16BufferSize = kUtf8BufferSize
staticprivate

Definition at line 239 of file log.cc.

◆ kUtf8BufferSize

const size_t v8::internal::CodeEventLogger::NameBuffer::kUtf8BufferSize = 4096
staticprivate

Definition at line 238 of file log.cc.

◆ utf8_buffer_

char v8::internal::CodeEventLogger::NameBuffer::utf8_buffer_[kUtf8BufferSize]
private

Definition at line 242 of file log.cc.

◆ utf8_pos_

size_t v8::internal::CodeEventLogger::NameBuffer::utf8_pos_
private

Definition at line 241 of file log.cc.


The documentation for this class was generated from the following file: