Home
last modified time | relevance | path

Searched refs:eolbyte (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Dm-regex.c47 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 Dm-common.c45 bool match_icase, bool match_words, bool match_lines, char eolbyte) in kwsinit() argument
65 ckwset->eolbyte = eolbyte; in kwsinit()
H A Dm-common.h37 char eolbyte; member
43 char eolbyte);
H A Dm-fgrep.c44 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 Dlibgrep.h36 char eolbyte);
H A Ddfa.c267 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 Dsearch.c187 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 Dgrep.c162 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 Dgrep.h44 extern unsigned char eolbyte; /* -z */
H A Ddfa.c293 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 DChangeLog1484 * 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'.