/external/llvm/lib/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 108 if (NewSize == 7 && !memcmp(REM0, T, 7)) FoundMask |= 1 << 0; in TestEraseByte() 109 if (NewSize == 7 && !memcmp(REM1, T, 7)) FoundMask |= 1 << 1; in TestEraseByte() 110 if (NewSize == 7 && !memcmp(REM2, T, 7)) FoundMask |= 1 << 2; in TestEraseByte() 111 if (NewSize == 7 && !memcmp(REM3, T, 7)) FoundMask |= 1 << 3; in TestEraseByte() 112 if (NewSize == 7 && !memcmp(REM4, T, 7)) FoundMask |= 1 << 4; in TestEraseByte() 113 if (NewSize == 7 && !memcmp(REM5, T, 7)) FoundMask |= 1 << 5; in TestEraseByte() 114 if (NewSize == 7 && !memcmp(REM6, T, 7)) FoundMask |= 1 << 6; in TestEraseByte() 115 if (NewSize == 7 && !memcmp(REM7, T, 7)) FoundMask |= 1 << 7; in TestEraseByte() 144 if (NewSize == 8 && !memcmp(INS0, T, 8)) FoundMask |= 1 << 0; in TestInsertByte() 145 if (NewSize == 8 && !memcmp(INS1, T, 8)) FoundMask |= 1 << 1; in TestInsertByte() [all …]
|
D | MemcmpTest.cpp | 12 if (Size >= 8 && memcmp(Data, "01234567", 8) == 0) { in LLVMFuzzerTestOneInput() 13 if (Size >= 12 && memcmp(Data + 8, "ABCD", 4) == 0) { in LLVMFuzzerTestOneInput() 14 if (Size >= 14 && memcmp(Data + 12, "XY", 2) == 0) { in LLVMFuzzerTestOneInput() 15 if (Size >= 17 && memcmp(Data + 14, "KLM", 3) == 0) { in LLVMFuzzerTestOneInput() 16 if (Size >= 27 && memcmp(Data + 17, "ABCDE-GHIJ", 10) == 0){ in LLVMFuzzerTestOneInput()
|
/external/epid-sdk/epid/common/src/ |
D | file_parser.c | 97 memcmp(&cert->header.epid_version, &kEpidVersion, sizeof(kEpidVersion))) { in EpidVerifyCaCertificate() 100 if (0 != memcmp(&cert->header.file_type, in EpidVerifyCaCertificate() 107 if (0 != memcmp(&cert->prime, secp256r1_p, sizeof(secp256r1_p))) { in EpidVerifyCaCertificate() 110 if (0 != memcmp(&cert->a, secp256r1_a, sizeof(secp256r1_a))) { in EpidVerifyCaCertificate() 113 if (0 != memcmp(&cert->b, secp256r1_b, sizeof(secp256r1_b))) { in EpidVerifyCaCertificate() 116 if (0 != memcmp(&cert->x, secp256r1_gx, sizeof(secp256r1_gx))) { in EpidVerifyCaCertificate() 119 if (0 != memcmp(&cert->y, secp256r1_gy, sizeof(secp256r1_gy))) { in EpidVerifyCaCertificate() 122 if (0 != memcmp(&cert->r, secp256r1_r, sizeof(secp256r1_r))) { in EpidVerifyCaCertificate() 136 if (0 == memcmp((void*)&header->epid_version, &kEpidVersionCode[kEpid1x], in EpidParseFileHeader() 139 } else if (0 == memcmp((void*)&header->epid_version, in EpidParseFileHeader() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringSwitch.h | 60 (std::memcmp(S, Str.data(), N-1) == 0)) { in Case() 71 std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) { in EndsWith() 82 std::memcmp(S, Str.data(), N-1) == 0) { in StartsWith() 94 (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) || in Cases() 95 (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) { in Cases() 107 (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) || in Cases() 108 (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) || in Cases() 109 (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) { in Cases() 122 (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) || in Cases() 123 (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) || in Cases() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | memcmp-nobuiltin.ll | 1 ; Test that memcmp won't be converted to CLC if calls are 6 declare signext i32 @memcmp(i8 *%src1, i8 *%src2, i64 %size) 12 ; CHECK: brasl %r14, memcmp 14 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 0) nobuiltin 22 ; CHECK: brasl %r14, memcmp 24 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 2) nobuiltin 32 ; CHECK: brasl %r14, memcmp 34 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 3) nobuiltin 50 ; CHECK: brasl %r14, memcmp 53 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 4) nobuiltin [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | memcmp-nobuiltin.ll | 1 ; Test that memcmp won't be converted to CLC if calls are 6 declare signext i32 @memcmp(i8 *%src1, i8 *%src2, i64 %size) 12 ; CHECK: brasl %r14, memcmp 14 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 0) nobuiltin 22 ; CHECK: brasl %r14, memcmp 24 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 2) nobuiltin 32 ; CHECK: brasl %r14, memcmp 34 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 3) nobuiltin 50 ; CHECK: brasl %r14, memcmp 53 %res = call i32 @memcmp(i8 *%src1, i8 *%src2, i64 4) nobuiltin [all …]
|
/external/toybox/toys/posix/ |
D | file.c | 177 if (n_namesz==4 && !memcmp(note+12, "GNU", 4)) { 183 } else if (n_namesz==8 && !memcmp(note+12, "Android", 8)) { 245 else if (len>32 && !memcmp(toybuf, "\xff\xd8", 2)) xputs("JPEG image data"); in do_regular_file() 282 else if (len>32 && !memcmp(s+1, "\xfa\xed\xfe", 3)) { in do_regular_file() 301 } else if (len>36 && !memcmp(s, "OggS\x00\x02", 6)) { in do_regular_file() 304 if (!memcmp(s+28, "CELT ", 8)) xprintf(", celt audio"); in do_regular_file() 305 else if (!memcmp(s+28, "CMML ", 8)) xprintf(", cmml text"); in do_regular_file() 306 else if (!memcmp(s+28, "BBCD\0", 5)) xprintf(", dirac video"); in do_regular_file() 307 else if (!memcmp(s+28, "\177FLAC", 5)) xprintf(", flac audio"); in do_regular_file() 308 else if (!memcmp(s+28, "\x8bJNG\r\n\x1a\n", 8)) xprintf(", jng video"); in do_regular_file() [all …]
|
/external/adhd/cras/src/tests/ |
D | mix_unittest.cc | 80 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TestScaleStride() 106 EXPECT_EQ(0, memcmp(mix_buffer_, src_buffer_, kBufferFrames*4)); in TEST_F() 117 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 130 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 139 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 148 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 157 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 168 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames*4)); in TEST_F() 182 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TEST_F() 196 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TEST_F() [all …]
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | cmp-testhelper.cc | 30 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 35 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 38 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 42 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 46 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 50 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 54 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 58 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==() 66 return 0 == std::memcmp(&lhs, &rhs, sizeof(lhs)); in operator ==()
|
D | sha256-test.cc | 72 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 91 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 111 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 128 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 145 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 164 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 183 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 202 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 221 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() 240 EXPECT_TRUE(0 == memcmp(expected, digest, sizeof(digest))) in TEST() [all …]
|
/external/ltp/testcases/kernel/syscalls/memcmp/ |
D | memcmp01.c | 86 if (memcmp(p, q, LEN)) { in main() 93 if (!memcmp(p, q, LEN)) { in main() 101 if (!memcmp(p, q, LEN)) { in main() 109 if (!memcmp(p, q, LEN)) { in main() 117 if (!memcmp(p, q, LEN)) { in main() 124 if (memcmp(p, q, LEN)) { in main() 141 if (memcmp(p, q, LEN)) { in main() 148 if (!memcmp(p, q, LEN)) { in main() 156 if (!memcmp(p, q, LEN)) { in main() 164 if (!memcmp(p, q, LEN)) { in main() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | memcmp-minsize.ll | 7 ; This tests codegen time inlining/optimization of memcmp 12 declare i32 @memcmp(i8*, i8*, i64) 21 ; X86-NEXT: calll memcmp 29 ; X64-NEXT: jmp memcmp # TAILCALL 30 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind 50 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind 68 …%m = tail call i32 @memcmp(i8* %X, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str, i32 0,… 80 ; X86-NEXT: calll memcmp 91 ; X64-NEXT: callq memcmp 96 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind nobuiltin [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | memcmp-1.ll | 1 ; Test that the memcmp library call simplifier works correctly. 11 declare i32 @memcmp(i8*, i8*, i32) 13 ; Check memcmp(mem, mem, size) -> 0. 19 %ret = call i32 @memcmp(i8* %mem, i8* %mem, i32 %size) 23 ; Check memcmp(mem1, mem2, 0) -> 0. 29 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 33 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 44 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 48 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 56 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | memcmp-1.ll | 1 ; Test that the memcmp library call simplifier works correctly. 11 declare i32 @memcmp(i8*, i8*, i32) 13 ; Check memcmp(mem, mem, size) -> 0. 17 %ret = call i32 @memcmp(i8* %mem, i8* %mem, i32 %size) 22 ; Check memcmp(mem1, mem2, 0) -> 0. 26 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 31 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 35 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 45 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 51 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
/external/u-boot/test/dm/ |
D | i2c.c | 53 ut_assertok(memcmp(buf, "\0\0\0\0\0", sizeof(buf))); in dm_test_i2c_read_write() 56 ut_assertok(memcmp(buf, "\0\0AB\0", sizeof(buf))); in dm_test_i2c_read_write() 125 ut_assertok(memcmp(buf, "\0\0\0\0\0", sizeof(buf))); in dm_test_i2c_bytewise() 134 ut_assertok(memcmp(buf, "\0\xff\xff\xff\xff", sizeof(buf))); in dm_test_i2c_bytewise() 139 ut_assertok(memcmp(buf, "\0\0\0\0\0", sizeof(buf))); in dm_test_i2c_bytewise() 145 ut_assertok(memcmp(buf, "\0\xff\xff\xff\xff", sizeof(buf))); in dm_test_i2c_bytewise() 150 ut_assertok(memcmp(buf, "\0\0A\0\0\0", sizeof(buf))); in dm_test_i2c_bytewise() 156 ut_assertok(memcmp(buf, "\0\xff\xff\xff\xff", sizeof(buf))); in dm_test_i2c_bytewise() 161 ut_assertok(memcmp(buf, "\0\0AB\0\0", sizeof(buf))); in dm_test_i2c_bytewise() 188 ut_assertok(memcmp(buf, "AB\0\0\0\0", sizeof(buf))); in dm_test_i2c_offset() [all …]
|
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream() 59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream() 65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream() 69 EXPECT_EQ(memcmp(&(b1[300]), &(b2[0]), 100), 0); in TestFileInputStream() 76 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), 200), 0); in TestFileInputStream() 82 EXPECT_EQ(memcmp(&(b3[0]), &(b2[0]), 200), 0); in TestFileInputStream() 114 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFontInputStreamBasic() 121 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic() 123 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 200), 0); in TestFontInputStreamBasic() 127 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic() [all …]
|
/external/clang/test/Analysis/ |
D | bstring.c | 366 #define memcmp bcmp macro 370 #define memcmp BUILTIN(memcmp) macro 371 int memcmp(const void *s1, const void *s2, size_t n); 380 memcmp(a, b, 4); // no-warning in memcmp0() 387 memcmp(a, b, 5); // expected-warning{{out-of-bound}} in memcmp1() 394 memcmp(a, b, 4); // expected-warning{{out-of-bound}} in memcmp2() 400 clang_analyzer_eval(memcmp(a, a, 4) == 0); // expected-warning{{TRUE}} in memcmp3() 406 clang_analyzer_eval(memcmp(a, input, 4) == 0); // expected-warning{{UNKNOWN}} in memcmp4() 412 clang_analyzer_eval(memcmp(a, 0, 0) == 0); // expected-warning{{TRUE}} in memcmp5() 413 clang_analyzer_eval(memcmp(0, a, 0) == 0); // expected-warning{{TRUE}} in memcmp5() [all …]
|
/external/perfetto/src/protozero/ |
D | proto_utils_unittest.cc | 114 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST() 120 ASSERT_EQ(0, memcmp(buf, exp.encoded, exp.encoded_size)); in TEST() 133 ASSERT_EQ(0, memcmp(buf, expected, expected_size)); in TEST() 139 ASSERT_EQ(0, memcmp(buf, expected, expected_size)); in TEST() 145 ASSERT_EQ(0, memcmp(buf, expected, expected_size)); in TEST() 151 ASSERT_EQ(0, memcmp(buf, expected, expected_size)); in TEST() 159 EXPECT_EQ(0, memcmp("\x80\x80\x80\x00", buf, sizeof(buf))); in TEST() 162 EXPECT_EQ(0, memcmp("\x81\x80\x80\x00", buf, sizeof(buf))); in TEST() 165 EXPECT_EQ(0, memcmp("\x80\x81\x80\x00", buf, sizeof(buf))); in TEST() 168 EXPECT_EQ(0, memcmp("\x91\xC4\xCC\x01", buf, sizeof(buf))); in TEST() [all …]
|
/external/google-breakpad/src/processor/ |
D | map_serializers_unittest.cc | 77 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 99 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 121 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 149 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 171 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 195 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 224 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 245 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 268 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() 302 EXPECT_EQ(memcmp(correct_data, serialized_data_, correct_size), 0); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | memcmp.ll | 8 declare i32 @memcmp(i8*, i8*, i32) 11 %A = call i32 @memcmp( i8* %P, i8* %P, i32 %N ) ; <i32> [#uses=1] 12 ; CHECK-NOT: call {{.*}} memcmp 15 %B = call i32 @memcmp( i8* %P, i8* %Q, i32 0 ) ; <i32> [#uses=1] 16 ; CHECK-NOT: call {{.*}} memcmp 19 %C = call i32 @memcmp( i8* %P, i8* %Q, i32 1 ) ; <i32> [#uses=1] 27 %F = call i32 @memcmp(i8* getelementptr ([4 x i8]* @hel, i32 0, i32 0), 30 ; CHECK-NOT: call {{.*}} memcmp
|
/external/webrtc/webrtc/base/ |
D | stream_unittest.cc | 127 EXPECT_EQ(0, memcmp(in, out, kSize)); in TEST() 139 EXPECT_EQ(0, memcmp(in, out, kSize)); in TEST() 146 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 153 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 156 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 170 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 175 EXPECT_EQ(0, memcmp(in + kSize / 2, out, kSize / 4)); in TEST() 180 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 183 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 194 EXPECT_EQ(0, memcmp(q, in, kSize)); in TEST() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tls.c | 125 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 139 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 151 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 165 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 184 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 238 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 292 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() 310 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() 326 EXPECT_EQ(memcmp(test_str, buf, send_len2), 0); in TEST_F() 332 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() [all …]
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_mem_test.cc | 214 Ident(memcmp(s1, s2, size)); in TEST() 215 Ident(memcmp(s1 + size - 1, s2 + size - 1, 1)); in TEST() 216 Ident(memcmp(s1 - 1, s2 - 1, 0)); in TEST() 218 EXPECT_DEATH(Ident(memcmp)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in TEST() 219 EXPECT_DEATH(Ident(memcmp)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in TEST() 220 EXPECT_DEATH(Ident(memcmp)(s1 + size, s2, 1), RightOOBReadMessage(0)); in TEST() 221 EXPECT_DEATH(Ident(memcmp)(s1, s2 + size, 1), RightOOBReadMessage(0)); in TEST() 223 EXPECT_DEATH(Ident(memcmp)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in TEST() 224 EXPECT_DEATH(Ident(memcmp)(s1 + size - 1, s2, 2), RightOOBReadMessage(0)); in TEST() 228 EXPECT_DEATH(Ident(memcmp)(s1, s2, size + 1), RightOOBReadMessage(0)); in TEST() [all …]
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | denoiser_test.cc | 32 EXPECT_EQ(0, memcmp(src, dst, 8 * 8)); in TEST_F() 36 EXPECT_EQ(0, memcmp(src, dst, 16 * 16)); in TEST_F() 40 EXPECT_EQ(0, memcmp(src, dst, 8 * 8)); in TEST_F() 44 EXPECT_EQ(0, memcmp(src, dst, 16 * 16)); in TEST_F() 85 EXPECT_EQ(0, memcmp(dst, dst_ref, 16 * 16)); in TEST_F() 97 EXPECT_EQ(0, memcmp(dst, dst_ref, 16 * 16)); in TEST_F() 100 EXPECT_EQ(0, memcmp(dst, dst_ref, 16 * 16)); in TEST_F() 112 EXPECT_EQ(0, memcmp(dst, dst_ref, 16 * 16)); in TEST_F() 115 EXPECT_EQ(0, memcmp(dst, dst_ref, 16 * 16)); in TEST_F()
|
/external/compiler-rt/lib/scudo/ |
D | scudo_utils.cpp | 68 if (memcmp(reinterpret_cast<char *>(&Info.Ebx), "Genu", 4) == 0 && in isSupportedCPU() 69 memcmp(reinterpret_cast<char *>(&Info.Edx), "ineI", 4) == 0 && in isSupportedCPU() 70 memcmp(reinterpret_cast<char *>(&Info.Ecx), "ntel", 4) == 0) { in isSupportedCPU() 73 if (memcmp(reinterpret_cast<char *>(&Info.Ebx), "Auth", 4) == 0 && in isSupportedCPU() 74 memcmp(reinterpret_cast<char *>(&Info.Edx), "enti", 4) == 0 && in isSupportedCPU() 75 memcmp(reinterpret_cast<char *>(&Info.Ecx), "cAMD", 4) == 0) { in isSupportedCPU()
|