Searched refs:dirs (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libast/path/
H A Dpathcat.c46 pathcat(char* path, const char* dirs, int sep, const char* a, const char* b) argument
48 return pathcat_20100601(dirs, sep, a, b, path, PATH_MAX);
58 pathcat_20100601(register const char* dirs, int sep, const char* a, register const char* b, char* path, size_t size) argument
65 while (*dirs && *dirs != sep)
69 *s++ = *dirs++;
97 return *dirs ? (char*)++dirs : 0;
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) argument
42 return pathaccess_20100601(dirs, a, b, mode, path, PATH_MAX);
50 pathaccess_20100601(register const char* dirs, const char* a, const char* b, register int mode, register char* path, size_t size) argument
58 dirs = pathcat(dirs, sep, a, b, path, size);
64 dirs = getcwd(cwd, sizeof(cwd));
67 } while (dirs);
H A Dpathprobe.c113 const char* dirs; local
188 dirs = pathbin();
191 if (!(dir = dirs))
193 dirs = pathcat(dir, ':', "..", exe, path, pathsize);
/ast/src/lib/libast/include/
H A Dfind.h61 char** dirs; /* dir prefixes to search */ member in struct:Finddisc_s
/ast/src/cmd/pax/
H A Dbax.sh50 # default dirs
102 dirs=
107 dirs="$dirs -d $1"
111 tw $dirs -mH -e "
/ast/src/cmd/std/
H A Ddu.c126 int dirs; local
221 dirs = logical || multiple;
254 if (dirs && dtsearch(dict, &hit))
271 if (dirs)
302 if (ent->fts_statp->st_nlink > 1 || dirs && !ent->fts_level)
/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)
497 for (k = 0; disc->dirs[k]; k++);
498 if (k == 1 && streq(disc->dirs[0], "/"))
502 if (!(fp->dirs = vmnewof(fp->vm, 0, char*, 2 * k + 1, 0)))
519 if (*(s = disc->dirs[i]) == '/')
528 if (!(fp->dirs[q] = vmstrdup(fp->vm, b)))
531 (fp->dirs[q])[s - b] = 0;
537 if (!strneq(b, fp->dirs[
[all...]
H A Dfindlib.h40 #define FF_dir 3 /* FF_gnu, dirs have trailing / */
107 char** dirs; \
/ast/src/cmd/tw/
H A Dupdatedb.sh94 dirs=
105 a) dirs="$dirs `{
117 *) dirs="$dirs -d $dir" ;;
184 do dirs="$dirs -d $dir"
254 $show $su tw $options -F "$output" -G "$format" "$expr" $dirs
H A Dtw.c1000 disc.dirs = ap = av;
/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 */
/ast/src/lib/libjcl/
H A Dfind.c36 Dirlist_t dirs; /* global directory list */ member in struct:__anon358
178 lp = jcl ? &jcl->dirs : &state.dirs;
222 dp = jcl->dirs.head;
238 dp = (jcl = jcl->scope) ? jcl->dirs.head : state.dirs.head;
H A Djcllib.h124 Dirlist_t dirs; \
/ast/src/cmd/html/
H A Dtroff2html.h231 Dir_t* dirs; /* include dir list */ member in struct:State_s
H A Dtroff2html.c1031 * looking in state.dirs if needed
1074 for (dp = state.dirs; dp; dp = dp->next)
5918 state.dirs = lastdir = ˙
5997 state.dirs = state.dirs->next;
/ast/src/cmd/paxlib/calib/
H A Dcalib.c82 Cadir_t* dirs; member in struct:Ar_s
269 if (ar->dirs)
270 free(ar->dirs);
348 ar->dirs = ar->dir = db;
/ast/src/cmd/nmake/
H A Dbind.c888 List_t* dirs[5]; local
1010 dirs[ndirs++] = p;
1020 dirs[ndirs++] = p;
1031 dirs[ndirs++] = p;
1042 dirs[ndirs++] = p;
1051 dirs[ndirs++] = ˙
1114 for (p = dirs[i]; p; p = p->next)
1277 for (p = dirs[i]; p; p = p->next)
1380 for (p = dirs[i]; p; p = p->next)
1405 for (p = dirs[
[all...]
H A DMakerules.mk2823 * $(PACKAGE_PATH) default root dirs for all packages
4024 * this assertion ensures that any user specified dirs appear
/ast/src/lib/libast/port/
H A Dastconf.c1504 static const char* dirs[] = { "/usr/lib", "/usr", null }; local
1524 for (n = 0; n < elementsof(dirs); n++)
1526 sfprintf(tmp, "%s/%s/.", dirs[n], altname);
/ast/src/cmd/INIT/
H A Dpackage.sh3504 then dirs="src/cmd/INIT src/lib/libast src/lib/libardir src/lib/libcoshell src/lib/libpp src/cmd/probe src/cmd/cpp src/cmd/nmake"
3505 else dirs="src"
3514 find $dirs -name '*.[CcHh]' $newer -print | proto -v -L - -C proto
3517 $exec "find $dirs -name '*.[CcHh]' $newer -print | proto -L - -C proto"

Completed in 76 milliseconds