Searched refs:WriteData (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium/net/disk_cache/
H A Dentry_unittest.cc56 EXPECT_EQ(10, entry1->WriteData(0, 0, buffer1, kSize1, NULL, false));
68 EXPECT_EQ(5000, entry1->WriteData(1, 1500, buffer2, kSize2, NULL, false));
78 EXPECT_EQ(8192, entry1->WriteData(1, 0, buffer3, 8192, NULL, false));
108 EXPECT_EQ(0, entry1->WriteData(0, 15 * 1024, NULL, 0, NULL, false));
109 EXPECT_EQ(0, entry1->WriteData(1, 15 * 1024, NULL, 0, NULL, false));
146 int ret = entry1->WriteData(0, 0, buffer1, kSize1, &callback2, false);
162 ret = entry1->WriteData(1, 1500, buffer2, kSize2, &callback4, true);
195 ret = entry1->WriteData(1, 0, buffer3, 8192, &callback10, true);
250 EXPECT_EQ(17000, entry1->WriteData(0, 0, buffer1, kSize1, NULL, false));
256 EXPECT_EQ(25000, entry1->WriteData(
[all...]
H A Dbackend_unittest.cc202 ASSERT_EQ(0, entry->WriteData(0, 20000, buffer1, 0, NULL, false));
229 int rv = entry->WriteData(0, i, buffer, kSize, &callback, false);
257 EXPECT_EQ(cache_size / 10, entry->WriteData(0, 0, buffer, cache_size / 10,
260 EXPECT_EQ(net::ERR_FAILED, entry->WriteData(1, 0, buffer, cache_size / 5,
265 EXPECT_EQ(cache_size / 5, entry->WriteData(1, 0, buffer, cache_size / 5,
270 EXPECT_EQ(cache_size * 3 / 4, entry->WriteData(0, 0, buffer,
279 EXPECT_EQ(cache_size / 10, entry->WriteData(0, 0, buffer, cache_size / 10,
369 EXPECT_EQ(kSize, entry1->WriteData(0, 0, buffer1, kSize, NULL, false));
407 EXPECT_EQ(kSize, entry1->WriteData(0, 0, buffer1, kSize, NULL, false));
445 EXPECT_EQ(kSize, entry1->WriteData(
[all...]
H A Dmem_entry_impl.h28 // ReadData and WriteData cannot be applied to them. The lifetime of a child
63 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
H A Ddisk_cache_perftest.cc69 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false);
75 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback,
H A Dsparse_control.cc300 int rv = entry_->WriteData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL,
404 int rv = child_->WriteData(kSparseIndex, 0, buf, sizeof(child_data_),
470 int rv = entry_->WriteData(kSparseIndex, sizeof(sparse_header_), buf, len,
574 int rv = child_->WriteData(kSparseIndex, 0, buf, sizeof(child_data_),
610 rv = child_->WriteData(kSparseData, child_offset_, user_buf_, child_len_,
H A Ddisk_cache.h246 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
260 // WriteData), and one sparse stream that must me accessed through the sparse-
297 // Behaves like WriteData() except that this method is used to access sparse
H A Dentry_impl.h43 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
H A Dstress_cache.cc118 CHECK(kSize == entries[slot]->WriteData(0, 0, buffer, kSize, NULL, false));
H A Dmem_entry_impl.cc122 int MemEntryImpl::WriteData(int index, int offset, net::IOBuffer* buf, function in class:disk_cache::MemEntryImpl
244 int ret = child->WriteData(kSparseData, child_offset, io_buf, write_len,
H A Dentry_impl.cc251 int EntryImpl::WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, function in class:disk_cache::EntryImpl
/external/chromium/base/
H A Dpickle_unittest.cc69 EXPECT_TRUE(pickle.WriteData(testdata, testdatalen));
167 pickle.WriteData(data_ptr,
176 pickle.WriteData(data_ptr, static_cast<int>(unit - sizeof(uint32)));
182 pickle.WriteData(data_ptr, 1);
226 source.WriteData(str.c_str(), 100000);
252 EXPECT_TRUE(pickle.WriteData(NULL, 0));
H A Dpickle.h116 bool WriteData(const char* data, int length);
119 // Same as WriteData, but allows the caller to write directly into the
H A Dpickle.cc350 bool Pickle::WriteData(const char* data, int length) { function in class:Pickle
/external/v8/test/cctest/
H A Dtest-log-utils.cc23 static void WriteData(LogDynamicBuffer* dynabuf, Vector<char>* ref_buffer) { function
78 WriteData(&dynabuf, &ref_buf);
93 WriteData(&dynabuf, &ref_buf);
109 WriteData(&dynabuf, &ref_buf);
125 WriteData(&dynabuf, &ref_buf);
/external/bluetooth/glib/gio/
H A Dgbufferedoutputstream.c598 } WriteData; typedef in typeref:struct:__anon391
603 g_slice_free (WriteData, data);
618 WriteData *wdata;
623 wdata = g_slice_new (WriteData);
664 WriteData *wdata;
H A Dgoutputstream.c1126 } WriteData; typedef in typeref:struct:__anon474
1133 WriteData *op;
1158 WriteData *op;
1160 op = g_new0 (WriteData, 1);
1176 WriteData *op;
/external/chromium/net/http/
H A Dpartial_data.cc307 return entry->WriteData(kDataStream, static_cast<int>(current_range_start_),
H A Dhttp_cache_unittest.cc118 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, function in class:__anon1044::MockDiskEntry
2805 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
2849 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
3631 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
3694 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
3754 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
3820 EXPECT_EQ(len, entry->WriteData(1, 0, buf, len, NULL, true));
H A Dhttp_cache_transaction.cc1352 rv = entry_->disk_entry->WriteData(index, offset, data, data_len, callback,
1414 return entry_->disk_entry->WriteData(kResponseInfoIndex, 0, data, io_buf_len_,
/external/chromium/net/tools/dump_cache/
H A Dcache_dumper.cc21 int written = entry->WriteData(index, offset, buf, buf_len, NULL, false);
/external/chromium/net/base/
H A Dx509_certificate_mac.cc402 pickle->WriteData(reinterpret_cast<char*>(cert_data.Data), cert_data.Length);
H A Dx509_certificate_nss.cc492 pickle->WriteData(reinterpret_cast<const char*>(cert_handle_->derCert.data),
/external/webkit/WebCore/bindings/scripts/
H A DCodeGeneratorObjC.pm288 $object->WriteData("DOM" . $name);
1592 sub WriteData subroutine
H A DCodeGeneratorJS.pm87 $object->WriteData();
2216 sub WriteData subroutine
H A DCodeGeneratorV8.pm84 $object->WriteData();
2766 sub WriteData subroutine

Completed in 1001 milliseconds

12