Lines Matching refs:assert
334 assert(!MORE() || SEE(stop)); in p_ere()
351 assert(MORE()); /* caller should have ensured this */ in p_ere_exp()
367 assert(p->pend[subno] != 0); in p_ere_exp()
555 assert(MORE()); /* caller should have ensured this */ in p_simp_re()
585 assert(p->pend[subno] != 0); in p_simp_re()
604 assert(i < NPAREN); in p_simp_re()
606 assert(i <= p->g->nsub); in p_simp_re()
608 assert(p->pbegin[i] != 0); in p_simp_re()
609 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re()
610 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_simp_re()
740 assert(cs->multis == NULL); /* xxx */ in p_bracket()
988 assert(isalpha(ch)); in othercase()
1011 assert(othercase(ch) != ch); /* p_bracket() would recurse */ in bothcases()
1018 assert(p->next == bracket+2); in bothcases()
1061 assert(p->next == bracket+3); in nonnewline()
1086 assert(from <= to); in repeat()
1116 assert(copy == finish+4); in repeat()
1173 assert(nc % CHAR_BIT == 0); in allocset()
1274 assert(never); in firstch()
1330 assert(fp != NULL); in mcsub()
1342 assert(cs->multis != NULL); in mcsub()
1385 assert(cs->multis == NULL); /* xxx */ in mcinvert()
1400 assert(cs->multis == NULL); /* xxx */ in mccase()
1478 assert(finish >= start); in dupl()
1482 assert(p->ssize >= p->slen + len); in dupl()
1505 assert(opnd < 1<<OPSHIFT); in doemit()
1510 assert(p->slen < p->ssize); in doemit()
1533 assert(HERE() == sn+1); in doinsert()
1537 assert(pos > 0); in doinsert()
1563 assert(value < 1<<OPSHIFT); in dofwd()
1766 assert(cp < g->must + g->mlen); in findmust()
1769 assert(cp == g->must + g->mlen); in findmust()