| /netbsd/src/usr.bin/find/ |
| D | operator.c | 82 PLAN *tail; /* pointer to tail of subplan */ in yankexpr() local 96 for (tail = subplan = NULL;;) { in yankexpr() 115 tail = subplan = next; in yankexpr() 117 tail->next = next; in yankexpr() 118 tail = next; in yankexpr() 120 tail->next = NULL; in yankexpr() 134 PLAN *tail; /* pointer to tail of result plan */ in paren_squish() local 137 result = tail = NULL; in paren_squish() 153 tail = result = expr; in paren_squish() 155 tail->next = expr; in paren_squish() [all …]
|
| D | find.c | 69 PLAN *plan, *tail, *new; in find_formplan() local 87 for (plan = tail = NULL; *argv;) { in find_formplan() 91 tail = plan = new; in find_formplan() 93 tail->next = new; in find_formplan() 94 tail = new; in find_formplan() 106 tail = plan = new; in find_formplan() 112 tail->next = new; in find_formplan() 113 tail = new; in find_formplan() 115 tail->next = new; in find_formplan() 116 tail = new; in find_formplan()
|
| /netbsd/src/sys/external/bsd/drm2/include/linux/ |
| D | kfifo.h | 138 const size_t tail = meta->kfm_tail; in _kfifo_len() local 141 return (head <= tail ? tail - head : nbytes + tail - head); in _kfifo_len() 156 const size_t tail = meta->kfm_tail; in _kfifo_out_peek() local 158 if (head <= tail) { in _kfifo_out_peek() 159 if (size <= tail - head) { in _kfifo_out_peek() 167 } else if (size <= nbytes + tail - head) { in _kfifo_out_peek() 191 const size_t tail = meta->kfm_tail; in _kfifo_out() local 193 if (head <= tail) { in _kfifo_out() 194 if (size <= tail - head) { in _kfifo_out() 204 } else if (size <= nbytes + tail - head) { in _kfifo_out() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/util/ |
| D | add-depends.pl | 231 (my $tail = $') =~ s/\s*\R$//; 236 $tail = canonpath($tail); 238 unless (defined $depconv_cache{$tail}) { 239 my $dep = $tail; 246 $depconv_cache{$tail} = $dep; 250 return ($objfile, '"'.$depconv_cache{$tail}.'"') 251 if defined $depconv_cache{$tail}; 252 print STDERR "DEBUG[$producer]: ignoring $objfile <- $tail\n" 279 (my $tail = $') =~ s/\s*\R$//; 285 $tail = rel2abs($tail); [all …]
|
| D | check-format.pl | 452 my ($head, $tail) = (substr($str, 0, $i).$1, $3); 471 $tail =~ m/^([\s@]*)([^\s\@])/; 514 … if $tail =~ m/^([^{]*)/ && $1 =~ m/[^\s\@;]/; # non-space non-';' before any '{' 608 if ((my ($head, $tail) = m|^(.*?)\*/(.*)$|) && $1 ne '/') { # ending comment: '*/' 610 …report("missing space (or ',', ';', ')', '}', ']') after '*/'") if $tail =~ m/^[^\s,;)}\]]/; # no … 614 $_ = "$head@@".$tail; # blind the "*/" 625 $_ = blind_nonspace($cmt_text)."@@".$tail; 632 if (my ($head, $opt_minus, $tail) = m|^(.*?)/\*(-?)(.*)$|) { # begin of comment: '/*' 635 …report("missing space, '*', or '!' after '/*$opt_minus'") if $tail =~ m/^[^\s*!$self_test_exceptio… 636 my $cmt_text = $opt_minus.$tail; # preliminary [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/trivial-rewrite/ |
| D | rewrite.c | 132 if (tree->head == tree->tail in rewrite_tree() 133 && tree->tail->type == TOK822_QSTRING in rewrite_tree() 134 && VSTRING_LEN(tree->tail->vstr) == 0) in rewrite_tree() 140 if (tree->head == tree->tail in rewrite_tree() 141 && tree->tail->type == '@') { in rewrite_tree() 142 tok822_free_tree(tok822_sub_keep_before(tree, tree->tail)); in rewrite_tree() 152 && colon != tree->tail) in rewrite_tree() 158 if ((domain = tok822_rfind_type(tree->tail, '@')) == 0) { in rewrite_tree() 177 && (domain = tok822_rfind_type(tree->tail, '%')) != 0) { in rewrite_tree() 205 && (domain = tok822_rfind_type(tree->tail, '@')) != 0 in rewrite_tree() [all …]
|
| D | resolve.c | 286 if (tree->tail in resolve_addr() 287 && tree->tail->type == '.' in resolve_addr() 288 && tok822_rfind_type(tree->tail, '@') != 0 in resolve_addr() 289 && tree->tail->prev->type != '.' in resolve_addr() 290 && tree->tail->prev->type != '@') in resolve_addr() 291 tok822_free_tree(tok822_sub_keep_before(tree, tree->tail)); in resolve_addr() 297 && tree->tail in resolve_addr() 298 && tree->tail->type == '@') in resolve_addr() 299 tok822_free_tree(tok822_sub_keep_before(tree, tree->tail)); in resolve_addr() 309 if ((domain = tok822_rfind_type(tree->tail, '@')) != 0) { in resolve_addr() [all …]
|
| /netbsd/src/usr.bin/make/unit-tests/ |
| D | varmod-tail.exp | 1 tail (basename) of 'a/b/c' is 'c' 2 tail (basename) of 'def' is 'def' 3 tail (basename) of 'a.b.c' is 'a.b.c' 4 tail (basename) of 'a.b/c' is 'c' 5 tail (basename) of 'a' is 'a' 6 tail (basename) of 'a.a' is 'a.a' 7 tail (basename) of '.gitignore' is '.gitignore' 8 tail (basename) of 'a' is 'a' 9 tail (basename) of 'a.a' is 'a.a' 10 tail (basename) of 'trailing/' is ''
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | tree-iterator.cc | 113 struct tree_statement_list_node *head, *tail, *cur; in tsi_link_before() local 121 tail = STATEMENT_LIST_TAIL (t); in tsi_link_before() 128 if (!head || !tail) in tsi_link_before() 130 gcc_assert (head == tail); in tsi_link_before() 140 tail = head; in tsi_link_before() 156 tail->next = cur; in tsi_link_before() 157 cur->prev = tail; in tsi_link_before() 166 STATEMENT_LIST_TAIL (i->container) = tail; in tsi_link_before() 178 i->ptr = tail; in tsi_link_before() 190 struct tree_statement_list_node *head, *tail, *cur; in tsi_link_after() local [all …]
|
| D | sched-ebb.cc | 96 debug_ebb_dependencies (rtx_insn *head, rtx_insn *tail) in debug_ebb_dependencies() argument 102 BLOCK_NUM (head), BLOCK_NUM (tail)); in debug_ebb_dependencies() 104 debug_dependencies (head, tail); in debug_ebb_dependencies() 375 add_deps_for_risky_insns (rtx_insn *head, rtx_insn *tail) in add_deps_for_risky_insns() argument 380 rtx_insn *next_tail = NEXT_INSN (tail); in add_deps_for_risky_insns() 471 schedule_ebb (rtx_insn *head, rtx_insn *tail, bool modulo_scheduling) in schedule_ebb() argument 479 while (head != tail) in schedule_ebb() 483 else if (NOTE_P (tail) || DEBUG_INSN_P (tail)) in schedule_ebb() 484 tail = PREV_INSN (tail); in schedule_ebb() 492 last_bb = BLOCK_FOR_INSN (tail); in schedule_ebb() [all …]
|
| D | hw-doloop.cc | 96 if (bb != loop->tail) in scan_loop() 236 loop->tail = tail_bb; in discover_loop() 357 rtx_insn *tail = BB_END (bb); in discover_loops() local 361 while (tail && NOTE_P (tail) && tail != BB_HEAD (bb)) in discover_loops() 362 tail = PREV_INSN (tail); in discover_loops() 364 if (tail == NULL_RTX) in discover_loops() 367 if (!JUMP_P (tail)) in discover_loops() 369 reg = hooks->end_pattern_reg (tail); in discover_loops() 377 insn = JUMP_LABEL_AS_INSN (tail); in discover_loops() 380 if (insn == tail) in discover_loops() [all …]
|
| /netbsd/src/lib/libc/locale/ |
| D | newlocale.c | 47 char head[_LOCALENAME_LEN_MAX * (_LC_LAST - 1)], *tail; in __weak_alias() local 65 tail = __UNCONST(strchr(tokens[0], '/')); in __weak_alias() 66 if (tail == NULL) { in __weak_alias() 75 *tail++ = '\0'; in __weak_alias() 83 *tail++ = '\0'; in __weak_alias() 84 tokens[i] = (const char *)tail; in __weak_alias() 85 tail = __UNCONST(strchr(tokens[i], '/')); in __weak_alias() 86 if (tail == NULL) { in __weak_alias() 91 *tail++ = '\0'; in __weak_alias() 92 tokens[howmany] = tail; in __weak_alias() [all …]
|
| D | generic_lc_all.c | 58 char head[_LOCALENAME_LEN_MAX * (_LC_LAST - 1)], *tail; in _generic_LC_ALL_setlocale() local 68 tail = __UNCONST(strchr(tokens[1], '/')); in _generic_LC_ALL_setlocale() 69 if (tail == NULL) { in _generic_LC_ALL_setlocale() 73 *tail++ = '\0'; in _generic_LC_ALL_setlocale() 75 tokens[i] = (const char *)tail; in _generic_LC_ALL_setlocale() 76 tail = __UNCONST(strchr(tokens[i], '/')); in _generic_LC_ALL_setlocale() 77 if (tail == NULL) in _generic_LC_ALL_setlocale() 79 *tail++ = '\0'; in _generic_LC_ALL_setlocale() 81 tokens[_LC_LAST - 1] = (const char *)tail; in _generic_LC_ALL_setlocale() 82 tail = __UNCONST(strchr(tokens[i], '/')); in _generic_LC_ALL_setlocale() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/cleanup/ |
| D | bug1.file.ref | 1 …tail.porcupine.orgA5client_address=IPv6:2001:240:587:0:2d0:b7ff:febe:ca9fADmessage_origin=tail.por… 2 Y: 1234567N;Message-Id: <20060514010427.E0F703D1E36@tail.porcupine.org>N+Date: Sat, 13 May 2006 21:…
|
| /netbsd/src/external/gpl3/binutils/dist/gprof/ |
| D | cg_dfn.c | 93 Sym *tail; in find_cycle() local 152 for (tail = head; tail->cg.cyc.next; tail = tail->cg.cyc.next) in find_cycle() 157 print_name (tail); in find_cycle() 181 tail->cg.cyc.next = child; in find_cycle() 188 for (tail = child; tail->cg.cyc.next; tail = tail->cg.cyc.next) in find_cycle() 190 tail->cg.cyc.next->cg.cyc.head = head; in find_cycle() 192 print_name (tail->cg.cyc.next); in find_cycle()
|
| /netbsd/src/sys/dev/raidframe/ |
| D | rf_paritylog.c | 151 RF_ParityLogData_t ** tail) in EnqueueParityLogData() argument 167 RF_ASSERT((*tail)->next == NULL); in EnqueueParityLogData() 174 RF_ASSERT(*tail == NULL); in EnqueueParityLogData() 176 *tail = data; in EnqueueParityLogData() 179 RF_ASSERT((*tail)->next == NULL); in EnqueueParityLogData() 187 RF_ParityLogData_t ** tail, in DequeueParityLogData() argument 198 data = *tail; in DequeueParityLogData() 200 if (*head == *tail) { in DequeueParityLogData() 203 *tail = NULL; in DequeueParityLogData() 205 *tail = (*tail)->prev; in DequeueParityLogData() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/linux/ |
| D | linux_list_sort.c | 128 struct list_head head, *tail = &head; in list_sort_merge() local 137 tail = tail->next = *first; in list_sort_merge() 144 tail->next = (a != NULL? a : b); in list_sort_merge() 176 struct list_head *tail = (a == NULL? b : a); in list_sort_merge_into() local 177 while (tail != NULL) { in list_sort_merge_into() 178 prev->next = tail; in list_sort_merge_into() 179 tail->prev = prev; in list_sort_merge_into() 181 tail = tail->next; in list_sort_merge_into()
|
| /netbsd/src/games/atc/ |
| D | list.c | 73 l->head = l->tail = p; in append() 95 l->tail->next = p; in append() 97 p->prev = l->tail; in append() 98 l->tail = p; in append() 109 if (l->head == p && l->tail == p) in delete() 110 l->head = l->tail = NULL; in delete() 114 } else if (l->tail == p) { in delete() 115 l->tail = p->prev; in delete() 116 l->tail->next = NULL; in delete()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/test/ |
| D | modes_internal_test.c | 155 size_t tail; in last_blocks_correction() local 158 if ((tail = len % 16) == 0) in last_blocks_correction() 159 tail = 16; in last_blocks_correction() 160 tail += 16; in last_blocks_correction() 162 return tail; in last_blocks_correction() 168 size_t tail; in last_blocks_correction_nist() local 170 if ((tail = len % 16) == 0) in last_blocks_correction_nist() 171 tail = 16; in last_blocks_correction_nist() 172 len -= 16 + tail; in last_blocks_correction_nist() 175 memcpy(out + len, in + len + 16, tail); in last_blocks_correction_nist() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ |
| D | spsc_queue.h | 45 atomic_long_t tail; member 53 atomic_long_set(&queue->tail, (long)&queue->head); in spsc_queue_init() 69 struct spsc_node **tail; in spsc_queue_push() local 75 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push() 76 WRITE_ONCE(*tail, node); in spsc_queue_push() 87 return tail == &queue->head; in spsc_queue_push() 109 if (atomic_long_cmpxchg(&queue->tail, in spsc_queue_pop()
|
| /netbsd/src/usr.bin/mail/ |
| D | format.c | 579 char *tail; in date_to_tm() local 590 if ((tail = strptime(date, " %a,", &tmp_tm)) == NULL) in date_to_tm() 591 tail = date; in date_to_tm() 596 if ((tail = strptime(tail, " %d %b", &tmp_tm)) == NULL) in date_to_tm() 606 if ((p = strptime(tail, " %y", &tmp_tm)) != NULL && is_WSP(*p)) in date_to_tm() 607 tail = p; in date_to_tm() 608 else if ((tail = strptime(tail, " %Y", &tmp_tm)) == NULL) in date_to_tm() 614 if ((tail = strptime(tail, " %H:%M", &tmp_tm)) == NULL) in date_to_tm() 621 if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) { in date_to_tm() 622 tail = p; in date_to_tm() [all …]
|
| /netbsd/src/lib/libc/include/isc/ |
| D | list.h | 24 #define LIST(type) struct { type *head, *tail; } 26 do { (list).head = NULL; (list).tail = NULL; } while (0) 40 #define TAIL(list) ((list).tail) 49 (list).tail = (elt); \ 58 if ((list).tail != NULL) \ 59 (list).tail->link.next = (elt); \ 62 (elt)->link.prev = (list).tail; \ 64 (list).tail = (elt); \ 73 INSIST((list).tail == (elt)); \ 74 (list).tail = (elt)->link.prev; \
|
| /netbsd/src/external/bsd/libbind/dist/include/isc/ |
| D | list.h | 24 #define LIST(type) struct { type *head, *tail; } 26 do { (list).head = NULL; (list).tail = NULL; } while (0) 40 #define TAIL(list) ((list).tail) 49 (list).tail = (elt); \ 58 if ((list).tail != NULL) \ 59 (list).tail->link.next = (elt); \ 62 (elt)->link.prev = (list).tail; \ 64 (list).tail = (elt); \ 73 INSIST((list).tail == (elt)); \ 74 (list).tail = (elt)->link.prev; \
|
| /netbsd/src/sys/dev/pci/cxgb/ |
| D | cxgb_mbuf.h | 37 struct mbuf *tail; member 45 l->head = l->tail = NULL; in mbufq_init() 65 l->tail->m_nextpkt = m; in mbufq_tail() 66 l->tail = m; in mbufq_tail() 76 if (m == l->tail) in mbufq_dequeue() 77 l->tail = NULL; in mbufq_dequeue()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/global/ |
| D | tok822_tree.c | 211 return (t1->tail = tok822_append(t1->tail, t2)); in tok822_sub_append() 217 return (t1->tail = t2); in tok822_sub_append() 236 return (t1->tail = t2); in tok822_sub_prepend() 244 TOK822 *tail = t1->tail; in tok822_sub_keep_before() local 246 if ((t1->tail = tok822_cut_before(t2)) == 0) in tok822_sub_keep_before() 248 return (tail); in tok822_sub_keep_before() 258 t1->tail = 0; in tok822_sub_keep_after()
|