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 <<()
163 MemMap* const map = pair.second; in ContainedWithinExistingMap() local
164 if (begin >= reinterpret_cast<uintptr_t>(map->Begin()) && in ContainedWithinExistingMap()
165 end <= reinterpret_cast<uintptr_t>(map->End())) { in ContainedWithinExistingMap()
906 MemMap* map = &begin_map; in CheckNoGaps() local
907 while (map->BaseBegin() != end_map.BaseBegin()) { in CheckNoGaps()
908 MemMap* next_map = GetLargestMemMapAt(map->BaseEnd()); in CheckNoGaps()
913 map = next_map; in CheckNoGaps()
939 MemMap* map = it->second; in DumpMapsLocked() local
941 CHECK_EQ(base, map->BaseBegin()); in DumpMapsLocked()
948 size_t size = map->BaseSize(); in DumpMapsLocked()
950 void* end = map->BaseEnd(); in DumpMapsLocked()
952 it->second->GetProtect() == map->GetProtect() && in DumpMapsLocked()
953 it->second->GetName() == map->GetName() && in DumpMapsLocked()
978 os << " prot=0x" << std::hex << map->GetProtect() << " " << map->GetName() << "]" << std::endl; in DumpMapsLocked()
982 bool MemMap::HasMemMap(MemMap& map) { in HasMemMap() argument
983 void* base_begin = map.BaseBegin(); in HasMemMap()
986 if (it->second == &map) { in HasMemMap()
999 MemMap* map = it->second; in GetLargestMemMapAt() local
1000 CHECK(map != nullptr); in GetLargestMemMapAt()
1001 if (largest_size < map->BaseSize()) { in GetLargestMemMapAt()
1002 largest_size = map->BaseSize(); in GetLargestMemMapAt()
1003 largest_map = map; in GetLargestMemMapAt()