Home
last modified time | relevance | path

Searched refs:mapped_file (Results 1 – 11 of 11) 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/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/libchrome/base/memory/
Dshared_memory_helper.cc71 int* mapped_file, in PrepareMapFile() argument
73 DCHECK_EQ(-1, *mapped_file); in PrepareMapFile()
97 *mapped_file = HANDLE_EINTR(dup(fd.get())); in PrepareMapFile()
98 if (*mapped_file == -1) { in PrepareMapFile()
Dshared_memory_posix.cc196 int mapped_file = -1; in Create() local
200 &mapped_file, &readonly_mapped_file); in Create()
201 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), options.size, in Create()
238 int mapped_file = -1; in Open() local
241 &mapped_file, &readonly_mapped_file); in Open()
252 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), 0u, in Open()
Dshared_memory_helper.h30 int* mapped_file,
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_memory_stats.cc80 new_mmap->mapped_file); in ReadFullStats()
86 new_mmap->mapped_file[0] = '\0'; in ReadFullStats()
Dprocess_memory_stats.h17 char mapped_file[128] = {}; member
Datrace_process_dump.cc188 mm->mapped_file, mm->prot_flags, in SerializeSnapshot()
/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
1279 bool success = mapped_file->Initialize( in CreateWithFile()
1285 if (!FilePersistentMemoryAllocator::IsFileAcceptable(*mapped_file, false)) in CreateWithFile()
1288 std::move(mapped_file), size, id, name, false), in CreateWithFile()