![]() |
Go to the source code of this file.
Data Structures | |
struct | cf_rc_hdr |
Typedefs | |
typedef cf_atomic32 | cf_rc_counter |
Functions | |
void * | cf_calloc (size_t nmemb, size_t sz) |
void | cf_free (void *p) |
void * | cf_malloc (size_t sz) |
void * | cf_rc_alloc (size_t sz) |
cf_rc_counter | cf_rc_count (void *addr) |
void | cf_rc_free (void *addr) |
int | cf_rc_release (void *addr) |
int | cf_rc_releaseandfree (void *addr) |
int | cf_rc_reserve (void *addr) |
void * | cf_realloc (void *ptr, size_t sz) |
void * | cf_strdup (const char *s) |
void * | cf_strndup (const char *s, size_t n) |
void * | cf_valloc (size_t sz) |
static uint32_t | ptr_hash_fn (void *key) |
typedef cf_atomic32 cf_rc_counter |
void* cf_calloc | ( | size_t | nmemb, |
size_t | sz | ||
) |
void cf_free | ( | void * | p) |
void* cf_malloc | ( | size_t | sz) |
void* cf_rc_alloc | ( | size_t | sz) |
cf_rc_counter cf_rc_count | ( | void * | addr) |
void cf_rc_free | ( | void * | addr) |
int cf_rc_release | ( | void * | addr) |
int cf_rc_releaseandfree | ( | void * | addr) |
int cf_rc_reserve | ( | void * | addr) |
void* cf_realloc | ( | void * | ptr, |
size_t | sz | ||
) |
void* cf_strdup | ( | const char * | s) |
void* cf_strndup | ( | const char * | s, |
size_t | n | ||
) |
void* cf_valloc | ( | size_t | sz) |