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
StringsStorage Class Reference

#include <profile-generator.h>

Public Member Functions

 StringsStorage (Heap *heap)
 
 ~StringsStorage ()
 
const char * GetCopy (const char *src)
 
const char * GetFormatted (const char *format,...)
 
const char * GetVFormatted (const char *format, va_list args)
 
const char * GetName (Name *name)
 
const char * GetName (int index)
 
const char * GetFunctionName (Name *name)
 
const char * GetFunctionName (const char *name)
 
size_t GetUsedMemorySize () const
 

Detailed Description

Definition at line 42 of file profile-generator.h.

Constructor & Destructor Documentation

StringsStorage ( Heap heap)
explicit

Definition at line 50 of file profile-generator.cc.

Member Function Documentation

const char * GetFormatted ( const char *  format,
  ... 
)
const char * GetFunctionName ( Name name)

Definition at line 132 of file profile-generator.cc.

References StringsStorage::GetName().

Referenced by CpuProfilesCollection::GetFunctionName().

const char * GetFunctionName ( const char *  name)

Definition at line 137 of file profile-generator.cc.

References StringsStorage::GetCopy().

const char * GetName ( int  index)

Definition at line 127 of file profile-generator.cc.

References StringsStorage::GetFormatted().

const char * GetVFormatted ( const char *  format,
va_list  args 
)

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