Home
last modified time | relevance | path

Searched refs:dirpath (Results 1 – 24 of 24) sorted by relevance

/NextBSD/include/rpcsvc/
HDmount.x108 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;
/NextBSD/sbin/casperd/
HDcasperd.c425 service_register_external_one(const char *dirpath, int dfd, in service_register_external_one() argument
435 pjdlog_errno(LOG_ERR, "Unable to open \"%s/%s\"", dirpath, in service_register_external_one()
443 dirpath, filename); in service_register_external_one()
449 pjdlog_error("Executable path too long in \"%s/%s\".", dirpath, in service_register_external_one()
465 dirpath, filename); in service_register_external_one()
487 service_register_external(const char *dirpath) in service_register_external() argument
493 dirp = opendir(dirpath); in service_register_external()
495 pjdlog_errno(LOG_WARNING, "Unable to open \"%s\"", dirpath); in service_register_external()
506 dirpath, dp->d_name); in service_register_external()
509 service_register_external_one(dirpath, dfd, dp->d_name); in service_register_external()
/NextBSD/lib/libedit/
HDfilecomplete.c150 static char *filename = NULL, *dirname = NULL, *dirpath = NULL; in fn_filename_completion_function() local
202 el_free(dirpath); in fn_filename_completion_function()
203 dirpath = NULL; in fn_filename_completion_function()
207 dirpath = strdup("./"); in fn_filename_completion_function()
209 dirpath = fn_tilde_expand(dirname); in fn_filename_completion_function()
211 dirpath = strdup(dirname); in fn_filename_completion_function()
213 if (dirpath == NULL) in fn_filename_completion_function()
216 dir = opendir(dirpath); in fn_filename_completion_function()
/NextBSD/contrib/subversion/subversion/include/
HDsvn_dirent_uri.h296 svn_dirent_split(const char **dirpath,
321 svn_relpath_split(const char **dirpath,
390 svn_uri_split(const char **dirpath,
HDsvn_io.h233 const char *dirpath,
270 const char *dirpath,
1068 const char *dirpath,
2309 const char *dirpath,
HDsvn_path.h244 const char **dirpath,
/NextBSD/contrib/subversion/subversion/libsvn_subr/
HDspillbuf.c86 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()
HDdirent_uri.c1237 svn_dirent_split(const char **dirpath, in svn_dirent_split() argument
1242 assert(dirpath != base_name); in svn_dirent_split()
1244 if (dirpath) in svn_dirent_split()
1245 *dirpath = svn_dirent_dirname(dirent, pool); in svn_dirent_split()
1283 svn_relpath_split(const char **dirpath, in svn_relpath_split() argument
1288 assert(dirpath != base_name); in svn_relpath_split()
1290 if (dirpath) in svn_relpath_split()
1291 *dirpath = svn_relpath_dirname(relpath, pool); in svn_relpath_split()
1352 svn_uri_split(const char **dirpath, in svn_uri_split() argument
1357 assert(dirpath != base_name); in svn_uri_split()
[all …]
HDdeprecated.c670 const char *dirpath; in svn_io_open_unique_file2() local
673 svn_path_split(path, &dirpath, &filename, pool); in svn_io_open_unique_file2()
675 dirpath, filename, suffix, in svn_io_open_unique_file2()
984 const char **dirpath, in svn_path_split() argument
988 assert(dirpath != base_name); in svn_path_split()
990 if (dirpath) in svn_path_split()
991 *dirpath = svn_path_dirname(path, pool); in svn_path_split()
HDio.c470 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()
3953 const char *dirpath, in svn_io_write_unique() argument
3962 SVN_ERR(svn_io_open_unique_file3(&new_file, tmp_path, dirpath, in svn_io_write_unique()
5160 const char *dirpath, in svn_io_open_unique_file3() argument
5181 if (dirpath == NULL) in svn_io_open_unique_file3()
5186 SVN_ERR(svn_io_temp_dir(&dirpath, scratch_pool)); in svn_io_open_unique_file3()
5213 SVN_ERR(temp_file_create(&tempfile, &tempname, dirpath, flags, in svn_io_open_unique_file3()
HDstream.c1039 const char *dirpath, in svn_stream_open_unique() argument
1046 SVN_ERR(svn_io_open_unique_file3(&file, temp_path, dirpath, in svn_stream_open_unique()
/NextBSD/usr.sbin/lpr/lpr/
HDlpr.c707 char *cp, *dirpath; in test() local
753 dirpath = malloc(dlen); in test()
754 strlcpy(dirpath, file, dlen); in test()
755 fd = checkwriteperm(file, dirpath); in test()
756 free(dirpath); in test()
/NextBSD/usr.sbin/mountd/
HDmountd.c1003 char rpcpath[MNTPATHLEN + 1], dirpath[MAXPATHLEN]; in mntsrv() local
1051 if (realpath(rpcpath, dirpath) == NULL || in mntsrv()
1052 stat(dirpath, &stb) < 0 || in mntsrv()
1055 statfs(dirpath, &fsb) < 0) { in mntsrv()
1059 numerichost, dirpath); in mntsrv()
1061 warnx("stat failed on %s", dirpath); in mntsrv()
1071 ((dp = dirp_search(ep->ex_dirl, dirpath)) && in mntsrv()
1095 if (getfh(dirpath, (fhandle_t *)&fhr.fhr_fh) < 0) { in mntsrv()
1097 syslog(LOG_ERR, "can't get fh for %s", dirpath); in mntsrv()
1108 add_mlist(host, dirpath); in mntsrv()
[all …]
/NextBSD/sys/fs/nfsclient/
HDnfs_clvfsops.c526 char *dirpath; in nfs_mountdiskless() local
532 dirpath = strchr(path, ':'); in nfs_mountdiskless()
533 if (dirpath != NULL) in nfs_mountdiskless()
534 dirlen = strlen(++dirpath); in nfs_mountdiskless()
538 if ((error = mountnfs(args, mp, nam, path, NULL, 0, dirpath, dirlen, in nfs_mountdiskless()
783 u_char nfh[NFSX_FHMAX], krbname[100], dirpath[100], srvkrbname[100]; in nfs_mount() local
1178 strlcpy(dirpath, name, sizeof (dirpath)); in nfs_mount()
1180 dirpath[0] = '\0'; in nfs_mount()
1181 dirlen = strlen(dirpath); in nfs_mount()
1201 error = mountnfs(&args, mp, nam, hst, krbname, krbnamelen, dirpath, in nfs_mount()
[all …]
HDnfs_clrpcops.c4301 nfsrpc_getdirpath(struct nfsmount *nmp, u_char *dirpath, struct ucred *cred, in nfsrpc_getdirpath() argument
4312 cp = dirpath; in nfsrpc_getdirpath()
/NextBSD/contrib/bmake/
HDdir.c789 char *dirpath; in Dir_Expand() local
802 dirpath = Dir_FindFile(word, path); in Dir_Expand()
811 if (dirpath != NULL) { in Dir_Expand()
812 char *dp = &dirpath[strlen(dirpath) - 1]; in Dir_Expand()
816 (void)Dir_AddDir(path, dirpath); in Dir_Expand()
/NextBSD/contrib/subversion/subversion/include/private/
HDsvn_fspath.h104 svn_fspath__split(const char **dirpath,
HDsvn_subr_private.h104 const char* dirpath,
/NextBSD/contrib/subversion/subversion/libsvn_wc/
HDconflicts.c1162 const char *dirpath = svn_dirent_dirname(local_abspath, scratch_pool); in generate_propconflict() local
1179 SVN_ERR(svn_io_write_unique(&file_name, dirpath, working_val->data, in generate_propconflict()
1183 cdesc->my_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict()
1191 SVN_ERR(svn_io_write_unique(&file_name, dirpath, incoming_new_val->data, in generate_propconflict()
1198 cdesc->merged_file = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict()
1222 SVN_ERR(svn_io_write_unique(&file_name, dirpath, in generate_propconflict()
1227 cdesc->base_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict()
1260 SVN_ERR(svn_io_write_unique(&file_name, dirpath, conflict_base_val->data, in generate_propconflict()
1263 cdesc->base_abspath = svn_dirent_join(dirpath, file_name, scratch_pool); in generate_propconflict()
HDentries.c2648 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()
/NextBSD/usr.sbin/gssd/
HDgssd.c1012 find_ccache_file(const char *dirpath, uid_t uid, char *rpath) in find_ccache_file() argument
1022 dirp = opendir(dirpath); in find_ccache_file()
1029 len = snprintf(namepath, sizeof(namepath), "%s/%s", dirpath, in find_ccache_file()
1039 dirpath, dp->d_name); in find_ccache_file()
/NextBSD/contrib/amd/include/
HDam_xdr_func.h207 bool_t xdr_dirpath(XDR *xdrs, dirpath *objp);
HDam_utils.h274 extern bool_t xdr_dirpath(XDR *xdrs, dirpath *objp);
/NextBSD/contrib/amd/libamu/
HDxdr_func.c200 xdr_dirpath(XDR *xdrs, dirpath *objp) in xdr_dirpath()