• Home
  • Raw
  • Download

Lines Matching refs:ptr

153 bool MemMap::ContainedWithinExistingMap(uint8_t* ptr, size_t size, std::string* error_msg) {  in ContainedWithinExistingMap()  argument
154 uintptr_t begin = reinterpret_cast<uintptr_t>(ptr); in ContainedWithinExistingMap()
258 void* MemMap::TryMemMapLow4GB(void* ptr, in TryMemMapLow4GB() argument
264 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB()
1074 for (uintptr_t ptr = next_mem_pos_; ptr < 4 * GB; ptr += kPageSize) { in MapInternalArtLow4GBAllocator() local
1077 auto it = gMaps->upper_bound(reinterpret_cast<void*>(ptr)); in MapInternalArtLow4GBAllocator()
1082 ptr = std::max(ptr, reinterpret_cast<uintptr_t>(before_it->second->BaseEnd())); in MapInternalArtLow4GBAllocator()
1083 CHECK_ALIGNED(ptr, kPageSize); in MapInternalArtLow4GBAllocator()
1087 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; in MapInternalArtLow4GBAllocator()
1093 ptr = reinterpret_cast<uintptr_t>(it->second->BaseEnd()); in MapInternalArtLow4GBAllocator()
1094 CHECK_ALIGNED(ptr, kPageSize); in MapInternalArtLow4GBAllocator()
1099 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1105 if (4U * GB - ptr < length) { in MapInternalArtLow4GBAllocator()
1109 ptr = LOW_MEM_START - kPageSize; in MapInternalArtLow4GBAllocator()
1122 for (tail_ptr = ptr; tail_ptr < ptr + length; tail_ptr += kPageSize) { in MapInternalArtLow4GBAllocator()
1134 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1140 ptr = tail_ptr; in MapInternalArtLow4GBAllocator()
1242 for (volatile uint8_t* ptr = begin; ptr < end; ptr += kPageSize) { in TryReadable() local
1244 uint8_t value = *ptr; in TryReadable()