Lines Matching defs:ip
1343 char *xp, *ip, *tp, *ipath, *ldest = NULL;
1372 Xinit(xs, xp, strlen(ip = ipath) + 1, ATEMP);
1377 while (*ip) {
1379 while (*ip == '/')
1380 ++ip;
1381 if (!*ip)
1385 tp = ip;
1386 while (*ip && *ip != '/')
1387 ++ip;
1388 len = ip - tp;
1421 while (*ip == '/')
1423 ++ip;
1425 if (!*ip)
1465 tp = shf_smprintf("%s%s%s", ldest, *ip ? "/" : "", ip);
1467 ip = ipath = tp;
1477 /* assert: (ip == ipath)[0] == '/' */
1481 if (ip[1] == '/' && ip[2] != '/') {
1506 if (ip > ipath && ip[-1] == '/') {
1640 char *dp, *ip, *sp, *tp;
1657 dp = ip = sp = p;
1659 while (*ip) {
1661 while (*ip == '/')
1662 ++ip;
1663 if (!*ip)
1667 tp = ip;
1668 while (*ip && *ip != '/')
1669 ++ip;
1670 len = ip - tp;