Searched refs:mapped_file (Results 1 – 12 of 12) sorted by relevance
/external/google-breakpad/src/common/linux/ |
D | memory_mapped_file_unittest.cc | 53 void ExpectNoMappedData(const MemoryMappedFile& mapped_file) { in ExpectNoMappedData() argument 54 EXPECT_TRUE(mapped_file.content().IsEmpty()); in ExpectNoMappedData() 55 EXPECT_TRUE(mapped_file.data() == NULL); in ExpectNoMappedData() 56 EXPECT_EQ(0U, mapped_file.size()); in ExpectNoMappedData() 63 MemoryMappedFile mapped_file; in TEST_F() local 64 ExpectNoMappedData(mapped_file); in TEST_F() 68 MemoryMappedFile mapped_file; in TEST_F() local 69 mapped_file.Unmap(); in TEST_F() 74 MemoryMappedFile mapped_file("nonexistent-file", 0); in TEST_F() local 75 ExpectNoMappedData(mapped_file); in TEST_F() [all …]
|
D | file_id.cc | 152 MemoryMappedFile mapped_file(path_.c_str(), 0); in ElfFileIdentifier() local 153 if (!mapped_file.data()) // Should probably check if size >= ElfW(Ehdr)? in ElfFileIdentifier() 156 return ElfFileIdentifierFromMappedFile(mapped_file.data(), identifier); in ElfFileIdentifier()
|
/external/libchrome/base/memory/ |
D | shared_memory_helper.cc | 62 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd, int* mapped_file, in PrepareMapFile() argument 64 DCHECK_EQ(-1, *mapped_file); in PrepareMapFile() 88 *mapped_file = HANDLE_EINTR(dup(fileno(fp.get()))); in PrepareMapFile() 89 if (*mapped_file == -1) { in PrepareMapFile()
|
D | shared_memory_helper.h | 27 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd, int* mapped_file,
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 129 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileIdentifierForMapping() local 130 if (!mapped_file.data() || mapped_file.size() < SELFMAG) in ElfFileIdentifierForMapping() 134 FileID::ElfFileIdentifierFromMappedFile(mapped_file.data(), identifier); in ElfFileIdentifierForMapping() 210 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileSoName() local 211 if (!mapped_file.data() || mapped_file.size() < SELFMAG) { in ElfFileSoName() 216 return ElfFileSoNameFromMappedFile(mapped_file.data(), soname, soname_size); in ElfFileSoName()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_memory_stats.cc | 78 new_mmap->mapped_file); in ReadFullStats() 84 new_mmap->mapped_file[0] = '\0'; in ReadFullStats()
|
D | process_memory_stats.h | 17 char mapped_file[128] = {}; member
|
D | atrace_process_dump.cc | 183 mm->start_addr, mm->end_addr, mm->mapped_file, mm->prot_flags, in SerializeSnapshot()
|
/external/libchrome/base/trace_event/ |
D | process_memory_maps.h | 36 std::string mapped_file; member
|
D | process_memory_maps.cc | 51 value->SetString("mf", region.mapped_file); in AsValueInto()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 1009 MemoryMappedFile mapped_file(argv[argi], 0); in main() local 1010 if (!mapped_file.data()) { in main() 1015 MinidumpMemoryRange dump(mapped_file.data(), mapped_file.size()); in main()
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 1278 std::unique_ptr<MemoryMappedFile> mapped_file(new MemoryMappedFile()); in CreateWithFile() local 1280 mapped_file->Initialize(File(file_path, in CreateWithFile() 1287 std::move(mapped_file), size, id, name, false), in CreateWithFile()
|