V8 Project
|
#include <zone-allocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef T | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
zone_allocator (Zone *zone) throw () | |
zone_allocator (const zone_allocator &other) throw () | |
template<typename U > | |
zone_allocator (const zone_allocator< U > &other) throw () | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const void *hint=0) |
void | deallocate (pointer p, size_type) |
size_type | max_size () const throw () |
void | construct (pointer p, const T &val) |
void | destroy (pointer p) |
bool | operator== (zone_allocator const &other) |
bool | operator!= (zone_allocator const &other) |
Private Member Functions | |
zone_allocator () | |
Private Attributes | |
Zone * | zone_ |
Friends | |
template<typename U > | |
class | zone_allocator |
Definition at line 16 of file zone-allocator.h.
typedef const T* v8::internal::zone_allocator< T >::const_pointer |
Definition at line 19 of file zone-allocator.h.
typedef const T& v8::internal::zone_allocator< T >::const_reference |
Definition at line 21 of file zone-allocator.h.
typedef ptrdiff_t v8::internal::zone_allocator< T >::difference_type |
Definition at line 24 of file zone-allocator.h.
typedef T* v8::internal::zone_allocator< T >::pointer |
Definition at line 18 of file zone-allocator.h.
typedef T& v8::internal::zone_allocator< T >::reference |
Definition at line 20 of file zone-allocator.h.
typedef size_t v8::internal::zone_allocator< T >::size_type |
Definition at line 23 of file zone-allocator.h.
typedef T v8::internal::zone_allocator< T >::value_type |
Definition at line 22 of file zone-allocator.h.
|
inlineexplicit |
Definition at line 29 of file zone-allocator.h.
|
inlineexplicit |
Definition at line 30 of file zone-allocator.h.
|
inline |
Definition at line 32 of file zone-allocator.h.
|
private |
|
inline |
Definition at line 37 of file zone-allocator.h.
|
inline |
Definition at line 36 of file zone-allocator.h.
|
inline |
Definition at line 39 of file zone-allocator.h.
References v8::internal::Zone::NewArray(), and v8::internal::zone_allocator< T >::zone_.
|
inline |
|
inline |
Definition at line 43 of file zone-allocator.h.
|
inline |
Definition at line 51 of file zone-allocator.h.
|
inline |
Definition at line 45 of file zone-allocator.h.
|
inline |
Definition at line 56 of file zone-allocator.h.
References v8::internal::zone_allocator< T >::zone_.
|
inline |
Definition at line 53 of file zone-allocator.h.
References v8::internal::zone_allocator< T >::zone_.
Definition at line 34 of file zone-allocator.h.
|
private |
Definition at line 62 of file zone-allocator.h.
Referenced by v8::internal::zone_allocator< T >::allocate(), v8::internal::zone_allocator< T >::operator!=(), and v8::internal::zone_allocator< T >::operator==().