Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/openbsd-src/gnu/usr.bin/perl/lib/Getopt/
H A DStd.pm103 my ($first, $rest);
108 ($first, $rest) = ($1, $2);
114 if ($rest ne '') {
119 $rest = shift(@ARGV);
122 $$hash{$first} = $rest;
126 ${"opt_$first"} = $rest;
139 if ($rest ne '') {
140 $ARGV[0] = "-$rest";
195 my (@rest) = ($args =~ /([^\s:])(?!\s*:)/g);
201 if (@rest) {
[all...]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cpp21 const char *rest; in TEST() local
23 rest = ExtractToken("a;b;c", ";", &token); in TEST()
25 EXPECT_STREQ("b;c", rest); in TEST()
28 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST()
30 EXPECT_STREQ("bbb.ccc", rest); in TEST()
36 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local
38 EXPECT_STREQ("456;789", rest); in TEST()
43 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local
45 EXPECT_STREQ("456;789", rest); in TEST()
50 const char *rest = in TEST() local
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/
H A DGetOptsOO.pm33 my($first,$rest) = ($1,$2);
38 if ($first eq '-' and $rest) { # GNU style long param names
39 ($first, $rest) = split '=', $rest, 2;
43 if($rest eq '') { # like -f bar
46 $rest = shift @$args;
51 DEBUG > 3 and print " $method => $rest\n";
52 $target->$method( $rest );
76 if($rest eq '') { # like -f
79 DEBUG > 2 and print " Setting args->[0] to \"-$rest\"\n";
80 $args->[0] = "-$rest";
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_mac.cpp118 const char *rest = trim; in ParseCommandOutput() local
120 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput()
121 if (rest[0] == '\0') { in ParseCommandOutput()
131 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput()
133 if (rest[0] == '(') { in ParseCommandOutput()
135 rest++; in ParseCommandOutput()
136 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput()
138 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput()
142 } else if (rest[0] == '+') { in ParseCommandOutput()
143 rest += 2; in ParseCommandOutput()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Getopt-Long/lib/Getopt/
H A DLong.pm842 # Process all names. First is canonical, the rest are aliases.
894 my $rest; # remainder from unbundling
928 $rest = length ($tryopt) > 0 ? substr ($tryopt, 1) : '';
932 "$starter$tryopt$rest\n") if $debug;
934 $optarg = $rest eq '' ? undef : $rest;
935 $rest = undef;
938 # Split off a single letter and leave the rest for
943 $rest = length ($tryopt) > 0 ? substr ($tryopt, 1) : '';
947 "$starter$tryopt$rest\
[all...]
/openbsd-src/regress/bin/ksh/
H A Dth419 local($type, $perm, $rest, $c, $len, $name);
426 ($type, $perm, $rest) =
428 $c = substr($rest, 0, 1);
429 $len = index($rest, $c, 1) - 1;
430 $name = substr($rest, 1, $len);
431 $rest = substr($rest, 2 + $len);
434 return undef if !&write_file($name, $rest);
448 local($ret) = symlink($rest, $name);
915 local($type, $perm, $rest, $c, $len, $name);
924 ($type, $perm, $rest) = ($1, $2, $3);
[all …]
/openbsd-src/lib/libcrypto/bio/
H A Dbss_bio.c178 size_t rest; in bio_read() local
219 rest = size; in bio_read()
221 assert(rest > 0); in bio_read()
226 assert(rest <= peer_b->len); in bio_read()
227 if (peer_b->offset + rest <= peer_b->size) in bio_read()
228 chunk = rest; in bio_read()
245 assert(chunk == rest); in bio_read()
248 rest -= chunk; in bio_read()
249 } while (rest); in bio_read()
258 size_t rest; in bio_write() local
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/Pod-Html/lib/Pod/Html/
H A DUtil.pm215 my $rest = $_[0];
216 $rest =~ s/&/&amp;/g;
217 $rest =~ s/</&lt;/g;
218 $rest =~ s/>/&gt;/g;
219 $rest =~ s/"/&quot;/g;
220 $rest =~ s/([[:^print:]])/sprintf("&#x%x;", ord($1))/aeg;
221 return $rest;
/openbsd-src/usr.bin/rdist/
H A Dcommon.c579 char *pw_dir, *rest; in exptilde() local
591 rest = NULL; in exptilde()
593 rest = file; in exptilde()
595 rest = file; in exptilde()
596 while (*rest && *rest != '/') in exptilde()
597 rest++; in exptilde()
598 if (*rest == '/') in exptilde()
599 *rest = CNULL; in exptilde()
601 rest = NULL; in exptilde()
606 if (rest != NULL) in exptilde()
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dsubsignature.t16 push @t, (subsignature @rest);
17 push @t, (subsignature %rest);
24 ['nextstate:6', 'argcheck:0:0:@', 'argelem:@rest'],
25 ['nextstate:7', 'argcheck:0:0:%', 'argelem:%rest'],
H A Dmy_strtod.t8 my ($nv, $rest);
11 ($nv, $rest) = my_strtod('17.265625x');
14 is($rest, 'x', 'my_strtod("17.265625x", &e) sets e to "x"');
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dmacsyntx.c60 #define rest(x, y...) x ## y /* { dg-warning "ISO C" } */ macro
61 rest(ichi,) /* OK. */
62 rest(ichi) /* { dg-warning "rest arguments to be used" } */
63 #if 23 != rest(2, 3) /* OK, no warning. */
H A D20000209-2.c6 #define NO_PAREN(rest...) rest argument
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dinfo-utils.c107 char *rest = string + i; in info_parse_node() local
110 if (*rest) in info_parse_node()
111 rest++; in info_parse_node()
116 while (whitespace(*rest)) in info_parse_node()
117 rest++; in info_parse_node()
118 if (*rest == '\n') in info_parse_node()
120 rest++; in info_parse_node()
121 while (whitespace(*rest)) in info_parse_node()
122 rest++; in info_parse_node()
127 if (strncmp (rest, "(line ", strlen ("(line ")) == 0) in info_parse_node()
[all …]
/openbsd-src/lib/libc/regex/
H A Dengine.c303 const char *rest; /* start of rest of string */ in dissect() local
355 rest = slow(m, sp, stp, ss, es); in dissect()
356 assert(rest != NULL); /* it did match */ in dissect()
358 tail = slow(m, rest, stop, es, stopst); in dissect()
362 stp = rest - 1; in dissect()
368 if (slow(m, sp, rest, ssub, esub) != NULL) { in dissect()
369 dp = dissect(m, sp, rest, ssub, esub); in dissect()
370 assert(dp == rest); in dissect()
372 assert(sp == rest); in dissect()
373 sp = rest; in dissect()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/t/compress/
H A Dzlib-generic.pl142 my $rest;
143 is $k->read($rest, length($hello)), length($hello)
145 ok $rest eq $hello ;
185 my $rest;
186 is $k->read($rest, length($hello) + length($goodbye)),
189 ok $rest eq $goodbye, " got expected output" ;
H A Dprime.pl60 my $rest = substr($compressed, $i);
64 $start = \$rest ;
68 writeFile($name, $rest);
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dwarnings.pl221 my ($ver, $rest, $rest2) = @{ $v } ;
222 my $ref = ref $rest ? $rest : $rest2;
282 my ($ver, $rest, $rest2) = @{ $v } ;
283 my $ref = ref $rest ? $rest : $rest2;
284 if (!ref $rest and $rest == DEFAULT_ON)
352 my ($ver, $rest, $rest2) = @{ $v } ;
353 my $ref = ref $rest
[all...]
H A DHeaderParser.pm170 # 0, and 2 * ($level - 1) + 1 spaces for the rest. (1,3,5, etc)
918 # take a condition, split into $type and $rest
924 my ($self, $type, $rest)= @_;
936 if ($rest =~ s!(if\s+)!!) {
939 if ($rest =~ s!(\s*/\*.*?\*/)\s*\z!! || $rest =~ s!(\s*\*/\s*)\z!!) {
942 if ($rest) {
943 $rest= $self->tidy_cond($rest);
944 $rest
[all...]
/openbsd-src/sys/dev/isa/
H A Dspkr.c79 static void rest(int);
93 rest(int ms) in rest() function
104 tsleep_nsec(rest, SPKRPRI | PCATCH, "rest", MSEC_TO_NSEC(ms)); in rest()
190 rest(whole * snum / (value * sdenom)); in playtone()
205 rest(silence); in playtone()
487 rest(tp->duration); in spkrioctl()
503 rest(ttp.duration); in spkrioctl()
/openbsd-src/gnu/usr.bin/binutils/gdb/cli/
H A Dcli-logging.c111 char *rest = args; in set_logging_on() local
112 if (rest && *rest) in set_logging_on()
115 logging_filename = xstrdup (rest); in set_logging_on()
/openbsd-src/gnu/usr.bin/cvs/contrib/
H A Drcs2log.sh420 quoted = quoted substr(rest, 1, p-1) "\\" substr(rest, p, 1)
421 rest = substr(rest, p+1)
424 printf "fullname[\"%s\"] = \"%s%s\"\n", $1, quoted, rest
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A Dregengine.inc344 const char *rest; /* start of rest of string */
345 const char *tail; /* string unmatched by rest of RE */
395 rest = slow(m, sp, stp, ss, es);
396 assert(rest != NULL); /* it did match */
397 /* could the rest match the rest? */
398 tail = slow(m, rest, stop, es, stopst);
402 stp = step_back(m->g, sp, rest, es, stopst);
408 if (slow(m, sp, rest, ssub, esub) != NULL) {
409 const char *dp = dissect(m, sp, rest, ssub, esub);
411 assert(dp == rest);
[all …]
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Deach.t208 my $rest=0;
209 while (each(%foo)) {$rest++};
213 is($rest,3,"Got the expected number of keys - my");
227 my $rest=0;
228 while (each(%foo)) {$rest++};
232 is($rest,3,"Got the expected number of keys - our");
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmb.t51 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x;
95 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x;
138 my ($major, $minor, $rest) = $Config{osvers} =~ / (\d+) \. (\d+) .* /x;

12345678910>>...30