Lines Matching refs:mach_error_string
388 mach_routine, mach_error_string(kr), in assert_mach_return()
389 mach_error_string(expected_kr)); in assert_mach_return()
1622 (uintmax_t)address, mach_error_string(kr), mach_error_string(KERN_NO_SPACE)); in test_reallocate_pages()
1624 logv("Returned expected error at each page: %s.", mach_error_string(KERN_NO_SPACE)); in test_reallocate_pages()
1641 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_allocate_in_null_map()
1676 bad_flag, mach_error_string(kr), mach_error_string(KERN_INVALID_ARGUMENT)); in test_allocate_with_kernel_flags()
1678 …logv("Returned expected error with each invalid flag: %s.", mach_error_string(KERN_INVALID_ARGUMEN… in test_allocate_with_kernel_flags()
1729 cur_protections[i], max_protections[j], inheritances[k], mach_error_string(kr), in test_mach_vm_map_protection_inheritance_error()
1730 mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1734 logv("Returned expected error in each case: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1756 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_mach_vm_map_large_mask_overflow_error()
1768 logv("Returned expected value: %s.", mach_error_string(expected_kr)); in allocate_edge_size()
1802 logv("Returned expected error: %s.", mach_error_string(KERN_FAILURE)); in test_allocate_invalid_large_size()
1832 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_at_zero()
1864 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_2MB_boundary_unaligned_page_aligned_address()
1893 logv("Returned expected error: %s.", mach_error_string(KERN_NO_SPACE)); in test_allocate_page_with_highest_address_hint()
1992 (uintmax_t)address, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr)); in test_deallocate_suicide()
2052 (uintmax_t)addresses[i], mach_error_string(kr)); in test_deallocate_zero_size_ranges()
2089 …_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr)); in test_deallocate_rounded_zero_end_ranges()
2121 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in test_deallocate_wrapped_around_ranges()
2122 mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2124 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2141 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_deallocate_in_null_map()
2188 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_read_null_map()
2208 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_partially_deallocated_range()
2233 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_read_partially_unreadable_range()
2264 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in read_edge_size()
2269 mach_error_string(expected_kr)); in read_edge_size()
2315 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in test_read_wrapped_around_ranges()
2316 mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2318 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2380 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_write_null_map()
2416 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_deallocated_buffer()
2441 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_unreadable_buffer()
2465 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_write_on_partially_deallocated_range()
2495 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_write_on_partially_unwritable_range()
2568 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_copy_null_map()
2598 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in copy_edge_size()
2603 mach_error_string(expected_kr)); in copy_edge_size()
2653 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in test_copy_wrapped_around_ranges()
2654 mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2656 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2740 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_partially_deallocated_range()
2766 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_partially_unreadable_range()
2792 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_partially_deallocated_region()
2821 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_partially_deallocated_region()
2847 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_source_partially_unreadable_region()
2877 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_dest_partially_unwriteable_region()
2906 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_on_partially_deallocated_range()
2930 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_on_partially_deallocated_range()
2960 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_dest_on_partially_unwritable_range()
2990 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_source_on_partially_unreadable_range()
3162 (uintmax_t)addresses[i], mach_error_string(kr)); in protect_zero_size()
3207 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in protect_wrapped_around_ranges()
3208 mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3210 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3272 (uintmax_t)src, (uintmax_t)dst, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr), in assert_vmcopy_success()
3273 mach_error_string(KERN_SUCCESS)); in assert_vmcopy_success()