Lines Matching refs:segp
1491 char *segp, *tmp;
1498 segp = cur;
1499 while ((segp[0] != '/') && (segp[0] != '\0'))
1500 ++segp;
1505 if (segp[0] == '\0')
1511 ++segp;
1512 if (((cur[0] == '.') && (cur[1] == '.') && (segp == cur+3))
1513 || ((segp[0] != '.') || (segp[1] != '.')
1514 || ((segp[2] != '/') && (segp[2] != '\0')))) {
1515 cur = segp;
1527 if (segp[2] == '\0') {
1531 /* Valgrind complained, strcpy(cur, segp + 3); */
1534 segp += 3;
1535 while ((*tmp++ = *segp++) != 0)
1539 segp = cur;
1540 while ((segp > path) && ((--segp)[0] == '/'))
1542 if (segp == path)
1545 /* "segp" is pointing to the end of a previous segment; find it's
1552 cur = segp;