/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | tsearch.c | 95 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/ |
D | spawn.cpp | 123 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 …]
|
D | android_profiling_dynamic.cpp | 63 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/ |
D | stack_tagging_helper.cpp | 76 __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()
|
D | heap_tagging_helper.cpp | 25 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/ |
D | hcreate.c | 62 hsearch(ENTRY item, ACTION action) in hsearch() argument 72 if (hsearch_r(item, action, &retval, &global_hashtable) == 0) in hsearch()
|
D | hsearch_r.c | 76 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/ |
D | ScopedSignalHandler.h | 29 ScopedSignalHandler(int signal_number, void (*action)(int, siginfo_t*, void*), 32 action_ = { .sa_flags = sa_flags, .sa_sigaction = action }; in signal_number_()
|
D | bionic_fortify.h | 80 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/ |
D | cfi_test.cpp | 55 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/ |
D | linked_list.h | 168 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()
|
D | linker_soinfo.h | 444 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/ |
D | termios_inlines.h | 94 __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/ |
D | gntalloc.h | 39 __u32 action; member
|
D | gntdev.h | 53 __u32 action; member
|
/bionic/libc/kernel/uapi/linux/ |
D | fib_rules.h | 38 __u8 action; member
|
D | blktrace_api.h | 98 __u32 action; member
|
D | pkt_cls.h | 115 int action; member 140 #define tc_gen __u32 index; __u32 capab; int action; int refcnt; int bindcnt
|
D | audit.h | 375 __u32 action; member
|
D | xfrm.h | 361 __u8 action; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_bsg_fc.h | 54 __u8 action; member
|
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
D | kvm.h | 108 __u8 action; member
|
/bionic/benchmarks/linker_relocation/regen/ |
D | dump_relocs.py | 236 …parser.add_argument('-L', dest='search_path', metavar='PATH', action='append', type=str, default=[…
|
D | gen_bench.py | 377 parser.add_argument('--ninja', action='store_true',
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | kvm.h | 403 __u32 action; member
|