/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_buffer_pool_unittest.cc | 86 scoped_ptr<Buffer> buffer2 = ReserveI420Buffer(size_lo); local 87 ASSERT_TRUE(NULL != buffer2.get()); 89 buffer2->size()); 97 memset(buffer2->data(), 0x44, buffer2->size()); 112 int buffer_id2 = buffer2->id(); 129 buffer2.reset(); // Active producer releases buffer. Should free a buffer. 159 buffer2 = ReserveI420Buffer(size_lo); 160 ASSERT_TRUE(NULL != buffer2.get()); 161 ASSERT_EQ(buffer_id1, buffer2->id()) [all...] |
/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/chromium_org/media/base/ |
decoder_buffer_unittest.cc | 31 scoped_refptr<DecoderBuffer> buffer2(DecoderBuffer::CopyFrom( 33 ASSERT_TRUE(buffer2.get()); 34 EXPECT_NE(kData, buffer2->data()); 35 EXPECT_EQ(buffer2->data_size(), kDataSize); 36 EXPECT_EQ(0, memcmp(buffer2->data(), kData, kDataSize)); 37 EXPECT_FALSE(buffer2->end_of_stream()); 55 scoped_refptr<DecoderBuffer> buffer2(DecoderBuffer::CopyFrom( 57 ASSERT_TRUE(buffer2.get()); 61 EXPECT_EQ((buffer2->data() + kDataSize)[i], 0); 68 buffer2->writable_data() + kDataSize, kFillChar [all...] |
data_buffer_unittest.cc | 113 scoped_refptr<DataBuffer> buffer2(new DataBuffer(kNewDataSize + 10)); 114 data = buffer2->writable_data(); 117 buffer2->set_data_size(kNewDataSize); 118 read_only_data = buffer2->data(); 119 EXPECT_EQ(kNewDataSize, buffer2->data_size());
|
/external/chromium_org/base/ |
os_compat_android_unittest.cc | 37 char* buffer2 = const_cast<char*>(sub_dir2_string.c_str()); local 38 EXPECT_TRUE(mkdtemp(buffer2) != NULL);
|
/external/chromium_org/net/disk_cache/ |
mapped_file_unittest.cc | 68 char buffer2[20]; local 72 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 8192)); 73 EXPECT_STREQ(buffer1, buffer2); 87 char buffer2[20]; local 98 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 1024 * 1024, &callback, 107 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); 99 1, 1500, buffer2.get(), kSize2, net::CompletionCallback(), false)); 100 memset(buffer2->data(), 0, kSize2); 103 1, 1511, buffer2.get(), kSize2, net::CompletionCallback())); 104 EXPECT_STREQ("big data goes here", buffer2->data()); 107 entry->ReadData(1, 0, buffer2.get(), kSize2, net::CompletionCallback())); 108 EXPECT_EQ(0, memcmp(buffer2->data(), buffer3->data(), 1500)); 111 1, 5000, buffer2.get(), kSize2, net::CompletionCallback())) [all...] |
disk_cache_perftest.cc | 46 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 49 CacheTestFillBuffer(buffer2->data(), kMaxSize, false); 78 1, 0, buffer2.get(), entry.data_len, 98 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 101 CacheTestFillBuffer(buffer2->data(), kMaxSize, false); 127 1, 0, buffer2.get(), entries[i].data_len,
|
/external/chromium_org/printing/ |
pdf_metafile_cg_mac_unittest.cc | 50 std::vector<char> buffer2(4, 0); 51 pdf2.GetData(&buffer2.front(), 4); 54 std::string header(&buffer2.front(), 4);
|
/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...] |
/external/chromium_org/tools/android/forwarder2/ |
forwarder.cc | 120 BufferedCopier buffer2(socket2_.get(), socket1_.get()); 128 buffer2.AddToReadSet(&read_fds); 130 buffer2.AddToWriteSet(&write_fds); 144 run = run || buffer2.TryRead(read_fds); 146 run = run || buffer2.TryWrite(write_fds);
|
/external/chromium_org/chrome_frame/ |
urlmon_upload_data_stream_unittest.cc | 34 char buffer2[500]; local 35 memset(buffer2, 0, 500); 37 hr = upload_istream->Read(buffer2, 500, &bytes_read2); 41 EXPECT_FALSE(strcmp(buffer2, random_string) == 0); 124 char buffer2[500]; local 125 memset(buffer2, 0, 500); 129 hr = upload_istream->Read(buffer2, 500, &bytes_read2); 132 EXPECT_NE(0, strcmp(buffer2, random_string)); 158 char buffer2[500]; local 159 memset(&buffer2[0], 0, 500) [all...] |
/device/generic/goldfish/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/ |
SerializationTest.cpp | 130 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); 131 const unsigned char* peekBefore = static_cast<const unsigned char*>(buffer2.skip(0)); 133 SerializationUtils<T>::Read(buffer2, &obj2); 134 const unsigned char* peekAfter = static_cast<const unsigned char*>(buffer2.skip(0)); 136 REPORTER_ASSERT(reporter, buffer2.isValid()); 163 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); 164 const unsigned char* peekBefore = static_cast<const unsigned char*>(buffer2.skip(0)); 166 SerializationUtils<T>::Read(buffer2, &obj2); 167 const unsigned char* peekAfter = static_cast<const unsigned char*>(buffer2.skip(0)); 170 REPORTER_ASSERT(reporter, buffer2.isValid()) [all...] |
ToUnicode.cpp | 164 SkDynamicMemoryWStream buffer2; local 166 append_cmap_sections(glyphToUnicode, &subset2, &buffer2, true, 0, 0xffff); 179 REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2, 180 buffer2.getOffset()));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ThreadSafeDataTransportTest.cpp | 63 RefPtr<SharedBuffer> buffer2 = SharedBuffer::create(testString2, sizeof(testString2) - 1); local 68 transport.setData(buffer2.get(), false);
|
/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/chromium_org/third_party/icu/source/test/intltest/ |
uts46test.cpp | 558 char buffer[400], buffer2[400]; local [all...] |
/external/icu4c/test/intltest/ |
uts46test.cpp | 582 char buffer[400], buffer2[400]; local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/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));
|
/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();
|
/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);
|