/external/chromium/net/disk_cache/ |
mapped_file_unittest.cc | 47 char buffer1[20]; local 49 CacheTestFillBuffer(buffer1, sizeof(buffer1), false); 50 base::strlcpy(buffer1, "the data", arraysize(buffer1)); 51 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 8192)); 53 EXPECT_STREQ(buffer1, buffer2); 69 char buffer1[20]; local 71 CacheTestFillBuffer(buffer1, sizeof(buffer1), false) [all...] |
backend_unittest.cc | 239 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); 240 CacheTestFillBuffer(buffer1->data(), kSize, false); 241 ASSERT_EQ(kSize, file_util::WriteFile(filename, buffer1->data(), kSize)); 246 ASSERT_EQ(0, WriteData(entry, 0, 20000, buffer1, 0, false)); 252 EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kSize)); 507 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); 508 memset(buffer1->data(), 0, kSize); 509 base::strlcpy(buffer1->data(), "And the data to save", kSize); 510 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer1, kSize, false)); 520 EXPECT_STREQ(buffer1->data(), buffer2->data()) 2077 char buffer1[kSize]; local [all...] |
/external/v8/test/cctest/ |
test-utils.cc | 109 Vector<byte> buffer1 = Vector<byte>::New(N); local 113 buffer1[i] = static_cast<byte>(i & 0x7F); 118 TestMemCopy(buffer1, buffer2, i, i, i * 2); 124 TestMemCopy(buffer1, buffer2, i, (i + j) & 0x1F , 0); 130 TestMemCopy(buffer1, buffer2, 3, 7, i); 134 buffer1.Dispose();
|
/external/srtp/crypto/test/ |
cipher_driver.c | 263 uint8_t buffer0[buflen], buffer1[buflen], *current, *end; local 277 buffer0[j] = buffer1[j] = 0; 294 /* now loop over short lengths until buffer1 is encrypted */ 295 current = buffer1; 296 end = buffer1 + buflen; 310 /* advance pointer into buffer1 to reflect encryption */ 313 /* if buffer1 is all encrypted, break out of loop */ 320 if (buffer0[j] != buffer1[j]) { 323 printf("computed: %s\n", octet_string_hex_string(buffer1, buflen));
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
test_main.cpp | 71 void * const buffer1 = dbg.GetReadPixelsBuffer(bufferSize); local 72 ASSERT_NE((void *)NULL, buffer1); 73 EXPECT_NE(buffer0, buffer1); 75 EXPECT_EQ(0, ((unsigned int *)buffer1)[i]) 77 ((unsigned int *)buffer1)[i] = i * 17; 87 EXPECT_EQ(buffer3, buffer1); 95 EXPECT_EQ(buffer1, buffer3);
|
/external/chromium/base/ |
file_util.cc | 94 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; local 96 file1.read(buffer1, BUFFER_SIZE); 101 (memcmp(buffer1, buffer2, file1.gcount()))) {
|
/frameworks/base/media/mtp/ |
MtpDevice.cpp | 608 char buffer1[16384], buffer2[16384]; local 609 mRequestIn1->buffer = buffer1; 618 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining); 709 char buffer1[16384], buffer2[16384]; local 710 mRequestIn1->buffer = buffer1; 719 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining);
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemvideo.h | 52 void *buffer1; /* Our shadow buffers */ member in struct:SDL_PrivateVideoData 142 #define GEM_buffer1 (this->hidden->buffer1)
|
/external/yaffs2/yaffs2/direct/ |
dtest.c | 1244 char buffer1[1000]; local 1247 memset(buffer1,0,sizeof(buffer1)); 1267 yaffs_read(a,buffer1,30); 1273 printf("buffer 1 %s\n",buffer1); 1276 if(strncmp(buffer1,buffer2,20)) [all...] |
/external/icu4c/test/intltest/ |
tmsgfmt.cpp | 361 UnicodeString buffer1, buffer2; local [all...] |
/external/opencv/cv/src/ |
cvlkpyramid.cpp | 231 float* buffer1 = buffer0 + src_width; local 245 buffer0[x] = t0; buffer1[x] = t1; 251 float t1 = (buffer1[x] + buffer1[x+2])*smooth_k[0] + buffer1[x+1]*smooth_k[1]; [all...] |
/packages/apps/Music/src/com/android/music/ |
MusicPicker.java | 184 CharArrayBuffer buffer1; field in class:MusicPicker.TrackListAdapter.ViewHolder 224 vh.buffer1 = new CharArrayBuffer(100); 234 cursor.copyStringToBuffer(mTitleIdx, vh.buffer1); 235 vh.line1.setText(vh.buffer1.data, 0, vh.buffer1.sizeCopied);
|
/external/grub/netboot/ |
w89c840.c | 211 u32 buffer1; member in struct:w840_rx_desc 218 u32 buffer1, buffer2; /* We use only buffer 1. */ member in struct:w840_tx_desc 457 memcpy(nic->packet, le32desc_to_virt(w840private.rx_ring[entry].buffer1), pkt_len); 522 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); 920 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i));
|
tulip.c | 368 u32 buffer1, buffer2; 374 u32 buffer1, buffer2; 367 u32 buffer1, buffer2; member in struct:tulip_rx_desc 373 u32 buffer1, buffer2; member in struct:tulip_tx_desc [all...] |
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
d3drmdef.h | 131 void* buffer1; /* memory to render into (first buffer). */
member in struct:_D3DRMIMAGE
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
D3DRMDEF.H | 131 void* buffer1; /* memory to render into (first buffer). */
member in struct:_D3DRMIMAGE
|
/prebuilt/common/commons-compress/ |
commons-compress-1.0.jar | |