Searched refs:memchr (Results 1 - 15 of 15) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
H A Dstrnlen.c31 const char *end = memchr (string, '\0', maxlen);
H A Dmemchr.c7 adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu),
50 # undef memchr macro
54 # define __memchr memchr
171 weak_alias (__memchr, BP_SYM (memchr))
H A Dstring.in.h57 # define memchr rpl_memchr macro
58 extern void *memchr (void const *__s, int __c, size_t __n)
62 # undef memchr
63 # define memchr(s,c,n) \
64 (GL_LINK_WARNING ("memchr has platform-specific bugs - " \
65 "use gnulib module memchr for portability" ), \
66 memchr (s, c, n))
118 memchr(S,C,N), at the expense of undefined behavior if C does not
H A Dgnulib.mk12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libsed --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl acl alloca btowc c-ctype extensions getline getopt gettext localcharset mbrlen mbrtowc mbsinit memchr mkstemp obstack pathmax regex rename selinux-h stat-macros stdbool strerror strverscmp unlocked-io verify wcrtomb wctob
434 ## begin gnulib module memchr
437 EXTRA_DIST += memchr.c memchr.valgrind
439 EXTRA_libsed_a_SOURCES += memchr.c
441 ## end gnulib module memchr
/ndk/sources/cxx-stl/gabi++/include/
H A Dcstring44 using ::memchr;
/ndk/sources/cxx-stl/system/include/
H A Dcstring44 using ::memchr;
/ndk/tests/device/test-gnustl-full/unit/
H A Dcstring_test.cpp43 CPPUNIT_CHECK( std::memchr("foo", 'o', 3) != NULL );
/ndk/tests/device/test-stlport/unit/
H A Dcstring_test.cpp43 CPPUNIT_CHECK( std::memchr("foo", 'o', 3) != NULL );
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
H A Dstring_h.pass.cpp37 static_assert((std::is_same<decltype(memchr(vp, 0, s)), void*>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
H A Dcstring.pass.cpp37 // static_assert((std::is_same<decltype(std::memchr(vpc, 0, s)), const void*>::value), "");
38 static_assert((std::is_same<decltype(std::memchr(vp, 0, s)), void*>::value), "");
/ndk/sources/android/cpufeatures/
H A Dcpu-features.c215 p = memchr(p, ':', bufend-p);
221 q = memchr(p, '\n', bufend-p);
377 q = memchr(p, ',', end-p);
/ndk/sources/host-tools/sed-4.2.1/sed/
H A Dexecute.c178 memchr(), and ../lib/memchr.c requires configuration knowledge
183 # ifdef memchr
184 # undef memchr macro
186 # define memchr bootstrap_memchr
1440 char *p = memchr(line.active, '\n', line.length);
1589 char *p = memchr(line.active, '\n', line.length);
1662 char *p = memchr(line.active, '\n', line.length);
182 # undef memchr macro
/ndk/sources/cxx-stl/stlport/stlport/stl/
H A D_algobase.c149 void *res = memchr(__first, __val, __last - __first);
154 const void *res = memchr(__first, __val, __last - __first);
/ndk/sources/cxx-stl/stlport/src/details/
H A Dfstream_win32io.cpp501 (nextlf = (char *)memchr(nextblock, _STLP_LF, nextblocksize)) != 0) {
/ndk/sources/host-tools/sed-4.2.1/
H A Dconfigure4505 $EGREP "memchr" >/dev/null 2>&1; then
10306 for ac_func in memchr
10570 # memchr should not dereference anything with length 0
10572 # memchr should not dereference overestimated length after a match
10575 # Assume that memchr works on platforms that lack mprotect.
10576 { $as_echo "$as_me:$LINENO: checking whether memchr works" >&5
10577 $as_echo_n "checking whether memchr works... " >&6; }
10628 if (memchr (fence, 0, 0))
10631 if (memchr (fence - 9, 0, 79) != fence - 1)
10842 gl_LIBOBJS="$gl_LIBOBJS memchr
[all...]

Completed in 263 milliseconds