/external/libchrome/base/files/ |
D | memory_mapped_file.cc | 17 const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile = {0, 0}; 19 bool MemoryMappedFile::Region::operator==( in operator ==() 20 const MemoryMappedFile::Region& other) const { in operator ==() 24 bool MemoryMappedFile::Region::operator!=( in operator !=() 25 const MemoryMappedFile::Region& other) const { in operator !=() 29 MemoryMappedFile::~MemoryMappedFile() { in ~MemoryMappedFile() 34 bool MemoryMappedFile::Initialize(const FilePath& file_name, Access access) { in Initialize() 65 bool MemoryMappedFile::Initialize(File file, Access access) { in Initialize() 70 bool MemoryMappedFile::Initialize(File file, in Initialize() 111 bool MemoryMappedFile::IsValid() const { in IsValid() [all …]
|
D | memory_mapped_file_posix.cc | 25 MemoryMappedFile::MemoryMappedFile() : data_(nullptr), length_(0) {} in MemoryMappedFile() function in base::MemoryMappedFile 28 bool MemoryMappedFile::MapFileRegionToMemory( in MapFileRegionToMemory() 29 const MemoryMappedFile::Region& region, in MapFileRegionToMemory() 37 if (region == MemoryMappedFile::Region::kWholeFile) { in MapFileRegionToMemory() 174 void MemoryMappedFile::CloseHandles() { in CloseHandles()
|
D | memory_mapped_file.h | 24 class BASE_EXPORT MemoryMappedFile { 50 MemoryMappedFile(); 51 ~MemoryMappedFile(); 131 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
|
/external/google-breakpad/src/common/linux/ |
D | memory_mapped_file_unittest.cc | 46 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 …]
|
D | memory_mapped_file.cc | 47 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()
|
D | memory_mapped_file.h | 45 class MemoryMappedFile { 47 MemoryMappedFile(); 51 MemoryMappedFile(const char* path, size_t offset); 53 ~MemoryMappedFile(); 82 DISALLOW_COPY_AND_ASSIGN(MemoryMappedFile);
|
D | elf_core_dump_unittest.cc | 47 using google_breakpad::MemoryMappedFile; 69 MemoryMappedFile mapped_core_file; in TEST() 158 MemoryMappedFile mapped_core_file; in TEST()
|
D | file_id.cc | 152 MemoryMappedFile mapped_file(path_.c_str(), 0); in ElfFileIdentifier()
|
/external/libchrome/base/posix/ |
D | global_descriptors.cc | 15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) { in Descriptor() 20 base::MemoryMappedFile::Region region) in Descriptor() 52 base::MemoryMappedFile::Region* region) { in TakeFD() 67 Set(key, fd, base::MemoryMappedFile::Region::kWholeFile); in Set() 72 base::MemoryMappedFile::Region region) { in Set() 84 base::MemoryMappedFile::Region GlobalDescriptors::GetRegion(Key key) const { in GetRegion() 90 return base::MemoryMappedFile::Region::kWholeFile; in GetRegion()
|
D | global_descriptors.h | 47 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region); 54 base::MemoryMappedFile::Region region; 74 base::ScopedFD TakeFD(Key key, base::MemoryMappedFile::Region* region); 77 base::MemoryMappedFile::Region GetRegion(Key key) const; 84 void Set(Key key, int fd, base::MemoryMappedFile::Region region);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMemoryMappedFile.java | 12 import libcore.io.MemoryMappedFile; 23 @Implements(value = MemoryMappedFile.class, isInAndroidSdk = false) 31 public static MemoryMappedFile mmapRO(String path) throws Throwable { in mmapRO() 33 InputStream is = MemoryMappedFile.class.getResourceAsStream(TZ_DATA_2); in mmapRO() 39 MemoryMappedFile memoryMappedFile = new MemoryMappedFile(0L, 0L); in mmapRO() 57 … return MemoryMappedFile.class.getClassLoader().loadClass("libcore.io.ErrnoException"); in exceptionClass()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 749 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST() 788 MemoryMappedFile::Region region = {0, 16 << 10}; // 16KiB maximum size. in TEST() 807 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST() 810 region, MemoryMappedFile::READ_WRITE_EXTEND); in TEST() 826 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in TEST() 829 region, MemoryMappedFile::READ_WRITE_EXTEND); in TEST() 849 std::unique_ptr<MemoryMappedFile> mmfile; in TEST() 868 const MemoryMappedFile::Access map_access = in TEST() 869 read_only ? MemoryMappedFile::READ_ONLY : MemoryMappedFile::READ_WRITE; in TEST() 871 mmfile.reset(new MemoryMappedFile()); in TEST() [all …]
|
D | persistent_memory_allocator.h | 24 class MemoryMappedFile; variable 749 FilePersistentMemoryAllocator(std::unique_ptr<MemoryMappedFile> file, 760 static bool IsFileAcceptable(const MemoryMappedFile& file, bool read_only); 767 std::unique_ptr<MemoryMappedFile> mapped_file_;
|
D | persistent_histogram_allocator.cc | 689 std::unique_ptr<MemoryMappedFile> mmfile(new MemoryMappedFile()); in CreateWithFile() 692 mmfile->Initialize(std::move(file), MemoryMappedFile::READ_WRITE); in CreateWithFile() 695 MemoryMappedFile::READ_WRITE_EXTEND); in CreateWithFile() 846 MemoryMappedFile mmfile; in CreateSpareFile() 848 MemoryMappedFile::READ_WRITE_EXTEND); in CreateSpareFile()
|
D | persistent_memory_allocator.cc | 1046 std::unique_ptr<MemoryMappedFile> file, in FilePersistentMemoryAllocator() 1064 const MemoryMappedFile& file, in IsFileAcceptable()
|
/external/v8/src/base/platform/ |
D | platform.h | 189 class V8_BASE_EXPORT MemoryMappedFile { 191 virtual ~MemoryMappedFile() {} in ~MemoryMappedFile() 195 static MemoryMappedFile* open(const char* name); 196 static MemoryMappedFile* create(const char* name, size_t size, 253 friend class MemoryMappedFile;
|
D | platform-posix.cc | 429 class PosixMemoryMappedFile final : public OS::MemoryMappedFile { 445 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open() 465 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, in create()
|
D | platform-win32.cc | 922 class Win32MemoryMappedFile final : public OS::MemoryMappedFile { 943 OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { in open() 964 OS::MemoryMappedFile* OS::MemoryMappedFile::create(const char* name, in create()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_core_dumper.h | 112 MemoryMappedFile mapped_core_file_;
|
D | linux_dumper.cc | 129 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileIdentifierForMapping() 210 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileSoName()
|
/external/libchrome/base/debug/ |
D | elf_reader_linux_unittest.cc | 57 MemoryMappedFile file; in TEST()
|
D | activity_tracker.cc | 1278 std::unique_ptr<MemoryMappedFile> mapped_file(new MemoryMappedFile()); in CreateWithFile() 1282 {0, size}, MemoryMappedFile::READ_WRITE_EXTEND); in CreateWithFile()
|
/external/v8/src/ |
D | d8.h | 549 static base::OS::MemoryMappedFile* counters_file_;
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 87 using google_breakpad::MemoryMappedFile; 1009 MemoryMappedFile mapped_file(argv[argi], 0); in main()
|
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/ |
D | null_read_av.sym | 5312 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()
|