Lines Matching refs:MORE
252 #define MORE() (p->next < p->end) macro
254 #define SEE(c) (MORE() && PEEK() == (c))
255 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
264 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
265 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
266 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
404 while (MORE() && (c = PEEK()) != '|' && c != stop) in p_ere()
429 assert(!MORE() || SEE(stop)); in p_ere()
446 assert(MORE()); /* caller should have ensured this */ in p_ere_exp()
452 REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
508 REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
540 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
547 if (!MORE()) in p_ere_exp()
590 while (MORE() && PEEK() != '}') in p_ere_exp()
592 REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
598 if (!MORE()) in p_ere_exp()
613 REQUIRE(MORE(), REG_EMPTY); in p_str()
614 while (MORE()) in p_str()
642 while (MORE() && !SEETWO(end1, end2)) { in p_bre()
673 assert(MORE()); /* caller should have ensured this */ in p_simp_re()
676 REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
699 if (MORE() && !SEETWO('\\', ')')) in p_simp_re()
752 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
761 while (MORE() && !SEETWO('\\', '}')) in p_simp_re()
763 REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
781 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
825 while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) in p_bracket()
883 switch ((MORE()) ? PEEK() : '\0') { in p_b_term()
899 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
903 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
908 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
912 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
947 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
988 REQUIRE(MORE(), REG_EBRACK); in p_b_symbol()
1009 while (MORE() && !SEETWO(endc, ']')) in p_b_coll_elem()
1011 if (!MORE()) { in p_b_coll_elem()