Lines Matching refs:subpath
145 char *subpath, *component; in lf_xftw() local
223 subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */ in lf_xftw()
224 if (subpath == NULL) { in lf_xftw()
232 (void) strcpy(subpath, path); in lf_xftw()
233 if (subpath[0] != '\0' && subpath[n-1] != '/') in lf_xftw()
234 subpath[n++] = '/'; in lf_xftw()
235 component = &subpath[n]; in lf_xftw()
237 sublen -= component - subpath; in lf_xftw()
266 rc = lf_xftw(subpath, fn, depth-1, statfn); in lf_xftw()
268 free(subpath); in lf_xftw()
280 free(subpath); in lf_xftw()
292 free(subpath); in lf_xftw()