|
V8 Project
|
#include <ostreams.h>
Inheritance diagram for v8::internal::OStringStream:
Collaboration diagram for v8::internal::OStringStream:Public Member Functions | |
| OStringStream () | |
| ~OStringStream () | |
| size_t | size () const |
| size_t | capacity () const |
| const char * | data () const |
| const char * | c_str () const |
| virtual OStringStream & | write (const char *s, size_t n) OVERRIDE |
| virtual OStringStream & | flush () OVERRIDE |
Public Member Functions inherited from v8::internal::OStream | |
| OStream () | |
| virtual | ~OStream () |
| OStream & | operator<< (OStream &(*manipulator)(OStream &os)) |
| OStream & | operator<< (short x) |
| OStream & | operator<< (unsigned short x) |
| OStream & | operator<< (int x) |
| OStream & | operator<< (unsigned int x) |
| OStream & | operator<< (long x) |
| OStream & | operator<< (unsigned long x) |
| OStream & | operator<< (long long x) |
| OStream & | operator<< (unsigned long long x) |
| OStream & | operator<< (double x) |
| OStream & | operator<< (void *x) |
| OStream & | operator<< (char x) |
| OStream & | operator<< (signed char x) |
| OStream & | operator<< (unsigned char x) |
| OStream & | operator<< (const char *s) |
| OStream & | put (char c) |
| OStream & | dec () |
| OStream & | hex () |
Private Member Functions | |
| void | reserve (size_t requested_capacity) |
| DISALLOW_COPY_AND_ASSIGN (OStringStream) | |
Static Private Member Functions | |
| static char * | allocate (size_t n) |
| static void | deallocate (char *s, size_t n) |
Private Attributes | |
| size_t | size_ |
| size_t | capacity_ |
| char * | data_ |
Definition at line 72 of file ostreams.h.
|
inline |
|
inline |
Definition at line 77 of file ostreams.h.
References capacity_, data_, and deallocate().
Here is the call graph for this function:
|
inlinestaticprivate |
Definition at line 91 of file ostreams.h.
Referenced by reserve().
Here is the caller graph for this function:
|
inline |
Definition at line 84 of file ostreams.h.
References data().
Referenced by v8::internal::FlagList::argv(), v8::internal::InsertIntoString(), v8::internal::operator<<(), v8::internal::compiler::operator<<(), v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::operator<<(), v8::internal::compiler::anonymous_namespace{instruction-selector-arm64-unittest.cc}::operator<<(), v8::internal::compiler::anonymous_namespace{instruction-selector-ia32-unittest.cc}::operator<<(), v8::internal::compiler::anonymous_namespace{instruction-selector-x64-unittest.cc}::operator<<(), v8::internal::JavaScriptFrame::Print(), v8::internal::Logger::SetUp(), v8::internal::Object::ShortPrint(), and v8::internal::compiler::RepresentationChanger::TypeError().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 81 of file ostreams.h.
References data_.
Referenced by c_str().
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 92 of file ostreams.h.
Referenced by reserve(), and ~OStringStream().
Here is the caller graph for this function:
|
private |
|
virtual |
Implements v8::internal::OStream.
Definition at line 138 of file ostreams.cc.
|
private |
Definition at line 143 of file ostreams.cc.
References allocate(), capacity_, data_, deallocate(), and size_.
Referenced by write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 79 of file ostreams.h.
References size_.
Referenced by v8::internal::InsertIntoString().
Here is the caller graph for this function:
|
virtual |
Implements v8::internal::OStream.
Definition at line 127 of file ostreams.cc.
References data_, reserve(), and size_.
Here is the call graph for this function:
|
private |
Definition at line 97 of file ostreams.h.
Referenced by capacity(), reserve(), and ~OStringStream().
|
private |
Definition at line 98 of file ostreams.h.
Referenced by data(), OStringStream(), reserve(), write(), and ~OStringStream().
|
private |
Definition at line 96 of file ostreams.h.