Home
last modified time | relevance | path

Searched refs:mapped_file (Results 1 – 12 of 12) sorted by relevance

/external/google-breakpad/src/common/linux/
Dmemory_mapped_file_unittest.cc53 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 …]
Dfile_id.cc152 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/
Dshared_memory_helper.cc62 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()
Dshared_memory_helper.h27 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd, int* mapped_file,
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc129 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/
Dprocess_memory_stats.cc78 new_mmap->mapped_file); in ReadFullStats()
84 new_mmap->mapped_file[0] = '\0'; in ReadFullStats()
Dprocess_memory_stats.h17 char mapped_file[128] = {}; member
Datrace_process_dump.cc183 mm->start_addr, mm->end_addr, mm->mapped_file, mm->prot_flags, in SerializeSnapshot()
/external/libchrome/base/trace_event/
Dprocess_memory_maps.h36 std::string mapped_file; member
Dprocess_memory_maps.cc51 value->SetString("mf", region.mapped_file); in AsValueInto()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc1009 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/
Dactivity_tracker.cc1278 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()