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