Searched refs:mapped_file (Results 1 – 11 of 11) 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/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/libchrome/base/memory/ |
D | shared_memory_helper.cc | 71 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()
|
D | shared_memory_posix.cc | 196 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()
|
D | shared_memory_helper.h | 30 int* mapped_file,
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_memory_stats.cc | 80 new_mmap->mapped_file); in ReadFullStats() 86 new_mmap->mapped_file[0] = '\0'; in ReadFullStats()
|
D | process_memory_stats.h | 17 char mapped_file[128] = {}; member
|
D | atrace_process_dump.cc | 188 mm->mapped_file, mm->prot_flags, in SerializeSnapshot()
|
/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 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()
|