Lines Matching defs:pt
41 #define mode(flag, pt) (!flag || ((flag == 1) && islower(pt[1])) || \
42 ((flag == 2) && isupper(pt[1])))
65 char *npt, *pt, *pt2, *copy;
75 for (pt = path; *pt; /* void */) {
80 if ((*pt == '$') && isalpha(pt[1]) &&
81 ((pt == path) || (pt[-1] == '/'))) {
83 if (mode(flag, pt)) {
86 for (npt = pt+1; *npt && (*npt != '/');
100 pt = npt;
103 *copy++ = *pt++;
115 *copy++ = *pt++;
118 islower(pt[1])) {
124 *copy++ = *pt++;
126 *copy++ = *pt++;
132 } else if (*pt == '/') {
133 while (pt[1] == '/')
134 pt++;
135 if ((pt[1] == '\0') && (pt > path))
137 *copy++ = *pt++;
143 *copy++ = *pt++;