Lines Matching refs:REQUIRE
127 #define REQUIRE(co, e) (void)((co) || SETERROR(e))
128 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
129 #define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e))
130 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
270 REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */
316 REQUIRE(MORE(), REG_EPAREN);
372 REQUIRE(MORE(), REG_EESCAPE);
404 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
420 REQUIRE(!wascaret, REG_BADRPT);
423 /* this case does not require the (y|) trick, noKLUDGE */
447 REQUIRE(count <= count2, REG_BADBR);
456 REQUIRE(MORE(), REG_EBRACE);
477 REQUIRE(MORE(), REG_EMPTY);
517 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */
540 REQUIRE(MORE(), REG_EESCAPE);
570 REQUIRE(EATTWO('\\', ')'), REG_EPAREN);
600 REQUIRE(starordinary, REG_BADRPT);
608 /* this case does not require the (y|) trick, noKLUDGE */
618 REQUIRE(count <= count2, REG_BADBR);
627 REQUIRE(MORE(), REG_EBRACE);
650 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR);
763 REQUIRE(MORE(), REG_EBRACK);
765 REQUIRE(c != '-' && c != ']', REG_ECTYPE);
767 REQUIRE(MORE(), REG_EBRACK);
768 REQUIRE(EATTWO(':', ']'), REG_ECTYPE);
772 REQUIRE(MORE(), REG_EBRACK);
774 REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
776 REQUIRE(MORE(), REG_EBRACK);
777 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE);
792 REQUIRE(start <= finish, REG_ERANGE);
852 REQUIRE(MORE(), REG_EBRACK);
858 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE);