hprof_table.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* LookupTableIterator )(TableIndex, void *key_ptr, int key_len, void *, void *)

Functions

struct LookupTabletable_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 Documentation

typedef void(* LookupTableIterator)(TableIndex, void *key_ptr, int key_len, void *, void *)

Definition at line 45 of file hprof_table.h.


Function Documentation

void table_cleanup ( struct LookupTable ltable,
LookupTableIterator  func,
void *  arg 
)

Definition at line 774 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

int table_element_count ( struct LookupTable ltable  ) 

Definition at line 711 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

TableIndex table_find_entry ( struct LookupTable ltable,
void *  key_ptr,
int  key_len 
)

Definition at line 841 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void table_free_entry ( struct LookupTable ltable,
TableIndex  index 
)

Definition at line 725 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void* table_get_info ( struct LookupTable ltable,
TableIndex  index 
)

Definition at line 904 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void table_get_key ( struct LookupTable ltable,
TableIndex  index,
void **  pkey_ptr,
int *  pkey_len 
)

Definition at line 923 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void table_lock_enter ( struct LookupTable ltable  ) 

Definition at line 940 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void table_lock_exit ( struct LookupTable ltable  ) 

Definition at line 946 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void table_walk_items ( struct LookupTable ltable,
LookupTableIterator  func,
void *  arg 
)

Definition at line 739 of file hprof_table.c.

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 19 Nov 2012 for hprof by  doxygen 1.6.1