Lines Matching refs:error_msg
137 std::string* error_msg) { in ContainedWithinExistingMap() argument
140 *error_msg = StringPrintf("Failed to build process map"); in ContainedWithinExistingMap()
151 *error_msg = StringPrintf("Requested region 0x%08" PRIxPTR "-0x%08" PRIxPTR " does not overlap " in ContainedWithinExistingMap()
161 std::string* error_msg) { in CheckNonOverlapping() argument
164 *error_msg = StringPrintf("Failed to build process map"); in CheckNonOverlapping()
173 *error_msg = StringPrintf("Requested region 0x%08" PRIxPTR "-0x%08" PRIxPTR " overlaps with " in CheckNonOverlapping()
195 std::string* error_msg) { in CheckMapRequest() argument
235 *error_msg = os.str(); in CheckMapRequest()
240 bool low_4gb, std::string* error_msg) { in MapAnonymous() argument
267 *error_msg = StringPrintf("ashmem_create_region failed for '%s': %s", name, strerror(errno)); in MapAnonymous()
285 *error_msg = StringPrintf("The requested address space (%p, %p) cannot fit in low_4gb", in MapAnonymous()
373 *error_msg = StringPrintf("Failed anonymous mmap(%p, %zd, 0x%x, 0x%x, %d, 0): %s\n%s", in MapAnonymous()
379 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) { in MapAnonymous()
388 std::string* error_msg) { in MapFileAtAddress() argument
402 DCHECK(ContainedWithinExistingMap(expected, limit, error_msg)); in MapFileAtAddress()
435 *error_msg = StringPrintf("mmap(%p, %zd, 0x%x, 0x%x, %d, %" PRId64 in MapFileAtAddress()
443 if (!CheckMapRequest(expected_ptr, actual, page_aligned_byte_count, error_msg)) { in MapFileAtAddress()
497 std::string* error_msg) { in RemapAtEnd() argument
529 *error_msg = StringPrintf("ashmem_create_region failed for '%s': %s", in RemapAtEnd()
543 *error_msg = StringPrintf("munmap(%p, %zd) failed for '%s'\n%s", in RemapAtEnd()
557 *error_msg = StringPrintf("anonymous mmap(%p, %zd, 0x%x, 0x%x, %d, 0) failed\n%s", in RemapAtEnd()