Home
last modified time | relevance | path

Searched refs:expected_ptr (Results 1 – 1 of 1) sorted by relevance

/art/runtime/
Dmem_map.cc194 static bool CheckMapRequest(byte* expected_ptr, void* actual_ptr, size_t byte_count, in CheckMapRequest() argument
199 if (expected_ptr == nullptr) { in CheckMapRequest()
204 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr); in CheckMapRequest()
207 if (expected_ptr == actual_ptr) { in CheckMapRequest()
239 MemMap* MemMap::MapAnonymous(const char* name, byte* expected_ptr, size_t byte_count, int prot, in MapAnonymous() argument
282 (reinterpret_cast<uintptr_t>(expected_ptr) >> 32) != 0 || in MapAnonymous()
284 (reinterpret_cast<uintptr_t>(expected_ptr + page_aligned_byte_count) >> 32) != 0)) { in MapAnonymous()
286 expected_ptr, expected_ptr + page_aligned_byte_count); in MapAnonymous()
298 if (low_4gb && expected_ptr == nullptr) { in MapAnonymous()
354 actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
[all …]