Lines Matching refs:REQUIRE
263 #define REQUIRE(co, e) (void)((co) || SETERROR(e)) macro
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))
406 REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */ in p_ere()
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()
556 REQUIRE(!wascaret, REG_BADRPT); in p_ere_exp()
583 REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
592 REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
613 REQUIRE(MORE(), REG_EMPTY); in p_str()
653 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ in p_bre()
676 REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
706 REQUIRE(EATTWO('\\', ')'), REG_EPAREN); in p_simp_re()
736 REQUIRE(starordinary, REG_BADRPT); in p_simp_re()
754 REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
763 REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
786 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
901 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
903 REQUIRE(c != '-' && c != ']', REG_ECTYPE); in p_b_term()
905 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
906 REQUIRE(EATTWO(':', ']'), REG_ECTYPE); in p_b_term()
910 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
912 REQUIRE(c != '-' && c != ']', REG_ECOLLATE); in p_b_term()
914 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
915 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); in p_b_term()
930 REQUIRE(start <= finish, REG_ERANGE); in p_b_term()
990 REQUIRE(MORE(), REG_EBRACK); in p_b_symbol()
996 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); in p_b_symbol()