Searched defs:expected_ptr (Results 1 - 1 of 1) sorted by relevance

/art/runtime/
H A Dmem_map.cc208 // If the expected_ptr is null, nothing is checked beyond the fact
209 // that the actual_ptr is not MAP_FAILED. However, if expected_ptr is
210 // non-null, we check that pointer is the actual_ptr == expected_ptr,
213 static bool CheckMapRequest(uint8_t* expected_ptr, void* actual_ptr, size_t byte_count, argument
218 if (expected_ptr == nullptr) {
223 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr);
226 if (expected_ptr == actual_ptr) {
240 // - The kernel is not *required* to honor expected_ptr unless MAP_FIXED is
279 uint8_t* expected_ptr,
298 CHECK(expected_ptr !
278 MapAnonymous(const char* name, uint8_t* expected_ptr, size_t byte_count, int prot, bool low_4gb, bool reuse, std::string* error_msg, bool use_ashmem) argument
373 MapFileAtAddress(uint8_t* expected_ptr, size_t byte_count, int prot, int flags, int fd, off_t start, bool low_4gb, bool reuse, const char* filename, std::string* error_msg) argument
[all...]

Completed in 38 milliseconds