| /freebsd-12.1/tests/sys/cddl/zfs/bin/ |
| H A D | dir_rd_update.c | 48 static char dirpath[256]; variable 65 dirpath[i] = 0; in main() 69 (void) strcpy(&dirpath[0], (const char *)cp1); in main() 70 (void) strcat(&dirpath[strlen(dirpath)], "TMP_DIR"); in main() 72 ret = mkdir(dirpath, 0777); in main() 77 argv[0], dirpath, errno); in main() 81 testdd = open(dirpath, O_RDONLY|O_SYNC); in main() 85 argv[0], dirpath, errno); in main() 92 int fd = open(dirpath, O_RDONLY|O_SYNC); in main() 106 int fd = open(dirpath, O_RDONLY); in main()
|
| /freebsd-12.1/include/rpcsvc/ |
| H A D | mount.x | 108 typedef string dirpath<MNTPATHLEN>; 121 dirpath ml_directory; 139 dirpath ex_dir; 169 MOUNTPROC_MNT(dirpath) = 1; 184 MOUNTPROC_UMNT(dirpath) = 3; 227 MOUNTPROC_MNT(dirpath) = 1; 242 MOUNTPROC_UMNT(dirpath) = 3;
|
| /freebsd-12.1/lib/libedit/ |
| H A D | filecomplete.c | 147 static char *filename = NULL, *dirname = NULL, *dirpath = NULL; in fn_filename_completion_function() local 199 el_free(dirpath); in fn_filename_completion_function() 200 dirpath = NULL; in fn_filename_completion_function() 204 dirpath = strdup("./"); in fn_filename_completion_function() 206 dirpath = fn_tilde_expand(dirname); in fn_filename_completion_function() 208 dirpath = strdup(dirname); in fn_filename_completion_function() 210 if (dirpath == NULL) in fn_filename_completion_function() 213 dir = opendir(dirpath); in fn_filename_completion_function()
|
| /freebsd-12.1/crypto/openssl/crypto/conf/ |
| H A D | conf_def.c | 51 char **dirpath); 197 char *dirpath = NULL; in def_load_bio() local 245 if ((next = get_next_file(dirpath, &dirctx)) != NULL) { in def_load_bio() 250 OPENSSL_free(dirpath); in def_load_bio() 251 dirpath = NULL; in def_load_bio() 365 next = process_include(include, &dirctx, &dirpath); in def_load_bio() 366 if (include != dirpath) { in def_load_bio() 453 OPENSSL_free(dirpath); in def_load_bio() 670 char **dirpath) in process_include() argument 691 *dirpath = include; in process_include()
|
| /freebsd-12.1/contrib/subversion/subversion/include/ |
| H A D | svn_dirent_uri.h | 296 svn_dirent_split(const char **dirpath, 321 svn_relpath_split(const char **dirpath, 390 svn_uri_split(const char **dirpath,
|
| H A D | svn_io.h | 233 const char *dirpath, 270 const char *dirpath, 1087 const char *dirpath, 2443 const char *dirpath,
|
| H A D | svn_path.h | 244 const char **dirpath,
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | spillbuf.c | 86 const char *dirpath; member 123 const char *dirpath, in init_spillbuf_extended() argument 131 buf->dirpath = dirpath; in init_spillbuf_extended() 163 const char *dirpath, in svn_spillbuf__create_extended() argument 168 delete_on_close, spill_all_contents, dirpath, in svn_spillbuf__create_extended() 249 buf->dirpath, in svn_spillbuf__write()
|
| H A D | dirent_uri.c | 1243 svn_dirent_split(const char **dirpath, in svn_dirent_split() argument 1248 assert(dirpath != base_name); in svn_dirent_split() 1250 if (dirpath) in svn_dirent_split() 1289 svn_relpath_split(const char **dirpath, in svn_relpath_split() argument 1294 assert(dirpath != base_name); in svn_relpath_split() 1296 if (dirpath) in svn_relpath_split() 1358 svn_uri_split(const char **dirpath, in svn_uri_split() argument 1363 assert(dirpath != base_name); in svn_uri_split() 1365 if (dirpath) in svn_uri_split() 2570 assert(dirpath != base_name); in svn_fspath__split() [all …]
|
| H A D | deprecated.c | 671 const char *dirpath; in svn_io_open_unique_file2() local 674 svn_path_split(path, &dirpath, &filename, pool); in svn_io_open_unique_file2() 676 dirpath, filename, suffix, in svn_io_open_unique_file2() 1005 const char **dirpath, in svn_path_split() argument 1009 assert(dirpath != base_name); in svn_path_split() 1011 if (dirpath) in svn_path_split() 1012 *dirpath = svn_path_dirname(path, pool); in svn_path_split()
|
| H A D | io.c | 470 const char *dirpath, in svn_io_open_uniquely_named() argument 487 if (dirpath == NULL) in svn_io_open_uniquely_named() 488 SVN_ERR(svn_io_temp_dir(&dirpath, scratch_pool)); in svn_io_open_uniquely_named() 494 path = svn_dirent_join(dirpath, filename, scratch_pool); in svn_io_open_uniquely_named() 3986 const char *dirpath, in svn_io_write_unique() argument 3995 SVN_ERR(svn_io_open_unique_file3(&new_file, tmp_path, dirpath, in svn_io_write_unique() 5260 const char *dirpath, in svn_io_open_unique_file3() argument 5281 if (dirpath == NULL) in svn_io_open_unique_file3() 5286 SVN_ERR(svn_io_temp_dir(&dirpath, scratch_pool)); in svn_io_open_unique_file3() 5313 SVN_ERR(temp_file_create(&tempfile, &tempname, dirpath, flags, in svn_io_open_unique_file3() [all …]
|
| /freebsd-12.1/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 523 char *dirpath; in nfs_mountdiskless() local 529 dirpath = strchr(path, ':'); in nfs_mountdiskless() 530 if (dirpath != NULL) in nfs_mountdiskless() 531 dirlen = strlen(++dirpath); in nfs_mountdiskless() 835 strlcpy(dirpath, spec, dirpathsize); in nfs_mount_parse_from() 836 *dirlenp = strlen(dirpath); in nfs_mount_parse_from() 1247 sizeof(dirpath), &dirlen) == 0) { in nfs_mount() 1305 strlcpy(dirpath, name, sizeof (dirpath)); in nfs_mount() 1307 dirpath[0] = '\0'; in nfs_mount() 1308 dirlen = strlen(dirpath); in nfs_mount() [all …]
|
| /freebsd-12.1/usr.sbin/lpr/lpr/ |
| H A D | lpr.c | 709 char *cp, *dirpath; in test() local 755 dirpath = malloc(dlen); in test() 756 strlcpy(dirpath, file, dlen); in test() 757 fd = checkwriteperm(file, dirpath); in test() 758 free(dirpath); in test()
|
| /freebsd-12.1/usr.sbin/mountd/ |
| H A D | mountd.c | 1103 stat(dirpath, &stb) < 0 || in mntsrv() 1104 statfs(dirpath, &fsb) < 0) { in mntsrv() 1108 numerichost, dirpath); in mntsrv() 1118 numerichost, dirpath); in mntsrv() 1170 add_mlist(host, dirpath); in mntsrv() 1178 numerichost, dirpath); in mntsrv() 1184 numerichost, dirpath); in mntsrv() 1217 numerichost, dirpath); in mntsrv() 1222 del_mlist(host, dirpath); in mntsrv() 1223 del_mlist(numerichost, dirpath); in mntsrv() [all …]
|
| /freebsd-12.1/contrib/bmake/ |
| H A D | dir.c | 867 char *dirpath; in Dir_Expand() local 880 dirpath = Dir_FindFile(word, path); in Dir_Expand() 889 if (dirpath != NULL) { in Dir_Expand() 890 char *dp = &dirpath[strlen(dirpath) - 1]; in Dir_Expand() 894 (void)Dir_AddDir(path, dirpath); in Dir_Expand()
|
| /freebsd-12.1/contrib/subversion/subversion/include/private/ |
| H A D | svn_fspath.h | 104 svn_fspath__split(const char **dirpath,
|
| H A D | svn_subr_private.h | 104 const char* dirpath,
|
| /freebsd-12.1/tests/sys/audit/ |
| H A D | inter-process.c | 1457 char dirpath[50]; in ATF_TC_BODY() local 1458 ATF_REQUIRE(getcwd(dirpath, sizeof(dirpath)) != NULL); in ATF_TC_BODY() 1459 strlcat(dirpath, path, sizeof(dirpath)); in ATF_TC_BODY() 1460 ATF_REQUIRE(shm_open(dirpath, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1); in ATF_TC_BODY() 1464 ATF_REQUIRE_EQ(0, shm_unlink(dirpath)); in ATF_TC_BODY()
|
| H A D | process-control.c | 383 char dirpath[50]; in ATF_TC_BODY() local 384 ATF_REQUIRE(getcwd(dirpath, sizeof(dirpath)) != NULL); in ATF_TC_BODY() 385 ATF_REQUIRE((filedesc = open(dirpath, O_RDONLY)) != -1); in ATF_TC_BODY()
|
| /freebsd-12.1/sys/contrib/zstd/tests/fuzz/ |
| H A D | fuzz.py | 78 dirpath = tempfile.mkdtemp() 80 yield dirpath 82 shutil.rmtree(dirpath, ignore_errors=True)
|
| /freebsd-12.1/usr.sbin/gssd/ |
| H A D | gssd.c | 1015 find_ccache_file(const char *dirpath, uid_t uid, char *rpath) in find_ccache_file() argument 1025 dirp = opendir(dirpath); in find_ccache_file() 1032 len = snprintf(namepath, sizeof(namepath), "%s/%s", dirpath, in find_ccache_file() 1042 dirpath, dp->d_name); in find_ccache_file()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_wc/ |
| H A D | entries.c | 2648 walker_helper(const char *dirpath, in walker_helper() argument 2669 SVN_ERR(walk_callbacks->handle_error(dirpath, err, walk_baton, pool)); in walker_helper() 2675 (dirpath, svn_error_createf(SVN_ERR_ENTRY_NOT_FOUND, NULL, in walker_helper() 2677 svn_dirent_local_style(dirpath, pool)), in walker_helper() 2685 err = walk_callbacks->found_entry(dirpath, dot_entry, walk_baton, subpool); in walker_helper() 2689 SVN_ERR(walk_callbacks->handle_error(dirpath, err, walk_baton, pool)); in walker_helper() 2713 entrypath = svn_dirent_join(dirpath, name, subpool); in walker_helper()
|
| H A D | conflicts.c | 1163 const char *dirpath = svn_dirent_dirname(local_abspath, scratch_pool); in generate_propconflict() local 1180 SVN_ERR(svn_io_write_unique(&file_name, dirpath, working_val->data, in generate_propconflict() 1184 cdesc->my_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict() 1192 SVN_ERR(svn_io_write_unique(&file_name, dirpath, incoming_new_val->data, in generate_propconflict() 1199 cdesc->merged_file = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict() 1223 SVN_ERR(svn_io_write_unique(&file_name, dirpath, in generate_propconflict() 1228 cdesc->base_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict() 1261 SVN_ERR(svn_io_write_unique(&file_name, dirpath, conflict_base_val->data, in generate_propconflict() 1264 cdesc->base_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict()
|
| /freebsd-12.1/contrib/amd/include/ |
| H A D | am_utils.h | 274 extern bool_t xdr_dirpath(XDR *xdrs, dirpath *objp);
|
| /freebsd-12.1/tests/sys/cddl/zfs/include/ |
| H A D | libtest.kshlib | 3003 typeset dirpath=${1:-$STC_NAME} 3005 print "SUNWstc-${dirpath}" | /usr/bin/sed -e "s/\//-/g"
|