lex 474 maint/gnulib/lib/dfa.c struct lexer_state lex; lex 882 maint/gnulib/lib/dfa.c int nbytes = mbs_to_wchar (&dfa->lex.wctok, dfa->lex.ptr, dfa->lex.left, lex 884 maint/gnulib/lib/dfa.c int c = nbytes == 1 ? to_uchar (dfa->lex.ptr[0]) : EOF; lex 885 maint/gnulib/lib/dfa.c dfa->lex.ptr += nbytes; lex 886 maint/gnulib/lib/dfa.c dfa->lex.left -= nbytes; lex 895 maint/gnulib/lib/dfa.c if (! dfa->lex.left) lex 954 maint/gnulib/lib/dfa.c dfa->lex.brack.nchars = 0; lex 964 maint/gnulib/lib/dfa.c wint_t wc = dfa->lex.wctok; lex 980 maint/gnulib/lib/dfa.c wc1 = dfa->lex.wctok; lex 991 maint/gnulib/lib/dfa.c if (dfa->lex.left == 0 lex 992 maint/gnulib/lib/dfa.c || (c == c1 && dfa->lex.ptr[0] == ']')) lex 1004 maint/gnulib/lib/dfa.c wc = dfa->lex.wctok; lex 1033 maint/gnulib/lib/dfa.c wc1 = dfa->lex.wctok; lex 1045 maint/gnulib/lib/dfa.c wc = dfa->lex.wctok; lex 1051 maint/gnulib/lib/dfa.c wc1 = dfa->lex.wctok; lex 1058 maint/gnulib/lib/dfa.c wint_t wc2 = dfa->lex.wctok; lex 1063 maint/gnulib/lib/dfa.c if (c2 == '[' && dfa->lex.ptr[0] == '.') lex 1073 maint/gnulib/lib/dfa.c dfa->lex.ptr--; lex 1074 maint/gnulib/lib/dfa.c dfa->lex.left++; lex 1082 maint/gnulib/lib/dfa.c wc2 = dfa->lex.wctok; lex 1087 maint/gnulib/lib/dfa.c wc1 = dfa->lex.wctok; lex 1132 maint/gnulib/lib/dfa.c dfa->lex.brack.chars lex 1133 maint/gnulib/lib/dfa.c = maybe_realloc (dfa->lex.brack.chars, dfa->lex.brack.nchars, lex 1134 maint/gnulib/lib/dfa.c &dfa->lex.brack.nchars_alloc, -1, lex 1135 maint/gnulib/lib/dfa.c sizeof *dfa->lex.brack.chars); lex 1136 maint/gnulib/lib/dfa.c dfa->lex.brack.chars[dfa->lex.brack.nchars++] = folded[i]; lex 1148 maint/gnulib/lib/dfa.c if (dfa->localeinfo.multibyte && (invert || dfa->lex.brack.nchars != 0)) lex 1150 maint/gnulib/lib/dfa.c dfa->lex.brack.invert = invert; lex 1151 maint/gnulib/lib/dfa.c dfa->lex.brack.cset = emptyset (&ccl) ? -1 : charclass_index (dfa, &ccl); lex 1174 maint/gnulib/lib/dfa.c ls->ptr = dfa->lex.ptr; lex 1175 maint/gnulib/lib/dfa.c ls->left = dfa->lex.left; lex 1176 maint/gnulib/lib/dfa.c dfa->lex.ptr = s; lex 1177 maint/gnulib/lib/dfa.c dfa->lex.left = strlen (s); lex 1183 maint/gnulib/lib/dfa.c dfa->lex.ptr = ls->ptr; lex 1184 maint/gnulib/lib/dfa.c dfa->lex.left = ls->left; lex 1200 maint/gnulib/lib/dfa.c if (! dfa->lex.left) lex 1201 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = END; lex 1209 maint/gnulib/lib/dfa.c if (dfa->lex.left == 0) lex 1218 maint/gnulib/lib/dfa.c || dfa->lex.lasttok == END || dfa->lex.lasttok == LPAREN lex 1219 maint/gnulib/lib/dfa.c || dfa->lex.lasttok == OR) lex 1220 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = BEGLINE; lex 1227 maint/gnulib/lib/dfa.c || dfa->lex.left == 0 lex 1228 maint/gnulib/lib/dfa.c || ((dfa->lex.left lex 1230 maint/gnulib/lib/dfa.c && (dfa->lex.ptr[!(dfa->syntax.syntax_bits & RE_NO_BK_PARENS) lex 1231 maint/gnulib/lib/dfa.c & (dfa->lex.ptr[0] == '\\')] lex 1233 maint/gnulib/lib/dfa.c || ((dfa->lex.left lex 1235 maint/gnulib/lib/dfa.c && (dfa->lex.ptr[!(dfa->syntax.syntax_bits & RE_NO_BK_VBAR) lex 1236 maint/gnulib/lib/dfa.c & (dfa->lex.ptr[0] == '\\')] lex 1239 maint/gnulib/lib/dfa.c && dfa->lex.left > 0 && dfa->lex.ptr[0] == '\n')) lex 1240 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = ENDLINE; lex 1254 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1255 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = BACKREF; lex 1263 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = BEGLINE; lex 1271 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = ENDLINE; lex 1277 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = BEGWORD; lex 1282 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = ENDWORD; lex 1287 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = LIMWORD; lex 1292 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = NOTLIMWORD; lex 1301 maint/gnulib/lib/dfa.c && dfa->lex.laststart) lex 1303 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = QMARK; lex 1309 maint/gnulib/lib/dfa.c && dfa->lex.laststart) lex 1311 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = STAR; lex 1319 maint/gnulib/lib/dfa.c && dfa->lex.laststart) lex 1321 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = PLUS; lex 1329 maint/gnulib/lib/dfa.c && dfa->lex.laststart) lex 1339 maint/gnulib/lib/dfa.c char const *p = dfa->lex.ptr; lex 1340 maint/gnulib/lib/dfa.c char const *lim = p + dfa->lex.left; lex 1341 maint/gnulib/lib/dfa.c dfa->lex.minrep = dfa->lex.maxrep = -1; lex 1343 maint/gnulib/lib/dfa.c dfa->lex.minrep = (dfa->lex.minrep < 0 lex 1346 maint/gnulib/lib/dfa.c dfa->lex.minrep * 10 + *p - '0')); lex 1350 maint/gnulib/lib/dfa.c dfa->lex.maxrep = dfa->lex.minrep; lex 1353 maint/gnulib/lib/dfa.c if (dfa->lex.minrep < 0) lex 1354 maint/gnulib/lib/dfa.c dfa->lex.minrep = 0; lex 1356 maint/gnulib/lib/dfa.c dfa->lex.maxrep lex 1357 maint/gnulib/lib/dfa.c = (dfa->lex.maxrep < 0 lex 1360 maint/gnulib/lib/dfa.c dfa->lex.maxrep * 10 + *p - '0')); lex 1365 maint/gnulib/lib/dfa.c && 0 <= dfa->lex.minrep lex 1366 maint/gnulib/lib/dfa.c && (dfa->lex.maxrep < 0 lex 1367 maint/gnulib/lib/dfa.c || dfa->lex.minrep <= dfa->lex.maxrep))) lex 1373 maint/gnulib/lib/dfa.c if (RE_DUP_MAX < dfa->lex.maxrep) lex 1375 maint/gnulib/lib/dfa.c dfa->lex.ptr = p; lex 1376 maint/gnulib/lib/dfa.c dfa->lex.left = lim - p; lex 1378 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1379 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = REPMN; lex 1386 maint/gnulib/lib/dfa.c dfa->lex.laststart = true; lex 1387 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = OR; lex 1393 maint/gnulib/lib/dfa.c dfa->lex.laststart = true; lex 1394 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = OR; lex 1399 maint/gnulib/lib/dfa.c dfa->lex.parens++; lex 1400 maint/gnulib/lib/dfa.c dfa->lex.laststart = true; lex 1401 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = LPAREN; lex 1406 maint/gnulib/lib/dfa.c if (dfa->lex.parens == 0 lex 1409 maint/gnulib/lib/dfa.c dfa->lex.parens--; lex 1410 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1411 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = RPAREN; lex 1430 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1431 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = (dfa->localeinfo.multibyte lex 1448 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1449 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = CSET + charclass_index (dfa, &ccl); lex 1461 maint/gnulib/lib/dfa.c dfa->lex.lasttok = parse_bracket_exp (dfa); lex 1465 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1466 maint/gnulib/lib/dfa.c return dfa->lex.lasttok; lex 1482 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1483 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = CSET + charclass_index (dfa, &ccl); lex 1495 maint/gnulib/lib/dfa.c dfa->lex.lasttok = parse_bracket_exp (dfa); lex 1499 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1500 maint/gnulib/lib/dfa.c return dfa->lex.lasttok; lex 1505 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1506 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = parse_bracket_exp (dfa); lex 1510 maint/gnulib/lib/dfa.c dfa->lex.laststart = false; lex 1514 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = WCHAR; lex 1521 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = CSET + charclass_index (dfa, &ccl); lex 1524 maint/gnulib/lib/dfa.c return dfa->lex.lasttok = c; lex 1601 maint/gnulib/lib/dfa.c for (idx_t i = 0; i < dfa->lex.brack.nchars; i++) lex 1603 maint/gnulib/lib/dfa.c addtok_wc (dfa, dfa->lex.brack.chars[i]); lex 1608 maint/gnulib/lib/dfa.c dfa->lex.brack.nchars = 0; lex 1612 maint/gnulib/lib/dfa.c if (dfa->lex.brack.cset != -1) lex 1614 maint/gnulib/lib/dfa.c addtok (dfa, CSET + dfa->lex.brack.cset); lex 1829 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1833 maint/gnulib/lib/dfa.c if (dfa->lex.wctok == WEOF) lex 1837 maint/gnulib/lib/dfa.c addtok_wc (dfa, dfa->lex.wctok); lex 1842 maint/gnulib/lib/dfa.c int n = case_folded_counterparts (dfa->lex.wctok, folded); lex 1851 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1855 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1859 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1905 maint/gnulib/lib/dfa.c if (dfa->parse.tok == REPMN && (dfa->lex.minrep || dfa->lex.maxrep)) lex 1909 maint/gnulib/lib/dfa.c if (dfa->lex.maxrep < 0) lex 1911 maint/gnulib/lib/dfa.c if (dfa->lex.minrep == 0) lex 1914 maint/gnulib/lib/dfa.c for (i = 1; i < dfa->lex.minrep; i++) lex 1919 maint/gnulib/lib/dfa.c for (; i < dfa->lex.maxrep; i++) lex 1925 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1930 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1936 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1958 maint/gnulib/lib/dfa.c dfa->parse.tok = lex (dfa); lex 1969 maint/gnulib/lib/dfa.c d->lex.ptr = s; lex 1970 maint/gnulib/lib/dfa.c d->lex.left = len; lex 1971 maint/gnulib/lib/dfa.c d->lex.lasttok = END; lex 1972 maint/gnulib/lib/dfa.c d->lex.laststart = true; lex 1980 maint/gnulib/lib/dfa.c d->parse.tok = lex (d); lex 3587 maint/gnulib/lib/dfa.c free (d->lex.brack.chars);