/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_pton.c | 85 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4() 146 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6() 147 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()
|
D | base64.c | 201 pos = strchr(Base64, ch); in b64_pton()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | fnmatch.c | 113 if ((colon = strchr(pattern, ':')) == NULL || colon[1] != ']') { in classmatch() 334 strendseg = strchr(string, '/'); in fnmatch() 336 strendseg = strchr(string, '\0'); in fnmatch() 338 strendseg = strchr(string, '\0'); in fnmatch()
|
/bionic/libc/bionic/ |
D | strchr.cpp | 32 char* strchr(const char* p, int ch) { in strchr() function
|
D | mntent.cpp | 91 token = strchr(token, ','); in hasmntopt()
|
D | execinfo.cpp | 158 cur_string = strchr(cur_string, '\n'); in backtrace_symbols()
|
D | exec.cpp | 129 if (strchr(name, '/') && execve(name, argv, envp) == -1) { in execvpe()
|
D | ndk_cruft.cpp | 328 return const_cast<char*>(strchr(str, ch)); in index()
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | getopt_long.c | 225 if ((has_equal = strchr(current_argv, '=')) != NULL) { in parse_long_options() 415 (place[1] == '\0' && strchr(options, '-') == NULL)) { 489 } else if (*place != ':' && strchr(options, *place) != NULL) 502 (oli = strchr(options, optchar)) == NULL) {
|
/bionic/libc/include/ |
D | string.h | 78 char* _Nullable strchr(const char* _Nonnull __s, int __ch) __attribute_pure__; 212 return strchr(s, c); in __bionic_strchr() 216 const char* _Nullable strchr(const char* _Nonnull const s __pass_object_size, int c) in strchr() function 222 char* _Nullable strchr(char* _Nonnull const s __pass_object_size, int c) in strchr() function
|
/bionic/libc/arch-arm64/ |
D | static_function_dispatch.S | 43 FUNCTION_DELEGATE(strchr, __strchr_aarch64_mte)
|
D | dynamic_function_dispatch.cpp | 110 DEFINE_IFUNC_FOR(strchr) { in DEFINE_IFUNC_FOR() argument
|
/bionic/libc/arch-riscv64/ |
D | static_function_dispatch.S | 44 FUNCTION_DELEGATE(strchr, strchr_gc)
|
D | dynamic_function_dispatch.cpp | 99 DEFINE_IFUNC_FOR(strchr) { in DEFINE_IFUNC_FOR() argument
|
/bionic/libc/dns/resolv/ |
D | herror.c | 81 strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
|
D | res_init.c | 125 #define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL) 326 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit() 451 (cp = strchr(buf, '.')) != NULL) in __res_vinit() 468 cp = strchr(cp, '.') + 1; /* we know there is one */ in __res_vinit()
|
/bionic/linker/ |
D | linker_logger.cpp | 76 const char* process_name_end = strchr(process_name_start, ':'); in GetAppSpecificProperty()
|
D | linker_utils.cpp | 126 strchr(haystack + needle_len + 1, '/') == nullptr; in file_is_in_dir()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_147.S | 44 CALL(strchr)
|
/bionic/tests/headers/posix/ |
D | string_h.c | 47 FUNCTION(strchr, char* (*f)(const char*, int)); in string_h()
|
/bionic/libc/dns/nameser/ |
D | ns_name.c | 234 if ((cp = strchr(src, ']')) == NULL) { in ns_name_pton2() 254 else if ((cp = strchr(digits, c)) != NULL) { in ns_name_pton2() 257 (cp = strchr(digits, c)) == NULL) { in ns_name_pton2() 263 (cp = strchr(digits, c)) == NULL) { in ns_name_pton2()
|
/bionic/libc/arch-x86/string/ |
D | sse2-strchr-atom.S | 90 ENTRY (strchr) 391 END (strchr)
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 178 h = strchr(h, *n); in strstr()
|
/bionic/tests/ |
D | string_test.cpp | 426 EXPECT_TRUE(strchr(buf, '\0') == (buf + strlen(s))); in TEST() 442 EXPECT_EQ(&str[i], strchr(str, 'a')); in TEST() 447 TEST(STRING_TEST, strchr) { in TEST() argument 473 ASSERT_TRUE(strchr(state.ptr1, seek_char) == expected); in TEST() 1422 ASSERT_EQ(nullptr, strchr(reinterpret_cast<char*>(buf), search_value)); in DoStrchrTest() 1424 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 1]), strchr(reinterpret_cast<char*>(buf), '\0')); in DoStrchrTest() 1428 ASSERT_EQ(reinterpret_cast<char*>(&buf[0]), strchr(reinterpret_cast<char*>(buf), in DoStrchrTest() 1435 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 2]), strchr(reinterpret_cast<char*>(buf), in DoStrchrTest()
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 230 char* _Nullable strchr(const char* _Nonnull const s __pass_object_size, int c) __overloadable { in strchr() function
|