Searched refs:n_eob (Results 1 – 1 of 1) sorted by relevance
1789 size_t n_eob; /* how many EOB bytes we matched so far */ member1803 ctx->n_eob = 2; in cr_eob_init()1838 if(!ctx->n_eob && !memchr(buf, SMTP_EOB[0], nread)) { in cr_eob_read()1846 if(ctx->n_eob >= SMTP_EOB_FIND_LEN) { in cr_eob_read()1854 ctx->n_eob = 0; in cr_eob_read()1860 if(buf[i] != SMTP_EOB[ctx->n_eob]) in cr_eob_read()1861 ctx->n_eob = 0; in cr_eob_read()1863 if(buf[i] == SMTP_EOB[ctx->n_eob]) { in cr_eob_read()1865 ++ctx->n_eob; in cr_eob_read()1882 switch(ctx->n_eob) { in cr_eob_read()
Completed in 7 milliseconds