/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...] |
entry_unittest.cc | 80 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 81 CacheTestFillBuffer(buffer1->data(), kSize1, false); 82 EXPECT_EQ(0, entry->ReadData(0, 0, buffer1, kSize1, NULL)); 83 base::strlcpy(buffer1->data(), "the data", kSize1); 84 EXPECT_EQ(10, entry->WriteData(0, 0, buffer1, kSize1, NULL, false)); 85 memset(buffer1->data(), 0, kSize1); 86 EXPECT_EQ(10, entry->ReadData(0, 0, buffer1, kSize1, NULL)); 87 EXPECT_STREQ("the data", buffer1->data()); 183 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 186 CacheTestFillBuffer(buffer1->data(), kSize1, false) [all...] |
disk_cache_perftest.cc | 47 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 50 CacheTestFillBuffer(buffer1->data(), kSize1, false); 73 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false); 98 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 101 CacheTestFillBuffer(buffer1->data(), kSize1, false); 121 int ret = cache_entry->ReadData(0, 0, buffer1, kSize1, &callback);
|
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)); 538 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); 539 memset(buffer1->data(), 0, kSize); 540 base::strlcpy(buffer1->data(), "And the data to save", kSize); 541 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer1, kSize, false)); 551 EXPECT_STREQ(buffer1->data(), buffer2->data()) 2108 char buffer1[kSize]; local [all...] |
/external/valgrind/main/exp-bbv/tests/x86/ |
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, %ed [all...] |
/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);
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
FormatUtils.java | 33 * Finds the earliest point in buffer1 at which the first part of buffer2 matches. For example, 36 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { 37 if (buffer1 == null || buffer2 == null) { 40 return overlapPoint(Arrays.copyOfRange(buffer1.data, 0, buffer1.sizeCopied),
|
/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();
|
/frameworks/media/libvideoeditor/lvpp/ |
VideoEditorTools.h | 113 M4VIFI_UInt8 *buffer1, M4VIFI_UInt8 *buffer2); 130 M4VIFI_UInt8 *buffer1, M4VIFI_UInt8 *buffer2, M4OSA_UInt16 rgbColorData); 134 M4VIFI_UInt8 *buffer1, M4VIFI_UInt8 *buffer2, M4OSA_Int32 lum_factor);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileOp.java | 231 byte[] buffer1 = new byte[8192];
235 while ((read1 = fis1.read(buffer1)) != -1) {
248 if (!Arrays.equals(buffer1, buffer2)) {
|
/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/ex/variablespeed/jni/ |
sola_time_scaler.h | 54 // @param buffer1 pointer to interleaved input samples 59 virtual int Correlate(const float* buffer1, const float* buffer2,
|
sola_time_scaler.cc | 32 int SolaAnalyzer::Correlate(const float* buffer1, const float* buffer2, 40 score += ((bit_cast<int32>(*buffer1++) ^ bit_cast<int32>(*buffer2++)) >= 0)
|
/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/dbus/dbus/ |
dbus-sysdeps-unix.h | 59 const DBusString *buffer1,
|
dbus-sysdeps.h | 136 const DBusString *buffer1, 155 const DBusString *buffer1,
|
dbus-sysdeps-unix.c | 391 const DBusString *buffer1, 408 buffer1, start1, len1, 422 iov[0].iov_base = (char*) _dbus_string_get_const_data_len (buffer1, start1, len1); 473 * @param buffer1 first buffer 483 const DBusString *buffer1, 497 _dbus_assert (buffer1 != NULL); 503 data1 = _dbus_string_get_const_data_len (buffer1, start1, len1); 533 return _dbus_write_two (fd, buffer1, start1, len1, 658 * @param buffer1 first buffer 668 const DBusString *buffer1, [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 32 private void compareBuffers(byte[] buffer1, byte[] buffer2, int length) throws Exception { 34 if (buffer1[i] != buffer2[i]) { [all...] |
/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/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));
|
/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/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()))) {
|
/external/icu4c/common/ |
cmemory.h | 35 #define uprv_memcmp(buffer1, buffer2, size) U_STANDARD_CPP_NAMESPACE memcmp(buffer1, buffer2,size)
|
/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/quake/quake/src/QW/dxsdk/sdk/inc/ |
d3drmdef.h | 131 void* buffer1; /* memory to render into (first buffer). */
member in struct:_D3DRMIMAGE
|