Home
last modified time | relevance | path

Searched refs:strrchr (Results 1 – 18 of 18) sorted by relevance

/bionic/libc/bionic/
Dstrrchr.cpp32 char* strrchr(const char* p, int ch) { in strrchr() function
D__gnu_basename.cpp33 const char* last_slash = strrchr(path, '/'); in __gnu_basename()
Dpthread_attr.cpp175 const char* end_of_comm = strrchr(line, ')'); in __get_main_stack_startstack()
Dfts.c191 if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) { in fts_load()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dsetprogname.c26 tmpn = strrchr(progname, '/'); in setprogname()
/bionic/libc/include/
Dstring.h72 char* strrchr(const char* __s, int __ch) __attribute_pure__;
189 return strrchr(s, c); in __bionic_strrchr()
193 const char* strrchr(const char* const s __pass_object_size, int c) __prefer_this_overload { in strrchr() function
198 char* strrchr(char* const s __pass_object_size, int c) __prefer_this_overload { in strrchr() function
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c147 q = strrchr(resolved, '/') + 1; in realpath()
189 q = strrchr(resolved, '/') + 1; in realpath()
/bionic/tests/headers/posix/
Dstring_h.c64 FUNCTION(strrchr, char* (*f)(const char*, int)); in string_h()
/bionic/linker/
Dlinker_utils.cpp64 const char* last_slash = strrchr(path, '/'); in dirname()
/bionic/libc/include/bits/fortify/
Dstring.h218 char* strrchr(const char* const s __pass_object_size, int c) __overloadable { in strrchr() function
/bionic/tests/
Dstring_test.cpp748 TEST(STRING_TEST, strrchr) { in TEST() argument
773 ASSERT_TRUE(strrchr(state.ptr1, seek_char) == expected); in TEST()
1444 ASSERT_EQ(nullptr, strrchr(reinterpret_cast<char*>(buf), search_value)); in DoStrrchrTest()
1446 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 1]), strrchr(reinterpret_cast<char*>(buf), '\0')); in DoStrrchrTest()
1450 ASSERT_EQ(reinterpret_cast<char*>(&buf[0]), strrchr(reinterpret_cast<char*>(buf), in DoStrrchrTest()
1457 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 2]), strrchr(reinterpret_cast<char*>(buf), in DoStrrchrTest()
Dfortify_test.cpp203 ASSERT_FORTIFY(printf("%s", strrchr(myfoo.a, 'a'))); in TEST_F()
204 ASSERT_FORTIFY(printf("%s", strrchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F()
382 ASSERT_FORTIFY(printf("%s", strrchr(buf, 'a'))); in TEST_F()
/bionic/libc/arch-x86/atom/string/
Dsse2-strrchr-atom.S89 ENTRY (strrchr)
753 END (strrchr)
/bionic/libc/tools/
Dposix-2013.txt1017 strrchr
/bionic/libc/stdio/
Dstdio.cpp1197 mode = strrchr(mode, 'r') ? "r" : "w"; in popen()
/bionic/libc/
DAndroid.bp749 "bionic/strrchr.cpp",
908 "arch-x86/atom/string/sse2-strrchr-atom.S",
956 "bionic/strrchr.cpp",
Dlibc.map.txt1025 strrchr;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1025 strrchr;