| /openbsd/src/gnu/llvm/llvm/utils/TableGen/ |
| D | X86DisassemblerTables.cpp | 77 static inline bool inheritsFrom(InstructionContext child, in inheritsFrom() argument 81 if (child == parent) in inheritsFrom() 86 return(inheritsFrom(child, IC_64BIT, AdSize64) || in inheritsFrom() 87 (noPrefix && inheritsFrom(child, IC_OPSIZE, noPrefix)) || in inheritsFrom() 88 inheritsFrom(child, IC_ADSIZE) || in inheritsFrom() 89 (noPrefix && inheritsFrom(child, IC_XD, noPrefix)) || in inheritsFrom() 90 (noPrefix && inheritsFrom(child, IC_XS, noPrefix))); in inheritsFrom() 92 return(inheritsFrom(child, IC_64BIT_REXW) || in inheritsFrom() 93 (noPrefix && inheritsFrom(child, IC_64BIT_OPSIZE, noPrefix)) || in inheritsFrom() 94 (!AdSize64 && inheritsFrom(child, IC_64BIT_ADSIZE)) || in inheritsFrom() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/subtest/ |
| D | basic.t | 38 my $indented = $tb->child; 76 my $indented = $tb->child; 80 my $indented2 = $indented->child('with name'); 115 my $child = $tb->child('expected to fail'); 116 $child->$plan( tests => 3 ); 117 $child->$ok(1); 118 $child->$ok(0); 119 $child->$ok(3); 120 $child->$finalize; 124 my $child = $tb->child('expected to pass'); [all …]
|
| /openbsd/src/sys/dev/mii/ |
| D | mii.c | 66 struct mii_softc *child; in mii_attach() local 90 for (child = LIST_FIRST(&mii->mii_phys); child != NULL; in mii_attach() 91 child = LIST_NEXT(child, mii_list)) { in mii_attach() 92 if (child->mii_phy == ma.mii_phyno) { in mii_attach() 137 if ((child = (struct mii_softc *)config_found_sm(parent, &ma, in mii_attach() 142 LIST_INSERT_HEAD(&mii->mii_phys, child, mii_list); in mii_attach() 143 child->mii_offset = offset; in mii_attach() 155 struct mii_softc *child, *nchild; in mii_detach() local 163 for (child = LIST_FIRST(&mii->mii_phys); in mii_detach() 164 child != NULL; child = nchild) { in mii_detach() [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gprof/ |
| D | cg_arcs.c | 59 arc_lookup (parent, child) in arc_lookup() argument 61 Sym *child; 65 if (!parent || !child) 71 parent->name, child->name)); 75 arc->parent->name, arc->child->name)); 76 if (child->addr >= arc->child->addr 77 && child->end_addr <= arc->child->end_addr) 90 arc_add (parent, child, count) in arc_add() argument 92 Sym *child; 99 count, parent->name, child->name)); [all …]
|
| D | cg_dfn.c | 63 is_numbered (child) in is_numbered() argument 64 Sym *child; in is_numbered() 66 return child->cg.top_order != DFN_NAN && child->cg.top_order != DFN_BUSY; 74 is_busy (child) in is_busy() argument 75 Sym *child; in is_busy() 77 if (child->cg.top_order == DFN_NAN) 92 find_cycle (child) in find_cycle() argument 93 Sym *child; in find_cycle() 103 if (child == head) 107 if (child->cg.cyc.head != child && child->cg.cyc.head == head) [all …]
|
| D | call_graph.c | 40 Sym *child; local 43 child = sym_lookup (&symtab, self_pc); 45 if (child == NULL || parent == NULL) 57 while (child >= symtab.base && ! child->is_func) 58 --child; 60 if (child < symtab.base) 65 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child) 67 && !sym_id_arc_is_present (&syms[EXCL_ARCS], parent, child))) 69 child->ncalls += count; 72 parent->name, child->name, count)); [all …]
|
| D | cg_print.c | 121 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time, 122 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls); 140 double left_time = left->cg.prop.self + left->cg.prop.child; 141 double right_time = right->cg.prop.self + right->cg.prop.child; 203 "", "", member->cg.prop.self / hz, member->cg.prop.child / hz, 231 Sym *left_child = left->child; 233 Sym *right_child = right->child; 314 sort_parents (child) in sort_parents() argument 315 Sym * child; in sort_parents() 327 for (arc = child->cg.parents; arc; arc = detached) [all …]
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/gprof/ |
| D | cg_arcs.c | 59 arc_lookup (Sym *parent, Sym *child) in arc_lookup() argument 63 if (!parent || !child) in arc_lookup() 69 parent->name, child->name)); in arc_lookup() 73 arc->parent->name, arc->child->name)); in arc_lookup() 74 if (child->addr >= arc->child->addr in arc_lookup() 75 && child->end_addr <= arc->child->end_addr) in arc_lookup() 88 arc_add (Sym *parent, Sym *child, unsigned long count) in arc_add() argument 94 count, parent->name, child->name)); in arc_add() 95 arc = arc_lookup (parent, child); in arc_add() 109 arc->child = child; in arc_add() [all …]
|
| D | cg_dfn.c | 63 is_numbered (Sym *child) in is_numbered() argument 65 return child->cg.top_order != DFN_NAN && child->cg.top_order != DFN_BUSY; in is_numbered() 73 is_busy (Sym *child) in is_busy() argument 75 if (child->cg.top_order == DFN_NAN) in is_busy() 90 find_cycle (Sym *child) in find_cycle() argument 100 if (child == head) in find_cycle() 104 if (child->cg.cyc.head != child && child->cg.cyc.head == head) in find_cycle() 141 print_name (child); in find_cycle() 174 child = dfn_stack[index].sym; in find_cycle() 175 if (child->cg.cyc.head == child) in find_cycle() [all …]
|
| D | call_graph.c | 37 Sym *child; in cg_tally() local 40 child = sym_lookup (&symtab, self_pc); in cg_tally() 42 if (child == NULL || parent == NULL) in cg_tally() 54 while (child >= symtab.base && ! child->is_func) in cg_tally() 55 --child; in cg_tally() 57 if (child < symtab.base) in cg_tally() 62 if (sym_id_arc_is_present (&syms[INCL_ARCS], parent, child) in cg_tally() 64 && !sym_id_arc_is_present (&syms[EXCL_ARCS], parent, child))) in cg_tally() 66 child->ncalls += count; in cg_tally() 69 parent->name, child->name, count)); in cg_tally() [all …]
|
| D | cg_print.c | 120 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time, in print_cycle() 121 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls); in print_cycle() 137 double left_time = left->cg.prop.self + left->cg.prop.child; in cmp_member() 138 double right_time = right->cg.prop.self + right->cg.prop.child; in cmp_member() 198 "", "", member->cg.prop.self / hz, member->cg.prop.child / hz, in print_members() 224 Sym *left_child = left->child; in cmp_arc() 226 Sym *right_child = right->child; in cmp_arc() 307 sort_parents (Sym * child) in sort_parents() argument 319 for (arc = child->cg.parents; arc; arc = detached) in sort_parents() 335 child->cg.parents = sorted.next_parent; in sort_parents() [all …]
|
| /openbsd/src/regress/sys/kern/ptrace2/ |
| D | ptrace_test.c | 140 pid_t child, wpid; in ATF_TC_BODY() local 143 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY() 144 if (child == 0) { in ATF_TC_BODY() 154 wpid = waitpid(child, &status, 0); in ATF_TC_BODY() 156 ATF_REQUIRE(wpid == child); in ATF_TC_BODY() 161 ATF_REQUIRE(ptrace(PT_CONTINUE, child, (caddr_t)1, 0) != -1); in ATF_TC_BODY() 164 wpid = waitpid(child, &status, 0); in ATF_TC_BODY() 166 ATF_REQUIRE(wpid == child); in ATF_TC_BODY() 171 wpid = waitpid(child, &status, 0); in ATF_TC_BODY() 184 pid_t child, wpid; in ATF_TC_BODY() local [all …]
|
| /openbsd/src/usr.bin/rdist/ |
| D | child.c | 82 removechild(CHILD *child) in removechild() argument 87 child->c_name, child->c_pid, child->c_readfd); in removechild() 94 if (pc == child) in removechild() 99 child->c_name, child->c_pid, child->c_readfd); in removechild() 117 (void) free(child->c_name); in removechild() 119 (void) close(child->c_readfd); in removechild() 130 copychild(CHILD *child) in copychild() argument 136 newc->c_name = xstrdup(child->c_name); in copychild() 137 newc->c_readfd = child->c_readfd; in copychild() 138 newc->c_pid = child->c_pid; in copychild() [all …]
|
| /openbsd/src/usr.bin/mandoc/ |
| D | eqn_term.c | 52 const struct eqn_box *child; in eqn_box() local 113 child = bp->first; in eqn_box() 114 eqn_box(p, child); in eqn_box() 119 child = child->next; in eqn_box() 120 if (child != NULL) { in eqn_box() 122 eqn_box(p, child); in eqn_box() 128 child = child->next; in eqn_box() 129 if (child != NULL) in eqn_box() 130 eqn_box(p, child); in eqn_box() 134 child = bp->first; in eqn_box() [all …]
|
| D | man_validate.c | 120 man->last = man->last->child; in man_validate() 124 man->last = man->last->child; in man_validate() 283 if (n->child == NULL) in post_OP() 285 else if (n->child->next != NULL && n->child->next->next != NULL) { in post_OP() 286 n = n->child->next->next; in post_OP() 298 nc = n->child; in post_SH() 324 nc->body->child != NULL) { in post_SH() 355 if (n->type == ROFFT_HEAD && n->child == NULL) in post_UR() 363 if (n->type == ROFFT_BODY && n->child == NULL) in check_part() 374 if (n->body->child == NULL) in check_par() [all …]
|
| D | roff_term.c | 85 nc1 = n->child->next; in roff_term_pre_ce() 110 cp = n->child->string; in roff_term_pre_ft() 138 term_setwidth(p, n->child != NULL ? n->child->string : NULL); in roff_term_pre_ll() 149 if (n->child != NULL) { in roff_term_pre_mc() 150 p->mc = n->child->string; in roff_term_pre_mc() 167 if (n->child != NULL && in roff_term_pre_po() 168 a2roffsu(n->child->string, &su, SCALE_EM) != NULL) { in roff_term_pre_po() 170 if (*n->child->string == '+' || in roff_term_pre_po() 171 *n->child->string == '-') in roff_term_pre_po() 192 if (n->child != NULL) { in roff_term_pre_sp() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/op/ |
| D | fork.t | 107 iteration 1 child 110 iteration 2 child 113 iteration 2 child 116 iteration 3 child 119 iteration 3 child 122 iteration 3 child 125 iteration 3 child 134 child 143 child 161 child 1 [all …]
|
| /openbsd/src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
| D | run.py | 96 child = spawn(command, maxread=2000, logfile=logfile, cwd=cwd, env=env, 99 child = spawn(command, timeout=timeout, maxread=2000, logfile=logfile, 115 index = child.expect(patterns) 116 if isinstance(child.after, child.allowed_string_types): 117 child_result_list.append(child.before + child.after) 121 child_result_list.append(child.before) 122 if isinstance(responses[index], child.allowed_string_types): 123 child.send(responses[index]) 128 if isinstance(callback_result, child.allowed_string_types): 129 child.send(callback_result) [all …]
|
| D | replwrap.py | 38 self.child = pexpect.spawn(cmd_or_spawn, echo=False, encoding='utf-8') 40 self.child = cmd_or_spawn 41 if self.child.echo: 44 self.child.setecho(False) 45 self.child.waitnoecho() 61 self.child.expect(orig_prompt) 62 self.child.sendline(prompt_change) 65 return self.child.expect_exact([self.prompt, self.continuation_prompt], 88 self.child.sendline(cmdlines[0]) 91 res.append(self.child.before) [all …]
|
| /openbsd/src/lib/libc/stdlib/ |
| D | heapsort.c | 71 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ argument 74 child = base + child_i * size; \ 75 if (child_i < nmemb && compar(child, child + size) < 0) { \ 76 child += size; \ 80 if (compar(child, par) <= 0) \ 82 SWAP(par, child, count, size, tmp); \ 103 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument 105 child = base + child_i * size; \ 106 if (child_i < nmemb && compar(child, child + size) < 0) { \ 107 child += size; \ [all …]
|
| /openbsd/src/gnu/llvm/lldb/packages/Python/lldbsuite/test/ |
| D | lldbpexpect.py | 21 self.child.expect_exact(self.PROMPT) 49 self.child = pexpect.spawn( 52 self.child.ptyproc.delayafterclose = timeout/10 53 self.child.ptyproc.delayafterterminate = timeout/10 61 self.child.expect_exact(cmd) 64 self.child.expect_exact("target create") 65 self.child.expect_exact("Current executable set to") 75 self.child.sendline(cmd) 78 self.child.expect_exact(s) 82 self.child.sendeof() [all …]
|
| /openbsd/src/usr.bin/ssh/ |
| D | sshd.c | 214 struct early_child *child = NULL; in child_register() local 222 child = &(children[i]); in child_register() 225 if (child == NULL) { in child_register() 229 child->pipefd = pipefd; in child_register() 230 child->early = 1; in child_register() 233 addr_sa_to_xaddr(sa, addrlen, &child->addr) == 0) in child_register() 234 child->have_addr = 1; in child_register() 240 xasprintf(&child->id, "connection from %s", raddr); in child_register() 244 xasprintf(&child->id, "connection from %s to %s", raddr, laddr); in child_register() 251 return child; in child_register() [all …]
|
| /openbsd/src/regress/lib/libssl/handshake/ |
| D | handshake_table.c | 80 struct child { struct 87 static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = { argument 179 struct child current, struct child end, 180 struct child path[], uint8_t flags, unsigned int depth); 372 unsigned int child; in generate_graphics() local 381 for (child = 0; stateinfo[start][child].mt != 0; child++) { in generate_graphics() 382 end = stateinfo[start][child].mt; in generate_graphics() 383 flag = stateinfo[start][child].flag; in generate_graphics() 384 forced = stateinfo[start][child].forced; in generate_graphics() 415 struct child current, struct child end, struct child path[], uint8_t flags, in build_table() [all …]
|
| /openbsd/src/sys/dev/ofw/ |
| D | fdt.c | 502 void *child; in fdt_find_node() local 515 for (child = fdt_child_node(node); child; in fdt_find_node() 516 child = fdt_next_node(child)) { in fdt_find_node() 517 s = fdt_node_name(child); in fdt_find_node() 521 if (child) { in fdt_find_node() 522 node = child; in fdt_find_node() 528 for (child = fdt_child_node(node); child; in fdt_find_node() 529 child = fdt_next_node(child)) { in fdt_find_node() 530 s = fdt_node_name(child); in fdt_find_node() 534 if (child) { in fdt_find_node() [all …]
|
| /openbsd/src/usr.sbin/tcpdump/ |
| D | makemib | 144 if (child[parent] != "") { 145 for (sib = child[parent]; sib != ""; sib = sibling[sib]) 155 if (child[parent] == "") { 156 child[parent] = new 158 sibling[new] = child[parent] 159 child[parent] = new 171 if (child[item] != "") { 172 dump(child[item]) 173 c = "&_"child[item]"_obj"
|