Home
last modified time | relevance | path

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

1234567

/external/v4l2_codec2/vda/
Dvp9_parser.cc171 if (memchr(tx_probs_8x8, 0, sizeof(tx_probs_8x8))) in IsValid()
173 if (memchr(tx_probs_16x16, 0, sizeof(tx_probs_16x16))) in IsValid()
175 if (memchr(tx_probs_32x32, 0, sizeof(tx_probs_32x32))) in IsValid()
193 if (memchr(skip_prob, 0, sizeof(skip_prob))) in IsValid()
195 if (memchr(inter_mode_probs, 0, sizeof(inter_mode_probs))) in IsValid()
197 if (memchr(interp_filter_probs, 0, sizeof(interp_filter_probs))) in IsValid()
199 if (memchr(is_inter_prob, 0, sizeof(is_inter_prob))) in IsValid()
201 if (memchr(comp_mode_prob, 0, sizeof(comp_mode_prob))) in IsValid()
203 if (memchr(single_ref_prob, 0, sizeof(single_ref_prob))) in IsValid()
205 if (memchr(comp_ref_prob, 0, sizeof(comp_ref_prob))) in IsValid()
[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/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/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/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/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/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/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/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/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/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/llvm/test/CodeGen/X86/
Dreverse_branches.ll3 @.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/libcxx/test/std/strings/c.strings/
Dcstring.pass.cpp37 static_assert((std::is_same<decltype(std::memchr(vp, 0, s)), void*>::value), ""); in main()
55 static_assert((std::is_same<decltype(std::memchr(vpc, 0, s)), const void*>::value), ""); in main()
/external/google-breakpad/src/common/
Dbyte_cursor.h171 = static_cast<const uint8_t *>(memchr(here_, '\0', Available())); in CString()
199 = static_cast<const uint8_t *>(memchr(here_, '\0', limit)); in CString()
/external/dtc/libfdt/
Dfdt_ro.c72 else if (!memchr(s, '@', len) && (p[len] == '@')) in _fdt_nodename_eq()
193 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen()
214 q = memchr(p, '/', end - p); in fdt_path_offset_namelen()
558 p = memchr(strlist, '\0', listlen); in fdt_stringlist_contains()
Dfdt_overlay.c434 fixup_end = memchr(value, '\0', len); in overlay_fixup_phandle()
443 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
453 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_intercept_memchr.cc11 memchr(buff, 'z', 7); in test_function()
/external/boringssl/src/crypto/
Dinternal.h672 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
680 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
691 return memchr(s, c, n); in OPENSSL_MSVC_PRAGMA()
/external/syslinux/com32/lib/
Dmemchr.c8 void *memchr(const void *s, int c, size_t n) in memchr() function

1234567