Home
last modified time | relevance | path

Searched refs:regexc_size (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c98 size_t regexc_size = sizeof (reg_comp); variable
158 if ((expbuf = malloc(regexc_size)) == NULL) { in dhl_compile()
162 memset(&reg_comp, 0, regexc_size); in dhl_compile()
164 endbuf = expbuf + regexc_size; in dhl_compile()
166 if (expbuf + regexc_size > endbuf) { in dhl_compile()
170 memcpy(&reg_comp, expbuf, regexc_size); in dhl_compile()
232 (void) memcpy(expbuf, (char *)&reg_comp, regexc_size); in dhl_compile()
246 reglength = regexc_size; in dhl_compile()
251 return (expbuf + regexc_size); in dhl_compile()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_re.c61 extern size_t regexc_size; /* compile.c: size of regex_comp structure */
1007 if (regexc_size > EXPSIZ) { in vi_compile()
1033 + regexc_size); in vi_compile()