Home
last modified time | relevance | path

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

/external/chromium/net/disk_cache/
Dblock_files.h36 MappedFile* GetFile(Addr address);
65 bool GrowBlockFile(MappedFile* file, BlockFileHeader* header);
68 MappedFile* FileForNewBlock(FileType block_type, int block_count);
71 MappedFile* NextFile(const MappedFile* file);
80 bool FixBlockFileHeader(MappedFile* file);
91 std::vector<MappedFile*> block_files_; // The actual files.
Dmapped_file_posix.cc16 void* MappedFile::Init(const FilePath& name, size_t size) { in Init()
35 bool MappedFile::Load(const FileBlock* block) { in Load()
40 bool MappedFile::Store(const FileBlock* block) { in Store()
45 MappedFile::~MappedFile() { in ~MappedFile()
Dmapped_file_win.cc13 void* MappedFile::Init(const FilePath& name, size_t size) { in Init()
32 MappedFile::~MappedFile() { in ~MappedFile()
45 bool MappedFile::Load(const FileBlock* block) { in Load()
50 bool MappedFile::Store(const FileBlock* block) { in Store()
Dmapped_file.h23 class MappedFile : public File {
25 MappedFile() : File(true), init_(false) {} in MappedFile() function
41 virtual ~MappedFile();
50 DISALLOW_COPY_AND_ASSIGN(MappedFile);
Dstorage_block_unittest.cc14 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); in TEST_F()
34 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); in TEST_F()
54 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); in TEST_F()
Dmapped_file_unittest.cc43 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); in TEST_F()
58 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); in TEST_F()
Dblock_files.cc223 MappedFile* BlockFiles::GetFile(Addr address) { in GetFile()
250 MappedFile* file = FileForNewBlock(block_type, block_count); in CreateBlock()
284 MappedFile* file = GetFile(address); in DeleteBlock()
347 MappedFile* file = GetFile(address); in IsValid()
397 scoped_refptr<MappedFile> file(new MappedFile()); in OpenBlockFile()
440 bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) { in GrowBlockFile()
469 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { in FileForNewBlock()
471 MappedFile* file = block_files_[block_type - 1]; in FileForNewBlock()
492 MappedFile* BlockFiles::NextFile(const MappedFile* file) { in NextFile()
526 MappedFile* file = block_files_[block_type - 1]; in RemoveEmptyFile()
[all …]
Dstorage_block.h34 StorageBlock(MappedFile* file, Addr address);
43 bool LazyInit(MappedFile* file, Addr address);
78 MappedFile* file_;
Dstorage_block-inl.h16 template<typename T> StorageBlock<T>::StorageBlock(MappedFile* file, in StorageBlock()
45 template<typename T> bool StorageBlock<T>::LazyInit(MappedFile* file, in LazyInit()
Dstats.cc73 MappedFile* file = backend->File(address); in LoadStats()
96 MappedFile* file = backend->File(address); in StoreStats()
Dbackend_impl.h99 MappedFile* File(Addr address);
343 scoped_refptr<MappedFile> index_; // The main cache index.
Dblock_files_unittest.cc118 MappedFile* file = files.GetFile(address); in TEST_F()
Dbackend_impl.cc835 MappedFile* BackendImpl::File(Addr address) { in File()
1395 index_ = new MappedFile(); in InitBackingStore()
/external/chromium/net/tools/dump_cache/
Ddump_files.cc132 scoped_refptr<disk_cache::MappedFile> index_file_;
148 index_file_ = new disk_cache::MappedFile; in Init()
192 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadEntry()
217 disk_cache::MappedFile* file = block_files_.GetFile(address); in LoadRankings()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp195 MappedViewOfFileScopedHandle MappedFile( in GetFileNameFromHandle() local
198 if (!MappedFile) in GetFileNameFromHandle()
202 MappedFile, in GetFileNameFromHandle()