Lines Matching refs:dtor
55 void (*dtor)(void *elt, void *data), in vect_clone()
63 assert(dtor == NULL); in vect_clone()
67 assert(dtor != NULL); in vect_clone()
80 if (dtor != NULL) in vect_clone()
82 dtor(slot(target, i), data); in vect_clone()
133 void (*dtor)(void *emt, void *data), void *data) in vect_erase()
139 if (dtor != NULL) { in vect_erase()
142 dtor(slot(vec, i), data); in vect_erase()
153 void (*dtor)(void *emt, void *data), void *data) in vect_popback()
156 vect_erase(vec, vect_size(vec)-1, vect_size(vec), dtor, data); in vect_popback()
160 vect_destroy(struct vect *vec, void (*dtor)(void *emt, void *data), void *data) in vect_destroy()
165 vect_erase(vec, 0, vect_size(vec), dtor, data); in vect_destroy()