| /xnu-11215/tests/vfs/ |
| H A D | getattrlist_mountextflags.c | 50 static char image_path[PATH_MAX]; 51 static char mount_path[PATH_MAX]; 52 static char disk[PATH_MAX]; 99 strlcpy(path, mntbuf[i].f_mntonname, PATH_MAX); in get_mount_path() 115 int output_len = PATH_MAX; in do_exec() 144 char args[PATH_MAX]; in cleanup() 211 char args[PATH_MAX]; 219 output_buffer = malloc(PATH_MAX); 237 strlcpy(disk, diskp, PATH_MAX);
|
| /xnu-11215/tests/vm/ |
| H A D | perf_mlock.c | 63 char tmpf[PATH_MAX] = ""; 75 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 76 strlcat(tmpf, "/mlock_external.txt", PATH_MAX); 77 T_QUIET; T_ASSERT_LT(strlen(tmpf), (unsigned long)PATH_MAX,
|
| H A D | vm_direct_write_cow.c | 49 char tmpf[PATH_MAX] = ""; 57 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 58 strlcat(tmpf, "/cow_direct_write.txt", PATH_MAX);
|
| H A D | posix_spawnattr_set_jetsam_ttr.c | 159 char testpath[PATH_MAX]; 186 char testpath[PATH_MAX]; in posix_spawn_helper_and_wait_for_exit()
|
| H A D | memorystatus_sort_test.c | 208 char testpath[PATH_MAX]; in launch_proc_in_coalition() 209 uint32_t testpath_buf_size = PATH_MAX; in launch_proc_in_coalition()
|
| H A D | vm_reclaim.c | 110 char testpath[PATH_MAX]; in spawn_helper() 382 char testpath[PATH_MAX]; in test_after_background_helper_launches() 711 char testpath[PATH_MAX];
|
| /xnu-11215/tests/ |
| H A D | xnu_quick_test_helpers.c | 19 T_ASSERT_LT( strlen( the_targetp ), (unsigned long)(PATH_MAX - 1), in create_target_directory() 28 T_ASSERT_LT( strlen( &my_name[0] ) + strlen( the_targetp ) + 2, (unsigned long)PATH_MAX, in create_target_directory() 76 T_ASSERT_LT_ULONG((strlen( &my_name[0] ) + strlen( the_pathp ) + 2), (unsigned long)PATH_MAX, in create_random_name()
|
| H A D | xnu_quick_test.c | 19 char g_target_path[PATH_MAX]; 34 PATH_MAX, VM_FLAGS_ANYWHERE); 56 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
|
| H A D | posix_spawn_filtering.c | 22 static char tmp_path_filter_rules[PATH_MAX] = ""; 23 static char tmp_path_env_output[PATH_MAX] = ""; 74 char rules_path_env[PATH_MAX + 100] = {0};
|
| H A D | posix_spawn_file_actions.c | 67 char longpath[PATH_MAX + 1]; 71 memset(longpath, 'a', PATH_MAX); 72 longpath[PATH_MAX] = '\0';
|
| H A D | spawn_exec_failure.c | 21 char cmd[PATH_MAX]; in __run_cmd() 49 char filename[PATH_MAX]; in invalid_code_signature_helper()
|
| H A D | xnu_quick_test_helpers.h | 10 extern char g_target_path[PATH_MAX];
|
| H A D | fcntl.c | 26 char tmp_file_name[PATH_MAX];
|
| H A D | test_utils.c | 40 char testpath[PATH_MAX]; in launch_background_helper()
|
| H A D | disk_mount_conditioner.c | 381 char *path = malloc(PATH_MAX); in mktempdir() 516 temp_path = *path = malloc(PATH_MAX); in perf_setup() 517 snprintf(temp_path, PATH_MAX, "%s/dmc.XXXXXXXX", mount_path); in perf_setup()
|
| H A D | time.c | 47 static char tmppath[PATH_MAX] = "";
|
| H A D | vm_test_code_signing_helper.c | 114 char origdir[PATH_MAX]; in main()
|
| H A D | stackshot_spawn_exit_stress.c | 80 char path[PATH_MAX];
|
| H A D | exc_resource_threads.c | 154 char path[PATH_MAX];
|
| H A D | hw_breakpoint_step_arm64.c | 165 char path[PATH_MAX];
|
| /xnu-11215/osfmk/mach/ |
| H A D | resource_monitors.h | 77 typedef char posix_path_t[PATH_MAX];
|
| /xnu-11215/bsd/sys/ |
| H A D | syslimits.h | 111 #define PATH_MAX 1024 /* max bytes in pathname */ macro
|
| H A D | spawn_internal.h | 407 char psfao_path[PATH_MAX]; /* path to open */ 413 char psfac_path[PATH_MAX]; /* path to chdir */
|
| H A D | param.h | 206 #define MAXPATHLEN PATH_MAX
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | main.c | 25 char buffer[PATH_MAX]; in spawn_process()
|