| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_symbolizer_test.cc | 22 const char *rest; in TEST() local 24 rest = ExtractToken("a;b;c", ";", &token); in TEST() 26 EXPECT_STREQ("b;c", rest); in TEST() 29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST() 31 EXPECT_STREQ("bbb.ccc", rest); in TEST() 37 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local 39 EXPECT_STREQ("456;789", rest); in TEST() 44 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local 46 EXPECT_STREQ("456;789", rest); in TEST() 51 const char *rest = in TEST() local [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_mac.cc | 99 const char *rest = trim; in ParseCommandOutput() local 101 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 102 if (rest[0] == '\0') { in ParseCommandOutput() 112 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 114 if (rest[0] == '(') { in ParseCommandOutput() 116 rest++; in ParseCommandOutput() 117 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput() 119 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput() 123 } else if (rest[0] == '+') { in ParseCommandOutput() 124 rest += 2; in ParseCommandOutput() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_symbolizer_mac.cc | 97 const char *rest = trim; in ParseCommandOutput() local 99 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 100 if (rest[0] == '\0') { in ParseCommandOutput() 110 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 112 if (rest[0] == '(') { in ParseCommandOutput() 114 rest++; in ParseCommandOutput() 115 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput() 117 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput() 121 } else if (rest[0] == '+') { in ParseCommandOutput() 122 rest += 2; in ParseCommandOutput() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_symbolizer_mac.cpp | 167 const char *rest = trim; in ParseCommandOutput() local 169 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 170 if (rest[0] == '\0') { in ParseCommandOutput() 180 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 182 if (rest[0] == '(') { in ParseCommandOutput() 184 rest++; in ParseCommandOutput() 185 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput() 187 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput() 191 } else if (rest[0] == '+') { in ParseCommandOutput() 192 rest += 2; in ParseCommandOutput() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-affine.c | 62 comb->rest = NULL_TREE; in aff_combination_zero() 118 if (comb->rest) in aff_combination_scale() 126 comb->elts[comb->n].val = comb->rest; in aff_combination_scale() 127 comb->rest = NULL_TREE; in aff_combination_scale() 131 comb->rest = fold_build2 (MULT_EXPR, type, comb->rest, in aff_combination_scale() 162 if (comb->rest) in aff_combination_add_elt() 166 comb->elts[comb->n].val = comb->rest; in aff_combination_add_elt() 167 comb->rest = NULL_TREE; in aff_combination_add_elt() 191 if (comb->rest) in aff_combination_add_elt() 192 comb->rest = fold_build2 (PLUS_EXPR, type, comb->rest, in aff_combination_add_elt() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree-affine.cc | 63 comb->rest = NULL_TREE; in aff_combination_zero() 119 if (comb->rest) in aff_combination_scale() 127 comb->elts[comb->n].val = comb->rest; in aff_combination_scale() 128 comb->rest = NULL_TREE; in aff_combination_scale() 132 comb->rest = fold_build2 (MULT_EXPR, type, comb->rest, in aff_combination_scale() 163 if (comb->rest) in aff_combination_add_elt() 167 comb->elts[comb->n].val = comb->rest; in aff_combination_add_elt() 168 comb->rest = NULL_TREE; in aff_combination_add_elt() 192 if (comb->rest) in aff_combination_add_elt() 193 comb->rest = fold_build2 (PLUS_EXPR, type, comb->rest, in aff_combination_add_elt() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/util/perl/OpenSSL/ |
| H A D | ParseC.pm | 138 my $rest = $2; 140 print STDERR "DEBUG[",$opts{debug_type},"]: Matching '$rest' with '$re'\n" 142 if ($rest =~ m/$re/) { 143 my @rest = split /\|\|/, $rest; 144 shift @rest; 145 foreach (@rest) { 157 my $rest = $2; 159 print STDERR "DEBUG[",$opts{debug_type},"]: Matching '$rest' with '$re'\n" 161 if ($rest =~ m/$re/) { 162 my @rest = split /\&\&/, $rest; [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/scripts/ |
| H A D | amd2sun.in | 28 $fs = $1; $rest=$2; 31 ($defopts = $rest) =~ s/^.*[\s;]opts:=([^;\s]+)[;\s]*.*$/\1/; 37 if ($rest =~ /opts:=([^;\s]+)[;\s]/) { 43 ($rhost = $rest) =~ s/^.*[\s;]rhost:=([^;\s]+)[;\s]*.*$/\1/; 44 ($rfs = $rest) =~ s/^.*[\s;]rfs:=([^;\s]+)[;\s]*.*$/\1/; 46 if ($rest =~ /sublink:=([^;\s]+)[;\s]/ ) {
|
| H A D | automount2amd.in | 52 ($dir, $options, $machine, $path, $rest) = ($1, $2, $3, $4, $5); 53 print "#$rest\n" if ($rest =~ m/\w/);
|
| /netbsd-src/external/mpl/bind/dist/lib/isccc/ |
| H A D | alist.c | 134 isccc_sexpr_t *car, *caar, *rest, *prev; in isccc_alist_delete() 139 rest = CDR(alist); in isccc_alist_delete() 140 while (rest != NULL) { in isccc_alist_delete() 141 INSIST(rest->type == ISCCC_SEXPRTYPE_DOTTEDPAIR); in isccc_alist_delete() 142 car = CAR(rest); in isccc_alist_delete() 148 CDR(prev) = CDR(rest); in isccc_alist_delete() 149 CDR(rest) = NULL; in isccc_alist_delete() 150 isccc_sexpr_free(&rest); in isccc_alist_delete() 153 prev = rest; in isccc_alist_delete() 154 rest in isccc_alist_delete() 135 isccc_sexpr_t *car, *caar, *rest, *prev; isccc_alist_delete() local [all...] |
| /netbsd-src/external/mpl/bind/dist/doc/arm/_ext/ |
| H A D | mergegrammar.py | 50 rest = read_main() 51 assert rest 52 rest.update(zones) 56 rest["view"]["_mapbody"].update(zones) 58 return rest
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bss_bio.c | 112 size_t rest; in bio_read() local 154 rest = size; in bio_read() 156 assert(rest > 0); in bio_read() 160 assert(rest <= peer_b->len); in bio_read() 161 if (peer_b->offset + rest <= peer_b->size) in bio_read() 162 chunk = rest; in bio_read() 179 assert(chunk == rest); in bio_read() 182 rest -= chunk; in bio_read() 184 while (rest); in bio_read() 271 size_t rest; in bio_write() local [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| H A D | bss_bio.c | 114 size_t rest; in bio_read() local 156 rest = size; in bio_read() 158 assert(rest > 0); in bio_read() 162 assert(rest <= peer_b->len); in bio_read() 163 if (peer_b->offset + rest <= peer_b->size) in bio_read() 164 chunk = rest; in bio_read() 181 assert(chunk == rest); in bio_read() 184 rest -= chunk; in bio_read() 186 while (rest); in bio_read() 273 size_t rest; in bio_write() local [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | info-utils.c | 109 char *rest = string + i; in info_parse_node() local 112 if (*rest) in info_parse_node() 113 rest++; in info_parse_node() 118 while (whitespace(*rest)) in info_parse_node() 119 rest++; in info_parse_node() 120 if (*rest == '\n') in info_parse_node() 122 rest++; in info_parse_node() 123 while (whitespace(*rest)) in info_parse_node() 124 rest++; in info_parse_node() 129 if (strncmp (rest, "(line ", strlen ("(line ")) == 0) in info_parse_node() [all …]
|
| /netbsd-src/lib/libc/regex/ |
| H A D | engine.c | 444 const char *rest; /* start of rest of string */ in dissect() local 506 rest = walk(m, sp, stp, ss, es, false); in dissect() 507 assert(rest != NULL); /* it did match */ in dissect() 509 tail = walk(m, rest, stop, es, stopst, false); in dissect() 513 stp = rest - 1; in dissect() 519 if (walk(m, sp, rest, ssub, esub, false) != NULL) { in dissect() 520 dp = dissect(m, sp, rest, ssub, esub); in dissect() 521 assert(dp == rest); in dissect() 523 assert(sp == rest); in dissect() 524 sp = rest; in dissect() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | regengine.inc | 303 const char *rest; /* start of rest of string */ 304 const char *tail; /* string unmatched by rest of RE */ 354 rest = slow(m, sp, stp, ss, es); 355 assert(rest != NULL); /* it did match */ 356 /* could the rest match the rest? */ 357 tail = slow(m, rest, stop, es, stopst); 361 stp = rest - 1; 367 if (slow(m, sp, rest, ssub, esub) != NULL) { 368 const char *dp = dissect(m, sp, rest, ssub, esub); 370 assert(dp == rest); [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblber/ |
| H A D | decode.c | 99 ptrdiff_t rest; in ber_tag_and_rest() local 106 rest = (unsigned char *) ber->ber_end - ptr; in ber_tag_and_rest() 107 if ( rest <= 0 ) { in ber_tag_and_rest() 116 rest--; in ber_tag_and_rest() 122 if ( rest <= 0 ) { in ber_tag_and_rest() 127 rest--; in ber_tag_and_rest() 139 bv->bv_len = rest; in ber_tag_and_rest() 160 ber_len_t len, rest; in ber_peek_element() local 183 rest = bv->bv_len; in ber_peek_element() 185 if ( tag == LBER_DEFAULT || rest == 0 ) { in ber_peek_element() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtpstone/ |
| H A D | throughput | 5 rest = time for Postfix to finish 10 send rest total 20 send rest total
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgomp/ |
| H A D | team.c | 321 unsigned int s = 0, rest = 0, p = 0, k = 0; in gomp_team_start() local 397 rest = nthreads % thr->ts.place_partition_len; in gomp_team_start() 417 rest = thr->ts.place_partition_len % nthreads; in gomp_team_start() 418 rest = (s + 1) * rest + thr->ts.place_partition_off; in gomp_team_start() 419 if (p < rest) in gomp_team_start() 426 p -= (p - rest) % s; in gomp_team_start() 437 rest = nthreads % thr->ts.place_partition_len; in gomp_team_start() 511 if (i == nthreads - rest) in gomp_team_start() 523 if (p < rest) in gomp_team_start() 531 if (p < rest) in gomp_team_start() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgomp/ |
| H A D | team.c | 334 unsigned int s = 0, rest = 0, p = 0, k = 0; in gomp_team_start() local 410 rest = nthreads % thr->ts.place_partition_len; in gomp_team_start() 430 rest = thr->ts.place_partition_len % nthreads; in gomp_team_start() 431 rest = (s + 1) * rest + thr->ts.place_partition_off; in gomp_team_start() 432 if (p < rest) in gomp_team_start() 439 p -= (p - rest) % s; in gomp_team_start() 450 rest = nthreads % thr->ts.place_partition_len; in gomp_team_start() 524 if (i == nthreads - rest) in gomp_team_start() 536 if (p < rest) in gomp_team_start() 544 if (p < rest) in gomp_team_start() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | mep-relocs.pl | 51 if (($pre,$rel,$rest) = /(.*RELOC_NUMBER \()([^,]+), *\d+(.*)/) { 52 $rest =~ s/[\r\n]+$//; 53 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!"); 58 $rest =~ s@.*/\* @@; 59 ($pattern, $sign, $attrs) = $rest =~ m@(.*) ([US]) (.*)\*/@;
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | mep-relocs.pl | 51 if (($pre,$rel,$rest) = /(.*RELOC_NUMBER \()([^,]+), *\d+(.*)/) { 52 $rest =~ s/[\r\n]+$//; 53 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!"); 58 $rest =~ s@.*/\* @@; 59 ($pattern, $sign, $attrs) = $rest =~ m@(.*) ([US]) (.*)\*/@;
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/extra/ |
| H A D | gitlog-to-changelog | 329 $_ = $rest; 339 $rest = $_; 345 $rest =~ s/^\s*Conflicts:\n.*//sm; 346 $rest =~ s/^\s*\(cherry picked from commit [\da-f]+\)\n//m; 349 my @line = split /[ \t]*\n/, $rest;
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| H A D | gettext-po.c | 775 char *rest; in po_message_set_comments() local 777 rest = copy; in po_message_set_comments() 778 while (*rest != '\0') in po_message_set_comments() 780 char *newline = strchr (rest, '\n'); in po_message_set_comments() 785 string_list_append (slp, rest); in po_message_set_comments() 786 rest = newline + 1; in po_message_set_comments() 790 string_list_append (slp, rest); in po_message_set_comments() 830 char *rest; in po_message_set_extracted_comments() local 832 rest = copy; in po_message_set_extracted_comments() 833 while (*rest != '\0') in po_message_set_extracted_comments() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/demos/perl/ |
| H A D | GMP.pm | 70 my ($pre, $dummy, $pat, $rest); 72 …while (($pre, $dummy, $pat, $rest) = ($fmt =~ /^((%%|[^%])*)(%[- +#.*hlLqv\d]*[bcdfeEgGinopsuxX])(… 115 $fmt = $rest;
|