/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 | 209 pos = strchr(Base64, ch);
|
/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/include/ |
D | string.h | 61 char* strchr(const char* __s, int __ch) __attribute_pure__; 172 return strchr(s, c); in __bionic_strchr() 176 const char* strchr(const char* const s __pass_object_size, int c) in strchr() function 182 char* strchr(char* const s __pass_object_size, int c) in strchr() function
|
/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/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 | exec.cpp | 127 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/arch-arm64/ |
D | static_function_dispatch.S | 38 FUNCTION_DELEGATE(strchr, __strchr_aarch64_mte)
|
D | dynamic_function_dispatch.cpp | 64 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/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/tests/headers/posix/ |
D | string_h.c | 47 FUNCTION(strchr, char* (*f)(const char*, int)); in string_h()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_147.S | 44 CALL(strchr)
|
/bionic/libc/arch-x86/atom/string/ |
D | sse2-strchr-atom.S | 90 ENTRY (strchr) 391 END (strchr)
|
/bionic/tests/ |
D | string_test.cpp | 414 EXPECT_TRUE(strchr(buf, '\0') == (buf + strlen(s))); in TEST() 430 EXPECT_EQ(&str[i], strchr(str, 'a')); in TEST() 435 TEST(STRING_TEST, strchr) { in TEST() argument 461 ASSERT_TRUE(strchr(state.ptr1, seek_char) == expected); in TEST() 1410 ASSERT_EQ(nullptr, strchr(reinterpret_cast<char*>(buf), search_value)); in DoStrchrTest() 1412 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 1]), strchr(reinterpret_cast<char*>(buf), '\0')); in DoStrchrTest() 1416 ASSERT_EQ(reinterpret_cast<char*>(&buf[0]), strchr(reinterpret_cast<char*>(buf), in DoStrchrTest() 1423 ASSERT_EQ(reinterpret_cast<char*>(&buf[len - 2]), strchr(reinterpret_cast<char*>(buf), in DoStrchrTest()
|
D | fortify_test.cpp | 183 ASSERT_FORTIFY(printf("%s", strchr(myfoo.a, 'a'))); in TEST_F() 184 ASSERT_FORTIFY(printf("%s", strchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F() 364 ASSERT_FORTIFY(printf("%s", strchr(buf, 'a'))); in TEST_F()
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 178 h = strchr(h, *n); in strstr()
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 220 char* strchr(const char* const s __pass_object_size, int c) __overloadable { in strchr() function
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 324 p = strchr(hp->h_name, '.'); in getnameinfo_inet()
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 283 const char* sep = strchr(remaining_name, '.'); in find_property()
|