Lines Matching refs:file
51 static int selective_vpath_search PARAMS ((struct vpath *path, char **file, FILE_TIMESTAMP *mtime_p…
318 gpath_search (char *file, unsigned int len) in gpath_search() argument
324 if (strneq (*gp, file, len) && (*gp)[len] == '\0') in gpath_search()
337 vpath_search (char **file, FILE_TIMESTAMP *mtime_ptr) in vpath_search() argument
344 if (**file == '/' in vpath_search()
346 || **file == '\\' in vpath_search()
347 || (*file)[1] == ':' in vpath_search()
353 if (pattern_matches (v->pattern, v->percent, *file)) in vpath_search()
354 if (selective_vpath_search (v, file, mtime_ptr)) in vpath_search()
358 && selective_vpath_search (general_vpath, file, mtime_ptr)) in vpath_search()
372 selective_vpath_search (struct vpath *path, char **file, in selective_vpath_search() argument
388 struct file *f = lookup_file (*file); in selective_vpath_search()
392 flen = strlen (*file); in selective_vpath_search()
398 n = strrchr (*file, '/'); in selective_vpath_search()
402 char *bslash = strrchr(*file, '\\'); in selective_vpath_search()
407 name_dplen = n != 0 ? n - *file : 0; in selective_vpath_search()
408 filename = name_dplen > 0 ? n + 1 : *file; in selective_vpath_search()
436 bcopy (*file, n, name_dplen); in selective_vpath_search()
478 struct file *f = lookup_file (name); in selective_vpath_search()
547 *file = savestring (name, (n + 1 - name) + flen); in selective_vpath_search()