/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);
|
/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...] |
entry_unittest.cc | 74 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 75 CacheTestFillBuffer(buffer1->data(), kSize1, false); 78 entry->ReadData(0, 0, buffer1.get(), kSize1, net::CompletionCallback())); 79 base::strlcpy(buffer1->data(), "the data", kSize1); 82 0, 0, buffer1.get(), kSize1, net::CompletionCallback(), false)); 83 memset(buffer1->data(), 0, kSize1); 86 entry->ReadData(0, 0, buffer1.get(), kSize1, net::CompletionCallback())); 87 EXPECT_STREQ("the data", buffer1->data()); 200 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 203 CacheTestFillBuffer(buffer1->data(), kSize1, false) [all...] |
disk_cache_perftest.cc | 45 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 48 CacheTestFillBuffer(buffer1->data(), kSize1, false); 70 0, 0, buffer1.get(), kSize1, 97 scoped_refptr<net::IOBuffer> buffer1(new net::IOBuffer(kSize1)); 100 CacheTestFillBuffer(buffer1->data(), kSize1, false); 119 0, 0, buffer1.get(), kSize1,
|
/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...] |
/external/chromium_org/tools/android/forwarder2/ |
forwarder.cc | 118 BufferedCopier buffer1(socket1_.get(), socket2_.get()); 127 buffer1.AddToReadSet(&read_fds); 129 buffer1.AddToWriteSet(&write_fds); 143 run = buffer1.TryRead(read_fds); 145 run = run || buffer1.TryWrite(write_fds);
|
/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/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/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);
|
/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) { 40 return overlapPoint(Arrays.copyOfRange(buffer1.data, 0, buffer1.sizeCopied),
|
/cts/suite/audio_quality/test/ |
TaskCaseTest.cpp | 40 android::sp<Buffer> buffer1(new Buffer(4, 4, true)); 45 const android::String8 BUFFER1("buffer1"); 49 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER1, buffer1)); 54 android::sp<Buffer> buffer1f = mTaskCase->findBuffer(BUFFER1); 55 //LOGI("buffer1 %x, buffer1f %x", &buffer1, buffer1f); 56 ASSERT_TRUE(buffer1.get() == buffer1f.get()); 63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) & [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();
|
/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);
|
/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_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;
|
/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,
|
/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)
|
/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/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()))) {
|
/system/extras/micro_bench/ |
micro_bench.cpp | 349 uint8_t *buffer1 = getColdBuffer(num_buffers, buf1_incr, cmd_data.src_align, cmd_data.src_or_mask); \ 350 if (!buffer1) \ 364 buf1 = buffer1 + k * buf1_incr; \ 427 memset(buffer1, 0xff, buffer1_size); \ 469 memset(buffer1, 'a', buffer1_size); \ 472 buffer1[size-1+buf1_incr*i] = '\0'; \ 538 memset(buffer1, 'a', buffer1_size); \ 541 buffer1[size-1+buf1_incr*i] = '\0'; \ 565 memset(buffer1, 'a', buffer1_size); \ 567 buffer1[size-1+buf1_incr*i] = '\0'; [all...] |
/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);
|