Searched refs:rest (Results 1 - 25 of 193) sorted by relevance

12345678

/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/
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-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A D20000209-2.c4 Since it uses rest args, we must turn off -pedantic-errors. */
6 #define NO_PAREN(rest...) rest
H A Dmacsyntx.c10 o Odd GNU rest args behavior.
11 o Macro arguments do not flow into the rest of the file. */
54 var1() /* { dg-warning "rest arguments to be used" } */
55 var1(ichi) /* { dg-warning "rest arguments to be used" } */
58 /* This tests two oddities of GNU rest args - omitting a comma is OK,
59 and backtracking a token on pasting an empty rest args. */
60 #define rest(x, y...) x ## y /* { dg-warning "ISO C" } */ macro
61 rest(ichi,) /* OK. */
62 rest(ichi) /* { dg-warning "rest argument
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cpp21 const char *rest; local
23 rest = ExtractToken("a;b;c", ";", &token);
25 EXPECT_STREQ("b;c", rest);
28 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token);
30 EXPECT_STREQ("bbb.ccc", rest);
36 const char *rest = ExtractInt("123,456;789", ";,", &token); local
38 EXPECT_STREQ("456;789", rest);
43 const char *rest = ExtractUptr("123,456;789", ";,", &token); local
45 EXPECT_STREQ("456;789", rest);
50 const char *rest local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Dext.c7 unsigned rest : 28; member in struct:foo
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_mac.cpp118 const char *rest = trim; local
120 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name);
121 if (rest[0] == '\0') {
131 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module);
133 if (rest[0] == '(') {
135 rest++;
136 rest = ExtractTokenUpToDelimiter(rest, "
[all...]
/openbsd-current/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\"\
[all...]
/openbsd-current/gnu/usr.bin/perl/Porting/
H A Dexercise_makedef.pl61 my ($names, $args, $key, $vals, @rest) = @_;
65 $bad += expand([@$names, "$key=$i"], [@$args, $v], @rest);
/openbsd-current/games/trek/
H A Drest.c1 /* $OpenBSD: rest.c,v 1.7 2016/01/07 14:37:51 mestre Exp $ */
2 /* $NetBSD: rest.c,v 1.3 1995/04/22 10:59:22 cgd Exp $ */
46 ** You can never rest through a long range tractor beam.
49 ** rest period if anything momentous happens.
53 rest(int v) function
58 /* get the time to rest */
H A Dplay.c65 { "r", "est", rest, 0 },
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Compress/t/compress/
H A Dprime.pl60 my $rest = substr($compressed, $i);
64 $start = \$rest ;
68 writeFile($name, $rest);
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" ;
/openbsd-current/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-current/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Derrors.t25 ok 3 - read the rest of the file
37 ok 3 - read the rest of the file
56 ok 3 - read the rest of the file
66 ok 3 - read the rest of the file 1..5
75 ok 3 - read the rest of the file
87 ok read the rest of the file
97 ok 2 read the rest of the file
107 ok 2 read the rest of the file
122 ok 3 read the rest of the file
133 ok 3 read the rest o
[all...]
H A Dstreams.t41 is $parser->next->as_string, 'ok 3 - read the rest of the file',
57 ok 3 - read the rest of the file
77 is $parser->next->as_string, 'ok 3 - read the rest of the file',
96 ok 3 - read the rest of the file
116 is $parser->next->as_string, 'ok 3 - read the rest of the file',
133 ok 3 - read the rest of the file
152 is $parser->next->as_string, 'ok 3 - read the rest of the file',
172 ok 3 - read the rest of the file
/openbsd-current/lib/libcrypto/bio/
H A Dbss_bio.c178 size_t rest; local
219 rest = size;
221 assert(rest > 0);
226 assert(rest <= peer_b->len);
227 if (peer_b->offset + rest <= peer_b->size)
228 chunk = rest;
245 assert(chunk == rest);
248 rest -= chunk;
249 } while (rest);
258 size_t rest; local
[all...]
/openbsd-current/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;
/openbsd-current/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,
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/cli/
H A Dcli-logging.c111 char *rest = args; local
112 if (rest && *rest)
115 logging_filename = xstrdup (rest);
/openbsd-current/usr.bin/rdist/
H A Dcommon.c579 char *pw_dir, *rest; local
591 rest = NULL;
593 rest = file;
595 rest = file;
596 while (*rest && *rest != '/')
597 rest++;
598 if (*rest == '/')
599 *rest = CNULL;
601 rest
[all...]
/openbsd-current/gnu/llvm/clang/utils/analyzer/
H A Dentrypoint.py11 settings, rest = parse_arguments()
19 sys.exit(test(rest))
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dinfo-utils.c107 char *rest = string + i; local
110 if (*rest)
111 rest++;
116 while (whitespace(*rest))
117 rest++;
118 if (*rest == '\n')
120 rest++;
121 while (whitespace(*rest))
122 rest++;
127 if (strncmp (rest, "(lin
[all...]
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/
H A Dcompatibility.py24 unc_path, rest = os.path.splitunc(path)
25 unc_start, rest = os.path.splitunc(start)
/openbsd-current/gnu/llvm/lldb/source/Utility/
H A DUUID.cpp104 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes); local
108 if (!rest.empty() || bytes.empty())
/openbsd-current/gnu/usr.bin/cvs/contrib/
H A Drcs2log.sh410 rest = fullname
412 p = index(rest, "\\")
413 q = index(rest, "\"")
420 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

Completed in 700 milliseconds

12345678