Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libfdtrack/
Dfdtrack_test.cpp87 ASSERT_NE(nullptr, strstr(result.begin()->second.at(0).function_name, "open")); in TEST()
109 ASSERT_NE(nullptr, strstr(result[fd1].at(0).function_name, "open")); in TEST()
110 ASSERT_NE(nullptr, strstr(result[fd3].at(0).function_name, "open")); in TEST()
/bionic/libc/include/
Dstring.h101 char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_…
244 char* _Nullable __bionic_strstr(const char* _Nonnull h, const char* _Nonnull n) { return strstr(h, … in __bionic_strstr()
247 const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload… in strstr() function
252 char* _Nullable strstr(char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload { in strstr() function
/bionic/tests/
Dstring_test.cpp1554 ASSERT_EQ(some_haystack, strstr(some_haystack, "")); in TEST()
1555 ASSERT_EQ(empty_haystack, strstr(empty_haystack, "")); in TEST()
1593 ASSERT_EQ(haystack + 0, strstr(haystack, "")); in TEST()
1595 ASSERT_EQ(haystack + 0, strstr(haystack, "b")); in TEST()
1596 ASSERT_EQ(haystack + 0, strstr(haystack, "bi")); in TEST()
1597 ASSERT_EQ(haystack + 0, strstr(haystack, "big")); in TEST()
1598 ASSERT_EQ(haystack + 0, strstr(haystack, "big ")); in TEST()
1599 ASSERT_EQ(haystack + 0, strstr(haystack, "big d")); in TEST()
1601 ASSERT_EQ(haystack + 2, strstr(haystack, "g")); in TEST()
1602 ASSERT_EQ(haystack + 10, strstr(haystack, "gi")); in TEST()
[all …]
Dftw_test.cpp131 EXPECT_EQ(strstr(path, "unreadable") != nullptr ? FTW_DNR : FTW_D, flag) << path; in bug_28197840_ftw()
Diconv_test.cpp315 if (strstr(dst_enc, "ascii")) { in RoundTrip()
Ddlfcn_test.cpp1708 EXPECT_NE(nullptr, strstr(info.dli_fname, "libsegment_gap_inner.so")); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c172 strstr(const char *h, const char *n) in strstr() function
189 DEF_STRONG(strstr);
/bionic/tests/headers/posix/
Dstring_h.c67 FUNCTION(strstr, char* (*f)(const char*, const char*)); in string_h()
/bionic/libc/bionic/
Diconv.cpp76 if ((*lhs == '\0' || strstr(lhs, "//") == lhs) && *rhs == '\0') return true; in __match_encoding()
81 const char* suffix = strstr(s, "//"); in __parse_encoding()
Dlocale.cpp131 return (*locale_name == '\0' || strstr(locale_name, "UTF-8")); in __is_utf8_locale()
Dmalloc_common_dynamic.cpp234 strstr(getprogname(), program) == nullptr) { in CheckLoadMallocDebug()
/bionic/linker/
Dlinker_utils.cpp153 const char* const separator = strstr(path, kZipFileSeparator); in parse_zip_path()
Dlinker.cpp932 const char* const separator = strstr(path, kZipFileSeparator); in open_library_in_zipfile()
1002 if (strstr(path, kZipFileSeparator) != nullptr) { in open_library_at_path()
/bionic/benchmarks/
Dstring_benchmark.cpp286 if (strstr(haystack_aligned, needle_aligned) == nullptr) { in BM_string_strstr()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_081.S337 CALL(strstr)
Dliblinker_reloc_bench_144.S213 CALL(strstr)
Dliblinker_reloc_bench_076.S270 CALL(strstr)
Dliblinker_reloc_bench_084.S993 CALL(strstr)
Dliblinker_reloc_bench_085.S1847 CALL(strstr)
Dliblinker_reloc_bench_029.S2169 CALL(strstr)
Dliblinker_reloc_bench_154.S2455 CALL(strstr)
Dliblinker_reloc_bench_070.S1369 CALL(strstr)
/bionic/libc/tools/
Dposix-2013.txt1020 strstr
/bionic/libc/
Dlibc.map.txt1029 strstr;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1029 strstr;

12