Home
last modified time | relevance | path

Searched refs:dirs (Results 1 – 25 of 74) sorted by relevance

123

/titanic_51/usr/src/cmd/mandoc/
H A Dmanpath.c40 manpath_parse(struct manpaths *dirs, const char *file, in manpath_parse() argument
83 manpath_parseline(dirs, buf, 1); in manpath_parse()
92 manpath_parseline(dirs, auxp, 1); in manpath_parse()
96 manpath_parseline(dirs, defp, 1); in manpath_parse()
107 manpath_manconf(dirs, file); in manpath_parse()
113 manpath_manconf(dirs, file); in manpath_parse()
114 manpath_parseline(dirs, defp, 0); in manpath_parse()
120 manpath_parseline(dirs, defp, 0); in manpath_parse()
121 manpath_manconf(dirs, file); in manpath_parse()
129 manpath_parseline(dirs, def in manpath_parse()
144 manpath_parseline(struct manpaths * dirs,char * path,int complain) manpath_parseline() argument
160 manpath_add(struct manpaths * dirs,const char * dir,int complain) manpath_add() argument
205 manpath_manconf(struct manpaths * dirs,const char * file) manpath_manconf() argument
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathcat.c46 pathcat(char* path, const char* dirs, int sep, const char* a, const char* b) in pathcat() argument
48 return pathcat_20100601(dirs, sep, a, b, path, PATH_MAX); in pathcat()
58 pathcat_20100601(register const char* dirs, int sep, const char* a, register const char* b, char* path, size_t size) in pathcat_20100601() argument
65 while (*dirs && *dirs != sep) in pathcat_20100601()
69 *s++ = *dirs++; in pathcat_20100601()
97 return *dirs ? (char*)++dirs : 0; in pathcat_20100601()
H A Dpathaccess.c27 * return path to file a/b with access mode using : separated dirs
29 * if a==".." then relative paths in dirs are ignored
40 pathaccess(char* path, const char* dirs, const char* a, const char* b, int mode) in pathaccess() argument
42 return pathaccess_20100601(dirs, a, b, mode, path, PATH_MAX); in pathaccess()
50 pathaccess_20100601(register const char* dirs, const char* a, const char* b, register int mode, register char* path, size_t size) in pathaccess_20100601() argument
58 dirs = pathcat(dirs, sep, a, b, path, size); in pathaccess_20100601()
64 dirs = getcwd(cwd, sizeof(cwd)); in pathaccess_20100601()
67 } while (dirs); in pathaccess_20100601()
H A Dpathprobe.c113 const char* dirs; in pathprobe_20100601() local
188 dirs = pathbin(); in pathprobe_20100601()
191 if (!(dir = dirs)) in pathprobe_20100601()
193 dirs = pathcat(dir, ':', "..", exe, path, pathsize); in pathprobe_20100601()
/titanic_51/usr/src/lib/libast/common/path/
H A Dpathcat.c33 pathcat(char* path, register const char* dirs, int sep, const char* a, register const char* b) in pathcat() argument
38 while (*dirs && *dirs != sep) in pathcat()
39 *s++ = *dirs++; in pathcat()
53 return *dirs ? (char*)++dirs : 0; in pathcat()
H A Dpathaccess.c38 pathaccess(register char* path, register const char* dirs, const char* a, const char* b, register i… in pathaccess() argument
46 dirs = pathcat(path, dirs, sep, a, b); in pathaccess()
52 dirs = getcwd(cwd, sizeof(cwd)); in pathaccess()
55 } while (dirs); in pathaccess()
H A Dpathprobe.c101 const char* dirs; in pathprobe() local
173 dirs = pathbin(); in pathprobe()
176 if (!(dir = dirs)) in pathprobe()
178 dirs = pathcat(path, dir, ':', "..", exe); in pathprobe()
/titanic_51/usr/src/lib/krb5/ss/
H A Dhelp.c115 register char **dirs; local
127 dirs = info->info_dirs;
128 for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++)
130 dirs = (char **)realloc((char *)dirs,
132 if (dirs == (char **)NULL) {
137 info->info_dirs = dirs;
138 dirs[n_dirs + 1] = (char *)NULL;
139 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1);
140 strcpy(dirs[n_dir
[all...]
/titanic_51/usr/src/lib/libast/common/misc/
H A Dfastfind.c516 if (disc->dirs && *disc->dirs) in findopen()
518 for (k = 0; disc->dirs[k]; k++); in findopen()
519 if (k == 1 && streq(disc->dirs[0], "/")) in findopen()
523 if (!(fp->dirs = vmnewof(fp->vm, 0, char*, 2 * k + 1, 0))) in findopen()
540 if (*(s = disc->dirs[i]) == '/') in findopen()
549 if (!(fp->dirs[q] = vmstrdup(fp->vm, b))) in findopen()
552 (fp->dirs[q])[s - b] = 0; in findopen()
558 if (!strneq(b, fp->dirs[q - 1], s - b)) in findopen()
560 if (!(fp->dirs[q] = vmstrdup(fp->vm, b))) in findopen()
563 (fp->dirs[q])[s - b] = 0; in findopen()
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfastfind.c24 * FF_dir FF_gnu with sfgetl/sfputl and trailing / on dirs (FF_dir_magic)
495 if (disc->dirs && *disc->dirs) in findopen()
497 for (k = 0; disc->dirs[k]; k++); in findopen()
498 if (k == 1 && streq(disc->dirs[0], "/")) in findopen()
502 if (!(fp->dirs = vmnewof(fp->vm, 0, char*, 2 * k + 1, 0))) in findopen()
519 if (*(s = disc->dirs[i]) == '/') in findopen()
528 if (!(fp->dirs[q] = vmstrdup(fp->vm, b))) in findopen()
531 (fp->dirs[q])[s - b] = 0; in findopen()
537 if (!strneq(b, fp->dirs[ in findopen()
[all...]
/titanic_51/usr/src/lib/libast/common/sfio/
H A Dsftmp.c159 { reg char *p, **dirs; local
174 if(n == 0 || !(dirs = (char**)malloc((n+1)*sizeof(char*))) )
177 { free(dirs);
186 dirs[n] = p;
192 dirs[n] = NIL(char*);
194 return dirs;
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsftmp.c159 { reg char *p, **dirs; local
174 if(n == 0 || !(dirs = (char**)malloc((n+1)*sizeof(char*))) )
177 { free(dirs);
186 dirs[n] = p;
192 dirs[n] = NIL(char*);
194 return dirs;
217 /* set up path of dirs to create temp files */
/titanic_51/usr/src/tools/scripts/
H A Dmapfilechk.py44 self.dirs = []
61 self.dirs.append(line[0:-1])
71 return filename in self.dirs
H A Dcddlchk.py44 self.dirs = []
61 self.dirs.append(line[0:-1])
71 return filename in self.dirs
H A Dflg.flp.sh85 dirs=""
88 dirs="$dirs|${dir%/}"
93 dirs=${dirs#\|}
94 echo "$FILELIST" | egrep "^($dirs)/.*/${pat#s.}\$" | prpath
/titanic_51/usr/src/lib/libshell/common/fun/
H A Dpopd7 function dirs
74 dirs
110 dirs
H A Dpushd7 function dirs
74 dirs
110 dirs
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/fun/
H A Dpopd7 function dirs
74 dirs
110 dirs
H A Dpushd7 function dirs
74 dirs
110 dirs
/titanic_51/usr/src/ucbcmd/whereis/
H A Dwhereis.c307 find(char **dirs, char *cp) in find() argument
310 while (*dirs) in find()
311 findin(*dirs++, cp); in find()
/titanic_51/usr/src/lib/libast/common/include/
H A Dfind.h61 char** dirs; /* dir prefixes to search */ member
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Dfind.h61 char** dirs; /* dir prefixes to search */ member
/titanic_51/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c123 short dirs; member
517 if (dp->dirs) in dumpinfo()
518 (void) printf(gettext("%20d directories\n"), dp->dirs); in dumpinfo()
734 dp->dirs++; in pkgusage()
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dfind.h70 char** dirs; /* dir prefixes to search */ member
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dfind.h70 char** dirs; /* dir prefixes to search */ member

123