/ast/src/cmd/tw/ |
H A D | ftwlocal.c | 38 return !strgrpmatch(fmtfs(&ftw->statb), "([an]fs|samb)", NiL, 0, STR_LEFT|STR_ICASE);
|
H A D | expr.c | 675 return strgrpmatch(str, pat, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT|((Ftw_t*)env)->ignorecase);
|
/ast/src/lib/libast/string/ |
H A D | strmatch.c | 80 strgrpmatch(const char* b, const char* p, ssize_t* sub, int n, register int flags) function 179 return strgrpmatch(s, p, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT); 187 * OBSOLETE: use strgrpmatch() 195 return strgrpmatch(s, p, match, 1, (flags ? STR_MAXIMAL : 0)|STR_LEFT) ? (char*)s + match[1] : (char*)0; 198 #undef strgrpmatch macro 200 #define strgrpmatch _ast_strgrpmatch macro 204 strgrpmatch(const char* b, const char* p, int* sub, int n, int flags) function
|
H A D | ccmapid.c | 147 if (strgrpmatch(name, mp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE))
|
/ast/src/cmd/3d/ |
H A D | strmatch.c | 75 #define strgrpmatch _3d_strgrpmatch macro 757 strgrpmatch(const char* b, const char* p, ssize_t* sub, int n, int flags) function 809 return strgrpmatch(s, p, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT);
|
/ast/src/lib/libast/astsa/ |
H A D | strmatch.c | 547 strgrpmatch(const char* b, const char* p, ssize_t* sub, int n, int flags) function 596 return strgrpmatch(s, p, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT);
|
/ast/src/cmd/sort/ |
H A D | sfopen.c | 219 if (!io->pattern && !(m = 0) || (m = strgrpmatch(path, io->pattern, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_RIGHT)))
|
/ast/src/lib/libtksh/src/ |
H A D | list.c | 306 exp->n = strgrpmatch(string, exp->re, exp->pos, 10, STR_MAXIMAL);
|
/ast/src/cmd/html/ |
H A D | htmlrefs.c | 476 if (strgrpmatch(s, internal, NiL, 0, 0)) 481 else if (strgrpmatch(s, "</HEAD>", NiL, 0, STR_ICASE)) 874 if (head && strgrpmatch(s, "</HEAD>", NiL, 0, STR_ICASE))
|
/ast/src/cmd/re/ |
H A D | testmatch.c | 66 H(" testmatch - strgrpmatch(3) test harness\n"); 72 H(" testmatch reads strgrpmatch(3) test specifications, one per line, from\n"); 97 H(" Field 1: the strgrpmatch(3) flags to apply, one character per\n"); 126 H(" Field 2: the strgrpmatch expression pattern; SAME uses the pattern\n"); 142 H(" Glenn Fowler <gsf@research.att.com> (ksh strgrpmatch)\n"); 166 "strgrpmatch", 1028 fun = "strgrpmatch"; 1029 eret = (rmatch = strgrpmatch(s, re, match, nmatch / 2, eflags)) == 0; 1043 fun = "strgrpmatch"; 1044 eret = (rmatch = strgrpmatch( [all...] |
/ast/src/lib/libast/include/ |
H A D | ast.h | 148 * strgrpmatch() flags 330 extern int strgrpmatch(const char*, const char*, int*, int, int);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | test.c | 103 n = strgrpmatch(str, pat, match, m, STR_GROUP|STR_MAXIMAL|STR_LEFT|STR_RIGHT);
|
/ast/src/cmd/mailx/ |
H A D | spam.c | 81 #define strcasecmp(s,p) (!strgrpmatch(s,p,NiL,0,STR_ICASE|STR_MAXIMAL|STR_LEFT|STR_RIGHT))
|
/ast/src/cmd/pax/ |
H A D | misc.c | 98 if (!strcasecmp(name, fp->name) || fp->match && strgrpmatch(name, fp->match, NiL, 0, STR_ICASE|STR_LEFT|STR_RIGHT))
|
/ast/src/lib/libast/comp/ |
H A D | iconv.c | 452 if (strgrpmatch(m, cp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE))
|
/ast/src/lib/libast/misc/ |
H A D | fastfind.c | 888 if (!fp->decode.match || strgrpmatch(fp->decode.path, fp->decode.pattern, NiL, 0, STR_MAXIMAL|STR_LEFT|STR_RIGHT|ignorecase))
|
H A D | fts.c | 1530 return !strgrpmatch(fmtfs(ent->fts_statp), "([an]fs|samb)", NiL, 0, STR_LEFT|STR_ICASE);
|
H A D | magic.c | 47 #define match(s,p) strgrpmatch(s,p,NiL,0,STR_LEFT|STR_RIGHT|STR_ICASE)
|