Searched refs:child (Results 1 - 17 of 17) sorted by relevance

/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/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/
H A Dsys_ptrace_test.cpp63 static bool is_hw_feature_supported(pid_t child, HwFeature feature) { argument
66 long result = ptrace(PTRACE_GETHBPREGS, child, 0, &capabilities);
97 long result = ptrace(PTRACE_GETREGSET, child,
106 UNUSED(child);
111 UNUSED(child);
117 static void set_watchpoint(pid_t child, uintptr_t address, size_t size) { argument
126 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno);
127 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -2, &control)) << strerror(errno);
138 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno);
141 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offseto
166 pid_t child = fork(); local
311 set_breakpoint(pid_t child) argument
360 pid_t child = fork(); local
[all...]
H A Ddlext_test.cpp433 // child process
438 fprintf(stderr, "in child: %s\n", dlerror());
576 pid_t child = fork(); local
577 if (child == 0) {
578 // close the 'wrong' ends of the pipes in the child
590 fprintf(stderr, "in child: %s\n", dlerror());
602 ASSERT_NOERROR(child);
608 // wait for the child to be done
612 // save the child's pid and the parent_done_pipe
613 child_pids[i] = child;
[all...]
/bionic/libc/arch-arm64/bionic/
H A D__bionic_clone.S34 # Push 'fn' and 'arg' onto the child stack.
41 # Are we the child?
52 # We're in the child now. Set the end of the frame record chain.
56 # Call __start_thread with the 'fn' and 'arg' we stored on the child stack.
/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/libc/arch-mips/bionic/
H A D__bionic_clone.S39 # set up child stack
57 # Clear return address in child so we don't unwind further.
/bionic/libc/arch-arm/bionic/
H A D__bionic_clone.S45 # Push 'fn' and 'arg' onto the child stack.
52 # Are we the child?
66 # Call __start_thread with the 'fn' and 'arg' we stored on the child stack.
/bionic/libc/arch-mips64/bionic/
H A D__bionic_clone.S50 # set up child stack
58 PTR_L t0,FRAME_GP(sp) # copy gp to child stack
78 # Clear return address in child so we don't unwind further.
87 * For O32 etc the child stack must have space for a0..a3 to be stored
88 * For N64 etc, the child stack can be restored to the original value
/bionic/libc/arch-x86_64/bionic/
H A D__bionic_clone.S33 # Copy 'fn' and 'arg' onto the child stack.
65 # We're in the child now, so call __start_thread
66 # with the arguments from the child stack moved into
/bionic/libc/arch-x86/bionic/
H A D__bionic_clone.S22 # Copy 'fn' and 'arg' onto the child stack
/bionic/linker/
H A Dlinker_soinfo.cpp441 void soinfo::add_child(soinfo* child) { argument
443 child->parents_.push_back(this);
444 this->children_.push_back(child);
454 children_.for_each([&] (soinfo* child) {
455 child->parents_.remove_if([&] (const soinfo* parent) {
461 parent->children_.remove_if([&] (const soinfo* child) {
462 return child == this;
H A Dlinker_soinfo.h202 void add_child(soinfo* child);
H A Dlinker.cpp735 si->get_children().for_each([&](soinfo* child) {
736 visit_list.push_back(child);
1806 soinfo* child = nullptr;
1807 while ((child = si->get_children().pop_front()) != nullptr) {
1809 child->get_realpath(), child);
1811 child->get_parents().remove(si);
1813 if (local_unload_list.contains(child)) {
1815 } else if (child->is_linked() && child
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dfuse.h455 uint64_t child; member in struct:fuse_notify_delete_out
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dfuse.h455 uint64_t child; member in struct:fuse_notify_delete_out
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dfuse.h455 uint64_t child; member in struct:fuse_notify_delete_out

Completed in 225 milliseconds