Home
last modified time | relevance | path

Searched refs:pathpath (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathfind.c139 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
144 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
158 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
163 if (pathpath(tmp, "", PATH_REGULAR, buf, size)) in pathfind()
H A Dpathprobe.c136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))) in pathprobe_20100601()
157 …if (pathpath(lib, "", PATH_ABSOLUTE, path, pathsize) && !stat(path, &st) && (st.st_mode & S_IWUSR)) in pathprobe_20100601()
161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || stat(path, &ps)) in pathprobe_20100601()
H A Dpathprog.c124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0; in pathprog()
H A Dpathpath.c41 pathpath(char* path, const char* p, const char* a, int mode) in pathpath() function
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dapi43 #undef pathpath
44 #define pathpath pathpath_20100601
H A Dmap192 #undef pathpath
193 #define pathpath _ast_pathpath
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dapi43 #undef pathpath
44 #define pathpath pathpath_20100601
H A Dmap192 #undef pathpath
193 #define pathpath _ast_pathpath
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dapi43 #undef pathpath
44 #define pathpath pathpath_20100601
H A Dmap195 #undef pathpath
196 #define pathpath _ast_pathpath
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dapi43 #undef pathpath
44 #define pathpath pathpath_20100601
H A Dmap195 #undef pathpath
196 #define pathpath _ast_pathpath
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dprocrun.c46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1; in procrun()
H A Dfastfind.c245 …else if (pathpath(path, "", PATH_REGULAR|PATH_READ|PATH_WRITE, fp->encode.file, sizeof(fp->encode.… in findopen()
253 …if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->e… in findopen()
395 …else if ((path = pathpath(path, "", PATH_REGULAR|PATH_READ, fp->decode.path, sizeof(fp->decode.pat… in findopen()
H A Dcmdarg.c176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m)) in cmdopen_20120411()
H A Dprocopen.c445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path)))) in procopen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dapi11 api ast 20100601 pathaccess pathcanon pathcat pathkey pathpath pathprobe pathrepl
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dexecvpe.c51 …if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer…
H A Dsyslog.c269 if (*(s = p->name) != '/' && !(s = pathpath(buf, s, "", PATH_REGULAR|PATH_READ, sizeof(buf))))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/preroot/
H A Dsetpreroot.c45 …ASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_AB… in setpreroot()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c134 else if(pathpath(argv[0], "", mode, buf, sizeof(buf))) in b_dirname()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/obsolete/
H A Dspawn.c91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h309 extern char* pathpath(char*, const char*, const char*, int);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dmc.c190 …if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|P… in mcfind()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE53 12-01-27 pathpath.c: fix buffer size math when internal allocation requested
110 10-12-09 pathprog.c: handle intermediate path != '* and fix invalid pathpath() call
619 pathpath.c: disable { $0 $_ $PWD } related root search
685 04-01-11 path/pathpath.c: fix size vs. sizeof(buf) typo
862 03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too
993 path/pathpath.c: check plain path first -- duh
1177 pathexists: path cache to cut down pathpath() access(2) calls
1320 pathpath: fix strdup(0) bug
1347 pathpath: path==0 means malloc space
1617 pathpath: pathpath(0,0,"",0) disables $0 $_ $PWD relative search

12