/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regerror.c | 47 static const char *regatoi(const regex_t *preg, char *localbuf); 90 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, in regerror() argument 100 s = regatoi(preg, convbuf); in regerror() 136 regatoi(const regex_t *preg, char *localbuf) in regatoi() argument 141 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
|
H A D | regfree.c | 52 regfree(regex_t *preg) in regfree() argument 57 if (preg->re_magic != MAGIC1) /* oops */ in regfree() 60 g = preg->re_g; in regfree() 63 preg->re_magic = 0; /* mark it invalid */ in regfree()
|
H A D | regexec.c | 196 regexec(const regex_t *_RESTRICT_KYWD preg, const char *_RESTRICT_KYWD string, in regexec() argument 199 struct re_guts *g = preg->re_g; in regexec() 210 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
|
H A D | regcomp.c | 200 regcomp(regex_t *_RESTRICT_KYWD preg, const char *_RESTRICT_KYWD pattern, in regcomp() argument 234 if (preg->re_endp < pattern) in regcomp() 236 len = preg->re_endp - pattern; in regcomp() 333 preg->re_nsub = g->nsub; in regcomp() 334 preg->re_g = g; in regcomp() 335 preg->re_magic = MAGIC1; in regcomp() 344 regfree(preg); in regcomp()
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/ |
H A D | testregex.c | 693 error(regex_t* preg, int code) in error() argument 710 regerror(code, preg, msg = buf, sizeof buf); in error() 1138 catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg,… in catchfree() argument 1144 regfree(preg); in catchfree() 1150 regfree(preg); in catchfree() 1158 error(preg, eret); in catchfree() 1256 regex_t preg; in main() local 1447 preg.re_disc = &state.disc.disc; in main() 1944 cret = regcomp(&preg, re, flags); in main() 1948 cret = regcomp(&preg, re, flags); in main() [all …]
|
/illumos-gate/usr/src/uts/sparc/v9/fpu/ |
H A D | uword.c | 205 long long *preg; in read_iureg() local 207 preg = &pregs->r_ps; /* globals and outs */ in read_iureg() 208 *pvalue = preg[n]; in read_iureg() 261 long long *preg; in write_iureg() local 267 preg = &pregs->r_ps; /* globals and outs */ in write_iureg() 268 preg[n] = *pvalue; in write_iureg()
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | misc.c | 54 strregerror(int errcode, regex_t *preg) in strregerror() argument 61 s = regerror(errcode, preg, NULL, 0); in strregerror() 64 (void) regerror(errcode, preg, oe, s); in strregerror()
|
H A D | process.c | 658 regexec_e(regex_t *preg, const char *string, int eflags, int nomatch, in regexec_e() argument 663 if (preg == NULL) { in regexec_e() 667 defpreg = preg; in regexec_e()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 139 uint_t *preg; in display_memoryconf() local 157 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf() 158 if (preg) { in display_memoryconf() 159 interlv = preg[4]; in display_memoryconf() 172 preg = (uint_t *)(get_prop_val( in display_memoryconf() 186 if (preg) { in display_memoryconf() 187 interlv = preg[2]; in display_memoryconf() 189 bank_size = (preg[0]<<12) + (preg[1]>>20); in display_memoryconf() 192 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf() 193 if (preg) { in display_memoryconf() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 142 uint_t *preg; in display_memoryconf() local 160 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf() 161 if (preg) { in display_memoryconf() 162 interlv = preg[4]; in display_memoryconf() 175 preg = (uint_t *)(get_prop_val( in display_memoryconf() 189 if (preg) { in display_memoryconf() 190 interlv = preg[2]; in display_memoryconf() 192 bank_size = (preg[0]<<12) + (preg[1]>>20); in display_memoryconf() 195 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf() 196 if (preg) { in display_memoryconf() [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 64 regex_t preg; member 157 match = (regexec(&data->preg, name, 0, NULL, 0) == 0); in get_either_iter() 229 ((regcomp(&data.preg, regexp, REG_NOSUB)) != 0) in kadm5_get_either() 259 regfree(&data.preg); in kadm5_get_either()
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 260 static regex_t *preg = NULL; variable 713 if ((preg = realloc(preg, (npreg + 1) * in compile() 716 if ((error = regcomp(&preg[npreg], b, in compile() 719 errlen = regerror(error, &preg[npreg], NULL, 0); in compile() 722 (void) regerror(error, &preg[npreg], errmsg, in compile() 1233 if (regexec(&preg[cnpreg], name, 1, &pmatch, 0) == 0) in execute()
|
/illumos-gate/usr/src/cmd/stat/kstat/ |
H A D | kstat.h | 183 regex_t preg; member
|
H A D | kstat.c | 564 regcode = regcomp(&pattern->preg, regstr, in ks_match() 585 return (regexec(&pattern->preg, str, 0, NULL, 0) == 0); in ks_match()
|
/illumos-gate/usr/src/cmd/man/ |
H A D | man.c | 768 regex_t preg; in search_whatis() local 785 if (regcomp(&preg, pkwd, REG_BASIC | REG_ICASE | REG_NOSUB) != 0) in search_whatis() 792 if (regexec(&preg, line, 0, NULL, 0) == 0) { in search_whatis()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2123 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg) in Pgetareg() argument 2140 *preg = P->status.pr_lwp.pr_reg[regno]; in Pgetareg() 3674 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg) in Lgetareg() argument 3686 *preg = L->lwp_status.pr_reg[regno]; in Lgetareg()
|