/external/chromium/net/disk_cache/ |
mapped_file_unittest.cc | 48 char buffer2[20]; local 52 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 8192)); 53 EXPECT_STREQ(buffer1, buffer2); 70 char buffer2[20]; local 81 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 1024 * 1024, &callback, 90 EXPECT_STREQ(buffer1, buffer2);
|
entry_unittest.cc | 91 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize2)); 94 CacheTestFillBuffer(buffer2->data(), kSize2, false); 95 base::strlcpy(buffer2->data(), "The really big data goes here", kSize2); 96 EXPECT_EQ(5000, entry->WriteData(1, 1500, buffer2, kSize2, NULL, false)); 97 memset(buffer2->data(), 0, kSize2); 98 EXPECT_EQ(4989, entry->ReadData(1, 1511, buffer2, kSize2, NULL)); 99 EXPECT_STREQ("big data goes here", buffer2->data()); 100 EXPECT_EQ(5000, entry->ReadData(1, 0, buffer2, kSize2, NULL)); 101 EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); 102 EXPECT_EQ(1500, entry->ReadData(1, 5000, buffer2, kSize2, NULL)) [all...] |
disk_cache_perftest.cc | 48 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 51 CacheTestFillBuffer(buffer2->data(), kMaxSize, false); 79 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback, 99 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 102 CacheTestFillBuffer(buffer2->data(), kMaxSize, false); 127 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback);
|
backend_unittest.cc | 158 char buffer2[20000]; local 159 memset(buffer2, 's', sizeof(buffer2)); 160 buffer2[1023] = '\0'; 161 ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on block file"; 164 buffer2[1023] = 'g'; 165 buffer2[19999] = '\0'; 166 ASSERT_EQ(net::OK, CreateEntry(buffer2, &entry2)) << "key on external file"; 250 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kSize)); 251 ASSERT_EQ(kSize, file_util::ReadFile(filename, buffer2->data(), kSize)) 2109 char buffer2[kSize]; local [all...] |
/external/valgrind/main/exp-bbv/tests/x86/ |
rep_prefix.S | 96 mov $buffer2, %edi 102 mov $buffer2, %esi 110 mov $buffer2, %edi 125 mov $buffer2, %edi 132 mov $buffer2,%edi 140 mov $buffer2,%edi 148 mov $buffer2,%edi 160 mov $buffer2, %edi 167 mov $buffer2,%edi 175 mov $buffer2,%ed [all...] |
/development/tools/emulator/system/libqemu/ |
test_guest_2.c | 59 uint8_t* buffer2; local 153 buffer2 = malloc(bufferSize); 176 ret = pipe_recv(pipe, buffer2 + pos, len); 189 if (memcmp(buffer, buffer2, bufferSize) != 0) { 200 if (memcmp(buffer+nn, buffer2+nn, avail) != 0) { 215 printf(" %02x", buffer2[nn+mm]);
|
/system/vold/ |
Devmapper.cpp | 50 char *buffer2 = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local 51 if (!buffer2) { 61 free(buffer2); 71 free(buffer2); 79 free(buffer2); 88 memset(buffer2, 0, DEVMAPPER_BUFFER_SIZE); 89 struct dm_ioctl *io2 = (struct dm_ioctl *) buffer2; 112 free(buffer2);
|
/external/icu4c/test/intltest/ |
uts46test.cpp | 558 char buffer[400], buffer2[400]; local [all...] |
/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) { 41 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied));
|
/external/v8/test/cctest/ |
test-utils.cc | 110 Vector<byte> buffer2 = Vector<byte>::New(N); local 118 TestMemCopy(buffer1, buffer2, i, i, i * 2); 124 TestMemCopy(buffer1, buffer2, i, (i + j) & 0x1F , 0); 130 TestMemCopy(buffer1, buffer2, 3, 7, i); 133 buffer2.Dispose();
|
test-strings.cc | 204 StringInputBuffer buffer2(*s2); 206 CHECK(buffer2.has_more()); 208 CHECK_EQ(c, buffer2.GetNext()); 219 StringInputBuffer buffer2(*s2); 221 CHECK(buffer2.has_more()); 223 CHECK_EQ(c, buffer2.GetNext());
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
test_main.cpp | 80 void * const buffer2 = dbg.GetReadPixelsBuffer(bufferSize); local 81 EXPECT_EQ(buffer2, buffer0); 83 EXPECT_EQ(i * 13, ((unsigned int *)buffer2)[i]) 94 EXPECT_EQ(buffer0, buffer2); 96 EXPECT_EQ(buffer2, buffer4);
|
/external/skia/tests/ |
MatrixTest.cpp | 45 char buffer2[SkMatrix::kMaxFlattenSize + 100]; local 46 size3 = m2.flatten(buffer2); 48 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0);
|
/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 | 232 byte[] buffer2 = new byte[8192];
238 int n = fis2.read(buffer2, read2, read1 - read2);
248 if (!Arrays.equals(buffer1, buffer2)) {
|
/frameworks/ex/variablespeed/jni/ |
sola_time_scaler.h | 55 // @param buffer2 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 | 53 void *buffer2; member in struct:SDL_PrivateVideoData 143 #define GEM_buffer2 (this->hidden->buffer2)
|
/external/dbus/dbus/ |
dbus-sysdeps-unix.h | 62 const DBusString *buffer2,
|
dbus-sysdeps.h | 139 const DBusString *buffer2, 158 const DBusString *buffer2,
|
/external/srtp/crypto/cipher/ |
cipher.c | 89 uint8_t buffer2[SELF_TEST_BUF_OCTETS]; local 287 buffer2[i] = buffer[i]; 351 if (buffer[i] != buffer2[i]) {
|