| /xnu-11215/tests/vm/ |
| H A D | posix_spawnattr_set_jetsam_ttr.c | 159 char testpath[PATH_MAX]; variable 163 testpath_buf_size = sizeof(testpath); 164 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); 168 testpath, 176 ret = posix_spawn(NULL, testpath, NULL, &attrs, arguments, environ); 186 char testpath[PATH_MAX]; in posix_spawn_helper_and_wait_for_exit() local 190 testpath_buf_size = sizeof(testpath); in posix_spawn_helper_and_wait_for_exit() 191 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in posix_spawn_helper_and_wait_for_exit() 198 testpath, in posix_spawn_helper_and_wait_for_exit() 204 ret = posix_spawn(&child_pid, testpath, NULL, &attrs, arguments, environ); in posix_spawn_helper_and_wait_for_exit()
|
| H A D | vm_reclaim.c | 110 char testpath[PATH_MAX]; in spawn_helper() local 114 testpath_buf_size = sizeof(testpath); in spawn_helper() 117 T_LOG("Executable path: %s", testpath); in spawn_helper() 119 testpath, in spawn_helper() 382 char testpath[PATH_MAX]; in test_after_background_helper_launches() local 395 testpath_buf_size = sizeof(testpath); in test_after_background_helper_launches() 398 T_LOG("Executable path: %s", testpath); in test_after_background_helper_launches() 400 testpath, in test_after_background_helper_launches() 711 char testpath[PATH_MAX]; variable 718 testpath_buf_size = sizeof(testpath); [all …]
|
| H A D | entitlement_increased_memory_limit.c | 88 char testpath[PATH_MAX]; in spawn_child_with_memlimit() local 95 testpath_buf_size = sizeof(testpath); in spawn_child_with_memlimit() 96 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in spawn_child_with_memlimit() 98 T_LOG("Executable path: %s", testpath); in spawn_child_with_memlimit() 100 testpath, in spawn_child_with_memlimit() 111 ret = posix_spawn(&pid, testpath, NULL, &attr, args, *_NSGetEnviron()); in spawn_child_with_memlimit()
|
| H A D | app_swap.c | 179 char testpath[PATH_MAX]; variable 191 testpath_buf_size = sizeof(testpath); 192 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); 196 testpath, 201 child_pid = spawn_coalition_leader(testpath, args, resource_coalition_id, jetsam_coalition_id);
|
| H A D | memorystatus_sort_test.c | 208 char testpath[PATH_MAX]; in launch_proc_in_coalition() local 211 char *argv[5] = {testpath, "-n", "coalition_member", num_pages_str, NULL}; in launch_proc_in_coalition() 225 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in launch_proc_in_coalition()
|
| H A D | memorystatus_freeze_test.c | 334 char testpath[PATH_MAX]; local 352 testpath_buf_size = sizeof(testpath); 353 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); 355 T_LOG("Executable path: %s", testpath); 359 testpath,
|
| /xnu-11215/tests/ |
| H A D | test_utils.c | 40 char testpath[PATH_MAX]; in launch_background_helper() local 45 testpath_buf_size = sizeof(testpath); in launch_background_helper() 46 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in launch_background_helper() 48 testpath, in launch_background_helper()
|
| H A D | memorystatus_vm_map_fork.c | 62 static char testpath[PATH_MAX]; variable 63 static uint32_t testpath_size = sizeof(testpath); 390 ret = _NSGetExecutablePath(testpath, &testpath_size); in memorystatus_vm_map_fork_parent() 391 T_QUIET; T_ASSERT_POSIX_SUCCESS(ret, "_NSGetExecutablePath(%s, ...)", testpath); in memorystatus_vm_map_fork_parent() 396 child_pid = spawn_child_process(testpath, memlimit_str, flags, in memorystatus_vm_map_fork_parent()
|
| H A D | perf_compressor.c | 188 char testpath[PATH_MAX]; in run_compressor_test() local 238 testpath_buf_size = sizeof(testpath); in run_compressor_test() 239 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in run_compressor_test() 241 T_LOG("Executable path: %s", testpath); in run_compressor_test() 246 testpath, in run_compressor_test()
|
| H A D | task_suspend_stats.c | 174 char testpath[PATH_MAX]; in spawn_helper() local 179 testpath_buf_size = sizeof(testpath); in spawn_helper() 180 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in spawn_helper() 182 T_LOG("Executable path: %s", testpath); in spawn_helper() 184 testpath, in spawn_helper()
|
| H A D | memorystatus_zone_test.c | 87 static char testpath[PATH_MAX]; variable 588 launch_tool_args[0] = testpath; in spawn_child_process() 619 testpath_buf_size = sizeof(testpath); in run_test() 620 ret = _NSGetExecutablePath(testpath, &testpath_buf_size); in run_test() 622 T_LOG("Executable path: %s", testpath); in run_test()
|
| H A D | vm_set_max_addr_test.c | 17 extern char * testpath;
|