Lines Matching refs:dtor_key
61 void (*dtor_key)(void *tgt, void *data); member
84 clone_data->dtor_key(&nkey, clone_data->data); in clone_cb()
100 void (*dtor_key)(void *tgt, void *data), in dict_clone()
105 assert((clone_key != NULL) == (dtor_key != NULL)); in dict_clone()
111 target, clone_key, clone_value, dtor_key, dtor_value, data in dict_clone()
115 dict_destroy(target, dtor_key, dtor_value, data); in dict_clone()
134 void (*dtor_key)(void *tgt, void *data); member
143 if (destroy_data->dtor_key) in destroy_cb()
144 destroy_data->dtor_key(key, destroy_data->data); in destroy_cb()
152 void (*dtor_key)(void *tgt, void *data), in dict_destroy()
159 if (dtor_key != NULL || dtor_value != NULL) { in dict_destroy()
161 dtor_key, dtor_value, data in dict_destroy()
415 void (*dtor_key)(void *tgt, void *data), in dict_erase()
425 if (dtor_key != NULL) in dict_erase()
426 dtor_key(getkey(dict, slot_n), data); in dict_erase()