Searched refs:strchr (Results 1 - 25 of 33) sorted by relevance

12

/bionic/libc/bionic/
H A Dstrchr.cpp33 char* strchr(const char* p, int ch) { function
H A Dsysinfo.cpp74 char* p = strchr(buf, ' ');
H A Dndk_cruft.cpp318 return strchr(str, ch);
H A Dsystem_properties.cpp429 const char *sep = strchr(remaining_name, '.');
/bionic/libstdc++/include/
H A Dcstring50 using ::strchr;
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_pton.c85 if ((pch = strchr(digits, ch)) != NULL) {
146 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
147 pch = strchr((xdigits = xdigits_u), ch);
/bionic/libc/dns/resolv/
H A Dherror.c81 strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
H A Dres_init.c126 #define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL)
325 if ((cp = strchr(statp->defdname, '\n')) != NULL)
450 (cp = strchr(buf, '.')) != NULL)
467 cp = strchr(cp, '.') + 1; /* we know there is one */
/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Dfnmatch.c115 if ((colon = strchr(pattern, ':')) == NULL || colon[1] != ']') {
335 strendseg = strchr(string, '/');
337 strendseg = strchr(string, '\0');
340 strendseg = strchr(string, '\0');
H A Dexec.c150 if (strchr(name, '/')) {
/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dpopen.c93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0;
94 if (strchr(xtype, '+')) {
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
H A Dgetopt_long.c225 if ((has_equal = strchr(current_argv, '=')) != NULL) {
415 (place[1] == '\0' && strchr(options, '-') == NULL)) {
487 } else if (*place != ':' && strchr(options, *place) != NULL)
500 (oli = strchr(options, optchar)) == NULL) {
H A Drealpath.c111 p = strchr(left, '/');
/bionic/libc/arch-arm64/generic/bionic/
H A Dstrchr.S2 strchr - find a character in a string
77 ENTRY(strchr) function
154 END(strchr)
/bionic/libc/arch-mips/
H A Dmips.mk16 bionic/strchr.cpp \
/bionic/libc/arch-mips64/
H A Dmips64.mk17 bionic/strchr.cpp \
/bionic/libc/arch-x86_64/
H A Dx86_64.mk12 bionic/strchr.cpp \
/bionic/libc/dns/nameser/
H A Dns_name.c234 if ((cp = strchr(src, ']')) == NULL) {
254 else if ((cp = strchr(digits, c)) != NULL) {
257 (cp = strchr(digits, c)) == NULL) {
263 (cp = strchr(digits, c)) == NULL) {
/bionic/libc/dns/net/
H A Dbase64.c237 pos = strchr(Base64, ch);
H A Dgetnameinfo.c315 p = strchr(hp->h_name, '.');
/bionic/libc/arch-arm/
H A Darm.mk8 bionic/strchr.cpp \
/bionic/libc/include/
H A Dstring.h54 extern char* strchr(const char *, int) __purefunc;
320 char* strchr(const char *s, int c) { function
/bionic/libc/arch-x86/atom/string/
H A Dsse2-strchr-atom.S90 ENTRY (strchr) function
391 END (strchr)
/bionic/tests/
H A Dstring_test.cpp404 EXPECT_TRUE(strchr(buf, '\0') == (buf + strlen(s)));
412 // Verify that strchr finds the first occurrence of 'a' in a string
415 // and continue to verify that strchr can find the first occurrence
420 EXPECT_EQ(&str[i], strchr(str, 'a'));
425 TEST(string, strchr) {
451 ASSERT_TRUE(strchr(state.ptr1, seek_char) == expected);
1350 ASSERT_EQ(NULL, strchr(reinterpret_cast<char*>(buf), search_value));
1351 ASSERT_EQ(reinterpret_cast<char*>(&buf[len-1]), strchr(reinterpret_cast<char*>(buf), '\0'));
1354 ASSERT_EQ(reinterpret_cast<char*>(&buf[0]), strchr(reinterpret_cast<char*>(buf), search_value));
1357 ASSERT_EQ(reinterpret_cast<char*>(&buf[len-2]), strchr(reinterpret_cas
[all...]
H A Dfortify_test.cpp234 ASSERT_FORTIFY(printf("%s", strchr(myfoo.a, 'a')));
414 ASSERT_FORTIFY(printf("%s", strchr(buf, 'a')));

Completed in 134 milliseconds

12