/titanic_44/usr/src/cmd/expr/ |
H A D | compile.c | 103 compile(const char *instr, char *expbuf, char *endbuf) in compile() argument 105 return (dhl_compile(instr, expbuf, endbuf)); in compile() 109 step(const char *instr, const char *expbuf) in step() argument 111 return (dhl_step(instr, expbuf)); in step() 115 advance(const char *instr, const char *expbuf) in advance() argument 117 return (dhl_advance(instr, expbuf)); in advance() 141 dhl_compile(instr, expbuf, endbuf) in dhl_compile() argument 143 char *expbuf; /* where the compiled RE gets placed */ 159 if (expbuf == NULL) { 160 if ((expbuf = malloc(regexc_size)) == NULL) { [all …]
|
H A D | expr.c | 397 static char *expbuf; in ematch() local 412 if (regerrno != 41 || expbuf == NULL) in ematch() 415 if (expbuf) in ematch() 416 free(expbuf); in ematch() 417 expbuf = nexpbuf; in ematch() 419 if (advance(s, expbuf)) { in ematch()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | regexpr.c | 127 #define expbuf (_re->_expbuf) macro 157 ep = expbuf; in re_comp() 159 #define comerr(msg) {expbuf[0] = 0; return (msg); } in re_comp() 173 if (ep >= &expbuf[ESIZE]) in re_comp() 224 if (ep >= &expbuf[ESIZE]) in re_comp() 230 if (ep >= &expbuf[ESIZE]) in re_comp() 282 p2 = expbuf; in re_exec()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | regex.c | 117 #define expbuf (_re->_expbuf) macro 147 ep = expbuf; in re_comp() 149 #define comerr(msg) {expbuf[0] = 0; numbra = 0; return(msg); } in re_comp() 163 if (ep >= &expbuf[ESIZE]) in re_comp() 213 if (ep >= &expbuf[ESIZE]) in re_comp() 219 if (ep >= &expbuf[ESIZE]) in re_comp() 271 p2 = expbuf; in re_exec()
|
/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | regex.c | 130 #define expbuf (_re->_expbuf) macro 163 ep = expbuf; in re_comp() 165 #define comerr(msg) {expbuf[0] = 0; return (msg); } in re_comp() 179 if (ep >= &expbuf[ESIZE]) in re_comp() 229 if (ep >= &expbuf[ESIZE]) in re_comp() 235 if (ep >= &expbuf[ESIZE]) in re_comp() 287 p2 = expbuf; in re_exec()
|
/titanic_44/usr/src/lib/libgen/inc/ |
H A D | regexpr.h | 60 extern int step(const char *string, const char *expbuf); 61 extern int advance(const char *string, const char *expbuf); 62 extern char *compile(const char *instring, char *expbuf, char *endbuf);
|
/titanic_44/usr/src/ucbcmd/sed/ |
H A D | sed0.c | 698 char *address(expbuf) in address() argument 699 char *expbuf; in address() 705 if (expbuf > &respace[RESIZE-2]) 708 *expbuf++ = CEND; 709 *expbuf++ = CCEOF; 710 return(expbuf); 716 return(comple((char *) 0, expbuf, &respace[RESIZE-1], sseof)); 726 if (expbuf > &respace[RESIZE-3]) 728 *expbuf++ = CLNUM; 729 *expbuf++ = nlno; [all …]
|
H A D | sed1.c | 98 static int match(char *expbuf, int gf); 229 match(char *expbuf, int gf) in match() argument 234 if(*expbuf) return(0); in match() 241 circf = *expbuf++; in match() 242 return(step(p1, expbuf)); in match()
|
/titanic_44/usr/src/lib/libadm/common/ |
H A D | ckstr.c | 88 char expbuf[ESIZE]; in ckstr_val() local 99 if (!__compile(regexp[i], expbuf, &expbuf[ESIZE], '\0')) in ckstr_val() 101 valid = __step(input, expbuf); in ckstr_val()
|
/titanic_44/usr/src/lib/libgen/common/ |
H A D | reg_compile.c | 158 char *expbuf = ep; in _compile() local 186 expbuf = ep; in _compile() 430 free(expbuf); in _compile() 433 reglength = (int)(ep - expbuf); in _compile() 435 return (expbuf); in _compile()
|
/titanic_44/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 61 char *expbuf; member 154 match = (step(name, data->expbuf) != 0); in get_either_iter() 226 ((data.expbuf = compile(regexp, NULL, NULL)) == NULL) in kadm5_get_either()
|
/titanic_44/usr/src/ucbcmd/expr/ |
H A D | expr.y | 300 static char expbuf[ESIZE]; in ematch() local 305 compile(p, expbuf, &expbuf[ESIZE], 0); in ematch() 308 if(advance(s, expbuf)) { in ematch()
|
/titanic_44/usr/src/cmd/csplit/ |
H A D | csplit.c | 57 char *expbuf; variable 477 to_line(findline(expbuf, offset)); in num_arg() 529 expbuf = compile(string, (char *)0, (char *)0); in re_arg() 532 to_line(findline(expbuf, offset)); in re_arg()
|
/titanic_44/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doprnt.c | 149 char expbuf[7]; /* "e+xxxx\0" */ in _doprnt() local 744 _fourdigitsquick( (short unsigned) n, &(expbuf[2]) ) ; in _doprnt() 745 expbuf[6] = 0 ; in _doprnt() 751 { suffix = &(expbuf[4]) ; suffixlength = 4 ; } in _doprnt() 753 { suffix = &(expbuf[3]) ; suffixlength = 5 ; } in _doprnt() 755 { suffix = &(expbuf[2]) ; suffixlength = 6 ; } in _doprnt()
|
/titanic_44/usr/src/cmd/grep/ |
H A D | grep.c | 112 static char *expbuf; variable 219 expbuf = compile(*argv, (char *)0, (char *)0); in main() 416 if ((step(lbuf, expbuf) ^ vflag) && succeed(file) == 1) in execute()
|
/titanic_44/usr/src/cmd/csh/ |
H A D | printf.c | 141 char expbuf[MAXESIZ + 1]; in _print() local 474 suffix = &expbuf[MAXESIZ]; in _print() 488 while (suffix > &expbuf[MAXESIZ - 2]) { in _print()
|
/titanic_44/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 201 char expbuf[MAXESIZ + 1]; in _doprnt() local 756 *(suffix = &expbuf[MAXESIZ]) = '\0'; in _doprnt() 767 while (suffix > &expbuf[MAXESIZ - 2]) in _doprnt() 778 (int)(&expbuf[MAXESIZ] - suffix)); in _doprnt()
|
/titanic_44/usr/src/cmd/pg/ |
H A D | pg.c | 1245 static char *expbuf; local 1252 if (regerrno != 41 || expbuf == NULL) 1255 if (expbuf) 1256 free(expbuf); 1257 expbuf = nexpbuf; 1273 if (step(Line, expbuf))
|
/titanic_44/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 506 wchar_t expbuf[MAXESIZ + 1]; in _wndoprnt() local 520 char expbuf[MAXESIZ + 1]; in _wndoprnt() local 1376 suffix = &expbuf[MAXESIZ]; in _wndoprnt() 1397 suffixlength = &expbuf[MAXESIZ] - suffix; in _wndoprnt() 1474 *(suffix = &expbuf[MAXESIZ]) = '\0'; in _wndoprnt() 1485 while (suffix > &expbuf[MAXESIZ - 2]) in _wndoprnt() 1495 otherlength += (suffixlength = &expbuf[MAXESIZ] \ in _wndoprnt()
|
/titanic_44/usr/src/cmd/ed/ |
H A D | ed.c | 189 static char *expbuf; variable 2184 if (expbuf) in comple() 2185 free(expbuf); in comple() 2186 expbuf = compile(genbuf, (char *)0, (char *)0); in comple() 2287 return (step(p1, expbuf)); in execute()
|
/titanic_44/usr/src/cmd/mail/ |
H A D | mail.h | 277 extern char *altcompile(const char *instring, char *expbuf, char *endbuf);
|