Home
last modified time | relevance | path

Searched refs:ucl_hash_t (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libucl/src/
H A Ducl_hash.h43 typedef struct ucl_hash_struct ucl_hash_t; typedef
49 ucl_hash_t* ucl_hash_create (bool ignore_case);
54 void ucl_hash_destroy (ucl_hash_t* hashlin, ucl_hash_free_func func);
60 bool ucl_hash_insert (ucl_hash_t* hashlin, const ucl_object_t *obj, const char *key,
66 void ucl_hash_replace (ucl_hash_t* hashlin, const ucl_object_t *old,
72 void ucl_hash_delete (ucl_hash_t* hashlin, const ucl_object_t *obj);
77 const ucl_object_t* ucl_hash_search (ucl_hash_t* hashlin, const char *key,
88 const void* ucl_hash_iterate2 (ucl_hash_t *hashlin, ucl_hash_iter_t *iter, int *ep);
98 bool ucl_hash_iter_has_next (ucl_hash_t *hashlin, ucl_hash_iter_t iter);
105 bool ucl_hash_reserve (ucl_hash_t *hashlin, size_t sz);
[all …]
H A Ducl_hash.c233 ucl_hash_t*
236 ucl_hash_t *new; in ucl_hash_create()
238 new = UCL_ALLOC (sizeof (ucl_hash_t)); in ucl_hash_create()
251 UCL_FREE (sizeof (ucl_hash_t), new); in ucl_hash_create()
259 void ucl_hash_destroy (ucl_hash_t* hashlin, ucl_hash_free_func func) in ucl_hash_destroy()
301 ucl_hash_insert (ucl_hash_t* hashlin, const ucl_object_t *obj, in ucl_hash_insert()
341 void ucl_hash_replace (ucl_hash_t* hashlin, const ucl_object_t *old, in ucl_hash_replace()
390 ucl_hash_iterate2 (ucl_hash_t *hashlin, ucl_hash_iter_t *iter, int *ep) in ucl_hash_iterate2()
428 ucl_hash_iter_has_next (ucl_hash_t *hashlin, ucl_hash_iter_t iter) in ucl_hash_iter_has_next()
437 ucl_hash_search (ucl_hash_t* hashlin, const char *key, unsigned keylen) in ucl_hash_search()
[all …]
H A Ducl_internal.h462 ucl_hash_search_obj (ucl_hash_t* hashlin, ucl_object_t *obj) in ucl_hash_search_obj()
467 static inline ucl_hash_t * ucl_hash_insert_object (ucl_hash_t *hashlin,
471 static inline ucl_hash_t *
472 ucl_hash_insert_object (ucl_hash_t *hashlin, in ucl_hash_insert_object()
476 ucl_hash_t *nhp; in ucl_hash_insert_object()
H A Ducl_parser.c1138 ucl_parser_append_elt (struct ucl_parser *parser, ucl_hash_t *cont, in ucl_parser_append_elt()
1171 ucl_hash_t *container; in ucl_parser_process_object_element()
H A Ducl_util.c1092 ucl_hash_t *container = NULL;