Home
last modified time | relevance | path

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

12345678

/external/v4l2_codec2/vda/
Dvp9_parser.cc43 if (memchr(tx_probs_8x8, 0, sizeof(tx_probs_8x8))) in IsValid()
45 if (memchr(tx_probs_16x16, 0, sizeof(tx_probs_16x16))) in IsValid()
47 if (memchr(tx_probs_32x32, 0, sizeof(tx_probs_32x32))) in IsValid()
65 if (memchr(skip_prob, 0, sizeof(skip_prob))) in IsValid()
67 if (memchr(inter_mode_probs, 0, sizeof(inter_mode_probs))) in IsValid()
69 if (memchr(interp_filter_probs, 0, sizeof(interp_filter_probs))) in IsValid()
71 if (memchr(is_inter_prob, 0, sizeof(is_inter_prob))) in IsValid()
73 if (memchr(comp_mode_prob, 0, sizeof(comp_mode_prob))) in IsValid()
75 if (memchr(single_ref_prob, 0, sizeof(single_ref_prob))) in IsValid()
77 if (memchr(comp_ref_prob, 0, sizeof(comp_ref_prob))) in IsValid()
[all …]
/external/bison/m4/
Dmemchr.m41 # 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/llvm/test/Transforms/InstCombine/
Dmemchr.ll2 ; Test that the memchr library call simplifier works correctly.
16 declare i8* @memchr(i8*, i32, i32)
24 %dst = call i8* @memchr(i8* %str, i32 119, i32 14)
35 %dst = call i8* @memchr(i8* %str, i32 119, i32 1)
46 %dst = call i8* @memchr(i8* %src, i32 0, i32 14)
53 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @…
58 %dst = call i8* @memchr(i8* %src, i32 %chr, i32 14)
69 %dst = call i8* @memchr(i8* %src, i32 65280, i32 14)
81 %dst = call i8* @memchr(i8* %src, i32 119, i32 100)
93 %dst = call i8* @memchr(i8* %src, i32 120, i32 100)
[all …]
Dstrchr-1.ll47 ; CHECK: call i8* @memchr
85 ; CHECK-NEXT: %memchr.bounds = icmp ult i16 [[TRUNC]], 16
88 ; CHECK-NEXT: %memchr.bits = icmp ne i16 [[AND]], 0
89 ; CHECK-NEXT: %memchr1 = and i1 %memchr.bounds, %memchr.bits
/external/bison/lib/
Dmemchr.valgrind1 # 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
Dmemchr.c50 # undef memchr
54 # define __memchr memchr
171 weak_alias (__memchr, BP_SYM (memchr))
Dstring.in.h95 # 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 - "
/external/llvm/test/CodeGen/SystemZ/
Dmemchr-02.ll1 ; 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)
Dmemchr-nobuiltin.ll1 ; Test that memchr won't be converted to SRST if calls are
6 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len)
12 ; CHECK: brasl %r14, memchr
14 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len) nobuiltin
Dmemchr-01.ll1 ; 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/
Dstring.h95 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr()
97 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function
99 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function
Dcstring39 const void* memchr(const void* s, int c, size_t n);
40 void* memchr( void* s, int c, size_t n);
81 using ::memchr;
/external/llvm/test/Instrumentation/EfficiencySanitizer/
Dstr-nobuiltin.ll7 declare i8* @memchr(i8* %a, i32 %b, i64 %c)
15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]]
25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
/external/valgrind/none/tests/x86/
Dbug152818-x86.c83 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/llvm/test/Instrumentation/ThreadSanitizer/
Dstr-nobuiltin.ll7 declare i8* @memchr(i8* %a, i32 %b, i64 %c)
15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]]
25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
/external/llvm/test/Instrumentation/AddressSanitizer/
Dstr-nobuiltin.ll7 declare i8* @memchr(i8* %a, i32 %b, i64 %c)
15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]]
25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
/external/llvm/test/Instrumentation/MemorySanitizer/
Dstr-nobuiltin.ll7 declare i8* @memchr(i8* %a, i32 %b, i64 %c)
15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]]
25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
/external/clang/test/CodeGen/
Dpr9614.c21 extern inline __attribute__((__always_inline__, __gnu_inline__)) void *memchr(void *__s, int __c, _… in memchr() function
30 memchr("", '.', 0); in f()
/external/bison/linux-lib/
Dstring.h407 # 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/darwin-lib/
Dstring.h407 # 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/libebl/
Deblobjnote.c95 const char *pname = memchr (provider, '\0', desc + descsz - provider); in ebl_object_note()
100 const char *args = memchr (pname, '\0', desc + descsz - pname); in ebl_object_note()
102 memchr (++args, '\0', desc + descsz - pname) != desc + descsz - 1) in ebl_object_note()
/external/boringssl/src/crypto/
Dinternal.h574 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
582 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
593 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
/external/valgrind/memcheck/tests/
Dstr_tester.c990 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/libcxx/test/std/depr/depr.c.headers/
Dstring_h.pass.cpp37 static_assert((std::is_same<decltype(memchr(vp, 0, s)), void*>::value), ""); in main()
59 static_assert((std::is_same<decltype(memchr(vpc, 0, s)), const void*>::value), ""); in main()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_intercept_memchr.cc11 memchr(buff, 'z', 7); in test_function()

12345678