Home
last modified time | relevance | path

Searched refs:GetDataSize (Results 1 – 15 of 15) sorted by relevance

/external/chromium/net/disk_cache/
Dentry_unittest.cc108 EXPECT_EQ(8192, entry->GetDataSize(1)); in InternalSyncIOBackground()
253 EXPECT_EQ(8192, entry->GetDataSize(1)); in InternalAsyncIO()
324 EXPECT_EQ(37000, entry->GetDataSize(1)); in ExternalSyncIOBackground()
449 EXPECT_EQ(37000, entry->GetDataSize(1)); in ExternalAsyncIO()
627 EXPECT_EQ(10, entry->GetDataSize(0)); in GrowData()
630 EXPECT_EQ(2000, entry->GetDataSize(0)); in GrowData()
635 EXPECT_EQ(20000, entry->GetDataSize(0)); in GrowData()
644 EXPECT_EQ(10, entry->GetDataSize(0)); in GrowData()
650 EXPECT_EQ(2000, entry->GetDataSize(0)); in GrowData()
659 EXPECT_EQ(20000, entry->GetDataSize(0)); in GrowData()
[all …]
Dmem_entry_impl.cc163 int32 MemEntryImpl::GetDataSize(int index) const { in GetDataSize() function in disk_cache::MemEntryImpl
278 int entry_size = GetDataSize(index); in InternalReadData()
313 int entry_size = GetDataSize(index); in InternalWriteData()
421 int data_size = child->GetDataSize(kSparseData); in InternalWriteSparseData()
485 int data_size = current_child->GetDataSize(kSparseData) - in GetAvailableRange()
506 int entry_size = GetDataSize(index); in PrepareTarget()
539 if (GetDataSize(kSparseData)) in InitSparseInfo()
607 if (first_pos < current_child->GetDataSize(kSparseData)) { in FindNextChild()
Dsparse_control.cc208 if (entry_->GetDataSize(kSparseData)) in Init()
213 int data_len = entry_->GetDataSize(kSparseIndex); in Init()
228 if (entry_->GetDataSize(kSparseData)) in CouldBeSparse()
232 return (entry_->GetDataSize(kSparseIndex) != 0); in CouldBeSparse()
326 int data_len = entry->GetDataSize(kSparseIndex); in DeleteChildren()
328 entry->GetDataSize(kSparseData)) in DeleteChildren()
389 if (entry_->GetDataSize(kSparseData)) in OpenSparseEntry()
449 child->GetDataSize(kSparseIndex) < in OpenChild()
632 int entry_len = child_->GetDataSize(kSparseData); in PartialBlockLength()
Ddisk_cache.h161 virtual int32 GetDataSize(int index) const = 0;
Dmem_entry_impl.h100 virtual int32 GetDataSize(int index) const;
Dentry_impl.h144 virtual int32 GetDataSize(int index) const;
Dentry_impl.cc477 if (GetDataSize(0)) in DeleteEntryData()
478 CACHE_UMA(COUNTS, "DeleteHeader", 0, GetDataSize(0)); in DeleteEntryData()
479 if (GetDataSize(1)) in DeleteEntryData()
480 CACHE_UMA(COUNTS, "DeleteData", 0, GetDataSize(1)); in DeleteEntryData()
785 int32 EntryImpl::GetDataSize(int index) const { in GetDataSize() function in disk_cache::EntryImpl
Dbackend_unittest.cc417 EXPECT_EQ(cache_size / 10, entry->GetDataSize(0)); in BackendSetSize()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DCacheResult.cpp73 return m_entry->GetDataSize(kResponseContentIndex); in contentSize()
150 m_bufferSize = m_entry->GetDataSize(kResponseContentIndex); in writeToFileImpl()
227 m_bufferSize = m_entry->GetDataSize(kResponseInfoIndex); in responseHeadersImpl()
/external/chromium/net/url_request/
Dview_cache_helper.cc280 buf_len_ = entry_->GetDataSize(0); in DoReadResponse()
325 buf_len_ = entry_->GetDataSize(index_); in DoReadData()
/external/chromium/net/http/
Dhttp_cache_transaction.cc1128 entry_->disk_entry->GetDataSize(kMetadataIndex)) in DoPartialHeadersReceived()
1152 io_buf_len_ = entry_->disk_entry->GetDataSize(kResponseInfoIndex); in DoCacheReadResponse()
1213 new IOBufferWithSize(entry_->disk_entry->GetDataSize(kMetadataIndex)); in DoCacheReadMetadata()
1473 if (entry_->disk_entry->GetDataSize(kMetadataIndex)) in BeginCacheRead()
1501 if (entry_ && entry_->disk_entry->GetDataSize(kMetadataIndex)) in BeginCacheValidation()
1921 int current_size = entry_->disk_entry->GetDataSize(kResponseContentIndex); in AppendResponseDataToEntry()
1986 if (has_data && !entry_->disk_entry->GetDataSize(kResponseContentIndex)) in CanResume()
Dpartial_data.cc259 int current_len = entry->GetDataSize(kDataStream); in UpdateFromStoredHeaders()
271 resource_size_ = entry->GetDataSize(kDataStream); in UpdateFromStoredHeaders()
Ddisk_cache_based_ssl_host_info.cc202 const int32 size = entry_->GetDataSize(0 /* index */); in DoRead()
Dhttp_cache_unittest.cc109 virtual int32 GetDataSize(int index) const { in GetDataSize() function in __anon01b053950111::MockDiskEntry
575 int size = disk_entry->GetDataSize(0); in ReadResponseInfo()
4343 EXPECT_EQ(80, entry->GetDataSize(1)); in TEST()
4454 EXPECT_EQ(11, entry->GetDataSize(1)); in TEST()
4506 EXPECT_EQ(30, entry->GetDataSize(1)); in TEST()
/external/chromium/net/tools/dump_cache/
Dupgrade.cc825 msg.arg2 = entry_->GetDataSize(stream); in DoGetDataSize()