Searched defs:expected_ptr (Results 1 - 2 of 2) sorted by path
/art/runtime/ |
H A D | mem_map.cc | 223 // If the expected_ptr is null, nothing is checked beyond the fact 224 // that the actual_ptr is not MAP_FAILED. However, if expected_ptr is 225 // non-null, we check that pointer is the actual_ptr == expected_ptr, 228 static bool CheckMapRequest(uint8_t* expected_ptr, void* actual_ptr, size_t byte_count, argument 233 if (expected_ptr == nullptr) { 238 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr); 241 if (expected_ptr == actual_ptr) { 255 // - The kernel is not *required* to honor expected_ptr unless MAP_FIXED is 294 uint8_t* expected_ptr, 314 CHECK(expected_ptr ! 293 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 484 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...] |
/art/runtime/mirror/ |
H A D | object_reference-inl.h | 33 bool HeapReference<MirrorType>::CasWeakRelaxed(MirrorType* expected_ptr, MirrorType* new_ptr) { argument 34 return reference_.CompareAndSetWeakRelaxed(Compression::Compress(expected_ptr),
|
Completed in 45 milliseconds