Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemchr.c37 memchr(const void *s, int c, size_t n) __overloadable { in memchr() function
/bionic/libc/bionic/
Dstrnlen.c32 char* p = memchr(str, 0, maxlen); in strnlen()
Dmemmem.cpp38 if (m == 1) return memchr(haystack, needle[0], n); in memmem()
Dfortify.cpp136 return memchr(s, c, n); in __memchr_chk()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgetln.c79 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) != NULL) { in fgetln()
120 if ((p = memchr((void *)fp->_p, '\n', fp->_r)) == NULL) in fgetln()
Dfgets.c86 t = memchr((void *)p, '\n', len); in fgets()
Dgetdelim.c76 p = memchr(fp->_p, sep, (size_t)fp->_r); in getdelim()
Dfmemopen.c167 if ((p = memchr(st->string, '\0', size)) != NULL) in fmemopen()
Dfvwrite.c167 nl = memchr((void *)p, '\n', len); in __sfvwrite()
Dvfprintf.c879 char *p = memchr(cp, 0, prec); in __vfprintf()
/bionic/libc/arch-arm64/generic/bionic/
Dmemchr.S73 ENTRY(memchr)
165 END(memchr)
/bionic/libc/arch-mips/string/
Dmemchr.c103 memchr (void const *s, int c_in, size_t n) __overloadable in memchr() function
/bionic/libc/include/
Dstring.h50 void* memchr(const void* _Nonnull, int, size_t) __attribute_pure__ __overloadable
51 __RENAME_CLANG(memchr);
251 void* memchr(const void* const _Nonnull s __pass_object_size, int c, size_t n) in memchr() function
433 void* memchr(const void *_Nonnull s __pass_object_size, int c, size_t n) { in memchr() function
/bionic/libc/arch-x86/atom/string/
Dsse2-memchr-atom.S90 ENTRY (memchr)
556 END (memchr)
/bionic/libc/
DAndroid.bp550 "upstream-openbsd/lib/libc/string/memchr.c",
628 "upstream-openbsd/lib/libc/string/memchr.c",
637 "upstream-openbsd/lib/libc/string/memchr.c",
645 "upstream-openbsd/lib/libc/string/memchr.c",
653 "upstream-openbsd/lib/libc/string/memchr.c",
1015 "arch-arm64/generic/bionic/memchr.S",
1071 "arch-mips/string/memchr.c",
1098 "arch-mips/string/memchr.c",
1120 "arch-x86/atom/string/sse2-memchr-atom.S",
Dlibc.mips64.map561 memchr;
Dlibc.x86_64.map561 memchr;
Dlibc.arm64.map561 memchr;
Dlibc.x86.map631 memchr;
Dlibc.mips.map633 memchr;
Dlibc.arm.map635 memchr;
Dlibc.map.txt637 memchr;
DNOTICE6110 memchr - find a character in a memory zone
/bionic/tests/
Dstring_test.cpp778 TEST(STRING_TEST, memchr) { in TEST() argument
794 ASSERT_TRUE(memchr(state.ptr1, seek_char, state.len[i]) == expected); in TEST()
803 ASSERT_TRUE(NULL == memchr(buffer, 5, 0)); in TEST()
804 ASSERT_TRUE(NULL == memchr(buffer, 10, 0)); in TEST()
/bionic/libc/tools/
Dposix-2013.txt550 memchr