HomeSort by relevance Sort by last modified time
    Searched refs:MappedFile (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/net/disk_cache/blockfile/
mapped_file.h 24 class NET_EXPORT_PRIVATE MappedFile : public File {
26 MappedFile() : File(true), init_(false) {}
54 virtual ~MappedFile();
66 DISALLOW_COPY_AND_ASSIGN(MappedFile);
72 explicit ScopedFlush(MappedFile* file) : file_(file) {}
77 MappedFile* file_;
mapped_file_posix.cc 16 void* MappedFile::Init(const base::FilePath& name, size_t size) {
41 void MappedFile::Flush() {
44 MappedFile::~MappedFile() {
mapped_file_win.cc 14 void* MappedFile::Init(const base::FilePath& name, size_t size) {
39 MappedFile::~MappedFile() {
52 void MappedFile::Flush() {
block_files.h 36 explicit BlockHeader(MappedFile* file);
101 MappedFile* GetFile(Addr address);
130 bool GrowBlockFile(MappedFile* file, BlockFileHeader* header);
133 MappedFile* FileForNewBlock(FileType block_type, int block_count);
136 MappedFile* NextFile(MappedFile* file);
145 bool FixBlockFileHeader(MappedFile* file);
156 std::vector<MappedFile*> block_files_; // The actual files.
mapped_file.cc 15 bool MappedFile::Load(const FileBlock* block) {
20 bool MappedFile::Store(const FileBlock* block) {
25 bool MappedFile::Load(const FileBlock* block,
32 bool MappedFile::Store(const FileBlock* block,
39 bool MappedFile::Preload() {
storage_block.h 33 StorageBlock(MappedFile* file, Addr address);
42 bool LazyInit(MappedFile* file, Addr address);
86 MappedFile* file_;
mapped_file_avoid_mmap_posix.cc 14 void* MappedFile::Init(const base::FilePath& name, size_t size) {
37 void MappedFile::Flush() {
52 MappedFile::~MappedFile() {
storage_block_unittest.cc 17 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
37 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
57 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
mapped_file_unittest.cc 63 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
78 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
112 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
block_files.cc 46 BlockHeader::BlockHeader(MappedFile* file)
299 MappedFile* BlockFiles::GetFile(Addr address) {
331 MappedFile* file = FileForNewBlock(block_type, block_count);
357 MappedFile* file = GetFile(address);
423 MappedFile* file = GetFile(address);
474 scoped_refptr<MappedFile> file(new MappedFile());
520 bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) {
550 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) {
552 MappedFile* file = block_files_[block_type - 1]
    [all...]
storage_block-inl.h 16 template<typename T> StorageBlock<T>::StorageBlock(MappedFile* file,
45 template<typename T> bool StorageBlock<T>::LazyInit(MappedFile* file,
backend_impl.h 94 MappedFile* File(Addr address);
359 scoped_refptr<MappedFile> index_; // The main cache index.
backend_worker_v3.cc 331 index_ = new MappedFile();
442 MappedFile* file = File(address);
block_files_unittest.cc 117 MappedFile* file = files.GetFile(address);
213 MappedFile* file = files.GetFile(address);
backend_impl.cc 657 MappedFile* BackendImpl::File(Addr address) {
    [all...]
backend_impl_v3.cc 785 MappedFile* file = File(address);
811 MappedFile* file = File(address);
    [all...]
  /art/runtime/base/unix_file/
mapped_file.h 31 class MappedFile : public FdFile {
44 MappedFile() : FdFile(), file_size_(-1), mapped_file_(NULL) {
46 // Creates a MappedFile using the given file descriptor. Takes ownership of
48 explicit MappedFile(int fd) : FdFile(fd), file_size_(-1), mapped_file_(NULL) {
52 virtual ~MappedFile();
97 DISALLOW_COPY_AND_ASSIGN(MappedFile);
mapped_file_test.cc 53 MappedFile* f = new MappedFile;
54 CHECK(f->Open(good_path_, MappedFile::kReadWriteMode));
63 MappedFile file;
70 MappedFile file;
71 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
83 MappedFile file(fileno(f));
90 MappedFile file;
91 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
102 MappedFile file
    [all...]
mapped_file.cc 29 MappedFile::~MappedFile() {
32 int MappedFile::Close() {
39 bool MappedFile::MapReadOnly() {
61 bool MappedFile::MapReadWrite(int64_t file_size) {
88 bool MappedFile::Unmap() {
102 int64_t MappedFile::Read(char* buf, int64_t byte_count, int64_t offset) const {
119 int MappedFile::SetLength(int64_t new_length) {
124 int64_t MappedFile::GetLength() const {
132 int MappedFile::Flush()
    [all...]
  /external/llvm/lib/Support/
FileOutputBuffer.cpp 76 std::unique_ptr<mapped_file_region> MappedFile(new mapped_file_region(
81 Result.reset(new FileOutputBuffer(MappedFile.get(), FilePath, TempFilePath));
83 MappedFile.release();
  /external/chromium_org/chrome/installer/test/
alternate_version_generator.cc 151 class MappedFile {
153 MappedFile() : size_(), mapping_(), view_() { }
154 ~MappedFile();
164 DISALLOW_COPY_AND_ASSIGN(MappedFile);
165 }; // class MappedFile
167 MappedFile::~MappedFile() {
170 PLOG(DFATAL) << "MappedFile failed to unmap view.";
180 bool MappedFile::Initialize(base::File file) {
375 MappedFile image_mapping
    [all...]
  /external/chromium_org/net/tools/dump_cache/
dump_files.cc 68 disk_cache::MappedFile* file = block_files.GetFile(address);
176 scoped_refptr<disk_cache::MappedFile> index_file_;
191 index_file_ = new disk_cache::MappedFile;
235 disk_cache::MappedFile* file = block_files_.GetFile(address);
260 disk_cache::MappedFile* file = block_files_.GetFile(address);
  /external/clang/lib/Tooling/
Tooling.cpp 357 for (const auto &MappedFile : MappedFileContents) {
358 Invocation.mapVirtualFile(MappedFile.first, MappedFile.second);
  /external/llvm/utils/KillTheDoctor/
KillTheDoctor.cpp 201 MappedViewOfFileScopedHandle MappedFile(
204 if (!MappedFile)
208 MappedFile,

Completed in 3804 milliseconds