/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 | procopen.c | 445 if (cmd && (!*cmd || !pathpath(cmd, NiL, PATH_REGULAR|PATH_EXECUTE, path, sizeof(path))))
|
H A D | fastfind.c | 253 if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->encode.temp)) &&
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixInit.c | 96 libDir = pathpath(LIB_DIR, "", PATH_EXECUTE|PATH_READ, defaultLibraryDir, sizeof(defaultLibraryDir));
|
/ast/src/lib/libast/path/ |
H A D | pathexists.c | 103 t->mode = PATH_READ|PATH_EXECUTE; 124 t->mode |= PATH_EXECUTE; 132 mode &= (PATH_READ|PATH_WRITE|PATH_EXECUTE|PATH_REGULAR);
|
H A D | pathprobe.c | 136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))) 161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || stat(path, &ps)) 195 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE)) 199 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE) && !stat(path, &ps))
|
H A D | pathprog.c | 124 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0;
|
H A D | pathpath.c | 112 if (pathexists(path, PATH_EXECUTE))
|
/ast/src/lib/libast/comp/ |
H A D | execvpe.c | 51 if (*path != '/' && !(path = pathpath(name, NULL, PATH_REGULAR|PATH_EXECUTE, buffer, sizeof(buffer))))
|
/ast/src/lib/libcs/ |
H A D | csstat.c | 37 if (!pathpath(CS_STAT_DAEMON, "", PATH_REGULAR|PATH_EXECUTE, buf, PATH_MAX)) 72 if (pathpath(CS_STAT_DIR, "", PATH_EXECUTE, buf, sizeof(buf)))
|
H A D | csopen.c | 1000 if (!pathaccess(csvar(state, CS_VAR_TRUST, 1), csvar(state, CS_VAR_SHARE, 1), NiL, PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount))) 1003 else if (!pathpath(csvar(state, CS_VAR_SHARE, 0), "", PATH_EXECUTE, b, sizeof(state->mount) - (b - state->mount))) 1064 if (!pathpath(b, "", PATH_ABSOLUTE|PATH_EXECUTE, tmp, sizeof(tmp)) || stat(tmp, &st))
|
/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/libcmd/ |
H A D | dirname.c | 117 mode |= PATH_EXECUTE;
|
/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/cmd/ss/ |
H A D | ss.c | 224 if (!pathpath(CS_STAT_DIR, argv[0], PATH_EXECUTE, buf, sizeof(buf)))
|
H A D | ssd.c | 311 if (!pathpath(error_info.id, argv[0], PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd))) 313 if (!pathpath(CS_STAT_DIR, argv[0], PATH_EXECUTE, buf, sizeof(buf)))
|
/ast/src/cmd/at/ |
H A D | at.c | 321 if (!fs3d(FS3D_TEST) || !(s = pathpath("3d", NiL, PATH_ABSOLUTE|PATH_EXECUTE, buf, sizeof(buf))))
|
/ast/src/lib/libtksh/src/ |
H A D | init.c | 204 if (!(libDir = pathpath(LIB_DIR, "", PATH_EXECUTE|PATH_READ, buf, sizeof(buf))))
|
/ast/src/cmd/cs/ |
H A D | cs.c | 312 if (!pathpath(port_buf, "", PATH_ABSOLUTE|PATH_EXECUTE, serv_buf, sizeof(serv_buf)) || stat(serv_buf, &st) || st.st_uid != uid) 643 if (pathpath(csvar(CS_VAR_SHARE, 0), "", PATH_EXECUTE, tmp, sizeof(tmp)))
|
/ast/src/lib/libast/include/ |
H A D | ast.h | 124 #define PATH_EXECUTE 001 macro
|
/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/cmd/pax/ |
H A D | misc.c | 1089 if (!pathpath(cp->undo[0], NiL, PATH_EXECUTE, buf, sizeof(buf))) 1091 if (!cp->undotoo[0] || !pathpath(cp->undotoo[0], NiL, PATH_EXECUTE, buf, sizeof(buf)))
|
/ast/src/cmd/nmake/ |
H A D | main.c | 416 setvar(external.lib, strdup((s = pathpath(t, argv[0], PATH_EXECUTE, buf, SF_BUFSIZE)) ? s : t), V_import);
|