Home
last modified time | relevance | path

Searched refs:destroy_data (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_list.c56 void cil_list_destroy(struct cil_list **list, unsigned destroy_data) in cil_list_destroy() argument
68 cil_list_destroy((struct cil_list**)&(item->data), destroy_data); in cil_list_destroy()
71 cil_list_item_destroy(&item, destroy_data); in cil_list_destroy()
89 void cil_list_item_destroy(struct cil_list_item **item, unsigned destroy_data) in cil_list_item_destroy() argument
91 if (destroy_data) { in cil_list_item_destroy()
224 …d cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_data) in cil_list_remove() argument
243 cil_list_item_destroy(&item, destroy_data); in cil_list_remove()
Dcil_list.h52 void cil_list_destroy (struct cil_list **list, unsigned destroy_data);
54 void cil_list_item_destroy(struct cil_list_item **item, unsigned destroy_data);
57 … cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_data);
/external/ltrace/
Ddict.c133 struct destroy_data { struct
142 struct destroy_data *destroy_data = data; in destroy_cb() argument
143 if (destroy_data->dtor_key) in destroy_cb()
144 destroy_data->dtor_key(key, destroy_data->data); in destroy_cb()
145 if (destroy_data->dtor_value) in destroy_cb()
146 destroy_data->dtor_value(value, destroy_data->data); in destroy_cb()
160 struct destroy_data destroy_data = { in dict_destroy() local
163 dict_each(dict, NULL, destroy_cb, &destroy_data); in dict_destroy()