Lines Matching defs:ip
1645 char *xp, *ip, *tp, *ipath, *ldest = NULL;
1682 Xinit(xs, xp, strlen(ip = ipath) + 1, ATEMP);
1687 while (*ip) {
1689 while (mksh_cdirsep(*ip))
1690 ++ip;
1691 if (!*ip)
1695 tp = ip;
1696 while (*ip && !mksh_cdirsep(*ip))
1697 ++ip;
1698 len = ip - tp;
1732 while (mksh_cdirsep(*ip))
1734 ++ip;
1736 if (!*ip)
1779 tp = shf_smprintf(Tf_sss, ldest, *ip ? "/" : "", ip);
1781 ip = ipath = tp;
1788 ip += 2;
1800 /* assert: mksh_abspath(ip == ipath) */
1804 if (ip[1] == ip[0] && !mksh_cdirsep(ip[2])) {
1810 if (mksh_drvltr(ip)) {
1812 Xput(xs, xp, *ip++);
1813 Xput(xs, xp, *ip++);
1837 if (ip > ipath && mksh_cdirsep(ip[-1])) {
1978 char *dp, *ip, *sp, *tp;
2009 dp = ip = sp = p;
2011 while (*ip) {
2013 while (mksh_cdirsep(*ip))
2014 ++ip;
2015 if (!*ip)
2019 tp = ip;
2020 while (*ip && !mksh_cdirsep(*ip))
2021 ++ip;
2022 len = ip - tp;