Home
last modified time | relevance | path

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

/misc/
A Dallocate_once.c24 __libc_allocate_once_slow (void **place, void *(*allocate) (void *closure), in __libc_allocate_once_slow() argument
25 void (*deallocate) (void *closure, void *ptr), in __libc_allocate_once_slow()
26 void *closure) in __libc_allocate_once_slow()
28 void *result = allocate (closure); in __libc_allocate_once_slow()
53 deallocate (closure, result); in __libc_allocate_once_slow()
A Dtst-allocate_once.c27 allocate_string (void *closure) in allocate_string() argument
29 return xstrdup (closure); in allocate_string()
36 allocate_not_called (void *closure) in allocate_not_called() argument
42 deallocate_not_called (void *closure, void *ptr) in deallocate_not_called() argument
45 closure, ptr); in deallocate_not_called()
54 allocate_return_null (void *closure) in allocate_return_null() argument
69 fake_race_allocate (void *closure) in fake_race_allocate() argument
71 TEST_VERIFY (closure == &fake_race_region[0]); in fake_race_allocate()
80 fake_race_deallocate (void *closure, void *ptr) in fake_race_deallocate() argument
87 TEST_VERIFY (closure == &fake_race_region[0]); in fake_race_deallocate()
[all …]
A Dtst-ldbl-error.c37 callback_err (void *closure) in callback_err() argument
44 callback_errx (void *closure) in callback_errx() argument
51 callback_verr (void *closure) in callback_verr() argument
58 callback_verrx (void *closure) in callback_verrx() argument
65 callback_error (void *closure) in callback_error() argument
72 callback_error_at_line (void *closure) in callback_error_at_line() argument
A Dmntent.c34 allocate (void *closure) in allocate() argument
40 deallocate (void *closure, void *ptr) in deallocate() argument
A Dtst-gethostid.c35 outside_chroot (void *closure) in outside_chroot() argument
43 in_chroot (void *closure) in in_chroot() argument
45 const char *chroot_path = closure; in in_chroot()
A Dtst-tsearch.c129 struct twalk_with_twalk_r_closure *closure = closure0; in twalk_with_twalk_r_action() local
134 closure->action (nodep, which, closure->depth); in twalk_with_twalk_r_action()
137 closure->action (nodep, which, closure->depth); in twalk_with_twalk_r_action()
138 ++closure->depth; in twalk_with_twalk_r_action()
142 closure->action (nodep, which, closure->depth - 1); in twalk_with_twalk_r_action()
145 --closure->depth; in twalk_with_twalk_r_action()
146 closure->action (nodep, which, closure->depth); in twalk_with_twalk_r_action()
155 struct twalk_with_twalk_r_closure closure = { action, 0 }; in twalk_with_twalk_r() local
156 twalk_r (root, twalk_with_twalk_r_action, &closure); in twalk_with_twalk_r()
157 TEST_COMPARE (closure.depth, 0); in twalk_with_twalk_r()
A Dtsearch.c725 void *closure) in weak_alias()
730 (*action) (root, leaf, closure); in weak_alias()
733 (*action) (root, preorder, closure); in weak_alias()
735 trecurse_r (LEFT(root), action, closure); in weak_alias()
736 (*action) (root, postorder, closure); in weak_alias()
738 trecurse_r (RIGHT(root), action, closure); in weak_alias()
739 (*action) (root, endorder, closure); in weak_alias()
745 void *closure) in __twalk_r() argument
752 trecurse_r (root, action, closure); in __twalk_r()

Completed in 17 milliseconds