Lines Matching refs:lh_table
426 struct lh_table* lh_table_new(int size, const char *name, in lh_table_new()
432 struct lh_table *t; in lh_table_new()
434 t = (struct lh_table*)calloc(1, sizeof(struct lh_table)); in lh_table_new()
448 struct lh_table* lh_kchar_table_new(int size, const char *name, in lh_kchar_table_new()
454 struct lh_table* lh_kptr_table_new(int size, const char *name, in lh_kptr_table_new()
460 void lh_table_resize(struct lh_table *t, int new_size) in lh_table_resize()
462 struct lh_table *new_t; in lh_table_resize()
480 void lh_table_free(struct lh_table *t) in lh_table_free()
493 int lh_table_insert(struct lh_table *t, void *k, const void *v) in lh_table_insert()
527 struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k) in lh_table_lookup_entry()
545 const void* lh_table_lookup(struct lh_table *t, const void *k) in lh_table_lookup()
552 json_bool lh_table_lookup_ex(struct lh_table* t, const void* k, void **v) in lh_table_lookup_ex()
563 int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e) in lh_table_delete_entry()
592 int lh_table_delete(struct lh_table *t, const void *k) in lh_table_delete()
599 int lh_table_length(struct lh_table *t) in lh_table_length()