Lines Matching full:actual
227 uintptr_t actual = reinterpret_cast<uintptr_t>(actual_ptr);
254 actual, expected);
270 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, offset);
271 if (actual != MAP_FAILED) {
274 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) {
275 munmap(actual, page_aligned_byte_count);
276 actual = MAP_FAILED;
279 return actual;
348 void* actual = MapInternal(expected_ptr,
357 if (actual == MAP_FAILED) {
374 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) {
377 return new MemMap(name, reinterpret_cast<uint8_t*>(actual), byte_count, actual,
437 uint8_t* actual = reinterpret_cast<uint8_t*>(MapInternal(page_aligned_expected,
444 if (actual == MAP_FAILED) {
460 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) {
464 const uint8_t *real_start = actual + page_offset;
465 const uint8_t *real_end = actual + page_offset + byte_count;
466 const uint8_t *mapping_end = actual + page_aligned_byte_count;
468 MEMORY_TOOL_MAKE_NOACCESS(actual, real_start - actual);
473 return new MemMap(filename, actual + page_offset, byte_count, actual, page_aligned_byte_count,
588 uint8_t* actual = reinterpret_cast<uint8_t*>(mmap(tail_base_begin,
594 if (actual == MAP_FAILED) {
601 return new MemMap(tail_name, actual, tail_size, actual, tail_base_size, tail_prot, false);
833 void* actual = MAP_FAILED;
865 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset);
866 if (actual != MAP_FAILED) {
867 next_mem_pos_ = reinterpret_cast<uintptr_t>(actual) + length;
868 return actual;
900 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset);
901 if (actual != MAP_FAILED) {
902 return actual;
910 if (actual == MAP_FAILED) {
915 actual = mmap(addr, length, prot, flags, fd, offset);
924 actual = mmap(addr, length, prot, flags, fd, offset);
926 return actual;