Home
last modified time | relevance | path

Searched refs:dict_rec (Results 1 – 2 of 2) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dhash_table.c33 const char *str1 = ((struct dict_rec *)val1_p)->value; in lydict_val_eq()
34 const char *str2 = ((struct dict_rec *)val2_p)->value; in lydict_val_eq()
56 dict->hash_tab = lyht_new(1024, sizeof(struct dict_rec), lydict_val_eq, NULL, 1); in lydict_init()
65 struct dict_rec *dict_rec = NULL; in lydict_clean() local
82 dict_rec = (struct dict_rec *)rec->val; in lydict_clean()
83 …LL, "String \"%s\" not freed from the dictionary, refcount %d", dict_rec->value, dict_rec->refcoun… in lydict_clean()
86 free(dict_rec->value); in lydict_clean()
152 const char *str1 = ((struct dict_rec *)val1_p)->value; in lydict_resize_val_eq()
153 const char *str2 = ((struct dict_rec *)val2_p)->value; in lydict_resize_val_eq()
181 struct dict_rec rec, *match = NULL; in lydict_remove()
[all …]
H A Dhash_table.h91 struct dict_rec { struct