_Pthread_alloc Class Reference

#include <stdapis/stlport/stl/_pthread_alloc.h>

class _Pthread_alloc
Public Member Type Definitions
typedef _Pthread_alloc_obj __obj
typedef _Pthread_alloc_per_thread_state< _Max_size > __state_type
typedefchar value_type
Public Member Enumerations
enumanonymous { _S_ALIGN }
Public Member Functions
char *_S_chunk_alloc(size_t, size_t &)
size_t _S_freelist_index(size_t)
_Pthread_alloc_per_thread_state< _Max_size > *_S_get_per_thread_state()
size_t _S_round_up(size_t)
void *allocate(size_t)
void *allocate(size_t, __state_type *)
voiddeallocate(void *, size_t)
voiddeallocate(void *, size_t, __state_type *)
void *reallocate(void *, size_t, size_t)

Member Type Definition Documentation

Typedef __obj

typedef _Pthread_alloc_obj __obj

Typedef __state_type

typedef _Pthread_alloc_per_thread_state< _Max_size >__state_type

Typedef value_type

typedef charvalue_type

Member Enumeration Documentation

Enum anonymous

EnumeratorValueDescription
_S_ALIGN8

Member Function Documentation

_S_chunk_alloc ( size_t, size_t & )

char *_S_chunk_alloc(size_t__size,
size_t &__nobjs
)[static]

_S_freelist_index ( size_t )

size_t _S_freelist_index(size_t__bytes)[static, inline]

_S_get_per_thread_state ( )

_Pthread_alloc_per_thread_state< _Max_size > *_S_get_per_thread_state()[static]

_S_round_up ( size_t )

size_t _S_round_up(size_t__bytes)[static, inline]

allocate ( size_t )

void *allocate(size_t__n)[static, inline]

allocate ( size_t, __state_type * )

void *allocate(size_t__n,
__state_type *__a
)[static, inline]

deallocate ( void *, size_t )

voiddeallocate(void *__p,
size_t__n
)[static, inline]

deallocate ( void *, size_t, __state_type * )

voiddeallocate(void *__p,
size_t__n,
__state_type *__a
)[static, inline]

reallocate ( void *, size_t, size_t )

void *reallocate(void *__p,
size_t__old_sz,
size_t__new_sz
)[static]