Lines Matching refs:assert
290 assert(!MORE() || SEE(stop)); in p_ere()
306 assert(MORE()); /* caller should have ensured this */ in p_ere_exp()
322 assert(p->pend[subno] != 0); in p_ere_exp()
506 assert(MORE()); /* caller should have ensured this */ in p_simp_re()
536 assert(p->pend[subno] != 0); in p_simp_re()
555 assert(i < NPAREN); in p_simp_re()
557 assert(i <= p->g->nsub); in p_simp_re()
559 assert(p->pbegin[i] != 0); in p_simp_re()
560 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re()
561 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_simp_re()
693 assert(cs->multis == NULL); /* xxx */ in p_bracket()
862 assert(isalpha(ch)); in othercase()
884 assert(othercase(ch) != ch); /* p_bracket() would recurse */ in bothcases()
891 assert(p->next == bracket+2); in bothcases()
932 assert(p->next == bracket+3); in nonnewline()
956 assert(from <= to); in repeat()
986 assert(copy == finish+4); in repeat()
1036 assert(nc % CHAR_BIT == 0); in allocset()
1085 #define re_assert(e) assert(e) in allocset()
1163 assert(never); in firstch()
1219 assert(cs->multis == NULL); /* xxx */ in mcinvert()
1233 assert(cs->multis == NULL); /* xxx */ in mccase()
1307 assert(finish >= start); in dupl()
1311 assert(p->ssize >= p->slen + len); in dupl()
1333 assert(opnd < 1<<OPSHIFT); in doemit()
1338 assert(p->slen < p->ssize); in doemit()
1360 assert(HERE() == sn+1); in doinsert()
1364 assert(pos > 0); in doinsert()
1389 assert(value < 1<<OPSHIFT); in dofwd()
1505 assert(cp < g->must + g->mlen); in findmust()
1508 assert(cp == g->must + g->mlen); in findmust()