Home
last modified time | relevance | path

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

123

/external/chromium_org/printing/
Dpdf_metafile_skia.cc117 uint32 PdfMetafileSkia::GetDataSize() const { in GetDataSize() function in printing::PdfMetafileSkia
123 if (dst_buffer_size < GetDataSize()) in GetData()
174 if (data_->pdf_cg_.GetDataSize() == 0) { in RenderPage()
194 GetDataSize()) == static_cast<int>(GetDataSize()); in SaveToFD()
Demf_win_unittest.cc63 size = emf.GetDataSize(); in TEST()
151 size = emf.GetDataSize(); in TEST_F()
190 size = emf.GetDataSize(); in TEST()
229 EXPECT_LE(abs(int(raster->GetDataSize()) - 64 * 1024 * 1024), 1024 * 1024); in TEST()
Dmetafile.cc27 buffer->resize(GetDataSize()); in GetDataAsVector()
Dpdf_metafile_cg_mac_unittest.cc38 uint32 size = pdf.GetDataSize(); in TEST()
Dpdf_metafile_cg_mac.h49 virtual uint32 GetDataSize() const OVERRIDE;
Dpdf_metafile_cg_mac.cc263 uint32 PdfMetafileCg::GetDataSize() const { in GetDataSize() function in printing::PdfMetafileCg
279 uint32 data_size = GetDataSize(); in GetData()
Dpdf_metafile_skia.h50 virtual uint32 GetDataSize() const OVERRIDE;
Dmetafile.h139 virtual uint32 GetDataSize() const = 0;
Demf_win.h74 virtual uint32 GetDataSize() const OVERRIDE;
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_system_mock.cpp70 size_t GetDataSize() const { return data_.size(); } in GetDataSize() function in __anon185c56100111::MockFileEntry
168 bool IsEof() const { return offset_ >= entry_->GetDataSize(); } in IsEof()
172 size_t data_size = entry_->GetDataSize(); in GetString()
193 size_t data_size = entry_->GetDataSize(); in Read()
215 size_t data_size = entry_->GetDataSize(); in SeekTo()
228 size_t data_size = entry_->GetDataSize(); in Map()
/external/chromium_org/net/disk_cache/memory/
Dmem_entry_impl.cc180 int32 MemEntryImpl::GetDataSize(int index) const { in GetDataSize() function in disk_cache::MemEntryImpl
289 int entry_size = GetDataSize(index); in InternalReadData()
324 int entry_size = GetDataSize(index); in InternalWriteData()
431 int data_size = child->GetDataSize(kSparseData); in InternalWriteSparseData()
494 int data_size = current_child->GetDataSize(kSparseData) - in GetAvailableRange()
515 int entry_size = GetDataSize(index); in PrepareTarget()
548 if (GetDataSize(kSparseData)) in InitSparseInfo()
614 if (first_pos < current_child->GetDataSize(kSparseData)) { in FindNextChild()
Dmem_entry_impl.h95 virtual int32 GetDataSize(int index) const OVERRIDE;
/external/chromium_org/net/disk_cache/blockfile/
Dsparse_control_v3.cc218 if (entry_->GetDataSize(kSparseData)) in CouldBeSparse()
222 return (entry_->GetDataSize(kSparseIndex) != 0); in CouldBeSparse()
317 int data_len = entry->GetDataSize(kSparseIndex); in DeleteChildren()
319 entry->GetDataSize(kSparseData)) in DeleteChildren()
357 if (entry_->GetDataSize(kSparseData)) in Init()
362 int data_len = entry_->GetDataSize(kSparseIndex); in Init()
406 if (entry_->GetDataSize(kSparseData)) in OpenSparseEntry()
470 child->GetDataSize(kSparseIndex) < in OpenChild()
743 int entry_len = child_->GetDataSize(kSparseData); in PartialBlockLength()
Dsparse_control.cc217 if (entry_->GetDataSize(kSparseData)) in Init()
222 int data_len = entry_->GetDataSize(kSparseIndex); in Init()
237 if (entry_->GetDataSize(kSparseData)) in CouldBeSparse()
241 return (entry_->GetDataSize(kSparseIndex) != 0); in CouldBeSparse()
338 int data_len = entry->GetDataSize(kSparseIndex); in DeleteChildren()
340 entry->GetDataSize(kSparseData)) in DeleteChildren()
404 if (entry_->GetDataSize(kSparseData)) in OpenSparseEntry()
468 child->GetDataSize(kSparseIndex) < in OpenChild()
655 int entry_len = child_->GetDataSize(kSparseData); in PartialBlockLength()
Dentry_impl_v3.cc517 int32 EntryImplV3::GetDataSize(int index) const { in GetDataSize() function in disk_cache::EntryImplV3
1044 if (GetDataSize(0)) in DeleteEntryData()
1045 CACHE_UMA(COUNTS, "DeleteHeader", 0, GetDataSize(0)); in DeleteEntryData()
1046 if (GetDataSize(1)) in DeleteEntryData()
1047 CACHE_UMA(COUNTS, "DeleteData", 0, GetDataSize(1)); in DeleteEntryData()
1419 int32 EntryImplV3::GetDataSize(int index) const { in GetDataSize() function in disk_cache::EntryImplV3
Dentry_impl_v3.h85 virtual int32 GetDataSize(int index) const OVERRIDE;
/external/chromium_org/net/disk_cache/
Dentry_unittest.cc126 EXPECT_EQ(8192, entry->GetDataSize(1)); in InternalSyncIOBackground()
325 EXPECT_EQ(8192, entry->GetDataSize(1)); in InternalAsyncIO()
413 EXPECT_EQ(37000, entry->GetDataSize(1)); in ExternalSyncIOBackground()
587 EXPECT_EQ(37000, entry->GetDataSize(1)); in ExternalAsyncIO()
839 EXPECT_EQ(10, entry->GetDataSize(stream_index)); in GrowData()
843 EXPECT_EQ(2000, entry->GetDataSize(stream_index)); in GrowData()
849 EXPECT_EQ(20000, entry->GetDataSize(stream_index)); in GrowData()
858 EXPECT_EQ(10, entry->GetDataSize(stream_index)); in GrowData()
865 EXPECT_EQ(2000, entry->GetDataSize(stream_index)); in GrowData()
875 EXPECT_EQ(20000, entry->GetDataSize(stream_index)); in GrowData()
[all …]
Ddisk_cache.h184 virtual int32 GetDataSize(int index) const = 0;
/external/lzma/CPP/7zip/Common/
DInOutTempBuffer.h33 UInt64 GetDataSize() const { return _size; } in GetDataSize() function
/external/chromium_org/net/tools/dump_cache/
Dsimple_cache_dumper.cc187 int32 size = src_entry_->GetDataSize(0); in DoReadHeaders()
220 int32 size = src_entry_->GetDataSize(1); in DoReadBody()
/external/chromium_org/net/disk_cache/simple/
Dsimple_entry_impl.cc337 int32 SimpleEntryImpl::GetDataSize(int stream_index) const { in GetDataSize() function in disk_cache::SimpleEntryImpl
366 if (pending_operations_.empty() && (offset >= GetDataSize(stream_index) || in ReadData()
768 if (GetDataSize(i) == crc32s_end_offset_[i]) { in CloseInternal()
769 int32 crc = GetDataSize(i) == 0 ? crc32(0, Z_NULL, 0) : crc32s_[i]; in CloseInternal()
836 if (offset >= GetDataSize(stream_index) || offset < 0 || !buf_len) { in ReadDataInternal()
846 buf_len = std::min(buf_len, GetDataSize(stream_index) - offset); in ReadDataInternal()
955 GetDataSize(stream_index)); in WriteDataInternal()
1190 GetDataSize(stream_index) == crc32s_end_offset_[stream_index]) { in ReadOperationComplete()
1229 offset + *result == GetDataSize(stream_index)) { in ReadOperationComplete()
1480 int data_size = GetDataSize(0); in SetStream0Data()
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper_pdf_win.cc100 uint32 buf_size = metafile.GetDataSize(); in PrintPagesNative()
221 uint32 buf_size = metafile->GetDataSize(); in CopyMetafileDataToSharedMem()
/external/chromium_org/net/url_request/
Dview_cache_helper.cc287 buf_len_ = entry_->GetDataSize(0); in DoReadResponse()
335 buf_len_ = entry_->GetDataSize(index_); in DoReadData()
/external/chromium_org/net/http/
Dpartial_data.cc266 int current_len = entry->GetDataSize(kDataStream); in UpdateFromStoredHeaders()
278 resource_size_ = entry->GetDataSize(kDataStream); in UpdateFromStoredHeaders()
Dhttp_cache_transaction.cc1641 entry_->disk_entry->GetDataSize(kMetadataIndex)) in DoPartialHeadersReceived()
1665 io_buf_len_ = entry_->disk_entry->GetDataSize(kResponseInfoIndex); in DoCacheReadResponse()
1686 int current_size = entry_->disk_entry->GetDataSize(kResponseContentIndex); in DoCacheReadResponseComplete()
1762 new IOBufferWithSize(entry_->disk_entry->GetDataSize(kMetadataIndex)); in DoCacheReadMetadata()
1871 int current_size = entry_->disk_entry->GetDataSize(kResponseContentIndex); in DoCacheWriteDataComplete()
2104 if (entry_->disk_entry->GetDataSize(kMetadataIndex)) in BeginCacheRead()
2584 if (entry_->disk_entry->GetDataSize(kMetadataIndex)) in SetupEntryForRead()
2671 int current_size = entry_->disk_entry->GetDataSize(kResponseContentIndex); in AppendResponseDataToEntry()
2798 if (has_data && !entry_->disk_entry->GetDataSize(kResponseContentIndex)) in CanResume()

123