/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | memchr.c | 37 memchr(const void *s, int c, size_t n) in memchr() function 49 DEF_STRONG(memchr);
|
D | strstr.c | 134 const unsigned char *z2 = memchr(z, 0, grow); in twoway_strstr()
|
D | memmem.c | 174 h = memchr(h0, *n, k); in memmem()
|
/bionic/libc/arch-riscv64/string/ |
D | memchr.c | 31 #define memchr memchr_gc macro
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetln.c | 79 if ((p = memchr(fp->_p, '\n', fp->_r)) != NULL) { in fgetln() 122 if ((p = memchr(fp->_p, '\n', fp->_r)) == NULL) in fgetln()
|
D | getdelim.c | 76 p = memchr(fp->_p, sep, fp->_r); in getdelim()
|
D | fvwrite.c | 175 nl = memchr(p, '\n', len); in __sfvwrite()
|
/bionic/libc/bionic/ |
D | strnlen.cpp | 32 const char* p = static_cast<const char*>(memchr(s, 0, n)); in strnlen()
|
D | malloc_heapprofd.cpp | 174 char* first_arg = static_cast<char*>(memchr(cmdline, '\0', rd)); in GetHeapprofdProgramProperty() 181 char* first_at = static_cast<char*>(memchr(cmdline, '@', rd)); in GetHeapprofdProgramProperty()
|
D | fortify.cpp | 128 return const_cast<void*>(memchr(s, c, n)); in __memchr_chk()
|
/bionic/libc/include/ |
D | string.h | 45 void* _Nullable memchr(const void* _Nonnull __s, int __ch, size_t __n) __attribute_pure__; 196 return memchr(s, c, n); in __bionic_memchr() 200 const void* _Nullable memchr(const void* _Nonnull const s __pass_object_size, int c, size_t n) in memchr() function 206 void* _Nullable memchr(void* _Nonnull const s __pass_object_size, int c, size_t n) __prefer_this_ov… in memchr() function
|
/bionic/libc/arch-arm64/ |
D | static_function_dispatch.S | 36 FUNCTION_DELEGATE(memchr, __memchr_aarch64_mte)
|
D | dynamic_function_dispatch.cpp | 53 DEFINE_IFUNC_FOR(memchr) { in DEFINE_IFUNC_FOR() argument
|
/bionic/libc/arch-riscv64/ |
D | static_function_dispatch.S | 37 FUNCTION_DELEGATE(memchr, memchr_gc)
|
D | dynamic_function_dispatch.cpp | 57 DEFINE_IFUNC_FOR(memchr) { in DEFINE_IFUNC_FOR() argument
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_147.S | 63 CALL(memchr)
|
D | liblinker_reloc_bench_086.S | 474 CALL(memchr)
|
D | liblinker_reloc_bench_149.S | 636 CALL(memchr)
|
/bionic/tests/headers/posix/ |
D | string_h.c | 39 FUNCTION(memchr, void* (*f)(const void*, int, size_t)); in string_h()
|
/bionic/tests/ |
D | string_test.cpp | 790 TEST(STRING_TEST, memchr) { in TEST() argument 806 ASSERT_TRUE(memchr(state.ptr1, seek_char, state.len[i]) == expected); in TEST() 815 ASSERT_TRUE(nullptr == memchr(buffer, 5, 0)); in TEST() 816 ASSERT_TRUE(nullptr == memchr(buffer, 10, 0)); in TEST() 1393 ASSERT_EQ(nullptr, memchr(buf, search_value, len)); in DoMemchrTest() 1397 ASSERT_EQ(&buf[0], memchr(buf, search_value, len)); in DoMemchrTest() 1402 ASSERT_EQ(&buf[len - 1], memchr(buf, search_value, len)); in DoMemchrTest()
|
D | fortify_test.cpp | 208 ASSERT_FORTIFY(printf("%s", static_cast<const char*>(memchr(myfoo.a, 'a', asize)))); in TEST_F() 210 "%s", static_cast<const char*>(memchr(static_cast<const void*>(myfoo.a), 'a', asize)))); in TEST_F()
|
/bionic/libc/arch-x86/string/ |
D | sse2-memchr-atom.S | 90 ENTRY (memchr) 556 END (memchr)
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 142 void* _Nullable memchr(const void* _Nonnull const s __pass_object_size, int c, size_t n) __overload… in memchr() function
|
/bionic/libc/tools/ |
D | posix-2013.txt | 550 memchr
|
/bionic/libc/ |
D | Android.bp | 585 "upstream-openbsd/lib/libc/string/memchr.c", 620 "upstream-openbsd/lib/libc/string/memchr.c", 1107 "arch-riscv64/string/memchr.c", 1150 "arch-x86/string/sse2-memchr-atom.S",
|