Searched refs:n_eob (Results 1 – 1 of 1) sorted by relevance
1788 size_t n_eob; /* how many EOB bytes we matched so far */ member1802 ctx->n_eob = 2; in cr_eob_init()1837 if(!ctx->n_eob && !memchr(buf, SMTP_EOB[0], nread)) { in cr_eob_read()1845 if(ctx->n_eob >= SMTP_EOB_FIND_LEN) { in cr_eob_read()1853 ctx->n_eob = 0; in cr_eob_read()1859 if(buf[i] != SMTP_EOB[ctx->n_eob]) in cr_eob_read()1860 ctx->n_eob = 0; in cr_eob_read()1862 if(buf[i] == SMTP_EOB[ctx->n_eob]) { in cr_eob_read()1864 ++ctx->n_eob; in cr_eob_read()1881 switch(ctx->n_eob) { in cr_eob_read()
Completed in 7 milliseconds