Searched defs:child (Results 1 - 8 of 8) sorted by relevance

/bionic/libc/arch-common/bionic/
H A Dpthread_atfork.h19 extern int __register_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void), void* dso);
26 int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) { argument
27 return __register_atfork(prepare, parent, child, &__dso_handle);
/bionic/tests/libs/
H A Dpthread_atfork.cpp19 extern "C" int proxy_pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) { argument
20 return pthread_atfork(prepare, parent, child);
/bionic/libc/bionic/
H A Dpthread_atfork.cpp40 void (*child)(void); member in struct:atfork_t
117 // We lock the atfork list here, unlock it in the parent, and reset it in the child.
119 // to the prepare and parent/child handlers.
123 // handlers should be called in the reverse order of the parent/child
137 if (it->child != nullptr) {
138 it->child();
156 void(*child)(void), void* dso) {
164 entry->child = child;
/bionic/tests/
H A Dsys_ptrace_test.cpp57 static bool is_hw_feature_supported(pid_t child, HwFeature feature) { argument
60 long result = ptrace(PTRACE_GETHBPREGS, child, 0, &capabilities);
77 long result = ptrace(PTRACE_GETREGSET, child,
86 UNUSED(child);
91 UNUSED(child);
97 static void set_watchpoint(pid_t child, uintptr_t address, size_t size) { argument
106 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno);
107 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -2, &control)) << strerror(errno);
118 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno);
121 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offseto
146 pid_t child = fork(); local
291 set_breakpoint(pid_t child) argument
340 pid_t child = fork(); local
[all...]
H A Ddlext_test.cpp432 // child process
437 fprintf(stderr, "in child: %s\n", dlerror());
575 pid_t child = fork(); local
576 if (child == 0) {
577 // close the 'wrong' ends of the pipes in the child
589 fprintf(stderr, "in child: %s\n", dlerror());
601 ASSERT_NOERROR(child);
607 // wait for the child to be done
611 // save the child's pid and the parent_done_pipe
612 child_pids[i] = child;
[all...]
/bionic/linker/
H A Dlinker_soinfo.cpp439 void soinfo::add_child(soinfo* child) { argument
441 child->parents_.push_back(this);
442 this->children_.push_back(child);
452 children_.for_each([&] (soinfo* child) {
453 child->parents_.remove_if([&] (const soinfo* parent) {
459 parent->children_.remove_if([&] (const soinfo* child) {
460 return child == this;
/bionic/libc/kernel/uapi/linux/
H A Dfuse.h564 uint64_t child; member in struct:fuse_notify_delete_out
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dfuse.h564 uint64_t child; member in struct:fuse_notify_delete_out

Completed in 2400 milliseconds