Lines Matching refs:lastslash
210 char *lastslash; in pattern_search() local
275 lastslash = 0; in pattern_search()
283 lastslash = strrchr (filename, ']'); in pattern_search()
284 if (lastslash == 0) in pattern_search()
285 lastslash = strrchr (filename, ':'); in pattern_search()
287 lastslash = strrchr (filename, '/'); in pattern_search()
293 if (lastslash == 0 || bslash > lastslash) in pattern_search()
294 lastslash = bslash; in pattern_search()
295 if (lastslash == 0 && filename[0] && filename[1] == ':') in pattern_search()
296 lastslash = filename + 1; in pattern_search()
300 if (lastslash != 0 && lastslash[1] == '\0') in pattern_search()
301 lastslash = 0; in pattern_search()
348 if (lastslash) in pattern_search()
368 unsigned int difference = lastslash - filename + 1; in pattern_search()
378 if (stem > (lastslash + 1) in pattern_search()
379 && !strneq (target, lastslash + 1, stem - lastslash - 1)) in pattern_search()
472 stem += lastslash - filename + 1; in pattern_search()
473 stemlen -= (lastslash - filename) + 1; in pattern_search()
610 unsigned long l = lastslash - filename + 1; in pattern_search()
921 int dirlen = (lastslash + 1) - filename; in pattern_search()