Lines Matching refs:osize
78 size_t osize; member
193 tmp = realloc(cp->obuf, cp->osize + 8192); in grow_obuf()
197 cp->osize = 0; in grow_obuf()
200 cp->osize += 8192; in grow_obuf()
477 size_t len = cp->osize - off; in append_error_string()
500 len = cp->osize - (off + i); in append_error_string()
595 int left = cp->osize - off; in doreply()
617 cp->osize = asprintf(&cp->obuf, in doreply()
624 cp->osize = asprintf(&cp->obuf, in doreply()
626 if (cp->osize == -1) in doreply()
628 cp->osize++; /* size includes the NUL (also changes -1 to 0) */ in doreply()
634 cp->osize = 0; in doreply()
736 snprintf(cp->obuf, cp->osize, "220 %s ESMTP %s; %s\r\n", in initcon()
788 cp->osize = 0; in closecon()
803 snprintf(cp->obuf, cp->osize, "221 %s\r\n", hostname); in nextstate()
813 snprintf(cp->obuf, cp->osize, in nextstate()
841 snprintf(cp->obuf, cp->osize, in nextstate()
847 snprintf(cp->obuf, cp->osize, in nextstate()
855 snprintf(cp->obuf, cp->osize, in nextstate()
880 snprintf(cp->obuf, cp->osize, in nextstate()
903 snprintf(cp->obuf, cp->osize, in nextstate()
955 snprintf(cp->obuf, cp->osize, in nextstate()
968 snprintf(cp->obuf, cp->osize, in nextstate()
981 snprintf(cp->obuf, cp->osize, in nextstate()
1002 snprintf(cp->obuf, cp->osize, in nextstate()
1005 snprintf(cp->obuf, cp->osize, in nextstate()
1407 con->osize = 8192; in main()