Lines Matching refs:prefix
293 register char* prefix;
328 prefix = dirname = ap->gl_path + gp->gl_extra;
329 first = (rescan == prefix);
350 c = (*gp->gl_type)(gp, prefix, 0);
353 addmatch(gp, NiL, prefix, NiL, rescan - 1, anymeta);
355 else if ((anymeta || !(gp->gl_flags & GLOB_NOCHECK)) && (*gp->gl_type)(gp, prefix, 0))
356 addmatch(gp, NiL, prefix, NiL, NiL, anymeta);
402 if (pat == prefix)
404 prefix = 0;
415 if (pat == prefix + 1)
480 prefix = streq(dirname, ".") ? (char*)0 : dirname;
536 addmatch(gp, prefix, name, matchdir, NiL, anymeta);
540 addmatch(gp, prefix, name, rescan, NiL, anymeta);
542 addmatch(gp, prefix, name, starstar==2?"":NiL, NiL, anymeta);