/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)); 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/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ThreadSafeDataTransportTest.cpp | 61 RefPtr<SharedBuffer> buffer1 = SharedBuffer::create(testString1, sizeof(testString1) - 1); local 67 transport.setData(buffer1.get(), false);
|
/external/chromium_org/gpu/command_buffer/service/ |
vertex_attrib_manager_unittest.cc | 196 Buffer* buffer1 = buffer_manager.GetBuffer(1); local 198 ASSERT_TRUE(buffer1 != NULL); 205 manager_->SetAttribInfo(1, buffer1, 3, GL_SHORT, GL_TRUE, 32, 32, 4); 206 manager_->SetAttribInfo(3, buffer1, 3, GL_SHORT, GL_TRUE, 32, 32, 4); 208 EXPECT_EQ(buffer1, attrib1->buffer()); 209 EXPECT_EQ(buffer1, attrib3->buffer()); 213 EXPECT_EQ(buffer1, attrib1->buffer()); 214 EXPECT_EQ(buffer1, attrib3->buffer()); 216 manager_->Unbind(buffer1);
|
buffer_manager_unittest.cc | 124 Buffer* buffer1 = manager_->GetBuffer(kClientBuffer1Id); local 125 ASSERT_TRUE(buffer1 != NULL); 126 EXPECT_EQ(0u, GetTarget(buffer1)); 127 EXPECT_EQ(0, buffer1->size()); 128 EXPECT_EQ(static_cast<GLenum>(GL_STATIC_DRAW), buffer1->usage()); 129 EXPECT_FALSE(buffer1->IsDeleted()); 130 EXPECT_FALSE(buffer1->IsClientSideArray()); 131 EXPECT_EQ(kServiceBuffer1Id, buffer1->service_id()); 133 EXPECT_TRUE(manager_->GetClientId(buffer1->service_id(), &client_id)); 135 manager_->SetTarget(buffer1, GL_ELEMENT_ARRAY_BUFFER) 163 Buffer* buffer1 = manager_->GetBuffer(kClientBuffer1Id); local 182 Buffer* buffer1 = manager_->GetBuffer(kClient1Id); local [all...] |
/external/chromium_org/media/base/ |
container_names_unittest.cc | 29 char buffer1[] = local 37 VERIFY(buffer1, CONTAINER_SRT);
|
/external/chromium_org/net/disk_cache/ |
mapped_file_unittest.cc | 67 char buffer1[20]; local 69 CacheTestFillBuffer(buffer1, sizeof(buffer1), false); 70 base::strlcpy(buffer1, "the data", arraysize(buffer1)); 71 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 8192)); 73 EXPECT_STREQ(buffer1, buffer2); 86 char buffer1[20]; local 88 CacheTestFillBuffer(buffer1, sizeof(buffer1), false) [all...] |
backend_unittest.cc | 480 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); 481 CacheTestFillBuffer(buffer1->data(), kSize, false); 482 ASSERT_EQ(kSize, file_util::WriteFile(filename, buffer1->data(), kSize)); 487 ASSERT_EQ(0, WriteData(entry, 0, 20000, buffer1.get(), 0, false)); 493 EXPECT_EQ(0, memcmp(buffer1->data(), buffer2->data(), kSize)); 906 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize)); 907 memset(buffer1->data(), 0, kSize); 908 base::strlcpy(buffer1->data(), "And the data to save", kSize); 909 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer1.get(), kSize, false)); 919 EXPECT_STREQ(buffer1->data(), buffer2->data()) 3056 char buffer1[kSize]; local [all...] |
/external/v8/test/cctest/ |
test-utils.cc | 110 Vector<byte> buffer1 = Vector<byte>::New(N); local 114 buffer1[i] = static_cast<byte>(i & 0x7F); 119 TestMemCopy(buffer1, buffer2, i, i, i * 2); 125 TestMemCopy(buffer1, buffer2, i, (i + j) & 0x1F , 0); 131 TestMemCopy(buffer1, buffer2, 3, 7, i); 135 buffer1.Dispose();
|
/external/chromium_org/base/ |
file_util.cc | 70 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; local 72 file1.read(buffer1, BUFFER_SIZE); 77 (memcmp(buffer1, buffer2, file1.gcount()))) {
|
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_buffer_pool_unittest.cc | 82 scoped_ptr<Buffer> buffer1 = ReserveI420Buffer(size_lo); local 83 ASSERT_TRUE(NULL != buffer1.get()); 85 buffer1->size()); 96 memset(buffer1->data(), 0x11, buffer1->size()); 104 buffer1.reset(); 131 buffer1 = ReserveI420Buffer(size_lo); 132 ASSERT_TRUE(NULL != buffer1.get()); 147 // Now deliver & consume buffer1, but don't release the buffer. 148 int buffer_id1 = buffer1->id() [all...] |
/external/chromium_org/net/quic/ |
quic_data_stream_test.cc | 277 char buffer1[1]; local 280 vec[0].iov_base = buffer1; 281 vec[0].iov_len = arraysize(buffer1); 287 ASSERT_EQ(uncompressed_data.data()[i], buffer1[0]) << i;
|
/external/chromium_org/third_party/smhasher/src/ |
KeysetTest.cpp | 88 uint8_t * buffer1 = new uint8_t[buflen]; local 104 uint8_t * key1 = &buffer1[pad]; 107 r.rand_p(buffer1,buflen); 149 delete [] buffer1;
|
/external/mdnsresponder/mDNSPosix/ |
ProxyResponder.c | 121 char buffer1[MAX_ESCAPED_DOMAIN_NAME], buffer2[MAX_ESCAPED_DOMAIN_NAME]; local 122 ConvertDomainNameToCString(sr->RR_SRV.resrec.name, buffer1); 125 printf("Name Conflict! %s renamed as %s\n", buffer1, buffer2); 197 char buffer1[MAX_ESCAPED_DOMAIN_NAME], buffer2[MAX_ESCAPED_DOMAIN_NAME]; local 198 ConvertDomainNameToCString(rr->resrec.name, buffer1); 203 printf("Name Conflict! %s renamed as %s\n", 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));
|
/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()))) {
|
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutTestActivity.java | 187 ByteBuffer buffer1 = ByteBuffer.allocate(bitmap.getByteCount()); local 190 bitmap.copyPixelsToBuffer(buffer1); 195 int pel1 = buffer1.getInt(i);
|
/external/chromium_org/tools/android/forwarder/ |
forwarder.cc | 202 Buffer buffer1; local 207 if (buffer1.CanRead()) 213 if (buffer1.CanWrite()) 226 int bytes = buffer1.Read(socket1); 243 if (buffer1.Write(socket2) <= 0)
|
/frameworks/av/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.15/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/chromium_org/third_party/icu/source/test/intltest/ |
tmsgfmt.cpp | 361 UnicodeString buffer1, buffer2; local [all...] |
/external/icu4c/test/intltest/ |
tmsgfmt.cpp | 370 UnicodeString buffer1, buffer2; local 1647 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);
|