Home
last modified time | relevance | path

Searched refs:regmatch_t (Results 1 – 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dregex.h31 #define regmatch_t int macro
36 #undef regmatch_t
152 } regmatch_t; typedef
204 extern int regexec(const regex_t*, const char*, size_t, regmatch_t*, regflags_t);
229 extern int regnexec(const regex_t*, const char*, size_t, size_t, regmatch_t*, regflags_t);
233 extern int regrexec(const regex_t*, const char*, size_t, size_t, regmatch_t*, regflags_t, int, void…
239 extern int regsubexec(const regex_t*, const char*, size_t, regmatch_t*);
250 extern int regsub(const regex_t*, struct _sfio_s*, const char*, const char*, size_t, regmatch_t*, r…
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregexec.c36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags) in regexec()
42 regmatch_t* e; in regexec()
74 regmatch_t* match; in regexec()
78 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regexec()
H A Dregsubexec.c71 …er regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch, register regmatch_t* match) in sub()
148 regsubexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match) in regsubexec()
216 regmatch_t* match; in regsubexec()
220 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regsubexec()
H A Dregrexec.c36 regrexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t … in regrexec()
165 regmatch_t* match; in regrexec()
169 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regrexec()
H A Dregsub.c35 …* dp, const char* op, register const char* sp, size_t nmatch, register regmatch_t* match, register… in subold()
242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* mat… in regsub()
H A Dreglib.h537 regmatch_t* match; /* subexrs in current match */
538 regmatch_t* best; /* ditto in best match yet */
566 regmatch_t nomatch;
H A Dregnexec.c233 regmatch_t* match;
234 regmatch_t save[1];
251 regmatch_t* m; in _matchpush()
252 regmatch_t* e; in _matchpush()
253 regmatch_t* s; in _matchpush()
258 if (!(f = (Match_frame_t*)stkpush(stkstd, sizeof(Match_frame_t) + (num - 1) * sizeof(regmatch_t)))) in _matchpush()
263 f->size = num * sizeof(regmatch_t); in _matchpush()
367 showmatch(regmatch_t* p) in showmatch()
811 regmatch_t* o; in parse()
1062 memcpy(&env->best[1], &env->match[1], r * sizeof(regmatch_t)); in parse()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Drestrict-array.c27 } regmatch_t; typedef
32 regmatch_t __pmatch[__restrict_arr],
/illumos-gate/usr/src/head/
H A Dregex.h153 } regmatch_t; typedef
162 size_t, regmatch_t *_RESTRICT_KYWD, int);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrmatch.c63 regmatch_t* match;
139 if (!(matchstate.match = newof(matchstate.match, regmatch_t, n, 0))) in strgrpmatch()
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c83 static regmatch_t rm[SEPSIZE]; /* ptr to list of RE matches */
309 regmatch_t *prm; /* ptr to current regmatch_t */ in dhl_doit()
/illumos-gate/usr/src/cmd/sed/
H A Dextern.h40 extern regmatch_t *match;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfnmatch.c58 regmatch_t match; in fnmatch()
H A Dregexp.c98 regmatch_t match[elementsof(re->re_braslist)+1]; in _re_exec()
H A Dregcmp.c197 regmatch_t match[SUB + 1]; in regex()
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.h90 jstring zjni_get_matched_string(JNIEnv *, char *, regmatch_t *);
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c49 regmatch_t pmatch[2]; in main()
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c44 regvalue(regmatch_t match, char *string) in regvalue()
154 regmatch_t matches[10]; in parse_lpd_job()
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dengine.c85 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */
105 static int matcher(struct re_guts *, const char *, size_t, regmatch_t[], int);
186 regmatch_t pmatch[], int eflags) in matcher()
323 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * in matcher()
324 sizeof (regmatch_t)); in matcher()
H A Dregexec.c197 size_t nmatch, regmatch_t pmatch[_RESTRICT_KYWD], int eflags) in regexec()
/illumos-gate/usr/src/cmd/pgrep/
H A Dpsexp.c113 regmatch_t pmatch; in psexp_match()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_help.c220 regmatch_t pmatch; in print_wdesc()
309 regmatch_t pmatch; in print_ddesc()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.h204 regmatch_t *d_pmatch;
/illumos-gate/usr/src/test/libc-tests/tests/regex/
H A Dtestregex.c554 regmatch_t NOMATCH;
858 matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test) in matchprint()
882 matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flag… in matchcheck()
1078 extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* m… in extract()
1138 …bs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmat… in catchfree()
1255 regmatch_t match[100]; in main()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c212 regmatch_t match_match; in aname_do_match()
290 regmatch_t match_match; in do_replacement()

12