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

Public Member Functions

 NameBuffer ()
 
void Reset ()
 
void AppendString (String *str)
 
void AppendBytes (const char *bytes, int size)
 
void AppendBytes (const char *bytes)
 
void AppendByte (char c)
 
void AppendInt (int n)
 
const char * get ()
 
int size () const
 

Detailed Description

Definition at line 449 of file log.cc.

Constructor & Destructor Documentation

NameBuffer ( )
inline

Definition at line 451 of file log.cc.

References Logger::NameBuffer::Reset().

Member Function Documentation

void AppendByte ( char  c)
inline

Definition at line 492 of file log.cc.

Referenced by Logger::CodeCreateEvent(), and Logger::RegExpCodeCreateEvent().

void AppendBytes ( const char *  bytes,
int  size 
)
inline
void AppendBytes ( const char *  bytes)
inline

Definition at line 488 of file log.cc.

References Logger::NameBuffer::AppendBytes(), and v8::internal::StrLength().

void AppendInt ( int  n)
inline

Definition at line 497 of file log.cc.

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

Referenced by Logger::CodeCreateEvent().

const char* get ( )
inline

Definition at line 505 of file log.cc.

Referenced by Logger::CodeCreateEvent(), and Logger::RegExpCodeCreateEvent().

void Reset ( )
inline

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