Lines Matching defs:pt
64 struct stat dot, pt;
104 if (stat(b, &pt) < 0)
108 * separately test for pt.st_dev and pt.st_ino being non-zero, because
111 if (dot.st_dev != pt.st_dev || dot.st_ino != pt.st_ino) {
130 __private_getcwd(pt, size, usegetpath)
131 char *pt;
153 if (pt) {
163 ept = pt + size;
165 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL)
167 ept = pt + ptsize;
170 if (__getcwd(pt, ept - pt) == 0) {
171 return (pt);
215 bcopy(bpt, pt, ept - bpt);
217 return (pt);
279 while (bpt - pt < dp->d_namlen + (first ? 1 : 2)) {
286 off = bpt - pt;
288 if ((pt = reallocf(pt, ptsize *= 2)) == NULL)
290 bpt = pt + off;
291 ept = pt + ptsize;
319 free(pt);
329 getcwd(pt, size)
330 char *pt;
333 return __private_getcwd(pt, size, 1);