Lines Matching refs:actual

194   uintptr_t actual = reinterpret_cast<uintptr_t>(actual_ptr);  in CheckMapRequest()  local
224 actual, expected); in CheckMapRequest()
264 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB() local
265 if (actual != MAP_FAILED) { in TryMemMapLow4GB()
268 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) { in TryMemMapLow4GB()
269 TargetMUnmap(actual, page_aligned_byte_count); in TryMemMapLow4GB()
270 actual = MAP_FAILED; in TryMemMapLow4GB()
273 return actual; in TryMemMapLow4GB()
344 void* actual = MapInternal(addr, in MapAnonymous() local
353 if (actual == MAP_FAILED) { in MapAnonymous()
370 if (!CheckMapRequest(addr, actual, page_aligned_byte_count, error_msg)) { in MapAnonymous()
375 SetDebugName(actual, name, page_aligned_byte_count); in MapAnonymous()
380 DCHECK_EQ(actual, reservation->Begin()); in MapAnonymous()
384 reinterpret_cast<uint8_t*>(actual), in MapAnonymous()
386 actual, in MapAnonymous()
538 uint8_t* actual = reinterpret_cast<uint8_t*>(MapInternal(page_aligned_expected, in MapFileAtAddress() local
545 if (actual == MAP_FAILED) { in MapFileAtAddress()
561 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) { in MapFileAtAddress()
565 const uint8_t *real_start = actual + page_offset; in MapFileAtAddress()
566 const uint8_t *real_end = actual + page_offset + byte_count; in MapFileAtAddress()
567 const uint8_t *mapping_end = actual + page_aligned_byte_count; in MapFileAtAddress()
569 MEMORY_TOOL_MAKE_NOACCESS(actual, real_start - actual); in MapFileAtAddress()
576 DCHECK_EQ(actual, reservation->Begin()); in MapFileAtAddress()
580 actual + page_offset, in MapFileAtAddress()
582 actual, in MapFileAtAddress()
750 uint8_t* actual = reinterpret_cast<uint8_t*>(TargetMMap(tail_base_begin, in RemapAtEnd() local
756 if (actual == MAP_FAILED) { in RemapAtEnd()
771 SetDebugName(actual, tail_name, tail_base_size); in RemapAtEnd()
777 return MemMap(tail_name, actual, tail_size, actual, tail_base_size, tail_prot, false); in RemapAtEnd()
1044 void* actual = MAP_FAILED; in MapInternalArtLow4GBAllocator() local
1074 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1075 if (actual != MAP_FAILED) { in MapInternalArtLow4GBAllocator()
1076 next_mem_pos_ = reinterpret_cast<uintptr_t>(actual) + length; in MapInternalArtLow4GBAllocator()
1077 return actual; in MapInternalArtLow4GBAllocator()
1109 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1110 if (actual != MAP_FAILED) { in MapInternalArtLow4GBAllocator()
1111 return actual; in MapInternalArtLow4GBAllocator()
1119 if (actual == MAP_FAILED) { in MapInternalArtLow4GBAllocator()
1123 return actual; in MapInternalArtLow4GBAllocator()
1158 void* actual = MAP_FAILED; in MapInternal() local
1169 actual = MapInternalArtLow4GBAllocator(length, prot_non_exec, flags, fd, offset); in MapInternal()
1171 if (actual == MAP_FAILED) { in MapInternal()
1177 if (mprotect(actual, length, orig_prot) != 0) { in MapInternal()
1179 TargetMUnmap(actual, length); in MapInternal()
1184 return actual; in MapInternal()
1187 actual = TargetMMap(addr, length, prot, flags, fd, offset); in MapInternal()
1194 actual = TargetMMap(addr, length, prot, flags, fd, offset); in MapInternal()
1196 return actual; in MapInternal()