/external/chromium/net/disk_cache/ |
D | entry_unittest.cc | 84 EXPECT_EQ(10, entry->WriteData(0, 0, buffer1, kSize1, NULL, false)); in InternalSyncIOBackground() 96 EXPECT_EQ(5000, entry->WriteData(1, 1500, buffer2, kSize2, NULL, false)); in InternalSyncIOBackground() 106 EXPECT_EQ(8192, entry->WriteData(1, 0, buffer3, 8192, NULL, false)); in InternalSyncIOBackground() 111 EXPECT_EQ(0, entry->WriteData(0, 0, NULL, 0, NULL, true)); in InternalSyncIOBackground() 112 EXPECT_EQ(0, entry->WriteData(1, 0, NULL, 0, NULL, true)); in InternalSyncIOBackground() 155 EXPECT_EQ(0, WriteData(entry, 0, 15 * 1024, NULL, 0, false)); in InternalAsyncIO() 156 EXPECT_EQ(0, WriteData(entry, 1, 15 * 1024, NULL, 0, false)); in InternalAsyncIO() 193 int ret = entry->WriteData(0, 0, buffer1, kSize1, &callback2, false); in InternalAsyncIO() 209 ret = entry->WriteData(1, 1500, buffer2, kSize2, &callback4, true); in InternalAsyncIO() 242 ret = entry->WriteData(1, 0, buffer3, 8192, &callback10, true); in InternalAsyncIO() [all …]
|
D | backend_unittest.cc | 246 ASSERT_EQ(0, WriteData(entry, 0, 20000, buffer1, 0, false)); in TEST_F() 332 rv = entry->WriteData(0, 0, buffer, kSize, &cb, false); in TEST_F() 378 EXPECT_EQ(cache_size / 10, WriteData(entry, 0, 0, buffer, cache_size / 10, in BackendSetSize() 381 EXPECT_EQ(net::ERR_FAILED, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize() 386 EXPECT_EQ(cache_size / 5, WriteData(entry, 1, 0, buffer, cache_size / 5, in BackendSetSize() 391 EXPECT_EQ(cache_size * 3 / 4, WriteData(entry, 0, 0, buffer, in BackendSetSize() 401 EXPECT_EQ(cache_size / 10, WriteData(entry, 0, 0, buffer, cache_size / 10, in BackendSetSize() 406 EXPECT_EQ(cache_size / 10, WriteData(entry2, 0, 0, buffer, cache_size / 10, in BackendSetSize() 541 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer1, kSize, false)); in BackendValidEntry() 579 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buffer, kSize, false)); in BackendInvalidEntry() [all …]
|
D | in_flight_backend_io.h | 66 void WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, 170 void WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf,
|
D | disk_cache_perftest.cc | 73 int ret = cache_entry->WriteData(0, 0, buffer1, kSize1, &callback, false); in TimeWrite() 79 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback, in TimeWrite()
|
D | sparse_control.cc | 373 int rv = entry_->WriteData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL, in CreateSparseEntry() 480 int rv = child_->WriteData(kSparseIndex, 0, buf, sizeof(child_data_), in CloseChild() 547 int rv = entry_->WriteData(kSparseIndex, sizeof(sparse_header_), buf, len, in WriteSparseData() 651 int rv = child_->WriteData(kSparseIndex, 0, buf, sizeof(child_data_), in InitChildData()
|
D | disk_cache_test_base.cc | 155 int DiskCacheTestWithCache::WriteData(disk_cache::Entry* entry, int index, in WriteData() function in DiskCacheTestWithCache 159 int rv = entry->WriteData(index, offset, buf, len, &cb, truncate); in WriteData()
|
D | in_flight_backend_io.cc | 137 void BackendIO::WriteData(EntryImpl* entry, int index, int offset, in WriteData() function in disk_cache::BackendIO 393 void InFlightBackendIO::WriteData(EntryImpl* entry, int index, int offset, in WriteData() function in disk_cache::InFlightBackendIO 398 operation->WriteData(entry, index, offset, buf, buf_len, truncate); in WriteData()
|
D | disk_cache_test_base.h | 103 int WriteData(disk_cache::Entry* entry, int index, int offset,
|
D | disk_cache.h | 190 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
|
D | mem_entry_impl.h | 103 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
|
D | stress_cache.cc | 154 rv = entries[slot]->WriteData(0, 0, buffer, size, &cb, truncate); in StressTheCache()
|
D | entry_impl.h | 147 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
|
/external/chromium/base/ |
D | pickle_unittest.cc | 75 EXPECT_TRUE(pickle.WriteData(testdata, testdatalen)); in TEST() 217 pickle.WriteData(data_ptr, in TEST() 226 pickle.WriteData(data_ptr, static_cast<int>(unit - sizeof(uint32))); in TEST() 232 pickle.WriteData(data_ptr, 1); in TEST() 276 source.WriteData(str.c_str(), 100000); in TEST() 302 EXPECT_TRUE(pickle.WriteData(NULL, 0)); in TEST()
|
D | pickle.h | 117 bool WriteData(const char* data, int length);
|
/external/chromium/net/url_request/ |
D | view_cache_helper_unittest.cc | 51 int rv = entry->WriteData(0, 0, buf, len, &cb, true); in WriteHeaders() 55 void WriteData(disk_cache::Entry* entry, int index, const std::string data) { in WriteData() function 64 int rv = entry->WriteData(index, 0, buf, len, &cb, true); in WriteData() 81 WriteData(entry, 1, data1); in WriteToEntry() 82 WriteData(entry, 2, data2); in WriteToEntry()
|
/external/chromium/webkit/glue/ |
D | glue_serialize.cc | 70 inline void WriteData(const void* data, int length, SerializeObject* obj) { in WriteData() function 71 obj->pickle.WriteData(static_cast<const char*>(data), length); in WriteData() 111 WriteData(&data, sizeof(double), obj); in WriteReal() 236 WriteData(element.data.data(), static_cast<int>(element.data.size()), in WriteFormData()
|
D | npruntime_util.cc | 24 return pickle->WriteData(string, strlen(string) + 1); in SerializeNPIdentifier()
|
D | webcursor.cc | 128 if (!pickle->WriteData(data, custom_data_.size())) in Serialize()
|
/external/chromium/net/data/cache_tests/list_loop/ |
D | contents.txt | 198 entry->WriteData(0, 0, buffer, 4, NULL, false); 208 entry->WriteData(0, 0, buffer, 4, NULL, false);
|
/external/chromium/chrome/common/ |
D | common_param_traits_unittest.cc | 106 bad_msg.WriteData(fixed_data, fixed_data_size); in TEST() 111 bad_msg.WriteData(bogus_pixels.get(), bogus_pixels_size); in TEST()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | malware_details_unittest.cc | 69 int rv = entry->WriteData(0, 0, buf, len, &cb, true); in WriteHeaders() 73 void WriteData(disk_cache::Entry* entry, const std::string data) { in WriteData() function 82 int rv = entry->WriteData(1, 0, buf, len, &cb, true); in WriteData() 98 WriteData(entry, data); in WriteToEntry()
|
/external/chromium/chrome/browser/extensions/ |
D | user_script_master.cc | 248 pickle.WriteData(contents.data(), contents.length()); in Serialize() 252 pickle.WriteData(contents.data(), contents.length()); in Serialize()
|
/external/chromium/net/data/cache_tests/dirty_entry5/ |
D | contents.txt | 158 EXPECT_EQ(kSize, WriteData(entry, 0, 0, buf, kSize, false));
|
/external/chromium/net/tools/dump_cache/ |
D | cache_dumper.cc | 25 return entry->WriteData(index, offset, buf, buf_len, callback, false); in WriteEntry()
|
/external/chromium/net/http/ |
D | disk_cache_based_ssl_host_info.cc | 219 return entry_->WriteData(0 /* index */, 0 /* offset */, write_buffer_, in DoWrite()
|