Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 64) sorted by relevance

123

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c85 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()
Dbase64.c201 pos = strchr(Base64, ch); in b64_pton()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dfnmatch.c113 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/
Dstrchr.cpp32 char* strchr(const char* p, int ch) { in strchr() function
Dmntent.cpp91 token = strchr(token, ','); in hasmntopt()
Dexecinfo.cpp158 cur_string = strchr(cur_string, '\n'); in backtrace_symbols()
Dexec.cpp129 if (strchr(name, '/') && execve(name, argv, envp) == -1) { in execvpe()
Dndk_cruft.cpp328 return const_cast<char*>(strchr(str, ch)); in index()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dgetopt_long.c225 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/
Dstring.h78 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/
Dstatic_function_dispatch.S43 FUNCTION_DELEGATE(strchr, __strchr_aarch64_mte)
Ddynamic_function_dispatch.cpp110 DEFINE_IFUNC_FOR(strchr) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/arch-riscv64/
Dstatic_function_dispatch.S44 FUNCTION_DELEGATE(strchr, strchr_gc)
Ddynamic_function_dispatch.cpp99 DEFINE_IFUNC_FOR(strchr) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/dns/resolv/
Dherror.c81 strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
Dres_init.c125 #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/
Dlinker_logger.cpp76 const char* process_name_end = strchr(process_name_start, ':'); in GetAppSpecificProperty()
Dlinker_utils.cpp126 strchr(haystack + needle_len + 1, '/') == nullptr; in file_is_in_dir()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_147.S44 CALL(strchr)
/bionic/tests/headers/posix/
Dstring_h.c47 FUNCTION(strchr, char* (*f)(const char*, int)); in string_h()
/bionic/libc/dns/nameser/
Dns_name.c234 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/
Dsse2-strchr-atom.S90 ENTRY (strchr)
391 END (strchr)
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c178 h = strchr(h, *n); in strstr()
/bionic/tests/
Dstring_test.cpp426 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/
Dstring.h230 char* _Nullable strchr(const char* _Nonnull const s __pass_object_size, int c) __overloadable { in strchr() function

123