Home
last modified time | relevance | path

Searched refs:rindex (Results 1 – 4 of 4) sorted by relevance

/string/
A Dstrings.h76 extern char *rindex (char *__s, int __c)
78 extern const char *rindex (const char *__s, int __c)
83 rindex (char *__s, int __c) __THROW in rindex() function
89 rindex (const char *__s, int __c) __THROW in rindex() function
96 extern char *rindex (const char *__s, int __c)
A Dstrrchr.c50 #undef rindex
51 weak_alias (strrchr, rindex)
A DVersions35 rindex;
A Dtester.c750 check (rindex ("abcd", 'z') == NULL, 1); /* Not found. */ in test_rindex()
752 check (rindex (one, 'c') == one+2, 2); /* Basic test. */ in test_rindex()
753 check (rindex (one, 'd') == one+3, 3); /* End of string. */ in test_rindex()
754 check (rindex (one, 'a') == one, 4); /* Beginning. */ in test_rindex()
755 check (rindex (one, '\0') == one+4, 5); /* Finding NUL. */ in test_rindex()
757 check (rindex (one, 'b') == one+3, 6); /* Finding last. */ in test_rindex()
759 check (rindex (one, 'b') == NULL, 7); /* Empty string. */ in test_rindex()
760 check (rindex (one, '\0') == one, 8); /* NUL in empty string. */ in test_rindex()

Completed in 10 milliseconds