Searched refs:reflags (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | fnmatch.c | 55 register int reflags = REG_SHELL|REG_LEFT; in fnmatch() local 62 reflags |= mp->reg; in fnmatch() 65 if (!(reflags = regcomp(&re, pattern, reflags))) in fnmatch() 67 reflags = regexec(&re, subject, 1, &match, 0); in fnmatch() 69 if (!reflags && (reflags = subject[match.rm_eo])) in fnmatch() 70 reflags = reflags == '/' ? 0 : FNM_NOMATCH; in fnmatch() 73 else if (!(reflags = regcomp(&re, pattern, reflags|REG_RIGHT))) in fnmatch() 75 reflags = regexec(&re, subject, 0, NiL, 0); in fnmatch() 78 return reflags; in fnmatch()
|
/titanic_44/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 83 register regflags_t reflags; in strgrpmatch() local 107 reflags = flags & ~REG_ADVANCE; in strgrpmatch() 110 reflags = REG_SHELL|REG_AUGMENTED; in strgrpmatch() 112 reflags |= REG_MINIMAL; in strgrpmatch() 114 reflags |= REG_SHELL_GROUP; in strgrpmatch() 116 reflags |= REG_LEFT; in strgrpmatch() 118 reflags |= REG_RIGHT; in strgrpmatch() 120 reflags |= REG_ICASE; in strgrpmatch() 123 reflags |= REG_NOSUB; in strgrpmatch() 124 if (!(re = regcache(p, reflags, NiL))) in strgrpmatch() [all …]
|
/titanic_44/usr/src/lib/libast/common/regex/ |
H A D | regcache.c | 42 regflags_t reflags; member 79 regcache(const char* pattern, regflags_t reflags, int* status) in regcache() argument 97 if (reflags > matchstate.size) in regcache() 99 if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) in regcache() 100 matchstate.size = reflags; in regcache() 145 …= key && !strcmp(matchstate.cache[i]->pattern, pattern) && matchstate.cache[i]->reflags == reflags) in regcache() 183 if (i = regcomp(&cp->re, pattern, reflags)) in regcache() 190 cp->reflags = reflags; in regcache()
|