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.c231 ucl_hash_t *
234 ucl_hash_t *new; in ucl_hash_create()
236 new = UCL_ALLOC(sizeof(ucl_hash_t)); in ucl_hash_create()
248 UCL_FREE(sizeof(ucl_hash_t), new); in ucl_hash_create()
256 void ucl_hash_destroy(ucl_hash_t *hashlin, ucl_hash_free_func func) in ucl_hash_destroy()
303 bool ucl_hash_insert(ucl_hash_t *hashlin, const ucl_object_t *obj, in ucl_hash_insert()
349 void ucl_hash_replace(ucl_hash_t *hashlin, const ucl_object_t *old, in ucl_hash_replace()
402 ucl_hash_iterate2(ucl_hash_t *hashlin, ucl_hash_iter_t *iter, int *ep) in ucl_hash_iterate2()
439 bool ucl_hash_iter_has_next(ucl_hash_t *hashlin, ucl_hash_iter_t iter) in ucl_hash_iter_has_next()
448 ucl_hash_search(ucl_hash_t *hashlin, const char *key, unsigned keylen) in ucl_hash_search()
[all …]
H A Ducl_internal.h463 ucl_hash_search_obj(ucl_hash_t *hashlin, ucl_object_t *obj) in ucl_hash_search_obj()
468 static inline ucl_hash_t *ucl_hash_insert_object(ucl_hash_t *hashlin,
472 static inline ucl_hash_t *
473 ucl_hash_insert_object(ucl_hash_t *hashlin, in ucl_hash_insert_object()
477 ucl_hash_t *nhp; in ucl_hash_insert_object()
H A Ducl_parser.c1212 ucl_parser_append_elt(struct ucl_parser *parser, ucl_hash_t *cont, in ucl_parser_append_elt()
1244 ucl_hash_t *container; in ucl_parser_process_object_element()
H A Ducl_util.c1098 ucl_hash_t *container = NULL;