Lines Matching defs:re_flags
61 int re_flags; \
290 glob_dir(glob_t* gp, globlist_t* ap, int re_flags)
312 int meta = ((gp->re_flags & REG_ICASE) && *ap->gl_begin != '/') ? MATCH_META : 0;
484 if (!(gp->re_flags & REG_ICASE) && ((*gp->gl_attr)(gp, dirname, 0) & GLOB_ICASE))
488 if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE))
494 gp->re_flags = regstat(prei)->re_flags & ~REG_ICASE;
503 if (err = regcomp(&rec, pat, gp->re_flags))
509 gp->re_flags = regstat(prec)->re_flags;
514 if ((ire = gp->gl_ignore) && (gp->re_flags & REG_ICASE))
518 if (regcomp(&gp->re_ignorei, gp->gl_fignore, re_flags|REG_ICASE))
585 int re_flags;
610 gp->re_flags = REG_SHELL|REG_NOSUB|REG_LEFT|REG_RIGHT|((flags&GLOB_AUGMENTED)?REG_AUGMENTED:0);
657 gp->re_flags |= REG_SHELL_GROUP;
659 gp->re_flags |= REG_ICASE;
661 gp->re_flags |= REG_SHELL_DOT;
664 if (regcomp(&gp->re_ignore, gp->gl_fignore, gp->re_flags))
728 gp->re_flags |= REG_ICASE;
730 gp->re_flags &= ~REG_ICASE;
755 re_flags = gp->re_flags;
760 glob_dir(gp, ap, re_flags);
762 gp->re_flags = re_flags;