
Go to the source code of this file.
Typedefs | |
| typedef void(* | LookupTableIterator )(TableIndex, void *key_ptr, int key_len, void *, void *) |
Functions | |
| struct LookupTable * | table_initialize (const char *name, int size, int incr, int buckets, int esize) |
| int | table_element_count (struct LookupTable *ltable) |
| TableIndex | table_create_entry (struct LookupTable *ltable, void *key_ptr, int key_len, void *info_ptr) |
| TableIndex | table_find_entry (struct LookupTable *ltable, void *key_ptr, int key_len) |
| TableIndex | table_find_or_create_entry (struct LookupTable *ltable, void *key_ptr, int key_len, jboolean *pnew_entry, void *info_ptr) |
| void | table_free_entry (struct LookupTable *ltable, TableIndex index) |
| void | table_cleanup (struct LookupTable *ltable, LookupTableIterator func, void *arg) |
| void | table_walk_items (struct LookupTable *ltable, LookupTableIterator func, void *arg) |
| void * | table_get_info (struct LookupTable *ltable, TableIndex index) |
| void | table_get_key (struct LookupTable *ltable, TableIndex index, void **pkey_ptr, int *pkey_len) |
| void | table_lock_enter (struct LookupTable *ltable) |
| void | table_lock_exit (struct LookupTable *ltable) |
| typedef void(* LookupTableIterator)(TableIndex, void *key_ptr, int key_len, void *, void *) |
Definition at line 45 of file hprof_table.h.
| void table_cleanup | ( | struct LookupTable * | ltable, | |
| LookupTableIterator | func, | |||
| void * | arg | |||
| ) |
Definition at line 774 of file hprof_table.c.


| TableIndex table_create_entry | ( | struct LookupTable * | ltable, | |
| void * | key_ptr, | |||
| int | key_len, | |||
| void * | info_ptr | |||
| ) |
Definition at line 812 of file hprof_table.c.


| int table_element_count | ( | struct LookupTable * | ltable | ) |
Definition at line 711 of file hprof_table.c.


| TableIndex table_find_entry | ( | struct LookupTable * | ltable, | |
| void * | key_ptr, | |||
| int | key_len | |||
| ) |
Definition at line 841 of file hprof_table.c.


| TableIndex table_find_or_create_entry | ( | struct LookupTable * | ltable, | |
| void * | key_ptr, | |||
| int | key_len, | |||
| jboolean * | pnew_entry, | |||
| void * | info_ptr | |||
| ) |
Definition at line 861 of file hprof_table.c.


| void table_free_entry | ( | struct LookupTable * | ltable, | |
| TableIndex | index | |||
| ) |
Definition at line 725 of file hprof_table.c.


| void* table_get_info | ( | struct LookupTable * | ltable, | |
| TableIndex | index | |||
| ) |
Definition at line 904 of file hprof_table.c.


| void table_get_key | ( | struct LookupTable * | ltable, | |
| TableIndex | index, | |||
| void ** | pkey_ptr, | |||
| int * | pkey_len | |||
| ) |
Definition at line 923 of file hprof_table.c.


| struct LookupTable* table_initialize | ( | const char * | name, | |
| int | size, | |||
| int | incr, | |||
| int | buckets, | |||
| int | esize | |||
| ) | [read] |
Definition at line 655 of file hprof_table.c.


| void table_lock_enter | ( | struct LookupTable * | ltable | ) |
Definition at line 940 of file hprof_table.c.


| void table_lock_exit | ( | struct LookupTable * | ltable | ) |
Definition at line 946 of file hprof_table.c.


| void table_walk_items | ( | struct LookupTable * | ltable, | |
| LookupTableIterator | func, | |||
| void * | arg | |||
| ) |
Definition at line 739 of file hprof_table.c.


1.6.1