Searched defs:preg (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dregfree.c52 regfree(regex_t *preg) argument
62 if (preg->re_magic != MAGIC1) /* oops */
65 g = preg->re_g;
68 preg->re_magic = 0; /* mark it invalid */
H A Dregerror.c88 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, argument
H A Dregexec.c198 regexec(const regex_t *_RESTRICT_KYWD preg, argument
202 struct re_guts *g = preg->re_g;
213 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
H A Dregcomp.c167 regcomp(regex_t *_RESTRICT_KYWD preg, argument
188 if (preg->re_endp < pattern)
190 len = preg->re_endp - pattern;
259 preg->re_nsub = g->nsub;
260 preg->re_g = g;
261 preg->re_magic = MAGIC1;
270 regfree(preg);
/illumos-gate/usr/src/cmd/sed/
H A Dmisc.c54 strregerror(int errcode, regex_t *preg) argument
61 s = regerror(errcode, preg, NULL, 0);
64 (void) regerror(errcode, preg, oe, s);
H A Dprocess.c644 regexec_e(regex_t *preg, const char *string, int eflags, int nomatch, argument
649 if (preg == NULL) {
653 defpreg = preg;
/illumos-gate/usr/src/uts/sparc/v9/fpu/
H A Duword.c205 long long *preg; local
207 preg = &pregs->r_ps; /* globals and outs */
208 *pvalue = preg[n];
261 long long *preg; local
267 preg = &pregs->r_ps; /* globals and outs */
268 preg[n] = *pvalue;
/illumos-gate/usr/src/cmd/stat/kstat/
H A Dkstat.h193 regex_t preg; member in struct:ks_pattern
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c64 regex_t preg; member in struct:iter_data
157 match = (regexec(&data->preg, name, 0, NULL, 0) == 0);
229 ((regcomp(&data.preg, regexp, REG_NOSUB)) != 0)
259 regfree(&data.preg);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c140 uint_t *preg; local
161 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave")));
162 if (preg) {
163 interlv = preg[4];
176 preg = (uint_t *)(get_prop_val(
190 if (preg) {
191 interlv = preg[2];
193 bank_size = (preg[0]<<12) + (preg[1]>>20);
196 preg
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c143 uint_t *preg; local
164 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave")));
165 if (preg) {
166 interlv = preg[4];
179 preg = (uint_t *)(get_prop_val(
193 if (preg) {
194 interlv = preg[2];
196 bank_size = (preg[0]<<12) + (preg[1]>>20);
199 preg
[all...]
/illumos-gate/usr/src/cmd/man/
H A Dman.c725 regex_t preg; local
742 if (regcomp(&preg, pkwd, REG_BASIC | REG_ICASE | REG_NOSUB) != 0)
749 if (regexec(&preg, line, 0, NULL, 0) == 0) {
/illumos-gate/usr/src/cmd/find/
H A Dfind.c249 static regex_t *preg = NULL; variable
644 if ((preg = realloc(preg, (npreg + 1) *
647 if ((error = regcomp(&preg[npreg], b,
650 errlen = regerror(error, &preg[npreg], NULL, 0);
653 (void) regerror(error, &preg[npreg], errmsg,
1133 if (regexec(&preg[cnpreg], name, 1, &pmatch, NULL) == 0)
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c2050 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg) argument
2067 *preg = P->status.pr_lwp.pr_reg[regno];
3587 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg) argument
3599 *preg = L->lwp_status.pr_reg[regno];

Completed in 79 milliseconds