Home
last modified time | relevance | path

Searched refs:path_size (Results 1 – 9 of 9) sorted by relevance

/xnu-11215/tests/
H A Dstackshot_spawn_exit_stress.c81 uint32_t path_size = sizeof(path); variable
82 T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
H A Ddebug_enable_syscall_rejection.c81 uint32_t path_size = sizeof(binary_path); in helper() local
83 ret = _NSGetExecutablePath(binary_path, &path_size); in helper()
84 T_QUIET; T_ASSERT_EQ(ret, 0, "_NSGetExecutablePath: %s, size: %d", binary_path, path_size); in helper()
H A Dexc_resource_threads.c155 uint32_t path_size = sizeof(path); variable
157 T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
H A Dhw_breakpoint_step_arm64.c166 uint32_t path_size = sizeof(path); variable
168 T_QUIET; T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
H A Dstackshot_accuracy.m335 uint32_t path_size = sizeof(path);
345 T_QUIET; T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
405 uint32_t path_size = sizeof(path);
409 T_QUIET; T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
524 uint32_t path_size = sizeof(path);
528 T_QUIET; T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
H A Dtest_sysctl_kern_procargs_25397314.m208 uint32_t path_size = sizeof(path);
213 T_ASSERT_POSIX_SUCCESS(_NSGetExecutablePath(path, &path_size), "get executable path");
H A Dstackshot_tests.m604 uint32_t path_size = sizeof(path);
669 uint32_t path_size = sizeof(path);
784 uint32_t path_size = sizeof(path);
785 T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
877 uint32_t path_size = sizeof(path);
903 uint32_t path_size = sizeof(path);
1589 uint32_t path_size = sizeof(path);
1904 uint32_t path_size = sizeof(path);
1905 T_ASSERT_POSIX_ZERO(_NSGetExecutablePath(path, &path_size), "_NSGetExecutablePath");
2166 uint32_t path_size = sizeof(path);
[all …]
/xnu-11215/tests/recount/
H A Drecount_test_utils.c348 uint32_t path_size = sizeof(bin_path); in launch_helper() local
351 int ret = _NSGetExecutablePath(bin_path, &path_size); in launch_helper()
/xnu-11215/libkern/os/
H A Dlog.c1064 size_t path_size = strlen(file_path) + 1; in os_log_coprocessor_register_with_type() local
1065 size_t uuid_info_len = sizeof(struct firehose_trace_uuid_info_s) + path_size; in os_log_coprocessor_register_with_type()
1067 if (os_log_disabled() || path_size > PATH_MAX) { in os_log_coprocessor_register_with_type()
1091 memcpy(buf.uuid_info.ftui_path, file_path, path_size); in os_log_coprocessor_register_with_type()