Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 29) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dtsearch.c95 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) in trecurse()
98 (*action)(root, leaf, level); in trecurse()
100 (*action)(root, preorder, level); in trecurse()
102 trecurse(root->left, action, level + 1); in trecurse()
103 (*action)(root, postorder, level); in trecurse()
105 trecurse(root->right, action, level + 1); in trecurse()
106 (*action)(root, endorder, level); in trecurse()
112 twalk(const void *vroot, void (*action)(const void *, VISIT, int)) in twalk()
116 if (root != (node *)0 && action != (void (*)(const void *, VISIT, int))0) in twalk()
117 trecurse(root, action, 0); in twalk()
/bionic/libc/bionic/
Dspawn.cpp123 for (__posix_spawn_file_action* action = head; action != nullptr; action = action->next) { in Do() local
124 action->Do(); in Do()
344 __posix_spawn_file_action* action = in posix_spawn_add_file_action() local
345 reinterpret_cast<__posix_spawn_file_action*>(malloc(sizeof(*action))); in posix_spawn_add_file_action()
346 if (action == nullptr) return errno; in posix_spawn_add_file_action()
348 action->next = nullptr; in posix_spawn_add_file_action()
350 action->path = strdup(path); in posix_spawn_add_file_action()
351 if (action->path == nullptr) { in posix_spawn_add_file_action()
352 free(action); in posix_spawn_add_file_action()
356 action->path = nullptr; in posix_spawn_add_file_action()
[all …]
Dandroid_profiling_dynamic.cpp63 struct sigaction action = {}; in __libc_init_profiling_handlers() local
64 action.sa_flags = SA_SIGINFO | SA_RESTART; in __libc_init_profiling_handlers()
65 action.sa_sigaction = HandleProfilingSignal; in __libc_init_profiling_handlers()
66 sigaction(BIONIC_SIGNAL_PROFILER, &action, nullptr); in __libc_init_profiling_handlers()
/bionic/tests/libs/
Dstack_tagging_helper.cpp76 __attribute__((no_sanitize("memtag"), optnone, noinline)) void vfork_child2(ChildAction action, in vfork_child2() argument
82 if (action == ChildAction::Execve) { in vfork_child2()
88 } else if (action == ChildAction::Execl) { in vfork_child2()
92 } else if (action == ChildAction::Exit) { in vfork_child2()
100 __attribute__((no_sanitize("memtag"), optnone, noinline)) void vfork_child(ChildAction action) { in vfork_child() argument
109 vfork_child2(action, __builtin_frame_address(0)); in vfork_child()
138 void test_vfork(ChildAction action) { in test_vfork() argument
141 vfork_child(action); in test_vfork()
Dheap_tagging_helper.cpp25 void action(int signo, siginfo_t* info __unused, void*) { in action() function
49 sa.sa_sigaction = action; in main()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dhcreate.c62 hsearch(ENTRY item, ACTION action) in hsearch() argument
72 if (hsearch_r(item, action, &retval, &global_hashtable) == 0) in hsearch()
Dhsearch_r.c76 hsearch_r(ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) in hsearch_r() argument
100 if (action == FIND) { in hsearch_r()
/bionic/libc/private/
DScopedSignalHandler.h29 ScopedSignalHandler(int signal_number, void (*action)(int, siginfo_t*, void*),
32 action_ = { .sa_flags = sa_flags, .sa_sigaction = action }; in signal_number_()
Dbionic_fortify.h80 static inline void __check_buffer_access(const char* fn, const char* action, in __check_buffer_access() argument
83 __fortify_fatal("%s: prevented %zu-byte %s %zu-byte buffer", fn, claim, action, actual); in __check_buffer_access()
/bionic/tests/
Dcfi_test.cpp55 struct sigaction64 action = {.sa_handler = SIG_DFL}; in SetUp() local
56 sigaction64(SIGILL, &action, &previous_sigill_); in SetUp()
57 sigaction64(SIGSEGV, &action, &previous_sigsegv_); in SetUp()
58 sigaction64(SIGTRAP, &action, &previous_sigtrap_); in SetUp()
/bionic/linker/
Dlinked_list.h168 void for_each(F action) const { in for_each() argument
170 action(si); in for_each()
176 bool visit(F action) const { in visit() argument
178 if (!action(e->element)) { in visit()
Dlinker_soinfo.h444 void for_each_dt_needed(const soinfo* si, F action) { in for_each_dt_needed() argument
447 action(fix_dt_needed(si->get_string(d->d_un.d_val), si->get_realpath())); in for_each_dt_needed()
/bionic/libc/include/bits/
Dtermios_inlines.h94 __BIONIC_TERMIOS_INLINE int tcflow(int fd, int action) { in tcflow() argument
95 return ioctl(fd, TCXONC, __BIONIC_CAST(static_cast, unsigned long, action)); in tcflow()
/bionic/libc/kernel/uapi/xen/
Dgntalloc.h39 __u32 action; member
Dgntdev.h53 __u32 action; member
/bionic/libc/kernel/uapi/linux/
Dfib_rules.h38 __u8 action; member
Dblktrace_api.h98 __u32 action; member
Dpkt_cls.h115 int action; member
140 #define tc_gen __u32 index; __u32 capab; int action; int refcnt; int bindcnt
Daudit.h375 __u32 action; member
Dxfrm.h361 __u8 action; member
/bionic/libc/kernel/uapi/scsi/
Dscsi_bsg_fc.h54 __u8 action; member
/bionic/libc/kernel/uapi/asm-arm64/asm/
Dkvm.h108 __u8 action; member
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py236 …parser.add_argument('-L', dest='search_path', metavar='PATH', action='append', type=str, default=[…
Dgen_bench.py377 parser.add_argument('--ninja', action='store_true',
/bionic/libc/kernel/uapi/asm-x86/asm/
Dkvm.h403 __u32 action; member

12