Lines Matching refs:MORE
45 #define MORE() (p->next < p->end) macro
47 #define SEE(c) (MORE() && PEEK() == (c))
48 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
57 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
58 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
59 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
213 while (MORE() && (c = PEEK()) != '|' && c != stop)
238 assert(!MORE() || SEE(stop));
256 assert(MORE()); /* caller should have ensured this */
262 REQUIRE(MORE(), REG_EPAREN);
318 REQUIRE(MORE(), REG_EESCAPE);
323 REQUIRE(!MORE() || !isdigit(PEEK()), REG_BADRPT);
330 if (!MORE())
373 while (MORE() && PEEK() != '}')
375 REQUIRE(MORE(), REG_EBRACE);
381 if (!MORE())
398 REQUIRE(MORE(), REG_EMPTY);
399 while (MORE())
430 while (MORE() && !SEETWO(end1, end2)) {
463 assert(MORE()); /* caller should have ensured this */
466 REQUIRE(MORE(), REG_EESCAPE);
489 if (MORE() && !SEETWO('\\', ')'))
542 if (MORE() && isdigit(PEEK())) {
551 while (MORE() && !SEETWO('\\', '}'))
553 REQUIRE(MORE(), REG_EBRACE);
573 while (MORE() && isdigit(PEEK()) && count <= DUPMAX) {
614 while (MORE() && PEEK() != ']' && !SEETWO('-', ']'))
673 switch ((MORE()) ? PEEK() : '\0') {
689 REQUIRE(MORE(), REG_EBRACK);
693 REQUIRE(MORE(), REG_EBRACK);
698 REQUIRE(MORE(), REG_EBRACK);
702 REQUIRE(MORE(), REG_EBRACK);
740 while (MORE() && isalpha(PEEK()))
786 REQUIRE(MORE(), REG_EBRACK);
809 while (MORE() && !SEETWO(endc, ']'))
811 if (!MORE()) {