Home | History | Annotate | Download | only in Support

Lines Matching defs:REQUIRE

135 #define	REQUIRE(co, e)	(void)((co) || SETERROR(e))
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 */
324 REQUIRE(MORE(), REG_EPAREN);
380 REQUIRE(MORE(), REG_EESCAPE);
412 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
428 REQUIRE(!wascaret, REG_BADRPT);
431 /* this case does not require the (y|) trick, noKLUDGE */
455 REQUIRE(count <= count2, REG_BADBR);
464 REQUIRE(MORE(), REG_EBRACE);
485 REQUIRE(MORE(), REG_EMPTY);
525 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */
548 REQUIRE(MORE(), REG_EESCAPE);
578 REQUIRE(EATTWO('\\', ')'), REG_EPAREN);
608 REQUIRE(starordinary, REG_BADRPT);
616 /* this case does not require the (y|) trick, noKLUDGE */
626 REQUIRE(count <= count2, REG_BADBR);
635 REQUIRE(MORE(), REG_EBRACE);
658 REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR);
771 REQUIRE(MORE(), REG_EBRACK);
773 REQUIRE(c != '-' && c != ']', REG_ECTYPE);
775 REQUIRE(MORE(), REG_EBRACK);
776 REQUIRE(EATTWO(':', ']'), REG_ECTYPE);
780 REQUIRE(MORE(), REG_EBRACK);
782 REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
784 REQUIRE(MORE(), REG_EBRACK);
785 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE);
800 REQUIRE(start <= finish, REG_ERANGE);
860 REQUIRE(MORE(), REG_EBRACK);
866 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE);