_Pthread_alloc Class Reference

class _Pthread_alloc
Public Member Functions
__state_type *_STLP_CALL_S_get_per_thread_state()
void *_STLP_CALLallocate(size_t &)
void *_STLP_CALLallocate(size_t &, __state_type *)
void _STLP_CALLdeallocate(void *, size_t)
void _STLP_CALLdeallocate(void *, size_t, __state_type *)
void *_STLP_CALLreallocate(void *, size_t, size_t &)
Public Member Type Definitions
typedef_Pthread_alloc_per_thread_state __state_type
typedefchar 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_CALLallocate(size_t &__n)[static]

Parameters

size_t & __n

allocate(size_t &, __state_type *)

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

Parameters

size_t & __n
__state_type * __a

deallocate(void *, size_t)

void _STLP_CALLdeallocate(void *__p,
size_t__n
)[static]

Parameters

void * __p
size_t __n

deallocate(void *, size_t, __state_type *)

void _STLP_CALLdeallocate(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_CALLreallocate(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 charvalue_type