Lines Matching refs:bpt
65 char *bpt; in getcwd() local
97 bpt = pt; in getcwd()
99 while (bpt < ept) { in getcwd()
100 c = *bpt; in getcwd()
101 *bpt++ = *ept; in getcwd()
107 bpt = ept - 1; in getcwd()
108 *bpt = '\0'; in getcwd()
129 *--bpt = '/'; in getcwd()
135 bcopy(bpt, pt, ept - bpt); in getcwd()
189 while (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd()
196 off = bpt - pt; in getcwd()
197 len = ept - bpt; in getcwd()
200 bpt = pt + off; in getcwd()
202 bcopy(bpt, ept - len, len); in getcwd()
203 bpt = ept - len; in getcwd()
206 *--bpt = '/'; in getcwd()
207 bpt -= dp->d_namlen; in getcwd()
208 bcopy(dp->d_name, bpt, dp->d_namlen); in getcwd()