Lines Matching refs:bp
66 const char *pp, *bp;
107 bp = base + strlen (base);
108 if (*(bp - 1) == G_DIR_SEPARATOR)
109 --bp;
116 while (bp > base && *--bp != G_DIR_SEPARATOR)
126 while (bp > base && *--bp != G_DIR_SEPARATOR)
133 length = bp - base;
152 const char *pp, *bp, *branch;
173 for (pp = path, bp = base; *pp && *bp && *pp == *bp; pp++, bp++)
177 ((*bp == 0) || ((*bp == G_DIR_SEPARATOR) && (*(bp + 1) == 0))))
188 if (((*pp == 0) && (*bp == G_DIR_SEPARATOR)) || ((*pp == G_DIR_SEPARATOR) && (*bp == 0)))
192 for (bp = base + (branch - path); *bp; bp++)
193 if (*bp == G_DIR_SEPARATOR && *(bp + 1) != 0)