/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 122 if (memcmp(feature_start, "fp", feature_length) == 0) { in parse_features() 127 } else if (memcmp(feature_start, "wp", feature_length) == 0) { in parse_features() 139 if (memcmp(feature_start, "aes", feature_length) == 0) { in parse_features() 146 } else if (memcmp(feature_start, "swp", feature_length) == 0) { in parse_features() 148 } else if (memcmp(feature_start, "fpa", feature_length) == 0) { in parse_features() 150 } else if (memcmp(feature_start, "vfp", feature_length) == 0) { in parse_features() 152 } else if (memcmp(feature_start, "tls", feature_length) == 0) { in parse_features() 160 if (memcmp(feature_start, "sha1", feature_length) == 0) { in parse_features() 166 } else if (memcmp(feature_start, "sha2", feature_length) == 0) { in parse_features() 172 } else if (memcmp(feature_start, "fphp", feature_length) == 0) { in parse_features() [all …]
|
/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/python/cffi/c/ |
D | parse_c_type.c | 159 if (tok->size == 5 && !memcmp(p, "_Bool", 5)) tok->kind = TOK__BOOL; in next_token() 160 if (tok->size == 7 && !memcmp(p,"__cdecl",7)) tok->kind = TOK_CDECL; in next_token() 161 if (tok->size == 9 && !memcmp(p,"__stdcall",9))tok->kind = TOK_STDCALL; in next_token() 162 if (tok->size == 8 && !memcmp(p,"_Complex",8)) tok->kind = TOK__COMPLEX; in next_token() 165 if (tok->size == 4 && !memcmp(p, "char", 4)) tok->kind = TOK_CHAR; in next_token() 166 if (tok->size == 5 && !memcmp(p, "const", 5)) tok->kind = TOK_CONST; in next_token() 169 if (tok->size == 6 && !memcmp(p, "double", 6)) tok->kind = TOK_DOUBLE; in next_token() 172 if (tok->size == 4 && !memcmp(p, "enum", 4)) tok->kind = TOK_ENUM; in next_token() 175 if (tok->size == 5 && !memcmp(p, "float", 5)) tok->kind = TOK_FLOAT; in next_token() 178 if (tok->size == 3 && !memcmp(p, "int", 3)) tok->kind = TOK_INT; in next_token() [all …]
|
/external/llvm-project/compiler-rt/lib/fuzzer/tests/ |
D | FuzzerUnittest.cpp | 144 if (NewSize == 7 && !memcmp(REM0, T, 7)) FoundMask |= 1 << 0; in TestEraseBytes() 145 if (NewSize == 7 && !memcmp(REM1, T, 7)) FoundMask |= 1 << 1; in TestEraseBytes() 146 if (NewSize == 7 && !memcmp(REM2, T, 7)) FoundMask |= 1 << 2; in TestEraseBytes() 147 if (NewSize == 7 && !memcmp(REM3, T, 7)) FoundMask |= 1 << 3; in TestEraseBytes() 148 if (NewSize == 7 && !memcmp(REM4, T, 7)) FoundMask |= 1 << 4; in TestEraseBytes() 149 if (NewSize == 7 && !memcmp(REM5, T, 7)) FoundMask |= 1 << 5; in TestEraseBytes() 150 if (NewSize == 7 && !memcmp(REM6, T, 7)) FoundMask |= 1 << 6; in TestEraseBytes() 151 if (NewSize == 7 && !memcmp(REM7, T, 7)) FoundMask |= 1 << 7; in TestEraseBytes() 153 if (NewSize == 6 && !memcmp(REM8, T, 6)) FoundMask |= 1 << 8; in TestEraseBytes() 154 if (NewSize == 6 && !memcmp(REM9, T, 6)) FoundMask |= 1 << 9; in TestEraseBytes() [all …]
|
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/ |
D | FuzzerUnittest.cpp | 144 if (NewSize == 7 && !memcmp(REM0, T, 7)) FoundMask |= 1 << 0; in TestEraseBytes() 145 if (NewSize == 7 && !memcmp(REM1, T, 7)) FoundMask |= 1 << 1; in TestEraseBytes() 146 if (NewSize == 7 && !memcmp(REM2, T, 7)) FoundMask |= 1 << 2; in TestEraseBytes() 147 if (NewSize == 7 && !memcmp(REM3, T, 7)) FoundMask |= 1 << 3; in TestEraseBytes() 148 if (NewSize == 7 && !memcmp(REM4, T, 7)) FoundMask |= 1 << 4; in TestEraseBytes() 149 if (NewSize == 7 && !memcmp(REM5, T, 7)) FoundMask |= 1 << 5; in TestEraseBytes() 150 if (NewSize == 7 && !memcmp(REM6, T, 7)) FoundMask |= 1 << 6; in TestEraseBytes() 151 if (NewSize == 7 && !memcmp(REM7, T, 7)) FoundMask |= 1 << 7; in TestEraseBytes() 153 if (NewSize == 6 && !memcmp(REM8, T, 6)) FoundMask |= 1 << 8; in TestEraseBytes() 154 if (NewSize == 6 && !memcmp(REM9, T, 6)) FoundMask |= 1 << 9; in TestEraseBytes() [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/toybox/toys/posix/ |
D | file.c | 170 if (n_namesz==4 && !memcmp(note+12, "GNU", 4)) { 175 } else if (n_namesz==8 && !memcmp(note+12, "Android", 8)) { 238 else if (len>32 && !memcmp(toybuf, "\xff\xd8", 2)) xputs("JPEG image data"); in do_regular_file() 284 else if (len>32 && !memcmp(s+1, "\xfa\xed\xfe", 3)) { in do_regular_file() 303 } else if (len>36 && !memcmp(s, "OggS\x00\x02", 6)) { in do_regular_file() 306 if (!memcmp(s+28, "CELT ", 8)) xprintf(", celt audio"); in do_regular_file() 307 else if (!memcmp(s+28, "CMML ", 8)) xprintf(", cmml text"); in do_regular_file() 308 else if (!memcmp(s+28, "BBCD\0", 5)) xprintf(", dirac video"); in do_regular_file() 309 else if (!memcmp(s+28, "\177FLAC", 5)) xprintf(", flac audio"); in do_regular_file() 310 else if (!memcmp(s+28, "\x8bJNG\r\n\x1a\n", 8)) xprintf(", jng video"); in do_regular_file() [all …]
|
/external/llvm-project/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/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/adhd/cras/src/tests/ |
D | mix_unittest.cc | 80 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TestScaleStride() 113 EXPECT_EQ(0, memcmp(mix_buffer_, src_buffer_, kBufferFrames * 4)); in TEST_F() 124 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 137 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 146 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 155 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 164 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 175 EXPECT_EQ(0, memcmp(mix_buffer_, compare_buffer_, kBufferFrames * 4)); in TEST_F() 190 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TEST_F() 205 EXPECT_EQ(0, memcmp(compare_buffer_, mix_buffer_, kBufferFrames * 4)); in TEST_F() [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/llvm-project/llvm/test/CodeGen/X86/ |
D | memcmp-minsize.ll | 8 ; This tests codegen time inlining/optimization of memcmp 13 declare dso_local i32 @memcmp(i8*, i8*, i64) 22 ; X86-NEXT: calll memcmp 30 ; X64-NEXT: jmp memcmp # TAILCALL 31 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind 51 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind 69 …%m = tail call i32 @memcmp(i8* %X, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str, i32 0,… 81 ; X86-NEXT: calll memcmp 92 ; X64-NEXT: callq memcmp 97 %m = tail call i32 @memcmp(i8* %X, i8* %Y, i64 2) nounwind nobuiltin [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/llvm-project/llvm/test/Transforms/InstCombine/ |
D | memcmp-1.ll | 1 ; Test that the memcmp library call simplifier works correctly. 12 declare i32 @memcmp(i8*, i8*, i32) 14 ; Check memcmp(mem, mem, size) -> 0. 20 %ret = call i32 @memcmp(i8* %mem, i8* %mem, i32 %size) 24 ; Check memcmp(mem1, mem2, 0) -> 0. 30 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 0) 34 ;; Check memcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 45 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 1) 49 ; Check memcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 57 %ret = call i32 @memcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
/external/flac/src/flac/ |
D | foreign_metadata.c | 98 …if(fread(buffer, 1, 12, f) < 12 || memcmp(buffer, "FORM", 4) || (memcmp(buffer+8, "AIFF", 4) && me… in read_from_aiff_() 121 if(!memcmp(buffer, "COMM", 4)) { in read_from_aiff_() 132 else if(!memcmp(buffer, "SSND", 4)) { in read_from_aiff_() 158 …if(!append_block_(fm, offset, 8 + (memcmp(buffer, "SSND", 4)? size : 8 + fm->ssnd_offset_size), er… in read_from_aiff_() 189 …if(fread(buffer, 1, 12, f) < 12 || (memcmp(buffer, "RIFF", 4) && memcmp(buffer, "RF64", 4)) || mem… in read_from_wave_() 193 if(!memcmp(buffer, "RF64", 4)) in read_from_wave_() 222 if(!memcmp(buffer, "fmt ", 4)) { in read_from_wave_() 233 else if(!memcmp(buffer, "data", 4)) { in read_from_wave_() 248 if(!append_block_(fm, offset, 8 + (memcmp(buffer, "data", 4)? size : 0), error)) in read_from_wave_() 253 if(memcmp(buffer, "ds64", 4)) { in read_from_wave_() [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/webrtc/rtc_base/memory/ |
D | fifo_buffer_unittest.cc | 45 EXPECT_EQ(0, memcmp(in, out, kSize)); in TEST() 57 EXPECT_EQ(0, memcmp(in, out, kSize)); in TEST() 64 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 71 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 74 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 88 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 93 EXPECT_EQ(0, memcmp(in + kSize / 2, out, kSize / 4)); in TEST() 98 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 101 EXPECT_EQ(0, memcmp(in, out, kSize / 2)); in TEST() 112 EXPECT_EQ(0, memcmp(q, in, kSize)); in TEST() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | bstring.c | 403 #define memcmp bcmp macro 407 #define memcmp BUILTIN(memcmp) macro 408 int memcmp(const void *s1, const void *s2, size_t n); 417 memcmp(a, b, 4); // no-warning in memcmp0() 424 memcmp(a, b, 5); // expected-warning{{out-of-bound}} in memcmp1() 431 memcmp(a, b, 4); // expected-warning{{out-of-bound}} in memcmp2() 437 clang_analyzer_eval(memcmp(a, a, 4) == 0); // expected-warning{{TRUE}} in memcmp3() 443 clang_analyzer_eval(memcmp(a, input, 4) == 0); // expected-warning{{UNKNOWN}} in memcmp4() 449 clang_analyzer_eval(memcmp(a, 0, 0) == 0); // expected-warning{{TRUE}} in memcmp5() 450 clang_analyzer_eval(memcmp(0, a, 0) == 0); // expected-warning{{TRUE}} in memcmp5() [all …]
|
/external/pigweed/pw_tokenizer/ |
D | tokenize_test.cc | 170 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 188 EXPECT_EQ(std::memcmp(empty.data(), &buffer_, empty.size()), 0); in TEST_F() 207 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 221 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 230 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 240 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 251 EXPECT_EQ(std::memcmp(expected.data(), buffer_, expected.size()), 0); in TEST_F() 262 EXPECT_EQ(std::memcmp(truncated_1.data(), buffer_, truncated_1.size()), 0); in TEST_F() 273 EXPECT_EQ(std::memcmp(truncated_2.data(), buffer_, truncated_2.size()), 0); in TEST_F() 282 EXPECT_EQ(std::memcmp(result.data(), buffer_, result.size()), 0); in TEST_F() [all …]
|
D | global_handlers_test.cc | 76 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 84 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 93 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 102 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 112 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 149 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 160 EXPECT_EQ(std::memcmp(expected.data(), message_, expected.size()), 0); in TEST_F() 171 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F() 180 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F() 191 EXPECT_EQ(std::memcmp(kExpected.data(), message_, kExpected.size()), 0); in TEST_F() [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/llvm-project/libcxx/test/std/input.output/iostream.objects/ |
D | init.pass.cpp | 79 assert(std::memcmp(check.cerr_mem_dump, (char const*)&std::cerr, sizeof(std::cerr)) == 0); in main() 80 assert(std::memcmp(check.cin_mem_dump, (char const*)&std::cin, sizeof(std::cin)) == 0); in main() 81 assert(std::memcmp(check.cout_mem_dump, (char const*)&std::cout, sizeof(std::cout)) == 0); in main() 82 assert(std::memcmp(check.clog_mem_dump, (char const*)&std::clog, sizeof(std::clog)) == 0); in main() 84 assert(std::memcmp(check.wcerr_mem_dump, (char const*)&std::wcerr, sizeof(std::wcerr)) == 0); in main() 85 assert(std::memcmp(check.wcin_mem_dump, (char const*)&std::wcin, sizeof(std::wcin)) == 0); in main() 86 assert(std::memcmp(check.wcout_mem_dump, (char const*)&std::wcout, sizeof(std::wcout)) == 0); in main() 87 assert(std::memcmp(check.wclog_mem_dump, (char const*)&std::wclog, sizeof(std::wclog)) == 0); in main()
|
/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/pigweed/pw_varint/ |
D | varint_test.cc | 99 EXPECT_EQ(std::memcmp("\x80\x01", buffer_, 2), 0); in TEST_F() 101 EXPECT_EQ(std::memcmp("\x81\x01", buffer_, 2), 0); in TEST_F() 104 EXPECT_EQ(std::memcmp("\xfe\xff\xff\xff\x0f", buffer_, 5), 0); in TEST_F() 107 EXPECT_EQ(std::memcmp("\xff\xff\xff\xff\x0f", buffer_, 5), 0); in TEST_F() 112 EXPECT_EQ(std::memcmp("\x80\x01", buffer_, 2), 0); in TEST_F() 114 EXPECT_EQ(std::memcmp("\x81\x01", buffer_, 2), 0); in TEST_F() 120 EXPECT_EQ(std::memcmp("\xfe\xff\xff\xff\x0f", buffer_, 5), 0); in TEST_F() 126 EXPECT_EQ(std::memcmp("\xff\xff\xff\xff\x0f", buffer_, 5), 0); in TEST_F() 183 EXPECT_EQ(std::memcmp("\x80\x01", buffer_, 2), 0); in TEST_F() 185 EXPECT_EQ(std::memcmp("\x81\x01", buffer_, 2), 0); in TEST_F() [all …]
|