Home
last modified time | relevance | path

Searched refs:testpath (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/tests/vm/
H A Dposix_spawnattr_set_jetsam_ttr.c159 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 Dvm_reclaim.c110 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 Dentitlement_increased_memory_limit.c88 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 Dapp_swap.c179 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 Dmemorystatus_sort_test.c208 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 Dmemorystatus_freeze_test.c334 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 Dtest_utils.c40 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 Dmemorystatus_vm_map_fork.c62 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 Dperf_compressor.c188 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 Dtask_suspend_stats.c174 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 Dmemorystatus_zone_test.c87 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 Dvm_set_max_addr_test.c17 extern char * testpath;