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()
1614 (uintmax_t)address, mach_error_string(kr), mach_error_string(KERN_NO_SPACE)); in test_reallocate_pages()
1616 logv("Returned expected error at each page: %s.", mach_error_string(KERN_NO_SPACE)); in test_reallocate_pages()
1633 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_allocate_in_null_map()
1662 bad_flag, mach_error_string(kr), mach_error_string(KERN_INVALID_ARGUMENT)); in test_allocate_with_kernel_flags()
1664 …logv("Returned expected error with each kernel flag: %s.", mach_error_string(KERN_INVALID_ARGUMENT… in test_allocate_with_kernel_flags()
1712 cur_protections[i], max_protections[j], inheritances[k], mach_error_string(kr), in test_mach_vm_map_protection_inheritance_error()
1713 mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1717 logv("Returned expected error in each case: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1739 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_mach_vm_map_large_mask_overflow_error()
1751 logv("Returned expected value: %s.", mach_error_string(expected_kr)); in allocate_edge_size()
1785 logv("Returned expected error: %s.", mach_error_string(KERN_FAILURE)); in test_allocate_invalid_large_size()
1815 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_at_zero()
1847 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_2MB_boundary_unaligned_page_aligned_address()
1876 logv("Returned expected error: %s.", mach_error_string(KERN_NO_SPACE)); in test_allocate_page_with_highest_address_hint()
1975 (uintmax_t)address, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr)); in test_deallocate_suicide()
2035 (uintmax_t)addresses[i], mach_error_string(kr)); in test_deallocate_zero_size_ranges()
2072 …_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()
2104 …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()
2105 mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2107 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2124 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_deallocate_in_null_map()
2171 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_read_null_map()
2191 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_partially_deallocated_range()
2216 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_read_partially_unreadable_range()
2247 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in read_edge_size()
2252 mach_error_string(expected_kr)); in read_edge_size()
2298 …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()
2299 mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2301 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2363 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_write_null_map()
2399 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_deallocated_buffer()
2424 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_unreadable_buffer()
2448 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_write_on_partially_deallocated_range()
2478 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_write_on_partially_unwritable_range()
2551 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_copy_null_map()
2581 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in copy_edge_size()
2586 mach_error_string(expected_kr)); in copy_edge_size()
2636 …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()
2637 mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2639 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2723 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_partially_deallocated_range()
2749 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_partially_unreadable_range()
2775 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_partially_deallocated_region()
2804 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_partially_deallocated_region()
2830 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_source_partially_unreadable_region()
2860 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_dest_partially_unwriteable_region()
2889 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_on_partially_deallocated_range()
2913 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_on_partially_deallocated_range()
2943 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_dest_on_partially_unwritable_range()
2973 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_source_on_partially_unreadable_range()
3145 (uintmax_t)addresses[i], mach_error_string(kr)); in protect_zero_size()
3190 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in protect_wrapped_around_ranges()
3191 mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3193 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3255 (uintmax_t)src, (uintmax_t)dst, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr), in assert_vmcopy_success()
3256 mach_error_string(KERN_SUCCESS)); in assert_vmcopy_success()