Lines Matching refs:MORE
173 #define MORE() (p->next < p->end) macro
175 #define SEE(c) (MORE() && PEEK() == (c))
176 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
187 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
188 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
189 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
371 assert(MORE()); /* caller should have ensured this */ in p_ere_exp()
377 (void)REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
434 (void)REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
457 if (!MORE()) in p_ere_exp()
502 while (MORE() && PEEK() != '}') in p_ere_exp()
504 (void)REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
510 if (!MORE()) in p_ere_exp()
527 (void)REQUIRE(MORE(), REG_EMPTY); in p_str()
528 while (MORE()) in p_str()
613 else if ((ate > 1 || (bc->outer && !MORE())) && !p_branch_empty(p, bc)) in p_branch_do()
683 while (MORE() && (!p->allowbranch || !SEESPEC('|')) && !SEEEND()) { in p_re()
705 assert(!MORE() || SEE(end1)); in p_re()
726 assert(MORE()); /* caller should have ensured this */ in p_simp_re()
729 (void)REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
758 if (MORE() && !SEETWO('\\', ')')) in p_simp_re()
819 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
828 while (MORE() && !SEETWO('\\', '}')) in p_simp_re()
830 (void)REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
849 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
891 while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) in p_bracket()
942 switch ((MORE()) ? PEEK() : '\0') {
957 (void)REQUIRE(MORE(), REG_EBRACK);
961 (void)REQUIRE(MORE(), REG_EBRACK);
966 (void)REQUIRE(MORE(), REG_EBRACK);
970 (void)REQUIRE(MORE(), REG_EBRACK);
1019 while (MORE() && isalpha((uch)PEEK()))
1059 (void)REQUIRE(MORE(), REG_EBRACK);
1083 while (MORE() && !SEETWO(endc, ']'))
1085 if (!MORE()) {