| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| interrupt-daemon.c | 30 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 != 0 [all...] |
| fork-print-inferior-events.c | 24 pid_t child; local 26 child = fork (); 27 switch (child)
|
| inferior-died.c | 30 pid_t child = fork (); local 32 if (child == 0) 35 waitpid (child, NULL, 0);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| interrupt-daemon.c | 30 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 != 0 [all...] |
| fork-print-inferior-events.c | 24 pid_t child; local 26 child = fork (); 27 switch (child)
|
| inferior-died.c | 30 pid_t child = fork (); local 32 if (child == 0) 35 waitpid (child, NULL, 0);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.rocm/ |
| precise-memory-fork.c | 26 child (void) function 38 child ();
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.rocm/ |
| precise-memory-fork.c | 26 child (void) function 38 child ();
|
| /src/external/bsd/kyua-cli/dist/utils/process/ |
| child.hpp | 29 /// \file utils/process/child.hpp 32 /// The child module provides a set of functions to spawn subprocesses with 66 /// Child process spawner and controller. 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& [all...] |
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| gmon_call_graph.cc | 38 Sym *child; local 42 child = sym_lookup (symtab, self_pc); 44 if (child == NULL || parent == NULL) 48 child will probably point to line symbols instead of function 50 line number in the calling routing, but the child should always 56 while (child >= symtab->base && ! child->is_func) 57 --child; 59 if (child < symtab->base) 62 child->ncalls += count [all...] |
| gmon_cg_arcs.cc | 45 * range covered by CHILD. 48 arc_lookup (Sym *parent, Sym *child) 52 if (!parent || !child) 54 printf ("[arc_lookup] parent == 0 || child == 0\n"); 57 DBG (LOOKUPDEBUG, printf ("[arc_lookup] parent %s child %s\n", 58 parent->name, child->name)); 61 DBG (LOOKUPDEBUG, printf ("[arc_lookup]\t parent %s child %s\n", 62 arc->parent->name, arc->child->name)); 63 if (child->addr >= arc->child->add [all...] |
| /src/external/mit/libuv/dist/src/ |
| heap-inl.h | 71 /* 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 110 struct heap_node** child; local 155 struct heap_node* child; local [all...] |
| /src/tests/lib/libc/sys/ |
| t_ptrace_kill_wait.h | 33 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)); 49 "Child should be terminated by a signal from its parent"); 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...] |
| t_ptrace_syscall_wait.h | 49 pid_t child, wpid; local 66 SYSCALL_REQUIRE((child = fork()) != -1); 67 if (child == 0) { 68 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); 73 DPRINTF("Before raising %s from child\n", strsignal(sigval)); 82 DPRINTF("Before exiting of the child process\n"); 85 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); 87 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); 88 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) 203 pid_t child, wpid; local [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| X86DisassemblerTables.cpp | 72 /// @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, 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_REXW) | [all...] |
| /src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/ |
| error-propagation.c | 2 when errors are encountered in child functions that can recurse to parents. 16 check_prop_err (ctf_dict_t *child, ctf_dict_t *parent, int expected) 18 if (ctf_errno (child) == expected) 22 fprintf (stderr, "%s: error propagation failure: error \"%s\" not seen on child, " 26 "\"%s\" seen on parent, \"%s\" on child\n", desc, 28 ctf_errmsg (ctf_errno (child))); 41 ctf_dict_t *child; local 55 || (child = ctf_create (&err)) == NULL 62 if ((ctf_import (child, parent)) < 0) 64 fprintf (stderr, "cannot import: %s\n", ctf_errmsg (ctf_errno (child))); [all...] |
| /src/external/gpl3/gdb.old/dist/libctf/testsuite/libctf-writable/ |
| error-propagation.c | 2 when errors are encountered in child functions that can recurse to parents. 16 check_prop_err (ctf_dict_t *child, ctf_dict_t *parent, int expected) 18 if (ctf_errno (child) == expected) 22 fprintf (stderr, "%s: error propagation failure: error \"%s\" not seen on child, " 26 "\"%s\" seen on parent, \"%s\" on child\n", desc, 28 ctf_errmsg (ctf_errno (child))); 41 ctf_dict_t *child; local 55 || (child = ctf_create (&err)) == NULL 62 if ((ctf_import (child, parent)) < 0) 64 fprintf (stderr, "cannot import: %s\n", ctf_errmsg (ctf_errno (child))); [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/ |
| watchpoint-multi-exit.c | 26 /* 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);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.multi/ |
| watchpoint-multi-exit.c | 26 /* 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);
|
| /src/sys/dev/fdt/ |
| cpus.c | 62 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) 82 s = fdtbus_get_string(child, "device_type"); 87 s = fdtbus_get_string(child, "status") [all...] |
| /src/external/bsd/openldap/dist/tests/scripts/ |
| grandchild_wrapper.py | 38 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())
|
| /src/external/gpl3/binutils/dist/gprof/ |
| sparc.c | 49 Sym *child; local 73 child = sym_lookup (symtab, dest_pc); 74 if (child) 78 (unsigned long) dest_pc, child->name, 79 (unsigned long) child->addr)); 80 if (child->addr == dest_pc) 83 arc_add (parent, child, (unsigned long) 0);
|
| call_graph.c | 37 Sym *child; local 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) [all...] |
| /src/external/gpl3/binutils.old/dist/gprof/ |
| sparc.c | 49 Sym *child; local 73 child = sym_lookup (symtab, dest_pc); 74 if (child) 78 (unsigned long) dest_pc, child->name, 79 (unsigned long) child->addr)); 80 if (child->addr == dest_pc) 83 arc_add (parent, child, (unsigned long) 0);
|
| call_graph.c | 37 Sym *child; local 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) [all...] |