/ast/src/lib/libast/misc/ |
H A D | procrun.c | 46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1;
|
H A D | cmdarg.c | 176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m))
|
H A D | fastfind.c | 245 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 D | procopen.c | 445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path))))
|
/ast/src/lib/libast/path/ |
H A D | pathfind.c | 139 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 D | pathexists.c | 126 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 D | pathprog.c | 124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0;
|
H A D | pathprobe.c | 136 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 D | dirname.c | 110 mode |= PATH_REGULAR; 113 mode &= ~PATH_REGULAR;
|
/ast/src/lib/libast/comp/ |
H A D | execvpe.c | 51 if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer))))
|
H A D | syslog.c | 269 if (*(s = p->name) != '/' && !(s = pathpath(buf, s, "", PATH_REGULAR|PATH_READ, sizeof(buf))))
|
/ast/src/lib/libast/preroot/ |
H A D | setpreroot.c | 45 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 D | csinfo.c | 47 if (pathpath(tmp, "", PATH_REGULAR|PATH_READ, buf, sizeof(buf)))
|
H A D | csstat.c | 37 if (!pathpath(CS_STAT_DAEMON, "", PATH_REGULAR|PATH_EXECUTE, buf, PATH_MAX))
|
/ast/src/lib/libcoshell/ |
H A D | coinit.c | 282 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 D | spawn.c | 91 path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer));
|
/ast/src/lib/libvcodex/ |
H A D | vcalias.c | 155 if(pathpath(ALIASES, "", PATH_REGULAR, file, sizeof(file)) && (sf = sfopen(0, file, "")) )
|
/ast/src/lib/libast/include/ |
H A D | ast.h | 125 #define PATH_REGULAR 010 macro
|
/ast/src/lib/libast/port/ |
H A D | mc.c | 190 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 D | probe.c | 369 if (!(processor = pathpath(processor, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))))
|
/ast/src/lib/libjcl/ |
H A D | path.c | 404 if (!pathpath(tmp, "", PATH_REGULAR, buf, sizeof(buf)))
|
/ast/src/cmd/ss/ |
H A D | ssd.c | 311 if (!pathpath(error_info.id, argv[0], PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))
|
/ast/src/cmd/coshell/ |
H A D | schedule.c | 547 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 D | main.c | 186 if (pathpath(coshell[n], NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, s, state.buflen))
|