Lines Matching refs:map

63 static std::map<std::string, int> debugStrMap GUARDED_BY(MemMap::GetMemMapsLock());
66 Maps::iterator GetGMapsEntry(const MemMap& map) REQUIRES(MemMap::GetMemMapsLock()) { in GetGMapsEntry() argument
67 DCHECK(map.IsValid()); in GetGMapsEntry()
69 for (auto it = gMaps->lower_bound(map.BaseBegin()), end = gMaps->end(); in GetGMapsEntry()
70 it != end && it->first == map.BaseBegin(); in GetGMapsEntry()
72 if (it->second == &map) { in GetGMapsEntry()
84 MemMap* map = it->second; in operator <<() local
85 CHECK_EQ(base, map->BaseBegin()); in operator <<()
86 os << *map << std::endl; in operator <<()
160 MemMap* const map = pair.second; in ContainedWithinExistingMap() local
161 if (begin >= reinterpret_cast<uintptr_t>(map->Begin()) && in ContainedWithinExistingMap()
162 end <= reinterpret_cast<uintptr_t>(map->End())) { in ContainedWithinExistingMap()
884 MemMap* map = &begin_map; in CheckNoGaps() local
885 while (map->BaseBegin() != end_map.BaseBegin()) { in CheckNoGaps()
886 MemMap* next_map = GetLargestMemMapAt(map->BaseEnd()); in CheckNoGaps()
891 map = next_map; in CheckNoGaps()
917 MemMap* map = it->second; in DumpMapsLocked() local
919 CHECK_EQ(base, map->BaseBegin()); in DumpMapsLocked()
926 size_t size = map->BaseSize(); in DumpMapsLocked()
928 void* end = map->BaseEnd(); in DumpMapsLocked()
930 it->second->GetProtect() == map->GetProtect() && in DumpMapsLocked()
931 it->second->GetName() == map->GetName() && in DumpMapsLocked()
956 os << " prot=0x" << std::hex << map->GetProtect() << " " << map->GetName() << "]" << std::endl; in DumpMapsLocked()
960 bool MemMap::HasMemMap(MemMap& map) { in HasMemMap() argument
961 void* base_begin = map.BaseBegin(); in HasMemMap()
964 if (it->second == &map) { in HasMemMap()
977 MemMap* map = it->second; in GetLargestMemMapAt() local
978 CHECK(map != nullptr); in GetLargestMemMapAt()
979 if (largest_size < map->BaseSize()) { in GetLargestMemMapAt()
980 largest_size = map->BaseSize(); in GetLargestMemMapAt()
981 largest_map = map; in GetLargestMemMapAt()