Lines Matching refs:it
69 for (auto it = gMaps->lower_bound(map.BaseBegin()), end = gMaps->end(); in GetGMapsEntry() local
70 it != end && it->first == map.BaseBegin(); in GetGMapsEntry()
71 ++it) { in GetGMapsEntry()
72 if (it->second == &map) { in GetGMapsEntry()
73 return it; in GetGMapsEntry()
82 for (auto it = mem_maps.begin(); it != mem_maps.end(); ++it) { in operator <<() local
83 void* base = it->first; in operator <<()
84 MemMap* map = it->second; in operator <<()
289 auto it = debugStrMap.find(debug_friendly_name); in SetDebugName() local
291 if (it == debugStrMap.end()) { in SetDebugName()
292 it = debugStrMap.insert(std::make_pair(std::move(debug_friendly_name), 1)).first; in SetDebugName()
295 DCHECK(it != debugStrMap.end()); in SetDebugName()
297 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, size, it->first.c_str()); in SetDebugName()
627 auto it = GetGMapsEntry(*this); in Invalidate() local
628 gMaps->erase(it); in Invalidate()
757 auto it = GetGMapsEntry(*this); in RemapAtEnd() local
758 gMaps->erase(it); in RemapAtEnd()
799 auto it = GetGMapsEntry(*this); in ReleaseReservedMemory() local
800 auto node = gMaps->extract(it); in ReleaseReservedMemory()
898 for (auto it = mem_maps.begin(), maps_end = mem_maps.end(); it != maps_end;) { in DumpMapsLocked() local
899 MemMap* map = it->second; in DumpMapsLocked()
900 void* base = it->first; in DumpMapsLocked()
903 ++it; in DumpMapsLocked()
911 while (it != maps_end && in DumpMapsLocked()
912 it->second->GetProtect() == map->GetProtect() && in DumpMapsLocked()
913 it->second->GetName() == map->GetName() && in DumpMapsLocked()
914 (it->second->BaseBegin() == end || num_gaps < kMaxGaps)) { in DumpMapsLocked()
915 if (it->second->BaseBegin() != end) { in DumpMapsLocked()
922 reinterpret_cast<uintptr_t>(it->second->BaseBegin()) - reinterpret_cast<uintptr_t>(end); in DumpMapsLocked()
928 CHECK_ALIGNED(it->second->BaseSize(), kPageSize); in DumpMapsLocked()
930 size += it->second->BaseSize(); in DumpMapsLocked()
931 end = it->second->BaseEnd(); in DumpMapsLocked()
932 ++it; in DumpMapsLocked()
944 for (auto it = gMaps->lower_bound(base_begin), end = gMaps->end(); in HasMemMap() local
945 it != end && it->first == base_begin; ++it) { in HasMemMap()
946 if (it->second == &map) { in HasMemMap()
957 for (auto it = gMaps->lower_bound(address), end = gMaps->end(); in GetLargestMemMapAt() local
958 it != end && it->first == address; ++it) { in GetLargestMemMapAt()
959 MemMap* map = it->second; in GetLargestMemMapAt()
1034 auto it = gMaps->upper_bound(reinterpret_cast<void*>(ptr)); in MapInternalArtLow4GBAllocator() local
1035 if (it != gMaps->begin()) { in MapInternalArtLow4GBAllocator()
1036 auto before_it = it; in MapInternalArtLow4GBAllocator()
1042 while (it != gMaps->end()) { in MapInternalArtLow4GBAllocator()
1044 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; in MapInternalArtLow4GBAllocator()
1050 ptr = reinterpret_cast<uintptr_t>(it->second->BaseEnd()); in MapInternalArtLow4GBAllocator()
1052 ++it; in MapInternalArtLow4GBAllocator()
1269 auto it = GetGMapsEntry(*this); in AlignBy() local
1270 auto node = gMaps->extract(it); in AlignBy()