Lines Matching refs:MORE

252 #define	MORE()	(p->end - p->next > 0)  macro
254 #define SEE(c) (MORE() && PEEK() == (c))
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()
827 while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) in p_bracket()
885 switch ((MORE()) ? PEEK() : '\0') { in p_b_term()
901 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
905 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
910 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
914 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
949 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
990 REQUIRE(MORE(), REG_EBRACK); in p_b_symbol()
1011 while (MORE() && !SEETWO(endc, ']')) in p_b_coll_elem()
1013 if (!MORE()) { in p_b_coll_elem()