/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
H A D | m-regex.c | 47 char eolbyte; member 85 bool match_icase, bool match_words, bool match_lines, char eolbyte) in kwsmusts() argument 92 kwsinit (&cregex->ckwset, match_icase, match_words, match_lines, eolbyte); in kwsmusts() 120 bool match_icase, bool match_words, bool match_lines, char eolbyte) in Gcompile() argument 132 cregex->eolbyte = eolbyte; in Gcompile() 137 dfasyntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE, match_icase, eolbyte); in Gcompile() 198 kwsmusts (cregex, match_icase, match_words, match_lines, eolbyte); in Gcompile() 205 bool match_icase, bool match_words, bool match_lines, char eolbyte, in compile() argument 218 cregex->eolbyte = eolbyte; in compile() 223 dfasyntax (syntax, match_icase, eolbyte); in compile() [all …]
|
H A D | m-common.c | 45 bool match_icase, bool match_words, bool match_lines, char eolbyte) in kwsinit() argument 65 ckwset->eolbyte = eolbyte; in kwsinit()
|
H A D | m-common.h | 37 char eolbyte; member 43 char eolbyte);
|
H A D | m-fgrep.c | 44 char eolbyte) in Fcompile() argument 50 kwsinit (ckwset, match_icase, match_words, match_lines, eolbyte); in Fcompile() 77 char eol = ckwset->eolbyte; in Fexecute()
|
H A D | libgrep.h | 36 char eolbyte);
|
H A D | dfa.c | 267 static unsigned char eolbyte; variable 276 eolbyte = eol; in dfasyntax() 944 clrbit(eolbyte, ccl); in lex() 1064 clrbit(eolbyte, ccl); in lex() 1947 setbit(eolbyte, newline); in dfastate() 1985 clrbit(eolbyte, matches); in dfastate() 2096 trans[eolbyte] = state_newline; in dfastate() 2157 if (tstbit(eolbyte, labels[i])) in dfastate() 2189 if (c == eolbyte) in dfastate() 2276 trans[eolbyte] = -1; in build_state() [all …]
|
/netbsd-src/external/gpl2/grep/dist/src/ |
H A D | search.c | 187 dfasyntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE, match_icase, eolbyte); in Gcompile() 265 dfasyntax (RE_SYNTAX_AWK, match_icase, eolbyte); in Ecompile() 270 dfasyntax (RE_SYNTAX_POSIX_EGREP, match_icase, eolbyte); in Ecompile() 341 char eol = eolbyte; in EGexecute() 508 char eol = eolbyte; in Fexecute() 616 if (eolbyte != '\n') in Pcompile() 699 char eol = eolbyte; in Pexecute()
|
H A D | grep.c | 162 unsigned char eolbyte; variable 264 bufbeg[-1] = eolbyte; in reset() 368 bufbeg[-1] = eolbyte; in fillbuf() 501 for (beg = lastnl; beg != lim; beg = memchr (beg, eolbyte, lim - beg), beg++) in nlscan() 638 char const *nl = memchr (lastout, eolbyte, lim - lastout); in prpending() 657 char eol = eolbyte; in prtext() 778 char eol = eolbyte; in grep() 1355 eolbyte = '\n'; in main() 1581 eolbyte = '\0'; in main()
|
H A D | grep.h | 44 extern unsigned char eolbyte; /* -z */
|
H A D | 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() 1968 setbit(eolbyte, newline); in dfastate() 2006 clrbit(eolbyte, matches); in dfastate() 2117 trans[eolbyte] = state_newline; in dfastate() 2178 if (tstbit(eolbyte, labels[i])) in dfastate() 2210 if (c == eolbyte) in dfastate() 2297 trans[eolbyte] = -1; in build_state() [all …]
|
/netbsd-src/external/gpl2/grep/dist/ |
H A D | ChangeLog | 1484 * src/dfa.c (eolbyte): New var. 1488 * src/grep.h (eolbyte): New decl. 1489 * src/grep.c (eolbyte): New var. 1497 * src/search.c (Gcompile, Ecompile): Pass eolbyte to dfasyntax. 1498 (EGexecute, Fexecute): Use eolbyte instead of '\n'.
|