Home
last modified time | relevance | path

Searched refs:destructor (Results 1 – 7 of 7) sorted by relevance

/tools/libs/util/
A Dlibxlu_cfg_y.y40 %destructor { free($$); } atom IDENT STRING NUMBER
44 %destructor { xlu__cfg_value_free($$); } value valuelist values
/tools/xenstored/
A Dtalloc.c100 talloc_destructor_t destructor; member
188 tc->destructor = NULL; in _talloc()
218 void talloc_set_destructor(const void *ptr, int (*destructor)(void *)) in talloc_set_destructor()
221 tc->destructor = destructor; in talloc_set_destructor()
244 if (tc1->destructor != (talloc_destructor_t)-1) { in talloc_reference_destructor()
245 tc1->destructor = NULL; in talloc_reference_destructor()
568 if (tc->destructor) { in talloc_free()
569 talloc_destructor_t d = tc->destructor; in talloc_free()
573 tc->destructor = (talloc_destructor_t)-1; in talloc_free()
577 tc->destructor = d; in talloc_free()
[all …]
A Dtalloc_guide.txt94 condition is if the pointer had a destructor attached to it and the
95 destructor returned -1. See talloc_set_destructor() for details on
162 The function talloc_set_destructor() sets the "destructor" for the
163 pointer "ptr". A destructor is a function that is called when the
164 memory used by a pointer is about to be released. The destructor
168 The destructor can do anything it wants to, including freeing other
171 in the structure the destructor is placed on.
175 and place an additional destructor on that.
178 destructor.
180 If your destructor attempts to talloc_free() the pointer that it is
[all …]
A Dtalloc.h92 void talloc_set_destructor(const void *ptr, int (*destructor)(void *));
/tools/pygrub/src/fsimage/
A Dfsimage.c145 .tp_dealloc = (destructor) fsimage_file_dealloc,
238 .tp_dealloc = (destructor) fsimage_fs_dealloc,
/tools/python/xen/lowlevel/xs/
A Dxs.c1021 .tp_dealloc = (destructor)xshandle_dealloc,
/tools/python/xen/lowlevel/xc/
A Dxc.c2501 .tp_dealloc = (destructor)PyXc_dealloc,

Completed in 20 milliseconds