Lines Matching refs:dict_t
144 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes()
162 static int verify_bintree(dict_t *dict) in verify_bintree()
261 dict_t *dict_create(dictcount_t maxcount, dict_comp_t comp) in dict_create()
263 dict_t *new = malloc(sizeof *new); in dict_create()
286 void dict_set_allocator(dict_t *dict, dnode_alloc_t al, in dict_set_allocator()
303 void dict_destroy(dict_t *dict) in dict_destroy()
315 void dict_free_nodes(dict_t *dict) in dict_free_nodes()
328 void dict_free(dict_t *dict) in dict_free()
341 dict_t *dict_init(dict_t *dict, dictcount_t maxcount, dict_comp_t comp) in dict_init()
362 void dict_init_like(dict_t *dict, const dict_t *template) in dict_init_like()
383 static void dict_clear(dict_t *dict) in dict_clear()
401 int dict_verify(dict_t *dict) in dict_verify()
432 int dict_similar(const dict_t *left, const dict_t *right) in dict_similar()
460 dnode_t *dict_lookup(dict_t *dict, const void *key) in dict_lookup()
499 dnode_t *dict_lower_bound(dict_t *dict, const void *key) in dict_lower_bound()
531 dnode_t *dict_upper_bound(dict_t *dict, const void *key) in dict_upper_bound()
567 void dict_insert(dict_t *dict, dnode_t *node, const void *key) in dict_insert()
665 dnode_t *dict_delete(dict_t *dict, dnode_t *delete) in dict_delete()
840 int dict_alloc_insert(dict_t *dict, const void *key, void *data) in dict_alloc_insert()
853 void dict_delete_free(dict_t *dict, dnode_t *node) in dict_delete_free()
865 dnode_t *dict_first(dict_t *dict) in dict_first()
881 dnode_t *dict_last(dict_t *dict) in dict_last()
899 dnode_t *dict_next(dict_t *dict, dnode_t *curr) in dict_next()
925 dnode_t *dict_prev(dict_t *dict, dnode_t *curr) in dict_prev()
946 void dict_allow_dupes(dict_t *dict) in dict_allow_dupes()
958 dictcount_t dict_count(dict_t *dict) in dict_count()
963 int dict_isempty(dict_t *dict) in dict_isempty()
968 int dict_isfull(dict_t *dict) in dict_isfull()
973 int dict_contains(dict_t *dict, dnode_t *node) in dict_contains()
1040 void dict_process(dict_t *dict, void *context, dnode_process_t function) in dict_process()
1054 static void load_begin_internal(dict_load_t *load, dict_t *dict) in load_begin_internal()
1061 void dict_load_begin(dict_load_t *load, dict_t *dict) in dict_load_begin()
1069 dict_t *dict = load->dictptr; in dict_load_next()
1093 dict_t *dict = load->dictptr; in dict_load_end()
1172 void dict_merge(dict_t *dest, dict_t *source) in dict_merge()
1295 static void construct(dict_t *d) in construct()
1363 dict_t darray[10]; in main()
1364 dict_t *d = &darray[0]; in main()