/external/bison/m4/ |
D | memchr.m4 | 1 # memchr.m4 serial 12 16 dnl These days, we assume memchr is present. But if support for old 18 AC_CHECK_FUNCS_ONCE([memchr]) 25 # memchr should not dereference anything with length 0 27 # memchr should not dereference overestimated length after a match 30 # Assume that memchr works on platforms that lack mprotect. 31 AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], 67 if (memchr (fence, 0, 0)) 70 if (memchr (fence - 9, 0, 79) != fence - 1) 72 if (memchr (fence - 1, 0, 3) != fence - 1) [all …]
|
/external/bison/lib/ |
D | memchr.valgrind | 1 # Suppress a valgrind message about use of uninitialized memory in memchr(). 2 # POSIX states that when the character is found, memchr must not read extra 3 # bytes in an overestimated length (for example, where memchr is used to 6 memchr-value4 11 memchr-value8
|
D | memchr.c | 50 # undef memchr 54 # define __memchr memchr 171 weak_alias (__memchr, BP_SYM (memchr))
|
D | string.in.h | 95 # define memchr rpl_memchr macro 97 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) 100 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); 103 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) 110 _GL_CXXALIAS_SYS_CAST2 (memchr, 116 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); 117 _GL_CXXALIASWARN1 (memchr, void const *, 120 _GL_CXXALIASWARN (memchr); 123 # undef memchr 125 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
|
D | strnlen.c | 28 const char *end = memchr (string, '\0', maxlen); in strnlen()
|
D | strnlen1.c | 30 const char *end = (const char *) memchr (string, '\0', maxlen); in strnlen1()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | memchr-02.ll | 1 ; Test memchr using SRST, with the correct prototype. 5 declare i8 *@memchr(i8 *%src, i32 %char, i64 %len) 18 %res = call i8 *@memchr(i8 *%src, i32 %char, i64 %len) 34 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 35 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len) 53 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 55 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len)
|
D | memchr-01.ll | 1 ; Test memchr using SRST, with a weird but usable prototype. 5 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len) 19 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len)
|
/external/libcxx/include/ |
D | cstring | 39 const void* memchr(const void* s, int c, size_t n); 40 void* memchr( void* s, int c, size_t n); 82 using ::memchr; 101 inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return :…
|
/external/valgrind/main/none/tests/x86/ |
D | bug152818-x86.c | 83 const signed char * b_center = (signed char *) memchr(b_mem_buff, 0xaa, sizeof (b_mem_buff)); in main() 84 const signed char * w_center = (signed char *) memchr(w_mem_buff, 0xaa, sizeof (w_mem_buff)); in main() 85 const signed char * l_center = (signed char *) memchr(l_mem_buff, 0xaa, sizeof (l_mem_buff)); in main()
|
/external/bison/darwin-lib/ |
D | string.h | 407 # define memchr rpl_memchr 409 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) 412 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); 415 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) 422 _GL_CXXALIAS_SYS_CAST2 (memchr, 428 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); 429 _GL_CXXALIASWARN1 (memchr, void const *, 432 _GL_CXXALIASWARN (memchr); 435 # undef memchr 437 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
|
/external/bison/linux-lib/ |
D | string.h | 407 # define memchr rpl_memchr 409 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) 412 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); 415 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) 422 _GL_CXXALIAS_SYS_CAST2 (memchr, 428 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); 429 _GL_CXXALIASWARN1 (memchr, void const *, 432 _GL_CXXALIASWARN (memchr); 435 # undef memchr 437 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
|
/external/elfutils/0.153/libebl/ |
D | eblobjnote.c | 118 const char *pname = memchr (provider, '\0', desc + descsz - provider); 123 const char *args = memchr (pname, '\0', desc + descsz - pname); 125 memchr (++args, '\0', desc + descsz - pname) != desc + descsz - 1)
|
/external/qemu/android/utils/ |
D | property_file.c | 41 const char* lineEnd = (const char*)memchr(p, '\n', end - p); in propertyFileIterator_next() 63 (const char*)memchr(name, '=', lineEnd - name); in propertyFileIterator_next()
|
/external/chromium_org/third_party/boringssl/src/tool/ |
D | pkcs12.cc | 94 } while ((n > 0 && memchr(password, '\n', off) == NULL && in DoPKCS12() 98 char *newline = reinterpret_cast<char*>(memchr(password, '\n', off)); in DoPKCS12()
|
/external/chromium_org/net/filter/ |
D | gzip_header.cc | 126 pos = reinterpret_cast<const uint8*>(memchr(pos, '\0', (end - pos))); in ReadMore() 142 pos = reinterpret_cast<const uint8*>(memchr(pos, '\0', (end - pos))); in ReadMore()
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | dll_intercept_memchr.cc | 11 memchr(buff, 'z', 7); in test_function()
|
/external/valgrind/main/memcheck/tests/ |
D | str_tester.c | 990 check(memchr("abcd", 'z', 4) == NULL, 1); /* Not found. */ in test_memchr() 992 check(memchr(one, 'c', 4) == one+2, 2); /* Basic test. */ in test_memchr() 993 check(memchr(one, ~0xff|'c', 4) == one+2, 2); /* ignore highorder bits. */ in test_memchr() 994 check(memchr(one, 'd', 4) == one+3, 3); /* End of string. */ in test_memchr() 995 check(memchr(one, 'a', 4) == one, 4); /* Beginning. */ in test_memchr() 996 check(memchr(one, '\0', 5) == one+4, 5); /* Finding NUL. */ in test_memchr() 998 check(memchr(one, 'b', 5) == one+1, 6); /* Finding first. */ in test_memchr() 999 check(memchr(one, 'b', 0) == NULL, 7); /* Zero count. */ in test_memchr() 1000 check(memchr(one, 'a', 1) == one, 8); /* Singleton case. */ in test_memchr() 1002 check(memchr(one, 0203, 3) == one+1, 9); /* Unsignedness. */ in test_memchr() [all …]
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | commandlineflags.h | 138 return memchr(kTrueValues, system_property_value[0], sizeof(kTrueValues)); in EnvToBool() 169 (!getenv(envname) ? (dflt) : memchr("tTyY1\0", getenv(envname)[0], 6) != NULL)
|
/external/llvm/test/CodeGen/X86/ |
D | reverse_branches.ll | 3 @.str2 = private unnamed_addr constant [7 x i8] c"memchr\00", align 1 34 %call = call i8* @memchr(i8* %arraydecay, i32 120, i64 1000) 101 declare i8* @memchr(i8*, i32, i64) nounwind readonly
|
/external/openssl/crypto/ |
D | mem_clr.c | 73 p=memchr(ptr, (unsigned char)ctr, len); in OPENSSL_cleanse()
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/ |
D | string.pxd | 16 void *memchr (const void *block, int c, size_t size) 18 void *memchr (const void *block, int c, size_t size)
|
/external/elfutils/0.153/libdw/ |
D | dwarf_getstring.c | 78 const char *endp = memchr (result, '\0',
|
/external/valgrind/main/memcheck/tests/linux/ |
D | stack_switch.c | 30 return memchr( buffer, 1, sizeof( buffer ) ) == NULL; in thread_main()
|
/external/webrtc/src/system_wrappers/source/android/ |
D | cpu-features.c | 120 p = memchr(p, ':', bufend-p); in extract_cpuinfo_field() 126 q = memchr(p, '\n', bufend-p); in extract_cpuinfo_field()
|