Searched refs:expected_ptr (Results 1 – 1 of 1) sorted by relevance
/art/runtime/ |
D | mem_map.cc | 198 static bool CheckMapRequest(uint8_t* expected_ptr, void* actual_ptr, size_t byte_count, in CheckMapRequest() argument 203 if (expected_ptr == nullptr) { in CheckMapRequest() 208 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr); in CheckMapRequest() 211 if (expected_ptr == actual_ptr) { in CheckMapRequest() 259 MemMap* MemMap::MapAnonymous(const char* name, uint8_t* expected_ptr, size_t byte_count, int prot, in MapAnonymous() argument 273 CHECK(expected_ptr != nullptr); in MapAnonymous() 275 DCHECK(ContainedWithinExistingMap(expected_ptr, byte_count, error_msg)) << *error_msg; in MapAnonymous() 314 (reinterpret_cast<uintptr_t>(expected_ptr) >> 32) != 0 || in MapAnonymous() 316 (reinterpret_cast<uintptr_t>(expected_ptr + page_aligned_byte_count) >> 32) != 0)) { in MapAnonymous() 318 expected_ptr, expected_ptr + page_aligned_byte_count); in MapAnonymous() [all …]
|