Searched refs:eolbyte (Results 1 – 5 of 5) sorted by relevance
| /NextBSD/gnu/usr.bin/grep/ |
| HD | grep.c | 171 unsigned char eolbyte; variable 296 bufbeg[-1] = eolbyte; in reset() 403 bufbeg[-1] = eolbyte; in fillbuf() 563 for (beg = lastnl; beg != lim; beg = memchr (beg, eolbyte, lim - beg), beg++) in nlscan() 671 char const *nl = memchr (lastout, eolbyte, lim - lastout); in prpending() 690 char eol = eolbyte; in prtext() 811 char eol = eolbyte; in grep() 1407 eolbyte = '\n'; in main() 1650 eolbyte = '\0'; in main()
|
| HD | search.c | 173 dfasyntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE, match_icase, eolbyte); in Gcompile() 252 dfasyntax (RE_SYNTAX_AWK, match_icase, eolbyte); in Ecompile() 257 dfasyntax (RE_SYNTAX_POSIX_EGREP, match_icase, eolbyte); in Ecompile() 328 char eol = eolbyte; in EGexecute() 893 char eol = eolbyte; in Fexecute() 1184 if (eolbyte != '\n') in Pcompile() 1267 char eol = eolbyte; in Pexecute()
|
| HD | grep.h | 44 extern unsigned char eolbyte; /* -z */
|
| HD | dfa.c | 293 static unsigned char eolbyte; variable 302 eolbyte = eol; in dfasyntax() 970 clrbit(eolbyte, ccl); in lex() 1085 clrbit(eolbyte, ccl); in lex() 1966 setbit(eolbyte, newline); in dfastate() 2004 clrbit(eolbyte, matches); in dfastate() 2115 trans[eolbyte] = state_newline; in dfastate() 2176 if (tstbit(eolbyte, labels[i])) in dfastate() 2208 if (c == eolbyte) in dfastate() 2295 trans[eolbyte] = -1; in build_state() [all …]
|
| HD | ChangeLog | 1461 * src/dfa.c (eolbyte): New var. 1465 * src/grep.h (eolbyte): New decl. 1466 * src/grep.c (eolbyte): New var. 1474 * src/search.c (Gcompile, Ecompile): Pass eolbyte to dfasyntax. 1475 (EGexecute, Fexecute): Use eolbyte instead of '\n'.
|