/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);
|
/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]);
|
/external/skia/tests/ |
ToUnicode.cpp | 113 SkDynamicMemoryWStream buffer2; local 115 append_cmap_sections(glyphToUnicode, &subset2, &buffer2); 128 REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2, 129 buffer2.getOffset()));
|
MatrixTest.cpp | 54 char buffer2[SkMatrix::kMaxFlattenSize + 100]; local 55 size3 = m2.flatten(buffer2); 57 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0);
|
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/ |
CmdHndlr.h | 50 void *buffer2; member in struct:__anon19221 78 void *buffer2,
|
CmdHndlr.c | 235 void *buffer2, 257 pNewCmd->buffer2 = buffer2;
|
/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 | 35 * Finds the earliest point in buffer1 at which the first part of buffer2 matches. For example, 38 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { 39 if (buffer1 == null || buffer2 == null) { 43 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied));
|
/cts/suite/audio_quality/test/ |
TaskCaseTest.cpp | 41 android::sp<Buffer> buffer2(new Buffer(4, 4, true)); 46 const android::String8 BUFFER2("buffer2"); 50 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER2, buffer2)); 64 (list->back().second.get() == buffer2.get())) || 65 ((list->front().second.get() == buffer2.get()) && 111 Buffer buffer2(4, 4, true);
|
/external/v8/test/cctest/ |
test-utils.cc | 111 Vector<byte> buffer2 = Vector<byte>::New(N); local 119 TestMemCopy(buffer1, buffer2, i, i, i * 2); 125 TestMemCopy(buffer1, buffer2, i, (i + j) & 0x1F , 0); 131 TestMemCopy(buffer1, buffer2, 3, 7, i); 134 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/av/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 | 244 byte[] buffer2 = new byte[8192];
250 int n = fis2.read(buffer2, read2, read1 - read2);
260 if (!Arrays.equals(buffer1, buffer2)) {
|
/external/mdnsresponder/mDNSPosix/ |
ProxyResponder.c | 121 char buffer1[MAX_ESCAPED_DOMAIN_NAME], buffer2[MAX_ESCAPED_DOMAIN_NAME]; local 124 ConvertDomainNameToCString(sr->RR_SRV.resrec.name, buffer2); 125 printf("Name Conflict! %s renamed as %s\n", buffer1, buffer2); 197 char buffer1[MAX_ESCAPED_DOMAIN_NAME], buffer2[MAX_ESCAPED_DOMAIN_NAME]; local 202 ConvertDomainNameToCString(rr->resrec.name, buffer2); 203 printf("Name Conflict! %s renamed as %s\n", 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,
|
/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,
|
/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]) {
|
/packages/apps/Music/src/com/android/music/ |
MusicPicker.java | 185 char [] buffer2; field in class:MusicPicker.TrackListAdapter.ViewHolder 225 vh.buffer2 = new char[200]; 261 if (vh.buffer2.length < len) { 262 vh.buffer2 = new char[len]; 264 builder.getChars(0, len, vh.buffer2, 0); 265 vh.line2.setText(vh.buffer2, 0, len);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutTestActivity.java | 185 ByteBuffer buffer2 = ByteBuffer.allocate(reference.getByteCount()); local 188 reference.copyPixelsToBuffer(buffer2); 193 int pel2 = buffer2.getInt(i);
|
/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...] |