Lines Matching refs:segp
1550 char *segp, *tmp;
1557 segp = cur;
1558 while ((segp[0] != '/') && (segp[0] != '\0'))
1559 ++segp;
1564 if (segp[0] == '\0')
1570 ++segp;
1571 if (((cur[0] == '.') && (cur[1] == '.') && (segp == cur+3))
1572 || ((segp[0] != '.') || (segp[1] != '.')
1573 || ((segp[2] != '/') && (segp[2] != '\0')))) {
1574 cur = segp;
1586 if (segp[2] == '\0') {
1590 /* Valgrind complained, strcpy(cur, segp + 3); */
1593 segp += 3;
1594 while ((*tmp++ = *segp++) != 0);
1597 segp = cur;
1598 while ((segp > path) && ((--segp)[0] == '/'))
1600 if (segp == path)
1603 /* "segp" is pointing to the end of a previous segment; find it's
1610 cur = segp;