Searched refs:lyht_new (Results 1 – 7 of 7) sorted by relevance
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | hash_table.h | 138 struct hash_table *lyht_new(uint32_t size, uint16_t val_size, values_equal_cb val_equal, void *cb_d…
|
H A D | hash_table.c | 56 dict->hash_tab = lyht_new(1024, sizeof(struct dict_rec), lydict_val_eq, NULL, 1); in lydict_init() 311 lyht_new(uint32_t size, uint16_t val_size, values_equal_cb val_equal, void *cb_data, int resize) in lyht_new() function 371 …ht = lyht_new(orig->size, orig->rec_size - (sizeof(struct ht_rec) - 1), orig->val_equal, orig->cb_… in lyht_dup()
|
H A D | validation.c | 315 …uniqtables[j] = lyht_new(usize, sizeof(struct lyd_node *), lyv_list_uniq_equal, (void *)(j + 1L), … in lyv_data_unique() 503 keystable = lyht_new(usize, sizeof(struct lyd_node *), lyv_list_equal, 0, 0); in lyv_data_dup()
|
H A D | printer_lyb.c | 194 ht = lyht_new(1, sizeof(struct lys_node *), lyb_hash_equal_cb, NULL, 1); in lyb_hash_siblings()
|
H A D | tree_data.c | 437 … node->parent->ht = lyht_new(1, sizeof(struct lyd_node *), lyd_hash_table_val_equal, NULL, 1); in _lyd_insert_hash()
|
H A D | xpath.c | 636 set->ht = lyht_new(1, sizeof(struct lyxp_set_hash_node), set_values_equal_cb, NULL, 1); in set_insert_node_hash()
|
/dports/net/libyang/libyang-1.0.240/tests/internal/ |
H A D | test_hash_table.c | 45 ht = lyht_new(8, sizeof(int), val_equal, NULL, 0); in setup_f() 59 ht = lyht_new(8, sizeof(int), val_equal, NULL, 1); in setup_f_resize()
|