• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:REQUIRE

135 #define	REQUIRE(co, e)	(void)((co) || SETERROR(e))  macro
136 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
137 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
138 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
278 REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */ in p_ere()
324 REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
380 REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
412 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
428 REQUIRE(!wascaret, REG_BADRPT); in p_ere_exp()
455 REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
464 REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
485 REQUIRE(MORE(), REG_EMPTY); in p_str()
525 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ in p_bre()
548 REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
578 REQUIRE(EATTWO('\\', ')'), REG_EPAREN); in p_simp_re()
608 REQUIRE(starordinary, REG_BADRPT); in p_simp_re()
626 REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
635 REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
658 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
771 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
773 REQUIRE(c != '-' && c != ']', REG_ECTYPE); in p_b_term()
775 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
776 REQUIRE(EATTWO(':', ']'), REG_ECTYPE); in p_b_term()
780 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
782 REQUIRE(c != '-' && c != ']', REG_ECOLLATE); in p_b_term()
784 REQUIRE(MORE(), REG_EBRACK); in p_b_term()
785 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); in p_b_term()
800 REQUIRE(start <= finish, REG_ERANGE); in p_b_term()
860 REQUIRE(MORE(), REG_EBRACK); in p_b_symbol()
866 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); in p_b_symbol()