/openbsd-current/gnu/lib/libiberty/src/ |
H A D | rindex.c | 1 /* Stub implementation of (obsolete) rindex(). */ 5 @deftypefn Supplemental char* rindex (const char *@var{s}, int @var{c}) 8 the string @var{s}, or @code{NULL} if not found. The use of @code{rindex} is 18 rindex (const char *s, int c) function
|
/openbsd-current/lib/libc/string/ |
H A D | strrchr.c | 33 __weak_alias(rindex, strrchr);
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | index.t | 22 my $last = substr($foo,rindex($foo,'the'),100); 28 $last = substr($foo,rindex($foo,'Now'),2); 34 $last = substr($foo,rindex($foo,'.'),100); 45 is(rindex("ababa","a",-1), -1); 46 is(rindex("ababa","a",0), 0); 47 is(rindex("ababa","a",1), 0); 48 is(rindex("ababa","a",2), 2); 49 is(rindex("ababa","a",3), 2); 50 is(rindex("ababa","a",4), 4); 51 is(rindex("abab [all...] |
H A D | lex_assign.t | 324 rindex $posstr, 2 # rindex
|
/openbsd-current/gnu/usr.bin/perl/t/bigmem/ |
H A D | index.t | 28 is(rindex($work, "\n"), 0x80000001, "test rindex() over 2G mark"); 36 is(rindex($work, "\n"), 0x80000001, "test rindex() over 2G mark (utf8-ish)");
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | bytes.t | 20 is(rindex($a, "\x{100}"), 0, "rindex sanity check"); 59 is(bytes::rindex($c, "\x8c"), 0, "bytes::rindex under use bytes looks at bytes"); 65 is(bytes::rindex($c, "\xc4"), 0, "bytes::rindex under use bytes looks at bytes");
|
H A D | utf8.t | 319 push @i, $s = rindex($a, '6'); # 60 320 push @i, $s = rindex($a, '.', $s); # previous . before 60 is 58 321 push @i, $s = rindex($a, '5'); # 50 322 push @i, $s = rindex($a, '.', $s); # previous . before 52 is 48 323 push @i, $s = rindex($a, '7'); # 70 324 push @i, $s = rindex($a, '.', $s); # previous . before 70 is 68 325 push @i, $s = rindex($a, '4'); # 40 326 push @i, $s = rindex($a, '.', $s); # previous . before 40 is 38 327 is("@i", "60 58 50 48 70 68 40 38", "utf8 heredoc rindex"); 332 push @i, rindex( [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | string-opt-3.c | 4 strrchr and rindex occur and perform correctly. 12 extern char *rindex (const char *, int); 71 /* Test only one instance of rindex since the code path is the same 73 if (rindex ("hello", 'z') != 0) 91 rindex (const char *s, int c) function 93 /* For systems which don't have rindex, we ensure no link failures
|
/openbsd-current/include/ |
H A D | strings.h | 69 char *rindex(const char *, int);
|
/openbsd-current/lib/libc/arch/i386/string/ |
H A D | strrchr.S | 9 WEAK_ALIAS(rindex, strrchr)
|
/openbsd-current/lib/libc/arch/mips64/string/ |
H A D | strrchr.S | 36 WEAK_ALIAS(rindex, strrchr)
|
/openbsd-current/lib/libc/hidden/ |
H A D | string.h | 41 PROTO_DEPRECATED(rindex); variable
|
/openbsd-current/gnu/usr.bin/perl/t/uni/ |
H A D | overload.t | 223 my $right = rindex $big, $little; 224 my $right1 = rindex $big, $little, 11; 228 cmp_ok ($right, ">", $right1, "Sanity check our rindex tests"); 234 is (rindex ($b, $l), $right, "rindex"); 235 is (rindex ($b, $l), $right, "rindex"); 236 is (rindex ($b, $l), $right, "rindex"); 238 is (rindex ( [all...] |
/openbsd-current/lib/libsndio/ |
H A D | sio_aucat.c | 343 unsigned int i, bps, le, sig, chan, rindex, rmult; local 396 rindex = 0; 402 cap->rate[i] = rates[rindex] * rmult; 404 rindex++; 405 if (rindex == sizeof(rates) / sizeof(unsigned int)) { 406 rindex = 0;
|
/openbsd-current/gnu/gcc/libcpp/ |
H A D | system.h | 421 #undef rindex macro 422 #pragma GCC poison bcopy bzero bcmp rindex
|
/openbsd-current/lib/libc/arch/amd64/string/ |
H A D | strrchr.S | 11 WEAK_ALIAS(rindex, strrchr)
|
/openbsd-current/sys/lib/libkern/arch/amd64/ |
H A D | strrchr.S | 11 STRONG_ALIAS(rindex, strrchr)
|
/openbsd-current/gnu/usr.bin/cvs/diff/ |
H A D | system.h | 181 # define strrchr rindex
|
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | system.h | 564 the expansion of macros. E.g. #define strrchr rindex, won't error 565 if rindex is poisoned after this directive is issued and later on 639 #undef rindex macro 640 #pragma GCC poison bcopy bzero bcmp rindex
|
/openbsd-current/gnu/gcc/libmudflap/ |
H A D | mf-runtime.h | 131 #pragma redefine_extname rindex __mfwrap_rindex
|
/openbsd-current/gnu/usr.bin/perl/regen/ |
H A D | op_private | 465 for (qw(grepwhile index length padav pos rindex rv2av subst)) { 829 for (qw(index rindex)) {
|
/openbsd-current/gnu/usr.bin/perl/lib/B/ |
H A D | Deparse.t | 2929 $c = rindex($a, $b) == 2; 2931 $c = rindex($a, $b) == -1; 2933 $c = rindex($a, $b) != -1; 2935 $c = (rindex($a, $b) == -1); 2937 $c = (rindex($a, $b) != -1); 2943 $c = rindex($a, $b) == 2; 2945 $c = rindex($a, $b) == -1; 2947 $c = rindex($a, $b) != -1; 2949 $c = (rindex($a, $b) == -1); 2951 $c = (rindex( [all...] |
/openbsd-current/gnu/gcc/gcc/ |
H A D | system.h | 623 the expansion of macros. E.g. #define strrchr rindex, won't error 624 if rindex is poisoned after this directive is issued and later on 767 #undef rindex macro 768 #pragma GCC poison bcopy bzero bcmp rindex
|
/openbsd-current/gnu/usr.bin/perl/dist/Safe/t/ |
H A D | safeops.t | 214 rindex rindex
|
/openbsd-current/gnu/usr.bin/perl/ext/Pod-Functions/t/ |
H A D | Functions.t | 81 rindex, sprintf, substr, tr///, uc, ucfirst, y///
|