Lines Matching refs:MORE
43 #define MORE() (p->next < p->end) macro
45 #define SEE(c) (MORE() && PEEK() == (c))
46 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
55 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
56 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
57 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
203 while (MORE() && (c = PEEK()) != '|' && c != stop)
228 assert(!MORE() || SEE(stop));
246 assert(MORE()); /* caller should have ensured this */
252 REQUIRE(MORE(), REG_EPAREN);
308 REQUIRE(MORE(), REG_EESCAPE);
313 REQUIRE(!MORE() || !isdigit(PEEK()), REG_BADRPT);
320 if (!MORE())
363 while (MORE() && PEEK() != '}')
365 REQUIRE(MORE(), REG_EBRACE);
371 if (!MORE())
388 REQUIRE(MORE(), REG_EMPTY);
389 while (MORE())
420 while (MORE() && !SEETWO(end1, end2)) {
453 assert(MORE()); /* caller should have ensured this */
456 REQUIRE(MORE(), REG_EESCAPE);
479 if (MORE() && !SEETWO('\\', ')'))
532 if (MORE() && isdigit(PEEK())) {
541 while (MORE() && !SEETWO('\\', '}'))
543 REQUIRE(MORE(), REG_EBRACE);
563 while (MORE() && isdigit(PEEK()) && count <= DUPMAX) {
604 while (MORE() && PEEK() != ']' && !SEETWO('-', ']'))
663 switch ((MORE()) ? PEEK() : '\0') {
679 REQUIRE(MORE(), REG_EBRACK);
683 REQUIRE(MORE(), REG_EBRACK);
688 REQUIRE(MORE(), REG_EBRACK);
692 REQUIRE(MORE(), REG_EBRACK);
730 while (MORE() && isalpha(PEEK()))
776 REQUIRE(MORE(), REG_EBRACK);
799 while (MORE() && !SEETWO(endc, ']'))
801 if (!MORE()) {