| /netbsd-src/libexec/httpd/ |
| H A D | dir-index-bozo.c | 54 bozo_dir_index(bozo_httpreq_t *request, const char *dirpath, int isindex) in bozo_dir_index() argument 68 if (strlen(dirpath) <= strlen(httpd->index_html)) in bozo_dir_index() 69 dirpath = "."; in bozo_dir_index() 71 file = bozostrdup(httpd, request, dirpath); in bozo_dir_index() 74 dirpath = file; in bozo_dir_index() 76 debug((httpd, DEBUG_FAT, "bozo_dir_index: dirpath '%s'", dirpath)); in bozo_dir_index() 77 if (stat(dirpath, &sb) < 0 || in bozo_dir_index() 78 (dp = opendir(dirpath)) == NULL) { in bozo_dir_index() 144 for (j = k = scandir(dirpath, &de, NULL, alphasort), deo = de; in bozo_dir_index() 158 snprintf(buf, sizeof buf, "%s/%s", dirpath, name); in bozo_dir_index() [all …]
|
| /netbsd-src/lib/librpcsvc/ |
| H A D | mount.x | 101 typedef string dirpath<MNTPATHLEN>; 114 dirpath ml_directory; 132 dirpath ex_dir; 162 MOUNTPROC_MNT(dirpath) = 1; 177 MOUNTPROC_UMNT(dirpath) = 3; 219 MOUNTPROC_MNT(dirpath) = 1; 234 MOUNTPROC_UMNT(dirpath) = 3;
|
| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | checkout.c | 538 char *dirpath; member 549 build_one_dir (char *repository, char *dirpath, int sticky) in build_one_dir() argument 564 if (Create_Admin (".", dirpath, repository, in build_one_dir() 584 server_set_entstat (dirpath, repository); in build_one_dir() 823 head->dirpath = xstrdup (where); in checkout_proc() 843 new->dirpath = xmalloc (strlen (where)); in checkout_proc() 851 strncpy (new->dirpath, where, cp - where); in checkout_proc() 852 new->dirpath[cp - where] = '\0'; in checkout_proc() 858 strcpy (new->dirpath, "/"); in checkout_proc() 1227 const char *dir = last_component (dirs->dirpath); in build_dirs_and_chdir() [all …]
|
| /netbsd-src/lib/libc/gen/ |
| H A D | posix_spawn_fileactions.c | 179 char *dirpath; in posix_spawn_file_actions_addchdir() local 187 dirpath = strdup(path); in posix_spawn_file_actions_addchdir() 188 if (dirpath == NULL) in posix_spawn_file_actions_addchdir() 192 fa->fae[i].fae_chdir_path = dirpath; in posix_spawn_file_actions_addchdir()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/conf/ |
| H A D | conf_def.c | 51 char **dirpath); 198 char *dirpath = NULL; in def_load_bio() local 259 if ((next = get_next_file(dirpath, &dirctx)) != NULL) { in def_load_bio() 264 OPENSSL_free(dirpath); in def_load_bio() 265 dirpath = NULL; in def_load_bio() 379 next = process_include(include, &dirctx, &dirpath); in def_load_bio() 380 if (include != dirpath) { in def_load_bio() 469 OPENSSL_free(dirpath); in def_load_bio() 686 char **dirpath) in process_include() argument 707 *dirpath = include; in process_include()
|
| /netbsd-src/lib/libedit/ |
| H A D | filecomplete.c | 328 static char *filename = NULL, *dirname = NULL, *dirpath = NULL; in fn_filename_completion_function() local 380 el_free(dirpath); in fn_filename_completion_function() 381 dirpath = NULL; in fn_filename_completion_function() 385 dirpath = strdup("./"); in fn_filename_completion_function() 387 dirpath = fn_tilde_expand(dirname); in fn_filename_completion_function() 389 dirpath = strdup(dirname); in fn_filename_completion_function() 391 if (dirpath == NULL) in fn_filename_completion_function() 394 dir = opendir(dirpath); in fn_filename_completion_function()
|
| /netbsd-src/external/gpl2/gmake/dist/ |
| H A D | vpath.c | 159 construct_vpath_list (char *pattern, char *dirpath) in construct_vpath_list() argument 174 if (dirpath == 0) in construct_vpath_list() 213 convert_vpath_to_windows32(dirpath, ';'); in construct_vpath_list() 221 p = dirpath; in construct_vpath_list() 230 p = dirpath; in construct_vpath_list()
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | readsyms.h | 60 Layout* layout, Dirsearch* dirpath, int dirindex, in Read_symbols() argument 65 dirpath_(dirpath), dirindex_(dirindex), mapfile_(mapfile), in Read_symbols() 447 Read_script(Symbol_table* symtab, Layout* layout, Dirsearch* dirpath, in Read_script() argument 452 : symtab_(symtab), layout_(layout), dirpath_(dirpath), dirindex_(dirindex), in Read_script()
|
| H A D | archive.h | 166 bool is_thin_archive, Dirsearch* dirpath, Task* task); 423 Input_objects* input_objects, Dirsearch* dirpath, in Add_archive_symbols() argument 430 dirpath_(dirpath), dirindex_(dirindex), mapfile_(mapfile), in Add_archive_symbols()
|
| H A D | plugin.h | 213 Dirsearch* dirpath, Mapfile* mapfile, 618 Symbol_table* symtab, Layout* /*layout*/, Dirsearch* dirpath, in Plugin_hook() argument 622 dirpath_(dirpath), mapfile_(mapfile), in Plugin_hook()
|
| H A D | fileread.cc | 1004 Input_file::find_file(const Dirsearch& dirpath, int* pindex, in find_file() argument 1054 name = dirpath.find(names, is_in_sysroot, pindex, found_name); in find_file() 1078 name = dirpath.find(std::vector<std::string>(1, input_argument->name()), in find_file() 1095 Input_file::open(const Dirsearch& dirpath, const Task* task, int* pindex) in open() argument 1098 if (!Input_file::find_file(dirpath, pindex, this->input_argument_, in open()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | readsyms.h | 60 Layout* layout, Dirsearch* dirpath, int dirindex, in Read_symbols() argument 65 dirpath_(dirpath), dirindex_(dirindex), mapfile_(mapfile), in Read_symbols() 447 Read_script(Symbol_table* symtab, Layout* layout, Dirsearch* dirpath, in Read_script() argument 452 : symtab_(symtab), layout_(layout), dirpath_(dirpath), dirindex_(dirindex), in Read_script()
|
| H A D | archive.h | 166 bool is_thin_archive, Dirsearch* dirpath, Task* task); 423 Input_objects* input_objects, Dirsearch* dirpath, in Add_archive_symbols() argument 430 dirpath_(dirpath), dirindex_(dirindex), mapfile_(mapfile), in Add_archive_symbols()
|
| H A D | plugin.h | 213 Dirsearch* dirpath, Mapfile* mapfile, 618 Symbol_table* symtab, Layout* /*layout*/, Dirsearch* dirpath, in Plugin_hook() argument 622 dirpath_(dirpath), mapfile_(mapfile), in Plugin_hook()
|
| H A D | fileread.cc | 1004 Input_file::find_file(const Dirsearch& dirpath, int* pindex, in find_file() argument 1054 name = dirpath.find(names, is_in_sysroot, pindex, found_name); in find_file() 1078 name = dirpath.find(std::vector<std::string>(1, input_argument->name()), in find_file() 1095 Input_file::open(const Dirsearch& dirpath, const Task* task, int* pindex) in open() argument 1098 if (!Input_file::find_file(dirpath, pindex, this->input_argument_, in open()
|
| /netbsd-src/sys/fs/nfs/client/ |
| H A D | nfs_clvfsops.c | 528 char *dirpath; in nfs_mountdiskless() local 534 dirpath = strchr(path, ':'); in nfs_mountdiskless() 535 if (dirpath != NULL) in nfs_mountdiskless() 536 dirlen = strlen(++dirpath); in nfs_mountdiskless() 540 if ((error = mountnfs(args, mp, nam, path, NULL, 0, dirpath, dirlen, in nfs_mountdiskless() 753 struct sockaddr_in **sinp, char *dirpath, size_t dirpathsize, int *dirlenp) in nfs_mount_parse_from() argument 835 strlcpy(dirpath, spec, dirpathsize); in nfs_mount_parse_from() 836 *dirlenp = strlen(dirpath); in nfs_mount_parse_from() 881 u_char nfh[NFSX_FHMAX], krbname[100], dirpath[100], srvkrbname[100]; in nfs_mount() local 1240 &args.hostname, (struct sockaddr_in **)&nam, dirpath, in nfs_mount() [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/conf/nfs_prot/ |
| H A D | nfs_prot_bsdi2.h | 143 typedef char *dirpath; typedef 439 dirpath ex_dir; 460 dirpath ml_directory;
|
| H A D | nfs_prot_aix3.h | 173 typedef char *dirpath; typedef
|
| H A D | nfs_prot_aix4.h | 171 typedef char *dirpath; typedef
|
| H A D | nfs_prot_aix4_2.h | 176 typedef char *dirpath; typedef
|
| H A D | nfs_prot_aix5_1.h | 176 typedef char *dirpath; typedef
|
| /netbsd-src/usr.bin/make/ |
| H A D | dir.c | 844 char *prefix, *dirpath, *end; in SearchPath_ExpandMiddle() local 853 dirpath = Dir_FindFile(prefix, path); in SearchPath_ExpandMiddle() 865 if (dirpath == NULL) in SearchPath_ExpandMiddle() 868 end = &dirpath[strlen(dirpath) - 1]; in SearchPath_ExpandMiddle() 874 (void)SearchPath_Add(partPath, dirpath); in SearchPath_ExpandMiddle() 877 free(dirpath); in SearchPath_ExpandMiddle()
|
| /netbsd-src/tests/lib/libc/gen/posix_spawn/ |
| H A D | t_spawn.c | 235 spawn_chdir(const char *dirpath, const char *filepath, int operation, in spawn_chdir() argument 252 error = posix_spawn_file_actions_addchdir(&fa, dirpath); in spawn_chdir() 256 fd = open(dirpath, O_RDONLY); in spawn_chdir()
|
| /netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/filesystem/ |
| H A D | dlz_filesystem_dynamic.c | |
| /netbsd-src/external/apache2/llvm/dist/clang/utils/ |
| H A D | FindSpecRefs | 819 for (dirpath, dirnames, filenames) in os.walk(root): 823 fullpath = os.path.join(dirpath, filename)
|