Home
last modified time | relevance | path

Searched refs:MappedMemoryRegion (Results 1 – 7 of 7) sorted by relevance

/external/libmojo/base/android/library_loader/
Dlibrary_prefetcher_unittest.cc20 const uint8_t kRead = base::debug::MappedMemoryRegion::READ;
21 const uint8_t kReadPrivate = base::debug::MappedMemoryRegion::READ |
22 base::debug::MappedMemoryRegion::PRIVATE;
23 const uint8_t kExecutePrivate = base::debug::MappedMemoryRegion::EXECUTE |
24 base::debug::MappedMemoryRegion::PRIVATE;
29 const base::debug::MappedMemoryRegion regions[4] = { in TEST()
30 base::debug::MappedMemoryRegion{0x4000, 0x5000, 10, kReadPrivate, ""}, in TEST()
31 base::debug::MappedMemoryRegion{0x4000, 0x5000, 10, kReadPrivate, "foo"}, in TEST()
32 base::debug::MappedMemoryRegion{ in TEST()
34 base::debug::MappedMemoryRegion{ in TEST()
[all …]
Dlibrary_prefetcher.cc35 bool IsReadableAndPrivate(const base::debug::MappedMemoryRegion& region) { in IsReadableAndPrivate()
36 return region.permissions & base::debug::MappedMemoryRegion::READ && in IsReadableAndPrivate()
37 region.permissions & base::debug::MappedMemoryRegion::PRIVATE; in IsReadableAndPrivate()
77 const base::debug::MappedMemoryRegion& region) { in IsGoodToPrefetch()
84 const std::vector<base::debug::MappedMemoryRegion>& regions, in FilterLibchromeRangesOnlyIfPossible()
87 for (const base::debug::MappedMemoryRegion& region : regions) { in FilterLibchromeRangesOnlyIfPossible()
93 for (const base::debug::MappedMemoryRegion& region : regions) { in FilterLibchromeRangesOnlyIfPossible()
107 std::vector<base::debug::MappedMemoryRegion> regions; in FindRanges()
111 std::vector<base::debug::MappedMemoryRegion> regions_to_prefetch; in FindRanges()
Dlibrary_prefetcher.h41 static bool IsGoodToPrefetch(const base::debug::MappedMemoryRegion& region);
44 const std::vector<base::debug::MappedMemoryRegion>& regions,
/external/libmojo/base/debug/
Dproc_maps_linux.cc95 std::vector<MappedMemoryRegion>* regions_out) { in ParseProcMaps()
97 std::vector<MappedMemoryRegion> regions; in ParseProcMaps()
114 MappedMemoryRegion region; in ParseProcMaps()
140 region.permissions |= MappedMemoryRegion::READ; in ParseProcMaps()
145 region.permissions |= MappedMemoryRegion::WRITE; in ParseProcMaps()
150 region.permissions |= MappedMemoryRegion::EXECUTE; in ParseProcMaps()
155 region.permissions |= MappedMemoryRegion::PRIVATE; in ParseProcMaps()
Dstack_trace_android.cc86 std::vector<MappedMemoryRegion> regions; in OutputToStream()
106 std::vector<MappedMemoryRegion>::iterator iter = regions.begin(); in OutputToStream()
/external/libchrome/base/debug/
Dstack_trace_posix.cc547 std::vector<MappedMemoryRegion>::const_iterator it; in OpenObjectFileContainingPc()
551 const MappedMemoryRegion& region = *it; in OpenObjectFileContainingPc()
606 std::vector<MappedMemoryRegion>::const_iterator it; in OpenSymbolFiles()
608 const MappedMemoryRegion& region = *it; in OpenSymbolFiles()
610 if ((region.permissions & MappedMemoryRegion::READ) == in OpenSymbolFiles()
611 MappedMemoryRegion::READ && in OpenSymbolFiles()
612 (region.permissions & MappedMemoryRegion::WRITE) == 0 && in OpenSymbolFiles()
613 (region.permissions & MappedMemoryRegion::EXECUTE) == in OpenSymbolFiles()
614 MappedMemoryRegion::EXECUTE) { in OpenSymbolFiles()
680 std::vector<MappedMemoryRegion> regions_;
Dproc_maps_linux.h19 struct MappedMemoryRegion { struct
86 std::vector<MappedMemoryRegion>* regions);