Lines Matching refs:dp
40 register char* dp = path;
42 register char* begin = dp;
47 if (!size) size = strlen(dp) + 1;
49 if (*dp == '/' && *(dp + 1) == '/')
50 path = ++dp;
52 if (*dp != '/') dp--;
53 sp = dp;
93 if (dp < begin)
97 if (dp > begin)
98 while (*--dp != '/')
99 if (dp < begin)
114 *dp = 0;
116 if (!(dp = pathnext(path, sp, &visits)))
123 if (!(*(sp = dp) = c))
125 dp--;
130 *++dp = '.';
132 *++dp = '.';
134 *++dp = '.';
140 *++dp = c;
149 if (*dp != '/')
150 *++dp = '/';
151 *++dp = '.';
153 *++dp = 0;
155 return(dp);