H A D | hprof_table.c | 136 #define ELEMENT_PTR(ltable, i) \ 137 ((void*)(((char*)(ltable)->table) + (ltable)->elem_size * (i))) 146 #define SANITY_CHECK_INDEX(ltable,i) SANITY_CHECK((i) < ltable->next_index) 200 get_key(LookupTable *ltable, TableIndex index, void **pkey_ptr, int *pkey_len) argument 202 *pkey_ptr = ((TableElement*)ELEMENT_PTR(ltable,index))->key.ptr; 203 *pkey_len = ((TableElement*)ELEMENT_PTR(ltable,index))->key.len; 207 get_info(LookupTable *ltable, TableIndex index) argument 211 if ( ltable 219 hash_out(LookupTable *ltable, TableIndex index) argument 248 is_freed_entry(LookupTable *ltable, TableIndex index) argument 260 set_freed_bit(LookupTable *ltable, TableIndex index) argument 294 find_freed_entry(LookupTable *ltable) argument 353 free_entry(LookupTable *ltable, TableIndex index) argument 389 hash_in(LookupTable *ltable, TableIndex index, HashCode hcode) argument 404 resize_hash_buckets(LookupTable *ltable) argument 457 resize(LookupTable *ltable) argument 543 find_entry(LookupTable *ltable, void *key_ptr, int key_len, HashCode hcode) argument 585 setup_new_entry(LookupTable *ltable, void *key_ptr, int key_len, void *info_ptr) argument 662 LookupTable * ltable; local 715 table_element_count(LookupTable *ltable) argument 729 table_free_entry(LookupTable *ltable, TableIndex index) argument 743 table_walk_items(LookupTable *ltable, LookupTableIterator func, void* arg) argument 778 table_cleanup(LookupTable *ltable, LookupTableIterator func, void *arg) argument 816 table_create_entry(LookupTable *ltable, void *key_ptr, int key_len, void *info_ptr) argument 845 table_find_entry(LookupTable *ltable, void *key_ptr, int key_len) argument 865 table_find_or_create_entry(LookupTable *ltable, void *key_ptr, int key_len, jboolean *pnew_entry, void *info_ptr) argument 908 table_get_info(LookupTable *ltable, TableIndex index) argument 927 table_get_key(LookupTable *ltable, TableIndex index, void **pkey_ptr, int *pkey_len) argument 944 table_lock_enter(LookupTable *ltable) argument 950 table_lock_exit(LookupTable *ltable) argument [all...] |