Home
last modified time | relevance | path

Searched refs:mapped_file (Results 1 – 13 of 13) 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.cc158 MemoryMappedFile mapped_file(path_.c_str(), 0); in ElfFileIdentifier() local
159 if (!mapped_file.data()) // Should probably check if size >= ElfW(Ehdr)? in ElfFileIdentifier()
162 return ElfFileIdentifierFromMappedFile(mapped_file.data(), identifier); in ElfFileIdentifier()
/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.cc194 int mapped_file = -1; in Create() local
198 &mapped_file, &readonly_mapped_file); in Create()
199 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), options.size, in Create()
236 int mapped_file = -1; in Open() local
239 &mapped_file, &readonly_mapped_file); in Open()
250 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), 0u, in Open()
Dshared_memory_helper.h30 int* mapped_file,
/external/libchrome/components/policy/core/common/
Dpreg_parser.cc308 base::MemoryMappedFile mapped_file; in ReadFile() local
309 if (!mapped_file.Initialize(file_path) || !mapped_file.IsValid()) { in ReadFile()
316 mapped_file.data(), mapped_file.length(), root, dict, status, in ReadFile()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc344 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileIdentifierForMapping() local
345 if (!mapped_file.data() || mapped_file.size() < SELFMAG) in ElfFileIdentifierForMapping()
349 FileID::ElfFileIdentifierFromMappedFile(mapped_file.data(), identifier); in ElfFileIdentifierForMapping()
457 MemoryMappedFile mapped_file(filename, mapping.offset); in ElfFileSoName() local
458 if (!mapped_file.data() || mapped_file.size() < SELFMAG) { in ElfFileSoName()
463 return ElfFileSoNameFromMappedFile(mapped_file.data(), soname, soname_size); in ElfFileSoName()
/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/libabigail/tests/data/test-read-dwarf/
DPR22015-libboost_iostreams.so.abi1332 …s-decl name='mapped_file' size-in-bits='192' visibility='default' filepath='src/third_party/boost-…
1335 …-id-179' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='237'…
1338 …-id-108' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='225'…
1341 …-id-122' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='238'…
1344 …e-id-44' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='239'…
1347 …default' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='240'…
1350 …default' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/mapped_file.hpp' line='321'…
1353 …<function-decl name='mapped_file' filepath='src/third_party/boost-1.60.0/boost/iostreams/device/ma…
1359 …ame='mapped_file' mangled-name='_ZN5boost9iostreams11mapped_fileC2ERKS1_' filepath='src/third_part…
1366 …ame='mapped_file' mangled-name='_ZN5boost9iostreams11mapped_fileC2ERKS1_' filepath='src/third_part…
[all …]
/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()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc1208 MemoryMappedFile mapped_file(options.minidump_path.c_str(), 0); in main() local
1209 if (!mapped_file.data()) { in main()
1215 MinidumpMemoryRange dump(mapped_file.data(), mapped_file.size()); in main()