Searched refs:dirpath (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | content_protection_test.c | 361 char dirpath[PATH_MAX]; local 369 bzero(dirpath, PATH_MAX); 375 init_result |= (strlcpy(dirpath, filepath, PATH_MAX) == PATH_MAX); 377 init_result |= (strlcat(dirpath, "cpt_test_dir/", PATH_MAX) == PATH_MAX); 378 init_result |= (strlcpy(subdirpath, dirpath, PATH_MAX) == PATH_MAX); 661 if (mkdir(dirpath, 0x0777) == -1) 669 dir_fd = open(dirpath, O_RDONLY | O_CLOEXEC); 700 if ((strlcpy(filepath, dirpath, PATH_MAX) == PATH_MAX) || (strlcat(filepath, "cpt_test_file", PATH_MAX) == PATH_MAX)) 905 rmdir(dirpath);
|
Completed in 18 milliseconds