Home
last modified time | relevance | path

Searched refs:mapped_file (Results 1 – 10 of 10) 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/trace_event/
Dprocess_memory_maps_dump_provider.cc32 char mapped_file[kMaxLineSize]; in ParseSmapsHeader() local
36 mapped_file) != 4) in ParseSmapsHeader()
61 region->mapped_file = mapped_file; in ParseSmapsHeader()
62 TrimWhitespaceASCII(region->mapped_file, TRIM_ALL, &region->mapped_file); in ParseSmapsHeader()
Dprocess_memory_maps_dump_provider_unittest.cc149 EXPECT_EQ("/file/1", regions_1[0].mapped_file); in TEST()
160 EXPECT_EQ("/file/name with space", regions_1[1].mapped_file); in TEST()
180 EXPECT_EQ("", regions_2[0].mapped_file); in TEST()
Dprocess_memory_maps.h34 std::string mapped_file; member
Dprocess_memory_maps.cc48 value->SetString("mf", region.mapped_file); in AsValueInto()
/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/telemetry/telemetry/timeline/
Dmemory_dump_event.py35 def Match(self, mapped_file): argument
38 or bool(self._file_pattern.search(mapped_file)))
40 def GetMatchingChild(self, mapped_file): argument
49 if child.Match(mapped_file):
223 mapped_file = vm_region['mf']
224 category = category.GetMatchingChild(mapped_file)
Dmemory_dump_event_unittest.py14 def vm_region(mapped_file, byte_stats): argument
16 'mf': mapped_file,
31 'vm_regions': [vm_region(mapped_file, byte_stats)
32 for mapped_file, byte_stats in mmaps.iteritems()]}
/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()