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()
1713 bad_flag, mach_error_string(kr), mach_error_string(KERN_INVALID_ARGUMENT)); in test_allocate_superpage_with_incompatible_flags()
1715 …logv("Returned expected error with each invalid flag: %s.", mach_error_string(KERN_INVALID_ARGUMEN… in test_allocate_superpage_with_incompatible_flags()
1766 cur_protections[i], max_protections[j], inheritances[k], mach_error_string(kr), in test_mach_vm_map_protection_inheritance_error()
1767 mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1771 logv("Returned expected error in each case: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_mach_vm_map_protection_inheritance_error()
1793 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_mach_vm_map_large_mask_overflow_error()
1805 logv("Returned expected value: %s.", mach_error_string(expected_kr)); in allocate_edge_size()
1839 logv("Returned expected error: %s.", mach_error_string(KERN_FAILURE)); in test_allocate_invalid_large_size()
1869 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_at_zero()
1901 logv("Returned expected value: %s.", mach_error_string(kr_expected)); in test_allocate_2MB_boundary_unaligned_page_aligned_address()
1930 logv("Returned expected error: %s.", mach_error_string(KERN_NO_SPACE)); in test_allocate_page_with_highest_address_hint()
2029 (uintmax_t)address, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr)); in test_deallocate_suicide()
2089 (uintmax_t)addresses[i], mach_error_string(kr)); in test_deallocate_zero_size_ranges()
2126 …_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()
2158 …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()
2159 mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2161 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in test_deallocate_wrapped_around_ranges()
2178 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_deallocate_in_null_map()
2225 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_read_null_map()
2245 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_partially_deallocated_range()
2270 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_read_partially_unreadable_range()
2301 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in read_edge_size()
2306 mach_error_string(expected_kr)); in read_edge_size()
2352 …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()
2353 mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2355 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_read_wrapped_around_ranges()
2417 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_write_null_map()
2453 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_deallocated_buffer()
2478 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_MEMORY)); in test_write_partially_unreadable_buffer()
2502 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_write_on_partially_deallocated_range()
2532 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_write_on_partially_unwritable_range()
2605 logv("Returned expected error: %s.", mach_error_string(MACH_SEND_INVALID_DEST)); in test_copy_null_map()
2635 (uintmax_t)addresses[i], mach_error_string(kr), mach_error_string(expected_kr)); in copy_edge_size()
2640 mach_error_string(expected_kr)); in copy_edge_size()
2690 …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()
2691 mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2693 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_wrapped_around_ranges()
2777 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_partially_deallocated_range()
2803 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_partially_unreadable_range()
2829 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_partially_deallocated_region()
2858 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_partially_deallocated_region()
2884 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_source_partially_unreadable_region()
2914 logv("Returned expected error: %s.", mach_error_string(kr)); in test_copy_dest_partially_unwriteable_region()
2943 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_source_on_partially_deallocated_range()
2967 logv("Returned expected error: %s.", mach_error_string(KERN_INVALID_ADDRESS)); in test_copy_dest_on_partially_deallocated_range()
2997 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_dest_on_partially_unwritable_range()
3027 logv("Returned expected error: %s.", mach_error_string(kr_expected)); in test_copy_source_on_partially_unreadable_range()
3199 (uintmax_t)addresses[i], mach_error_string(kr)); in protect_zero_size()
3244 …x_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_string(kr), in protect_wrapped_around_ranges()
3245 mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3247 logv("Returned expected error on each range: %s.", mach_error_string(KERN_INVALID_ARGUMENT)); in protect_wrapped_around_ranges()
3309 (uintmax_t)src, (uintmax_t)dst, (uintmax_t)size, (uintmax_t)size, mach_error_string(kr), in assert_vmcopy_success()
3310 mach_error_string(KERN_SUCCESS)); in assert_vmcopy_success()