Lines Matching refs:pv
148 Char *dp, **pv, **opv, **av, *sav; in doexec() local
165 pv = globall(blk, gflag); in doexec()
166 if (pv == 0) { in doexec()
172 pv = saveblk(blk); in doexec()
173 cleanup_push(pv, blk_cleanup); in doexec()
175 trim(pv); in doexec()
178 expath = Strsave(pv[0]); in doexec()
206 cleanup_ignore(pv); in doexec()
207 cleanup_until(pv); in doexec()
208 t->t_dcom = blkspl(pv, av); in doexec()
209 xfree(pv); in doexec()
265 pv = opv; in doexec()
277 if (!slash && ABSOLUTEP(pv[0]) && havhash) { in doexec()
287 if (pv[0][0] == 0 || eq(pv[0], STRdot)) /* don't make ./xxx */ in doexec()
290 dp = Strspl(*pv, sav); in doexec()
309 pv++; in doexec()
311 } while (*pv); in doexec()
643 Char **pv; in dohash() local
671 for (pv = v->vec; pv && *pv; pv++, hashwidth++) in dohash()
697 for (pv = v->vec; pv && *pv; pv++, i++) { in dohash()
698 if (!ABSOLUTEP(pv[0])) in dohash()
700 dirp = opendir(short2str(*pv)); in dohash()
712 is_windir = nt_check_if_windir(short2str(*pv)); in dohash()
813 Char **opv, **pv; in iscommand() local
829 pv = opv; in iscommand()
832 if (!slash && ABSOLUTEP(pv[0]) && havhash) { in iscommand()
842 if (pv[0][0] == 0 || eq(pv[0], STRdot)) { /* don't make ./xxx */ in iscommand()
849 if (executable(*pv, sav, 0)) { in iscommand()
855 pv++; in iscommand()
857 } while (*pv); in iscommand()
1007 Char **pv; in tellmewhat() local
1013 pv = justabs; in tellmewhat()
1015 pv = v->vec; in tellmewhat()
1017 pv += i - 1; in tellmewhat()
1018 if (pv[0][0] == 0 || eq(pv[0], STRdot)) { in tellmewhat()
1029 s1 = Strspl(*pv, STRslash); in tellmewhat()
1085 Char **pv; in find_cmd() local
1141 for (pv = var->vec, i = 0; pv && *pv; pv++, i++) { in find_cmd()
1142 if (havhash && !eq(*pv, STRdot)) { in find_cmd()
1152 ex = executable(*pv, sv, 0); in find_cmd()
1162 xprintf("%S/", *pv); in find_cmd()