Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/lib/libc/port/locale/
H A Dregfree.c52 regfree(regex_t *preg) in regfree() argument
62 if (preg->re_magic != MAGIC1) /* oops */ in regfree()
65 g = preg->re_g; in regfree()
68 preg->re_magic = 0; /* mark it invalid */ in regfree()
H A Dregexec.c198 regexec(const regex_t *_RESTRICT_KYWD preg, in regexec() argument
202 struct re_guts *g = preg->re_g; in regexec()
213 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
H A Dregerror.c88 regerror(int errcode, const regex_t *_RESTRICT_KYWD preg, in regerror() argument
H A Dregcomp.c167 regcomp(regex_t *_RESTRICT_KYWD preg, in regcomp() argument
188 if (preg->re_endp < pattern) in regcomp()
190 len = preg->re_endp - pattern; in regcomp()
259 preg->re_nsub = g->nsub; in regcomp()
260 preg->re_g = g; in regcomp()
261 preg->re_magic = MAGIC1; in regcomp()
270 regfree(preg); in regcomp()
/titanic_50/usr/src/cmd/sed/
H A Dmisc.c54 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 Dprocess.c644 regexec_e(regex_t *preg, const char *string, int eflags, int nomatch, in regexec_e() argument
649 if (preg == NULL) { in regexec_e()
653 defpreg = preg; in regexec_e()
/titanic_50/usr/src/uts/sparc/v9/fpu/
H A Duword.c205 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()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c140 uint_t *preg; in display_memoryconf() local
161 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf()
162 if (preg) { in display_memoryconf()
163 interlv = preg[4]; in display_memoryconf()
176 preg = (uint_t *)(get_prop_val( in display_memoryconf()
190 if (preg) { in display_memoryconf()
191 interlv = preg[2]; in display_memoryconf()
193 bank_size = (preg[0]<<12) + (preg[1]>>20); in display_memoryconf()
196 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf()
197 if (preg) { in display_memoryconf()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c143 uint_t *preg; in display_memoryconf() local
164 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf()
165 if (preg) { in display_memoryconf()
166 interlv = preg[4]; in display_memoryconf()
179 preg = (uint_t *)(get_prop_val( in display_memoryconf()
193 if (preg) { in display_memoryconf()
194 interlv = preg[2]; in display_memoryconf()
196 bank_size = (preg[0]<<12) + (preg[1]>>20); in display_memoryconf()
199 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf()
200 if (preg) { in display_memoryconf()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c64 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()
/titanic_50/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)
/titanic_50/usr/src/cmd/stat/kstat/
H A Dkstat.h193 regex_t preg; member
H A Dkstat.c554 regcode = regcomp(&pattern->preg, regstr, in ks_match()
575 return (regexec(&pattern->preg, str, 0, NULL, 0) == 0); in ks_match()
/titanic_50/usr/src/cmd/man/
H A Dman.c725 regex_t preg; in search_whatis() local
742 if (regcomp(&preg, pkwd, REG_BASIC | REG_ICASE | REG_NOSUB) != 0) in search_whatis()
749 if (regexec(&preg, line, 0, NULL, 0) == 0) { in search_whatis()
/titanic_50/usr/src/lib/libproc/common/
H A Dllib-lproc62 int Pgetareg(struct ps_prochandle *Pr, int regno, prgreg_t *preg);
104 int Lgetareg(struct ps_lwphandle *Lwp, int regno, prgreg_t *preg);
H A DPcontrol.c2011 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg) in Pgetareg() argument
2028 *preg = P->status.pr_lwp.pr_reg[regno]; in Pgetareg()
3548 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg) in Lgetareg() argument
3560 *preg = L->lwp_status.pr_reg[regno]; in Lgetareg()