Searched refs:PATH_REGULAR (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libast/misc/
H A Dprocrun.c46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1;
H A Dcmdarg.c176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m))
H A Dfastfind.c245 else if (pathpath(path, "", PATH_REGULAR|PATH_READ|PATH_WRITE, fp->encode.file, sizeof(fp->encode.file)))
395 else if ((path = pathpath(path, "", PATH_REGULAR|PATH_READ, fp->decode.path, sizeof(fp->decode.path))) && (fp->fp = sfopen(NiL, path, "r")))
H A Dprocopen.c445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path))))
/ast/src/lib/libast/path/
H A Dpathfind.c139 if (pathpath(tmp, "", PATH_REGULAR, buf, size))
144 if (pathpath(tmp, "", PATH_REGULAR, buf, size))
158 if (pathpath(tmp, "", PATH_REGULAR, buf, size))
163 if (pathpath(tmp, "", PATH_REGULAR, buf, size))
H A Dpathexists.c126 t->mode |= PATH_REGULAR;
129 if (!t->mode || c && (t->mode & PATH_REGULAR))
132 mode &= (PATH_READ|PATH_WRITE|PATH_EXECUTE|PATH_REGULAR);
H A Dpathprog.c124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0;
H A Dpathprobe.c136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))))
195 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE))
199 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE) && !stat(path, &ps))
/ast/src/lib/libcmd/
H A Ddirname.c110 mode |= PATH_REGULAR;
113 mode &= ~PATH_REGULAR;
/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))))
/ast/src/lib/libast/preroot/
H A Dsetpreroot.c45 if ((argv || (argv = opt_info.argv)) && (dir || (dir = getenv(PR_BASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)))))
/ast/src/lib/libcs/
H A Dcsinfo.c47 if (pathpath(tmp, "", PATH_REGULAR|PATH_READ, buf, sizeof(buf)))
H A Dcsstat.c37 if (!pathpath(CS_STAT_DAEMON, "", PATH_REGULAR|PATH_EXECUTE, buf, PATH_MAX))
/ast/src/lib/libcoshell/
H A Dcoinit.c282 if (!(flags & CO_CROSS) && !pathpath("ignore", NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, t, n / 2) && pathpath("bin/ignore", "", PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, t, n / 2))
/ast/src/lib/libast/obsolete/
H A Dspawn.c91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
/ast/src/lib/libvcodex/
H A Dvcalias.c155 if(pathpath(ALIASES, "", PATH_REGULAR, file, sizeof(file)) && (sf = sfopen(0, file, "")) )
/ast/src/lib/libast/include/
H A Dast.h125 #define PATH_REGULAR 010 macro
/ast/src/lib/libast/port/
H A Dmc.c190 if (s = pathpath(file, "", (!catalog && category == AST_LC_MESSAGES) ? PATH_READ : (PATH_REGULAR|PATH_READ|PATH_ABSOLUTE), path, size))
/ast/src/cmd/probe/
H A Dprobe.c369 if (!(processor = pathpath(processor, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))))
/ast/src/lib/libjcl/
H A Dpath.c404 if (!pathpath(tmp, "", PATH_REGULAR, buf, sizeof(buf)))
/ast/src/cmd/ss/
H A Dssd.c311 if (!pathpath(error_info.id, argv[0], PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))
/ast/src/cmd/coshell/
H A Dschedule.c547 if (!(file = sfstrrsrv(state.string, PATH_MAX)) || !pathaccess(csvar(CS_VAR_TRUST, 1), csvar(CS_VAR_SHARE, 0), CS_SVC_ACCESS, PATH_REGULAR, file, PATH_MAX) || !(file = strdup(file)))
H A Dmain.c186 if (pathpath(coshell[n], NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, s, state.buflen))

Completed in 52 milliseconds