Home
last modified time | relevance | path

Searched refs:MemoryMappedFile (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/base/files/
Dmemory_mapped_file.cc13 const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile(
16 MemoryMappedFile::Region::Region(base::LinkerInitialized) : offset(0), size(0) { in Region()
19 MemoryMappedFile::Region::Region(int64 offset, int64 size) in Region()
25 bool MemoryMappedFile::Region::operator==( in operator ==()
26 const MemoryMappedFile::Region& other) const { in operator ==()
30 MemoryMappedFile::~MemoryMappedFile() { in ~MemoryMappedFile()
34 bool MemoryMappedFile::Initialize(const FilePath& file_name) { in Initialize()
53 bool MemoryMappedFile::Initialize(File file) { in Initialize()
57 bool MemoryMappedFile::Initialize(File file, const Region& region) { in Initialize()
71 bool MemoryMappedFile::IsValid() const { in IsValid()
[all …]
Dmemory_mapped_file_unittest.cc60 MemoryMappedFile map; in TEST_F()
71 MemoryMappedFile map; in TEST_F()
82 MemoryMappedFile map; in TEST_F()
93 MemoryMappedFile map; in TEST_F()
96 map.Initialize(file.Pass(), MemoryMappedFile::Region::kWholeFile); in TEST_F()
107 MemoryMappedFile map; in TEST_F()
110 map.Initialize(file.Pass(), MemoryMappedFile::Region(0, kPartialSize)); in TEST_F()
122 MemoryMappedFile map; in TEST_F()
125 map.Initialize(file.Pass(), MemoryMappedFile::Region(kOffset, kPartialSize)); in TEST_F()
138 MemoryMappedFile map; in TEST_F()
[all …]
Dmemory_mapped_file_win.cc13 MemoryMappedFile::MemoryMappedFile() : data_(NULL), length_(0), image_(false) { in MemoryMappedFile() function in base::MemoryMappedFile
16 bool MemoryMappedFile::InitializeAsImageSection(const FilePath& file_name) { in InitializeAsImageSection()
21 bool MemoryMappedFile::MapFileRegionToMemory( in MapFileRegionToMemory()
22 const MemoryMappedFile::Region& region) { in MapFileRegionToMemory()
39 if (region == MemoryMappedFile::Region::kWholeFile) { in MapFileRegionToMemory()
80 void MemoryMappedFile::CloseHandles() { in CloseHandles()
Dmemory_mapped_file_posix.cc16 MemoryMappedFile::MemoryMappedFile() : data_(NULL), length_(0) { in MemoryMappedFile() function in base::MemoryMappedFile
19 bool MemoryMappedFile::MapFileRegionToMemory( in MapFileRegionToMemory()
20 const MemoryMappedFile::Region& region) { in MapFileRegionToMemory()
27 if (region == MemoryMappedFile::Region::kWholeFile) { in MapFileRegionToMemory()
78 void MemoryMappedFile::CloseHandles() { in CloseHandles()
Dmemory_mapped_file.h21 class BASE_EXPORT MemoryMappedFile {
24 MemoryMappedFile();
25 ~MemoryMappedFile();
102 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
/external/chromium_org/v8/src/base/platform/
Dplatform-solaris.cc86 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
100 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
113 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-macos.cc71 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
85 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
103 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-cygwin.cc62 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
76 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
89 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-freebsd.cc71 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
85 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
98 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-openbsd.cc69 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
83 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
96 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-qnx.cc120 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
134 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
152 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform-linux.cc145 class PosixMemoryMappedFile : public OS::MemoryMappedFile {
159 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
177 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, int size, in create()
Dplatform.h247 class MemoryMappedFile {
249 static MemoryMappedFile* open(const char* name);
250 static MemoryMappedFile* create(const char* name, int size, void* initial);
251 virtual ~MemoryMappedFile() { } in ~MemoryMappedFile()
/external/chromium_org/chrome/renderer/spellchecker/
Dhunspell_engine.h20 class MemoryMappedFile; variable
44 scoped_ptr<base::MemoryMappedFile> bdict_file_;
/external/chromium_org/ui/base/resource/
Ddata_pack.h43 const base::MemoryMappedFile::Region& region);
67 scoped_ptr<base::MemoryMappedFile> mmap_;
Ddata_pack.cc76 mmap_.reset(new base::MemoryMappedFile); in LoadFromPath()
89 base::MemoryMappedFile::Region::kWholeFile); in LoadFromFile()
94 const base::MemoryMappedFile::Region& region) { in LoadFromFileRegion()
95 mmap_.reset(new base::MemoryMappedFile); in LoadFromFileRegion()
Dresource_bundle.h144 const base::MemoryMappedFile::Region& region);
176 const base::MemoryMappedFile::Region& region,
/external/chromium_org/android_webview/browser/
Daw_browser_main_parts.cc69 base::File(pak_fd), base::MemoryMappedFile::Region(pak_off, pak_len)); in PreCreateThreads()
82 base::MemoryMappedFile::Region(pak_off, pak_len), in PreCreateThreads()
/external/chromium_org/components/translate/content/renderer/
Ddata_file_renderer_cld_data_provider.cc25 base::MemoryMappedFile* value;
101 g_cld_mmap.Get().value = new base::MemoryMappedFile(); in LoadCldData()
/external/chromium_org/base/i18n/
Dicu_util.cc68 CR_DEFINE_STATIC_LOCAL(base::MemoryMappedFile, mapped_file, ()); in InitializeICUWithFileDescriptor()
122 CR_DEFINE_STATIC_LOCAL(base::MemoryMappedFile, mapped_file, ()); in InitializeICU()
/external/chromium_org/base/test/
Dtest_file_util_mac.cc35 MemoryMappedFile mapped_file; in EvictFileFromSystemCache()
/external/chromium_org/courgette/third_party/
Dbsdiff_apply.cc178 base::MemoryMappedFile old_file; in ApplyBinaryPatch()
186 base::MemoryMappedFile patch_file; in ApplyBinaryPatch()
/external/chromium_org/media/filters/
Dfile_data_source.h40 base::MemoryMappedFile file_;
Dh264_parser_unittest.cc21 base::MemoryMappedFile stream; in TEST()
/external/chromium_org/chrome/installer/test/
Dresource_updater.cc42 base::MemoryMappedFile input; in Update()

123