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

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dinterrupt-daemon.c30 pid_t child; local
35 create a session. Fork so the child can create a new
37 child = fork ();
38 if (child == -1)
40 else if (child != 0)
44 /* In child. Switch to a new session. */
49 /* Fork again, so that the grand child (what we want to debug)
53 child = fork ();
54 if (child == -1)
56 else if (child !
[all...]
H A Dfork-print-inferior-events.c24 pid_t child; local
26 child = fork ();
27 switch (child)
H A Dinferior-died.c30 pid_t child = fork (); local
32 if (child == 0)
35 waitpid (child, NULL, 0);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dinterrupt-daemon.c30 pid_t child; local
35 create a session. Fork so the child can create a new
37 child = fork ();
38 if (child == -1)
40 else if (child != 0)
44 /* In child. Switch to a new session. */
49 /* Fork again, so that the grand child (what we want to debug)
53 child = fork ();
54 if (child == -1)
56 else if (child !
[all...]
H A Dfork-print-inferior-events.c24 pid_t child; local
26 child = fork ();
27 switch (child)
H A Dinferior-died.c30 pid_t child = fork (); local
32 if (child == 0)
35 waitpid (child, NULL, 0);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.multi/
H A Dwatchpoint-multi-exit.c26 /* Whether it's expected that the child exits with a signal, vs
43 pid_t child; local
45 child = fork ();
46 if (child == -1)
48 else if (child != 0)
52 ret = waitpid (child, &status, 0);
/netbsd-current/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.hpp29 /// \file utils/process/child.hpp
32 /// The child module provides a set of functions to spawn subprocesses with
67 class child : noncopyable { class in namespace:utils::process
73 static std::unique_ptr< child > fork_capture_aux(void);
75 static std::unique_ptr< child > fork_files_aux(const fs::path&,
78 explicit child(impl *);
81 ~child(void);
84 static std::unique_ptr< child > fork_capture(Hook);
88 static std::unique_ptr< child > fork_files(Hook, const fs::path&,
91 static std::unique_ptr< child > spawn_captur
[all...]
/netbsd-current/external/mit/libuv/dist/src/
H A Dheap-inl.h71 /* Swap parent with child. Child moves closer to the root, parent moves away. */
74 struct heap_node* child) {
79 *parent = *child;
80 *child = t;
82 parent->parent = child;
83 if (child->left == child) {
84 child->left = parent;
85 sibling = child->right;
87 child
72 heap_node_swap(struct heap* heap, struct heap_node* parent, struct heap_node* child) argument
110 struct heap_node** child; local
155 struct heap_node* child; local
[all...]
/netbsd-current/tests/lib/libc/sys/
H A Dt_ptrace_kill_wait.h33 pid_t child, wpid; local
39 SYSCALL_REQUIRE((child = fork()) != -1);
40 if (child == 0) {
41 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
44 DPRINTF("Before raising %s from child\n", strsignal(sigval));
51 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
53 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
54 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
[all...]
H A Dt_ptrace_syscall_wait.h50 pid_t child, wpid; local
67 SYSCALL_REQUIRE((child = fork()) != -1);
68 if (child == 0) {
69 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
74 DPRINTF("Before raising %s from child\n", strsignal(sigval));
83 DPRINTF("Before exiting of the child process\n");
86 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
88 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
89 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child,
204 pid_t child, wpid; local
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DX86DisassemblerTables.cpp72 /// @param child - The class that may be the subset
74 /// @return - True if child is a subset of parent, false otherwise.
75 static inline bool inheritsFrom(InstructionContext child, argument
79 if (child == parent)
84 return(inheritsFrom(child, IC_64BIT, AdSize64) ||
85 (noPrefix && inheritsFrom(child, IC_OPSIZE, noPrefix)) ||
86 inheritsFrom(child, IC_ADSIZE) ||
87 (noPrefix && inheritsFrom(child, IC_XD, noPrefix)) ||
88 (noPrefix && inheritsFrom(child, IC_XS, noPrefix)));
90 return(inheritsFrom(child, IC_64BIT_REX
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dx86-fbsd-nat.c26 x86_fbsd_nat_target::low_new_fork (ptid_t parent, pid_t child) argument
36 /* The kernel clears debug registers in the new child process after
37 fork, but GDB core assumes the child inherits the watchpoints/hw
43 child_state = x86_debug_reg_state (child);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/
H A Dwatchpoint-multi-exit.c26 /* Whether it's expected that the child exits with a signal, vs
43 pid_t child; local
45 child = fork ();
46 if (child == -1)
48 else if (child != 0)
52 ret = waitpid (child, &status, 0);
/netbsd-current/sys/dev/fdt/
H A Dcpus.c62 int child; local
69 for (child = OF_child(phandle); child; child = OF_peer(child)) {
70 if (!cpus_cpu_enabled(child))
72 fdt_add_child(self, child, faa, 0);
77 cpus_cpu_enabled(int child) argument
82 s = fdtbus_get_string(child, "device_type");
87 s = fdtbus_get_string(child, "statu
[all...]
/netbsd-current/external/gpl3/binutils/dist/gprof/
H A Dsparc.c49 Sym *child; local
70 child = sym_lookup (&symtab, dest_pc);
71 if (child)
75 (unsigned long) dest_pc, child->name,
76 (unsigned long) child->addr));
77 if (child->addr == dest_pc)
80 arc_add (parent, child, (unsigned long) 0);
H A Daarch64.c52 Sym *child; local
77 child = sym_lookup (&symtab, dest_pc);
79 if (child)
83 (unsigned long) dest_pc, child->name,
84 (unsigned long) child->addr));
86 if (child->addr == dest_pc)
89 arc_add (parent, child, (unsigned long) 0);
H A Dcall_graph.c38 Sym *child;
41 child = sym_lookup (&symtab, self_pc);
43 if (child == NULL || parent == NULL)
47 child will probably point to line symbols instead of function
49 line number in the calling routing, but the child should always
55 while (child >= symtab.base && ! child->is_func)
56 --child;
58 if (child < symtab.base)
63 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child)
37 Sym *child; local
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gprof/
H A Daarch64.c52 Sym *child; local
77 child = sym_lookup (&symtab, dest_pc);
79 if (child)
83 (unsigned long) dest_pc, child->name,
84 (unsigned long) child->addr));
86 if (child->addr == dest_pc)
89 arc_add (parent, child, (unsigned long) 0);
H A Dsparc.c49 Sym *child; local
70 child = sym_lookup (&symtab, dest_pc);
71 if (child)
75 (unsigned long) dest_pc, child->name,
76 (unsigned long) child->addr));
77 if (child->addr == dest_pc)
80 arc_add (parent, child, (unsigned long) 0);
H A Dcall_graph.c38 Sym *child;
41 child = sym_lookup (&symtab, self_pc);
43 if (child == NULL || parent == NULL)
47 child will probably point to line symbols instead of function
49 line number in the calling routing, but the child should always
55 while (child >= symtab.base && ! child->is_func)
56 --child;
58 if (child < symtab.base)
63 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child)
37 Sym *child; local
[all...]
/netbsd-current/external/bsd/openldap/dist/tests/scripts/
H A Dgrandchild_wrapper.py38 async def signal_to_grandchild(child):
39 # Get the first child, that should be the one we're after
41 "pgrep", "-o", "--parent", str(child.pid),
53 def sighup_handler(child):
54 asyncio.create_task(signal_to_grandchild(child))
61 child = await asyncio.create_subprocess_exec(*args)
63 # If we got a SIGHUP before we got the child fully started, there's no
66 loop.add_signal_handler(signal.SIGHUP, sighup_handler, child)
68 raise SystemExit(await child.wait())
/netbsd-current/external/gpl3/gdb.old/dist/gprof/
H A Daarch64.c52 Sym *child; local
77 child = sym_lookup (&symtab, dest_pc);
79 if (child)
83 (unsigned long) dest_pc, child->name,
84 (unsigned long) child->addr));
86 if (child->addr == dest_pc)
89 arc_add (parent, child, (unsigned long) 0);
H A Dsparc.c49 Sym *child; local
70 child = sym_lookup (&symtab, dest_pc);
71 if (child)
75 (unsigned long) dest_pc, child->name,
76 (unsigned long) child->addr));
77 if (child->addr == dest_pc)
80 arc_add (parent, child, (unsigned long) 0);
H A Dcall_graph.c38 Sym *child;
41 child = sym_lookup (&symtab, self_pc);
43 if (child == NULL || parent == NULL)
47 child will probably point to line symbols instead of function
49 line number in the calling routing, but the child should always
55 while (child >= symtab.base && ! child->is_func)
56 --child;
58 if (child < symtab.base)
63 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child)
37 Sym *child; local
[all...]

Completed in 399 milliseconds

1234567891011>>