_Pthread_alloc Class Reference

class _Pthread_alloc
Public Member Functions
__state_type *_STLP_CALL _S_get_per_thread_state ()
void *_STLP_CALL allocate ( size_t &)
void *_STLP_CALL allocate ( size_t &, __state_type *)
void _STLP_CALL deallocate (void *, size_t )
void _STLP_CALL deallocate (void *, size_t , __state_type *)
void *_STLP_CALL reallocate (void *, size_t , size_t &)
Public Member Type Definitions
typedef _Pthread_alloc_per_thread_state __state_type
typedef char value_type

Member Functions Documentation

_S_get_per_thread_state()

__state_type *_STLP_CALL _S_get_per_thread_state ( ) [static]

allocate(size_t &)

void *_STLP_CALL allocate ( size_t & __n ) [static]

Parameters

size_t & __n

allocate(size_t &, __state_type *)

void *_STLP_CALL allocate ( size_t & __n,
__state_type * __a
) [static]

Parameters

size_t & __n
__state_type * __a

deallocate(void *, size_t)

void _STLP_CALL deallocate ( void * __p,
size_t __n
) [static]

Parameters

void * __p
size_t __n

deallocate(void *, size_t, __state_type *)

void _STLP_CALL deallocate ( void * __p,
size_t __n,
__state_type * __a
) [static]

Parameters

void * __p
size_t __n
__state_type * __a

reallocate(void *, size_t, size_t &)

void *_STLP_CALL reallocate ( void * __p,
size_t __old_sz,
size_t & __new_sz
) [static]

Parameters

void * __p
size_t __old_sz
size_t & __new_sz

Member Type Definitions Documentation

Typedef __state_type

typedef _Pthread_alloc_per_thread_state __state_type

Typedef value_type

typedef char value_type