Lines Matching refs:REQUIRE

191 #define	REQUIRE(co, e)	((co) || SETERROR(e))  macro
192 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
193 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
194 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
417 (void)REQUIRE(MORE(), REG_EPAREN); in p_ere_exp()
474 (void)REQUIRE(MORE(), REG_EESCAPE); in p_ere_exp()
560 (void)REQUIRE(MORE2() && \ in p_ere_exp()
564 (void)REQUIRE(!wascaret, REG_BADRPT); in p_ere_exp()
591 (void)REQUIRE(count <= count2, REG_BADBR); in p_ere_exp()
600 (void)REQUIRE(MORE(), REG_EBRACE); in p_ere_exp()
623 (void)REQUIRE(MORE(), REG_EMPTY); in p_str()
785 (void) REQUIRE(p->gnuext || HERE() != bc.start, REG_EMPTY); in p_re()
832 (void)REQUIRE(MORE(), REG_EESCAPE); in p_simp_re()
897 (void)REQUIRE(EATTWO('\\', ')'), REG_EPAREN); in p_simp_re()
931 (void)REQUIRE(bc->nchain == 0, REG_BADRPT); in p_simp_re()
965 (void)REQUIRE(count <= count2, REG_BADBR); in p_simp_re()
974 (void)REQUIRE(MORE(), REG_EBRACE); in p_simp_re()
998 (void)REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()
1103 (void)REQUIRE(MORE(), REG_EBRACK);
1105 (void)REQUIRE(c != '-' && c != ']', REG_ECTYPE);
1107 (void)REQUIRE(MORE(), REG_EBRACK);
1108 (void)REQUIRE(EATTWO(':', ']'), REG_ECTYPE);
1112 (void)REQUIRE(MORE(), REG_EBRACK);
1114 (void)REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
1116 (void)REQUIRE(MORE(), REG_EBRACK);
1117 (void)REQUIRE(EATTWO('=', ']'), REG_ECOLLATE);
1138 (void)REQUIRE(start <= finish, REG_ERANGE);
1141 (void)REQUIRE(p_range_cmp(start, finish) <= 0, REG_ERANGE);
1250 (void)REQUIRE(MORE(), REG_EBRACK);
1256 (void)REQUIRE(EATTWO('.', ']'), REG_ECOLLATE);