expbuf
char expbuf[MAXESIZ + 1];
suffix = &expbuf[MAXESIZ];
while (suffix > &expbuf[MAXESIZ - 2]) {
to_line(findline(expbuf, offset));
expbuf = compile(string, (char *)0, (char *)0);
to_line(findline(expbuf, offset));
char *expbuf;
static char *expbuf;
if (expbuf)
free(expbuf);
expbuf = compile(genbuf, (char *)0, (char *)0);
return (step(p1, expbuf));
compile(const char *instr, char *expbuf, char *endbuf)
return (dhl_compile(instr, expbuf, endbuf));
step(const char *instr, const char *expbuf)
return (dhl_step(instr, expbuf));
advance(const char *instr, const char *expbuf)
return (dhl_advance(instr, expbuf));
char *expbuf, /* where the compiled RE gets placed */
if (expbuf == NULL) {
if ((expbuf = malloc(regexc_size)) == NULL) {
endbuf = expbuf + regexc_size;
if (expbuf + regexc_size > endbuf) {
memcpy(®_comp, expbuf, regexc_size);
(void) memcpy(expbuf, (char *)®_comp, regexc_size);
free(expbuf);
return (expbuf);
return (expbuf + regexc_size);
static char *expbuf;
if (regerrno != 41 || expbuf == NULL)
if (expbuf)
free(expbuf);
expbuf = nexpbuf;
if (advance(s, expbuf)) {
extern char *altcompile(const char *instring, char *expbuf, char *endbuf);
static char *expbuf;
if (regerrno != 41 || expbuf == NULL)
if (expbuf)
free(expbuf);
expbuf = nexpbuf;
if (step(Line, expbuf))
match = (step(name, data->expbuf) != 0);
((data.expbuf = compile(regexp, NULL, NULL)) == NULL)
char *expbuf;
valid = __step(input, expbuf);
char expbuf[ESIZE];
if (!__compile(regexp[i], expbuf, &expbuf[ESIZE], '\0'))
ep = expbuf;
#define comerr(msg) {expbuf[0] = 0; return (msg); }
if (ep >= &expbuf[ESIZE])
if (ep >= &expbuf[ESIZE])
if (ep >= &expbuf[ESIZE])
p2 = expbuf;
suffix = &expbuf[MAXESIZ];
suffixlength = &expbuf[MAXESIZ] - suffix;
*(suffix = &expbuf[MAXESIZ]) = '\0';
while (suffix > &expbuf[MAXESIZ - 2])
otherlength += (suffixlength = &expbuf[MAXESIZ] \
CHAR_T expbuf[MAXESIZ + 1];
char *expbuf = ep;
expbuf = ep;
free(expbuf);
reglength = (int)(ep - expbuf);
return (expbuf);
extern int step(const char *string, const char *expbuf);
extern int advance(const char *string, const char *expbuf);
extern char *compile(const char *instring, char *expbuf, char *endbuf);
static char expbuf[ESIZE];
compile(p, expbuf, &expbuf[ESIZE], 0);
if(advance(s, expbuf)) {
char *address(expbuf)
char *expbuf;
if (expbuf > &respace[RESIZE-2])
*expbuf++ = CEND;
*expbuf++ = CCEOF;
return(expbuf);
return(comple((char *) 0, expbuf, &respace[RESIZE-1], sseof));
if (expbuf > &respace[RESIZE-3])
*expbuf++ = CLNUM;
*expbuf++ = nlno;
*expbuf++ = CCEOF;
return(expbuf);
char *ycomp(expbuf)
char *expbuf;
ep = expbuf;
match(char *expbuf, int gf)
if(*expbuf) return(0);
circf = *expbuf++;
return(step(p1, expbuf));
static int match(char *expbuf, int gf);
ep = expbuf;
#define comerr(msg) {expbuf[0] = 0; return (msg); }
if (ep >= &expbuf[ESIZE])
if (ep >= &expbuf[ESIZE])
if (ep >= &expbuf[ESIZE])
p2 = expbuf;
char expbuf[MAXESIZ + 1];
*(suffix = &expbuf[MAXESIZ]) = '\0';
while (suffix > &expbuf[MAXESIZ - 2])
(int)(&expbuf[MAXESIZ] - suffix));