Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject_reference-inl.h33 bool HeapReference<MirrorType>::CasWeakRelaxed(MirrorType* expected_ptr, MirrorType* new_ptr) { in CasWeakRelaxed() argument
34 return reference_.CompareAndSetWeakRelaxed(Compression::Compress(expected_ptr), in CasWeakRelaxed()
/art/runtime/
Dmem_map.cc228 static bool CheckMapRequest(uint8_t* expected_ptr, void* actual_ptr, size_t byte_count, in CheckMapRequest() argument
233 if (expected_ptr == nullptr) { in CheckMapRequest()
238 uintptr_t expected = reinterpret_cast<uintptr_t>(expected_ptr); in CheckMapRequest()
241 if (expected_ptr == actual_ptr) { in CheckMapRequest()
294 uint8_t* expected_ptr, in MapAnonymous() argument
314 CHECK(expected_ptr != nullptr); in MapAnonymous()
316 DCHECK(ContainedWithinExistingMap(expected_ptr, byte_count, error_msg)) << *error_msg; in MapAnonymous()
358 void* actual = MapInternal(expected_ptr, in MapAnonymous()
375 expected_ptr, in MapAnonymous()
384 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) { in MapAnonymous()
[all …]