/external/chromium/net/disk_cache/ |
D | mapped_file_unittest.cc | 47 char buffer1[20]; in TEST_F() local 49 CacheTestFillBuffer(buffer1, sizeof(buffer1), false); in TEST_F() 50 base::strlcpy(buffer1, "the data", arraysize(buffer1)); in TEST_F() 51 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 8192)); in TEST_F() 53 EXPECT_STREQ(buffer1, buffer2); in TEST_F() 69 char buffer1[20]; in TEST_F() local 71 CacheTestFillBuffer(buffer1, sizeof(buffer1), false); in TEST_F() 72 base::strlcpy(buffer1, "the data", arraysize(buffer1)); in TEST_F() 74 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 1024 * 1024, &callback, in TEST_F() 90 EXPECT_STREQ(buffer1, buffer2); in TEST_F()
|
D | entry_unittest.cc | 80 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); in InternalSyncIOBackground() local 81 CacheTestFillBuffer(buffer1->data(), kSize1, false); in InternalSyncIOBackground() 82 EXPECT_EQ(0, entry->ReadData(0, 0, buffer1, kSize1, NULL)); in InternalSyncIOBackground() 83 base::strlcpy(buffer1->data(), "the data", kSize1); in InternalSyncIOBackground() 84 EXPECT_EQ(10, entry->WriteData(0, 0, buffer1, kSize1, NULL, false)); in InternalSyncIOBackground() 85 memset(buffer1->data(), 0, kSize1); in InternalSyncIOBackground() 86 EXPECT_EQ(10, entry->ReadData(0, 0, buffer1, kSize1, NULL)); in InternalSyncIOBackground() 87 EXPECT_STREQ("the data", buffer1->data()); in InternalSyncIOBackground() 183 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); in InternalAsyncIO() local 186 CacheTestFillBuffer(buffer1->data(), kSize1, false); in InternalAsyncIO() [all …]
|
D | disk_cache_perftest.cc | 47 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); in TimeWrite() local 50 CacheTestFillBuffer(buffer1->data(), kSize1, false); in TimeWrite() 73 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false); in TimeWrite() 98 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); in TimeRead() local 101 CacheTestFillBuffer(buffer1->data(), kSize1, false); in TimeRead() 121 int ret = cache_entry->ReadData(0, 0, buffer1, kSize1, &callback); in TimeRead()
|
D | backend_unittest.cc | 239 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); in TEST_F() local 240 CacheTestFillBuffer(buffer1->data(), kSize, false); in TEST_F() 241 ASSERT_EQ(kSize, file_util::WriteFile(filename, buffer1->data(), kSize)); in TEST_F() 246 ASSERT_EQ(0, WriteData(entry, 0, 20000, buffer1, 0, false)); in TEST_F() 252 EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kSize)); in TEST_F() 507 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); in BackendValidEntry() local 508 memset(buffer1->data(), 0, kSize); in BackendValidEntry() 509 base::strlcpy(buffer1->data(), "And the data to save", kSize); in BackendValidEntry() 510 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer1, kSize, false)); in BackendValidEntry() 520 EXPECT_STREQ(buffer1->data(), buffer2->data()); in BackendValidEntry() [all …]
|
/external/valgrind/main/exp-bbv/tests/x86/ |
D | rep_prefix.S | 22 mov $buffer1, %esi # set source 26 mov $buffer1, %esi # set source 42 mov $buffer1, %edi # set destination 48 mov $buffer1, %esi # set source 59 mov $buffer1, %edi # set destination 65 mov $buffer1, %esi # set source 76 mov $buffer1, %edi # set destination 82 mov $buffer1, %esi # set source 95 mov $buffer1, %esi 103 mov $buffer1, %edi [all …]
|
/external/v8/test/cctest/ |
D | test-utils.cc | 109 Vector<byte> buffer1 = Vector<byte>::New(N); in TEST() local 113 buffer1[i] = static_cast<byte>(i & 0x7F); in TEST() 118 TestMemCopy(buffer1, buffer2, i, i, i * 2); in TEST() 124 TestMemCopy(buffer1, buffer2, i, (i + j) & 0x1F , 0); in TEST() 130 TestMemCopy(buffer1, buffer2, 3, 7, i); in TEST() 134 buffer1.Dispose(); in TEST()
|
/external/srtp/crypto/test/ |
D | cipher_driver.c | 263 uint8_t buffer0[buflen], buffer1[buflen], *current, *end; in cipher_driver_test_buffering() local 277 buffer0[j] = buffer1[j] = 0; in cipher_driver_test_buffering() 295 current = buffer1; in cipher_driver_test_buffering() 296 end = buffer1 + buflen; in cipher_driver_test_buffering() 320 if (buffer0[j] != buffer1[j]) { in cipher_driver_test_buffering() 323 printf("computed: %s\n", octet_string_hex_string(buffer1, buflen)); in cipher_driver_test_buffering()
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | SDL_gemvideo.h | 52 void *buffer1; /* Our shadow buffers */ member 142 #define GEM_buffer1 (this->hidden->buffer1)
|
/external/grub/netboot/ |
D | w89c840.c | 211 u32 buffer1; member 218 u32 buffer1, buffer2; /* We use only buffer 1. */ member 457 memcpy(nic->packet, le32desc_to_virt(w840private.rx_ring[entry].buffer1), pkt_len); in w89c840_poll() 522 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); in w89c840_transmit() 920 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i)); in init_ring()
|
D | tulip.c | 367 u32 buffer1, buffer2; member 373 u32 buffer1, buffer2; member 915 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]); in tulip_init_ring() 926 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 932 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 1020 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_reset()
|
/external/chromium/base/ |
D | file_util.cc | 94 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; in ContentsEqual() local 96 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual() 101 (memcmp(buffer1, buffer2, file1.gcount()))) { in ContentsEqual()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 391 const DBusString *buffer1, in _dbus_write_socket_with_unix_fds_two() argument 408 buffer1, start1, len1, in _dbus_write_socket_with_unix_fds_two() 422 iov[0].iov_base = (char*) _dbus_string_get_const_data_len (buffer1, start1, len1); in _dbus_write_socket_with_unix_fds_two() 483 const DBusString *buffer1, in _dbus_write_socket_two() argument 497 _dbus_assert (buffer1 != NULL); in _dbus_write_socket_two() 503 data1 = _dbus_string_get_const_data_len (buffer1, start1, len1); in _dbus_write_socket_two() 533 return _dbus_write_two (fd, buffer1, start1, len1, in _dbus_write_socket_two() 668 const DBusString *buffer1, in _dbus_write_two() argument 675 _dbus_assert (buffer1 != NULL); in _dbus_write_two() 688 data1 = _dbus_string_get_const_data_len (buffer1, start1, len1); in _dbus_write_two() [all …]
|
D | dbus-sysdeps-unix.h | 59 const DBusString *buffer1,
|
D | dbus-sysdeps.h | 136 const DBusString *buffer1, 155 const DBusString *buffer1,
|
D | dbus-sysdeps-win.c | 388 const DBusString *buffer1, in _dbus_write_socket_two() argument 401 _dbus_assert (buffer1 != NULL); in _dbus_write_socket_two() 408 data1 = _dbus_string_get_const_data_len (buffer1, start1, len1); in _dbus_write_socket_two()
|
/external/icu4c/common/ |
D | cmemory.h | 35 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size) argument
|
/external/yaffs2/yaffs2/direct/ |
D | dtest.c | 1244 char buffer1[1000]; in cache_bypass_bug_test() local 1247 memset(buffer1,0,sizeof(buffer1)); in cache_bypass_bug_test() 1267 yaffs_read(a,buffer1,30); in cache_bypass_bug_test() 1273 printf("buffer 1 %s\n",buffer1); in cache_bypass_bug_test() 1276 if(strncmp(buffer1,buffer2,20)) in cache_bypass_bug_test()
|
/external/opencv/cv/src/ |
D | cvlkpyramid.cpp | 231 float* buffer1 = buffer0 + src_width; in icvCalcIxIy_32f() local 245 buffer0[x] = t0; buffer1[x] = t1; in icvCalcIxIy_32f() 251 float t1 = (buffer1[x] + buffer1[x+2])*smooth_k[0] + buffer1[x+1]*smooth_k[1]; in icvCalcIxIy_32f()
|
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
D | d3drmdef.h | 131 void* buffer1; /* memory to render into (first buffer). */ member
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
D | D3DRMDEF.H | 131 void* buffer1; /* memory to render into (first buffer). */ member
|
/external/icu4c/test/intltest/ |
D | tmsgfmt.cpp | 361 UnicodeString buffer1, buffer2; in sample() local
|