/external/valgrind/main/none/tests/amd64/ |
D | asorep.c | 5 char buf1[64], buf2[64]; variable 11 uintptr_t b1 = (uintptr_t) buf1, b2 = (uintptr_t) buf2; in main() 23 if (memcmp (buf2, "abcd", 5) != 0 in main() 24 || rdi != (uintptr_t) buf2 + 4 in main() 34 if (memcmp (buf2, "0 0 0 ", 7) != 0 in main() 35 || rdi != (uintptr_t) buf2 + 6 in main() 43 if (rsi != (uintptr_t) buf2 + 4 in main() 48 memcpy (buf2, "abcdefghijklmnO", 16); in main() 52 if (rdi != (uintptr_t) buf2 + 15 in main() 57 memcpy (buf2, "ababababababababcdab", 20); in main() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | buffer_unittest.cc | 51 Buffer buf1(kTestData, sizeof(kTestData), 256), buf2(buf1); in TEST() local 52 EXPECT_EQ(sizeof(kTestData), buf2.length()); in TEST() 53 EXPECT_EQ(sizeof(kTestData), buf2.capacity()); // capacity isn't copied in TEST() 54 EXPECT_EQ(0, memcmp(buf2.data(), kTestData, sizeof(kTestData))); in TEST() 55 EXPECT_EQ(buf1, buf2); in TEST() 59 Buffer buf1, buf2(kTestData, sizeof(kTestData), 256); in TEST() local 60 EXPECT_NE(buf1, buf2); in TEST() 61 buf1 = buf2; in TEST() 65 EXPECT_EQ(buf1, buf2); in TEST() 134 Buffer buf1(kTestData, sizeof(kTestData), 256U), buf2; in TEST() local [all …]
|
/external/valgrind/main/none/tests/s390x/ |
D | xc.c | 8 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; in test_oc() local 18 "Q"(*buf2):"memory"); in test_oc() 26 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; in test_nc() local 36 "Q"(*buf2):"memory"); in test_nc() 45 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; in test_xc() local 86 "a"(buf2):"memory"); in test_xc()
|
D | ex_clone.c | 17 char buf2[40]; in threadfunc() local 20 memset(buf2, 0, sizeof(buf2)); in threadfunc() 32 ::"a" (buf2), "a" (source) in threadfunc() 34 printf("%s\n", buf2); in threadfunc()
|
D | ex_sig.c | 17 char buf2[40]; in handle_SIG() local 25 ::"a" (buf2), "a" (source) in handle_SIG()
|
/external/chromium_org/net/quic/crypto/ |
D | quic_random_test.cc | 14 unsigned char buf2[16]; in TEST() local 16 memset(buf2, 0xaf, sizeof(buf2)); in TEST() 17 ASSERT_EQ(0, memcmp(buf1, buf2, sizeof(buf1))); in TEST() 21 EXPECT_NE(0, memcmp(buf1, buf2, sizeof(buf1))); in TEST()
|
/external/pixman/pixman/ |
D | pixman-android.c | 214 uint32_t buf2[2]; in android_bilinear_filter_neon() local 238 buf2[0] = buf2[1] = 0; in android_bilinear_filter_neon() 240 dst, buf1, buf2, weight1, weight2, 0, 0, left_pad); in android_bilinear_filter_neon() 246 buf2[0] = 0; in android_bilinear_filter_neon() 247 buf2[1] = src2[0]; in android_bilinear_filter_neon() 249 dst, buf1, buf2, weight1, weight2, in android_bilinear_filter_neon() 263 buf2[0] = src2[src_width - 1]; in android_bilinear_filter_neon() 264 buf2[1] = 0; in android_bilinear_filter_neon() 266 dst, buf1, buf2, weight1, weight2, in android_bilinear_filter_neon() 272 buf2[0] = buf2[1] = 0; in android_bilinear_filter_neon() [all …]
|
D | pixman-inlines.h | 957 src_type_t buf2[2]; \ 966 buf2[0] = buf2[1] = src2[0]; \ 968 buf1, buf2, left_pad, weight1, weight2, 0, 0, 0, FALSE); \ 984 buf2[0] = buf2[1] = src2[src_image->bits.width - 1]; \ 986 buf1, buf2, right_pad, weight1, weight2, 0, 0, 0, FALSE); \ 993 src_type_t buf2[2]; \ 1021 buf2[0] = buf2[1] = 0; \ 1023 buf1, buf2, left_pad, weight1, weight2, 0, 0, 0, TRUE); \ 1032 buf2[0] = 0; \ 1033 buf2[1] = src2[0]; \ [all …]
|
/external/openssl/crypto/err/ |
D | err_prn.c | 71 char buf2[4096]; in ERR_print_errors_cb() local 82 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf, in ERR_print_errors_cb() 84 if (cb(buf2, strlen(buf2), u) <= 0) in ERR_print_errors_cb()
|
/external/valgrind/main/memcheck/tests/amd64/ |
D | fxsave-amd64.c | 152 unsigned char* buf2 = memalign16(512); in main() local 161 memset(buf2, 0x55, 512); in main() 172 do_fxsave(buf2, 0); in main() 174 show(buf2, xx); in main() 185 memset(buf2, 0x55, 512); in main() 196 do_fxsave(buf2, 1); in main() 198 show(buf2, xx); in main() 207 free(buf1); free(buf2); free(buf3); in main()
|
/external/oprofile/libutil++/ |
D | child_reader.cpp | 34 buf2(0), sz_buf2(0), in child_reader() 49 if (buf2) { in ~child_reader() 51 free(buf2); in ~child_reader() 142 buf2 = (char *)xrealloc(buf2, sz_buf2); in block_read() 145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2); in block_read() 212 err.write(buf2, end2); in get_data()
|
/external/valgrind/main/VEX/test/ |
D | fxsave.c | 106 unsigned char* buf2 = memalign(16,512); in main() local 112 memset(buf2, 0x55, 512); in main() 123 do_fxsave(buf2); in main() 125 show(buf2, xx); in main() 133 free(buf1); free(buf2); free(buf3); in main()
|
D | frstor.c | 67 unsigned short* buf2 = malloc(54*sizeof(short)); in main() local 78 do_fsave(buf2); in main() 79 show_fpustate( (unsigned char*)buf2, xx ); in main()
|
/external/strace/test/ |
D | wait_must_be_interruptible.c | 51 char buf2[80]; in main() local 72 fgets(buf2, 80, stdin); printf("%s", buf2); in main() 76 || strcmp(buf2, msg2) != 0 in main()
|
/external/valgrind/main/memcheck/tests/x86/ |
D | fxsave.c | 107 unsigned char* buf2 = memalign16(512); in main() local 113 memset(buf2, 0x55, 512); in main() 124 do_fxsave(buf2); in main() 126 show(buf2, xx); in main() 134 free(buf1); free(buf2); free(buf3); in main()
|
/external/libyuv/files/util/ |
D | compare.cc | 33 uint8 buf2[kBlockSize]; in main() local 44 amt2 = fread(buf2, 1, kBlockSize, fin2); in main() 45 if (amt2 > 0) hash2 = libyuv::HashDjb2(buf2, amt2, hash2); in main() 48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min); in main()
|
/external/chromium_org/third_party/libyuv/util/ |
D | compare.cc | 33 uint8 buf2[kBlockSize]; in main() local 44 amt2 = static_cast<int>(fread(buf2, 1, kBlockSize, fin2)); in main() 45 if (amt2 > 0) hash2 = libyuv::HashDjb2(buf2, amt2, hash2); in main() 48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min); in main()
|
/external/srec/srec/clib/ |
D | voc_read.c | 278 void* buf2 = 0; in mmap_zip() local 311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_zip() 312 if (buf2 == (void*)-1) goto FAILED; in mmap_zip() 315 if (decompress_zipentry(ze, buf2, size2)) goto FAILED; in mmap_zip() 325 *buf = buf2; in mmap_zip() 333 if (buf2) munmap(buf2, inflateSize(size2)); in mmap_zip()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | debug.c | 498 GLubyte *buf2; in _mesa_dump_depth_buffer() local 502 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */ in _mesa_dump_depth_buffer() 512 buf2[i*3+0] = (buf[i] >> 24) & 0xff; in _mesa_dump_depth_buffer() 513 buf2[i*3+1] = (buf[i] >> 16) & 0xff; in _mesa_dump_depth_buffer() 514 buf2[i*3+2] = (buf[i] >> 8) & 0xff; in _mesa_dump_depth_buffer() 518 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); in _mesa_dump_depth_buffer() 523 free(buf2); in _mesa_dump_depth_buffer() 534 GLubyte *buf2; in _mesa_dump_stencil_buffer() local 538 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */ in _mesa_dump_stencil_buffer() 547 buf2[i*3+0] = buf[i]; in _mesa_dump_stencil_buffer() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | debug.c | 498 GLubyte *buf2; in _mesa_dump_depth_buffer() local 502 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */ in _mesa_dump_depth_buffer() 512 buf2[i*3+0] = (buf[i] >> 24) & 0xff; in _mesa_dump_depth_buffer() 513 buf2[i*3+1] = (buf[i] >> 16) & 0xff; in _mesa_dump_depth_buffer() 514 buf2[i*3+2] = (buf[i] >> 8) & 0xff; in _mesa_dump_depth_buffer() 518 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); in _mesa_dump_depth_buffer() 523 free(buf2); in _mesa_dump_depth_buffer() 534 GLubyte *buf2; in _mesa_dump_stencil_buffer() local 538 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */ in _mesa_dump_stencil_buffer() 547 buf2[i*3+0] = buf[i]; in _mesa_dump_stencil_buffer() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringBufferTest.cpp | 22 StringBuffer<LChar> buf2(0); in TEST() local 23 EXPECT_EQ(0u, buf2.length()); in TEST() 24 EXPECT_FALSE(buf2.characters()); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_printf_test.cc | 115 char buf2[1024]; in TestAgainstLibc() local 116 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2); in TestAgainstLibc() 118 EXPECT_STREQ(buf2, buf); in TestAgainstLibc()
|
/external/chromium_org/net/base/ |
D | upload_file_element_reader_unittest.cc | 164 std::vector<char> buf2(bytes_.size() / 2); in TEST_F() local 165 scoped_refptr<IOBuffer> wrapped_buffer2 = new WrappedIOBuffer(&buf2[0]); in TEST_F() 169 wrapped_buffer2.get(), buf2.size(), read_callback2.callback())); in TEST_F() 170 EXPECT_EQ(static_cast<int>(buf2.size()), read_callback2.WaitForResult()); in TEST_F() 171 EXPECT_EQ(bytes_.size() - buf2.size(), reader_->BytesRemaining()); in TEST_F() 172 EXPECT_EQ(std::vector<char>(bytes_.begin(), bytes_.begin() + buf2.size()), in TEST_F() 173 buf2); in TEST_F()
|
/external/stlport/test/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | mem_fs_node_test.cc | 96 char buf2[1024 * 2]; in TEST() local 99 memset(buf2, 0, sizeof(buf2)); in TEST() 104 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); in TEST() 112 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); in TEST() 114 EXPECT_EQ(0, memcmp(buf1, buf2, sizeof(buf1))); in TEST()
|