Home
last modified time | relevance | path

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

12

/external/libchrome/base/files/
Dmemory_mapped_file.cc16 const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile = {0, 0};
18 bool MemoryMappedFile::Region::operator==( in operator ==()
19 const MemoryMappedFile::Region& other) const { in operator ==()
23 bool MemoryMappedFile::Region::operator!=( in operator !=()
24 const MemoryMappedFile::Region& other) const { in operator !=()
28 MemoryMappedFile::~MemoryMappedFile() { in ~MemoryMappedFile()
33 bool MemoryMappedFile::Initialize(const FilePath& file_name, Access access) { in Initialize()
64 bool MemoryMappedFile::Initialize(File file, Access access) { in Initialize()
69 bool MemoryMappedFile::Initialize(File file, in Initialize()
108 bool MemoryMappedFile::IsValid() const { in IsValid()
[all …]
Dmemory_mapped_file_posix.cc19 MemoryMappedFile::MemoryMappedFile() : data_(NULL), length_(0) { in MemoryMappedFile() function in base::MemoryMappedFile
23 bool MemoryMappedFile::MapFileRegionToMemory( in MapFileRegionToMemory()
24 const MemoryMappedFile::Region& region, in MapFileRegionToMemory()
32 if (region == MemoryMappedFile::Region::kWholeFile) { in MapFileRegionToMemory()
97 void MemoryMappedFile::CloseHandles() { in CloseHandles()
Dmemory_mapped_file.h24 class BASE_EXPORT MemoryMappedFile {
50 MemoryMappedFile();
51 ~MemoryMappedFile();
131 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
/external/google-breakpad/src/common/linux/
Dmemory_mapped_file.cc47 MemoryMappedFile::MemoryMappedFile() {} in MemoryMappedFile() function in google_breakpad::MemoryMappedFile
49 MemoryMappedFile::MemoryMappedFile(const char* path, size_t offset) { in MemoryMappedFile() function in google_breakpad::MemoryMappedFile
53 MemoryMappedFile::~MemoryMappedFile() { in ~MemoryMappedFile()
59 bool MemoryMappedFile::Map(const char* path, size_t offset) { in Map()
111 void MemoryMappedFile::Unmap() { in Map()
Dmemory_mapped_file_unittest.cc46 using google_breakpad::MemoryMappedFile;
53 void ExpectNoMappedData(const MemoryMappedFile& mapped_file) { in ExpectNoMappedData()
63 MemoryMappedFile mapped_file; in TEST_F()
68 MemoryMappedFile mapped_file; in TEST_F()
74 MemoryMappedFile mapped_file("nonexistent-file", 0); in TEST_F()
78 MemoryMappedFile mapped_file; in TEST_F()
90 MemoryMappedFile mapped_file(test_file.c_str(), 0); in TEST_F()
94 MemoryMappedFile mapped_file; in TEST_F()
112 MemoryMappedFile mapped_file(test_file.c_str(), 0); in TEST_F()
119 MemoryMappedFile mapped_file; in TEST_F()
[all …]
Dmemory_mapped_file.h45 class MemoryMappedFile {
47 MemoryMappedFile();
51 MemoryMappedFile(const char* path, size_t offset);
53 ~MemoryMappedFile();
82 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
Delf_core_dump_unittest.cc47 using google_breakpad::MemoryMappedFile;
69 MemoryMappedFile mapped_core_file; in TEST()
158 MemoryMappedFile mapped_core_file; in TEST()
Dfile_id.cc152 MemoryMappedFile mapped_file(path_.c_str(), 0); in ElfFileIdentifier()
/external/libchrome/base/posix/
Dglobal_descriptors.cc15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) { in Descriptor()
20 base::MemoryMappedFile::Region region) in Descriptor()
51 Set(key, fd, base::MemoryMappedFile::Region::kWholeFile); in Set()
56 base::MemoryMappedFile::Region region) { in Set()
68 base::MemoryMappedFile::Region GlobalDescriptors::GetRegion(Key key) const { in GetRegion()
74 return base::MemoryMappedFile::Region::kWholeFile; in GetRegion()
Dglobal_descriptors.h42 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region);
49 base::MemoryMappedFile::Region region;
78 base::MemoryMappedFile::Region GetRegion(Key key) const;
85 void Set(Key key, int fd, base::MemoryMappedFile::Region region);
/external/libmojo/base/android/
Dapk_assets.cc23 base::MemoryMappedFile::Region* region) { in OpenApkAsset()
42 base::MemoryMappedFile::Region region = in RegisterApkAssetWithGlobalDescriptors()
43 base::MemoryMappedFile::Region::kWholeFile; in RegisterApkAssetWithGlobalDescriptors()
Dapk_assets.h29 base::MemoryMappedFile::Region* region);
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc638 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST()
672 MemoryMappedFile::Region region = {0, 16 << 10}; // 16KiB maximum size. in TEST()
691 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST()
694 region, MemoryMappedFile::READ_WRITE_EXTEND); in TEST()
710 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST()
713 region, MemoryMappedFile::READ_WRITE_EXTEND); in TEST()
733 std::unique_ptr<MemoryMappedFile> mmfile; in TEST()
752 const MemoryMappedFile::Access map_access = in TEST()
753 read_only ? MemoryMappedFile::READ_ONLY : MemoryMappedFile::READ_WRITE; in TEST()
755 mmfile.reset(new MemoryMappedFile()); in TEST()
[all …]
Dpersistent_memory_allocator.h23 class MemoryMappedFile; variable
407 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file,
418 static bool IsFileAcceptable(const MemoryMappedFile& file, bool read_only);
421 std::unique_ptr<MemoryMappedFile> mapped_file_;
Dpersistent_histogram_allocator.cc699 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in CreateWithFile()
701 mmfile->Initialize(std::move(file), MemoryMappedFile::READ_WRITE); in CreateWithFile()
704 MemoryMappedFile::READ_WRITE_EXTEND); in CreateWithFile()
Dpersistent_memory_allocator.cc807 std::unique_ptr<MemoryMappedFile> file, in FilePersistentMemoryAllocator()
824 const MemoryMappedFile& file, in IsFileAcceptable()
/external/v8/src/base/platform/
Dplatform.h223 class V8_BASE_EXPORT MemoryMappedFile {
225 virtual ~MemoryMappedFile() {} in ~MemoryMappedFile()
229 static MemoryMappedFile* open(const char* name);
230 static MemoryMappedFile* create(const char* name, size_t size,
Dplatform-posix.cc284 class PosixMemoryMappedFile final : public OS::MemoryMappedFile {
300 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
320 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, in create()
Dplatform-win32.cc861 class Win32MemoryMappedFile final : public OS::MemoryMappedFile {
882 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open()
902 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, in create()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper.h112 MemoryMappedFile mapped_core_file_;
Dlinux_dumper.cc129 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileIdentifierForMapping()
210 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileSoName()
/external/v8/src/
Dd8.h460 static base::OS::MemoryMappedFile* counters_file_;
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc87 using google_breakpad::MemoryMappedFile;
1009 MemoryMappedFile mapped_file(argv[argi], 0); in main()
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/
Dnull_read_av.sym5312 FUNC eca0 10 0 google_breakpad::MemoryMappedFile::MemoryMappedFile()
5314 FUNC ecb0 56 0 google_breakpad::MemoryMappedFile::Unmap()
5322 FUNC ed10 193 0 google_breakpad::MemoryMappedFile::Map(char const*)
5351 FUNC eeb0 14 0 google_breakpad::MemoryMappedFile::MemoryMappedFile(char const*)
5354 FUNC eed0 5 0 google_breakpad::MemoryMappedFile::~MemoryMappedFile()
/external/google-breakpad/src/processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/
Doverflow.sym5382 FUNC f200 10 0 google_breakpad::MemoryMappedFile::MemoryMappedFile()
5384 FUNC f210 56 0 google_breakpad::MemoryMappedFile::Unmap()
5392 FUNC f270 193 0 google_breakpad::MemoryMappedFile::Map(char const*)
5421 FUNC f410 14 0 google_breakpad::MemoryMappedFile::MemoryMappedFile(char const*)
5424 FUNC f430 5 0 google_breakpad::MemoryMappedFile::~MemoryMappedFile()

12