Lines Matching refs:REQUIRE

126 #define	REQUIRE(co, e)	if (!(co)) { SETERROR(e); }  macro
127 #define MUSTSEE(c, e) REQUIRE(MORE() && PEEK() == (c), e)
128 #define MUSTEAT(c, e) REQUIRE(MORE() && GETNEXT() == (c), e)
129 #define MUSTNOTSEE(c, e) REQUIRE(!MORE() || PEEK() != (c), e)
262 REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */ in p_ere()
307 REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
363 REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
368 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
384 REQUIRE(!wascaret, REG_BADRPT); in p_ere_exp()
411 REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
420 REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
441 REQUIRE(MORE(), REG_EMPTY); in p_str()
481 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ in p_bre()
504 REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
534 REQUIRE(EATTWO('\\', ')'), REG_EPAREN); in p_simp_re()
564 REQUIRE(starordinary, REG_BADRPT); in p_simp_re()
582 REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
591 REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
614 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
727 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
729 REQUIRE(c != '-' && c != ']', REG_ECTYPE); in p_b_term()
731 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
732 REQUIRE(EATTWO(':', ']'), REG_ECTYPE); in p_b_term()
736 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
738 REQUIRE(c != '-' && c != ']', REG_ECOLLATE); in p_b_term()
740 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
741 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); in p_b_term()
756 REQUIRE(start <= finish, REG_ERANGE); in p_b_term()
816 REQUIRE(MORE(), REG_EBRACK); in p_b_symbol()
822 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); in p_b_symbol()