v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CodeEventLogger::NameBuffer Class Reference

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
 

Detailed Description

Definition at line 80 of file log.cc.

Constructor & Destructor Documentation

NameBuffer ( )
inline

Definition at line 82 of file log.cc.

References CodeEventLogger::NameBuffer::Reset().

Member Function Documentation

void AppendByte ( char  c)
inline
void AppendBytes ( const char *  bytes)
inline
void AppendHex ( uint32_t  n)
inline
void AppendInt ( int  n)
inline

Definition at line 145 of file log.cc.

References CodeEventLogger::NameBuffer::size(), and OS::SNPrintF().

Referenced by CodeEventLogger::CodeCreateEvent().

const char* get ( )
inline
void Reset ( )
inline

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