Lines Matching refs:REQUIRE

186 #define	REQUIRE(co, e)	((co) || SETERROR(e))  macro
187 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
188 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
189 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
412 (void)REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
471 (void)REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
543 (void)REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
569 (void)REQUIRE(MORE2() && \ in p_ere_exp()
574 (void)REQUIRE(!wascaret, REG_BADRPT); in p_ere_exp()
601 (void)REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
610 (void)REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
633 (void)REQUIRE(MORE(), REG_EMPTY); in p_str()
795 (void) REQUIRE(p->gnuext || HERE() != bc.start, REG_EMPTY); in p_re()
842 (void)REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
907 (void)REQUIRE(EATTWO('\\', ')'), REG_EPAREN); in p_simp_re()
944 (void)REQUIRE(bc->nchain == 0, REG_BADRPT); in p_simp_re()
978 (void)REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
987 (void)REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
1011 (void)REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
1116 (void)REQUIRE(MORE(), REG_EBRACK);
1118 (void)REQUIRE(c != '-' && c != ']', REG_ECTYPE);
1120 (void)REQUIRE(MORE(), REG_EBRACK);
1121 (void)REQUIRE(EATTWO(':', ']'), REG_ECTYPE);
1125 (void)REQUIRE(MORE(), REG_EBRACK);
1127 (void)REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
1129 (void)REQUIRE(MORE(), REG_EBRACK);
1130 (void)REQUIRE(EATTWO('=', ']'), REG_ECOLLATE);
1151 (void)REQUIRE(start <= finish, REG_ERANGE);
1154 (void)REQUIRE(p_range_cmp(start, finish) <= 0, REG_ERANGE);
1263 (void)REQUIRE(MORE(), REG_EBRACK);
1269 (void)REQUIRE(EATTWO('.', ']'), REG_ECOLLATE);