Lines Matching refs:subpath
141 char *subpath, *component;
219 subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */
220 if (subpath == NULL) {
228 (void) strcpy(subpath, path);
229 if (subpath[0] != '\0' && subpath[n-1] != '/')
230 subpath[n++] = '/';
231 component = &subpath[n];
233 sublen -= component - subpath;
262 rc = lf_xftw(subpath, fn, depth-1, statfn);
264 free(subpath);
276 free(subpath);
288 free(subpath);