Searched defs:MappedFile (Results 1 - 11 of 11) sorted by relevance

/external/chromium/net/disk_cache/
H A Dmapped_file.h23 class MappedFile : public File { class in namespace:disk_cache
25 MappedFile() : File(true), init_(false) {} function in class:disk_cache::MappedFile
41 virtual ~MappedFile();
50 DISALLOW_COPY_AND_ASSIGN(MappedFile);
H A Dmapped_file_posix.cc16 void* MappedFile::Init(const FilePath& name, size_t size) {
35 bool MappedFile::Load(const FileBlock* block) {
40 bool MappedFile::Store(const FileBlock* block) {
45 MappedFile::~MappedFile() {
H A Dmapped_file_win.cc13 void* MappedFile::Init(const FilePath& name, size_t size) {
32 MappedFile::~MappedFile() {
45 bool MappedFile::Load(const FileBlock* block) {
50 bool MappedFile::Store(const FileBlock* block) {
/external/openfst/src/lib/
H A Dmapped-file.cc28 const int MappedFile::kArchAlignment = 16;
30 MappedFile::MappedFile(const MemoryRegion &region) : region_(region) { } function in class:fst::MappedFile
32 MappedFile::~MappedFile() {
45 MappedFile* MappedFile::Allocate(size_t size) {
50 return new MappedFile(region);
53 MappedFile* MappedFile
[all...]
/external/chromium_org/net/disk_cache/
H A Dmapped_file.cc14 void* MappedFile::Init(const base::FilePath& name, size_t size) {
39 MappedFile::~MappedFile() {
52 bool MappedFile::Load(const FileBlock* block) {
57 bool MappedFile::Store(const FileBlock* block) {
62 void MappedFile::Flush() {
H A Dmapped_file.h24 class NET_EXPORT_PRIVATE MappedFile : public File { class in namespace:disk_cache
26 MappedFile() : File(true), init_(false) {} function in class:disk_cache::MappedFile
45 virtual ~MappedFile();
57 DISALLOW_COPY_AND_ASSIGN(MappedFile);
63 explicit ScopedFlush(MappedFile* file) : file_(file) {}
68 MappedFile* file_;
H A Dmapped_file_avoid_mmap_posix.cc14 void* MappedFile::Init(const base::FilePath& name, size_t size) {
37 bool MappedFile::Load(const FileBlock* block) {
42 bool MappedFile::Store(const FileBlock* block) {
47 void MappedFile::Flush() {
62 MappedFile::~MappedFile() {
H A Dmapped_file_posix.cc16 void* MappedFile::Init(const base::FilePath& name, size_t size) {
41 bool MappedFile::Load(const FileBlock* block) {
46 bool MappedFile::Store(const FileBlock* block) {
51 void MappedFile::Flush() {
54 MappedFile::~MappedFile() {
H A Dmapped_file_win.cc14 void* MappedFile::Init(const base::FilePath& name, size_t size) {
39 MappedFile::~MappedFile() {
52 bool MappedFile::Load(const FileBlock* block) {
57 bool MappedFile::Store(const FileBlock* block) {
62 void MappedFile::Flush() {
/external/openfst/src/include/fst/
H A Dmapped-file.h44 class MappedFile { class in namespace:fst
46 virtual ~MappedFile();
56 // Returns a MappedFile object that contains the contents of the input
59 // or else mapping will fail. If mapping is not possible, then a MappedFile
61 static MappedFile* Map(istream* s, const FstReadOptions& opts, size_t size);
63 // Creates a MappedFile object with a new[]'ed block of memory of size.
65 static MappedFile* Allocate(size_t size);
67 // Creates a MappedFile object pointing to a borrowed reference to data.
68 // This block of memory is not owned by the MappedFile object and will not
71 static MappedFile* Borro
[all...]
/external/chromium_org/chrome/installer/test/
H A Dalternate_version_generator.cc150 class MappedFile { class in namespace:__anon6818
152 MappedFile() : size_(), mapping_(), view_() { } function in class:__anon6818::MappedFile
153 ~MappedFile();
161 DISALLOW_COPY_AND_ASSIGN(MappedFile);
162 }; // class MappedFile
164 MappedFile::~MappedFile() {
167 PLOG(DFATAL) << "MappedFile failed to unmap view.";
177 bool MappedFile::Initialize(base::PlatformFile file) {
377 MappedFile image_mappin
[all...]

Completed in 202 milliseconds