Searched refs:filepath (Results 1 - 5 of 5) sorted by relevance

/xnu-2422.115.4/tools/tests/perf_index/
H A Dstress_file_create.c8 char filepath[MAXPATHLEN]; local
10 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", fs_path, thread_id, i);
11 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644);
16 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", fs_path, thread_id, i);
17 assert(unlink(filepath)>=0);
H A Dstress_file_read.c12 char filepath[MAXPATHLEN]; local
21 snprintf(filepath, sizeof(filepath), "%s/file_read", fs_path);
22 fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644);
38 char filepath[MAXPATHLEN]; local
46 snprintf(filepath, sizeof(filepath), "%s/file_read", fs_path);
47 fd = open(filepath, O_RDONLY);
63 char filepath[MAXPATHLEN]; local
64 snprintf(filepath, sizeo
[all...]
H A Dstress_file_write.c12 char filepath[MAXPATHLEN]; local
17 snprintf(filepath, sizeof(filepath), "%s/file_write-%d", fs_path, i);
18 fds[i] = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644);
28 char filepath[MAXPATHLEN]; local
44 snprintf(filepath, sizeof(filepath), "%s/file_write-%d", fs_path, thread_id);
45 assert(unlink(filepath)>=0);
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dcontent_protection_test.c360 char filepath[PATH_MAX]; local
368 bzero(filepath, PATH_MAX);
373 init_result |= (strlcat(filepath, g_target_path, PATH_MAX) == PATH_MAX);
374 init_result |= (strlcat(filepath, "/", PATH_MAX) == PATH_MAX);
375 init_result |= (strlcpy(dirpath, filepath, PATH_MAX) == PATH_MAX);
376 init_result |= (strlcat(filepath, "cpt_test_file", PATH_MAX) == PATH_MAX);
420 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC, 0777);
469 unlink (filepath);
473 fd = open (filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
509 fd = open(filepath, O_RDW
[all...]
/xnu-2422.115.4/tools/
H A Dxcrun_cache.sh75 local filepath="$2"
76 echo "${string}" > "${filepath}.new"
77 cmp -s "${filepath}" "${filepath}.new"
79 rm "${filepath}.new"
81 mv "${filepath}.new" "${filepath}"

Completed in 25 milliseconds