Searched refs:file2 (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.81.4/tests/vfs/ |
| H A D | named_fork_path.c | 44 static char file2[PATH_MAX], file2_rfork[PATH_MAX]; variable 68 if (file2[0] != '\0') { in cleanup() 69 unlink(file2); in cleanup() 87 file, file2); in create_profile_string() 105 file[0] = file2[0] = rsrc[0] = '\0'; 121 snprintf(file2, sizeof(file2), "%s/%s", testdir_path, "file2"); 122 snprintf(file2_rfork, sizeof(file2_rfork), "%s/..namedfork/rsrc", file2); 128 T_ASSERT_POSIX_SUCCESS((fd2 = open(file2, O_CREAT | O_RDWR, 0777)), "Creating %s", file2); 171 T_ASSERT_POSIX_SUCCESS(close(fd2), "Closing %s", file2);
|
| H A D | openbyid_stress.c | 51 static char file1[PATH_MAX], file2[PATH_MAX]; variable 66 if (file2[0] != '\0') { in cleanup() 67 unlink(file2); in cleanup() 93 file2[0] = file2[0] = '\0'; 118 snprintf(file2, sizeof(file2), "%s/%s", dir2, "file"); 123 T_ASSERT_POSIX_SUCCESS((fd = open(file2, O_CREAT | O_RDWR, 0777)), "Creating %s", file2); 124 T_ASSERT_POSIX_SUCCESS(close(fd), "Closing %s", file2);
|
| H A D | sandbox_appledouble_write.c | 50 static char file[PATH_MAX], file2[PATH_MAX]; variable 74 if (file2[0] != '\0') { in cleanup() 75 unlink(file2); in cleanup() 91 file, file2); in create_profile_string() 102 file[0] = file2[0] = '\0'; 130 snprintf(file2, sizeof(file2), "%s/%s", testdir_path, FILE2);
|