Lines Matching refs:wbuf
537 EBCDIC_OUTBUFF *wbuf; in ebcdic_new() local
539 wbuf = (EBCDIC_OUTBUFF *)OPENSSL_malloc(sizeof(EBCDIC_OUTBUFF) + 1024); in ebcdic_new()
540 wbuf->alloced = 1024; in ebcdic_new()
541 wbuf->buff[0] = '\0'; in ebcdic_new()
543 bi->ptr=(char *)wbuf; in ebcdic_new()
575 EBCDIC_OUTBUFF *wbuf; in ebcdic_write() local
583 wbuf=(EBCDIC_OUTBUFF *)b->ptr; in ebcdic_write()
585 if (inl > (num = wbuf->alloced)) in ebcdic_write()
590 OPENSSL_free(wbuf); in ebcdic_write()
591 wbuf=(EBCDIC_OUTBUFF *)OPENSSL_malloc(sizeof(EBCDIC_OUTBUFF) + num); in ebcdic_write()
593 wbuf->alloced = num; in ebcdic_write()
594 wbuf->buff[0] = '\0'; in ebcdic_write()
596 b->ptr=(char *)wbuf; in ebcdic_write()
599 ebcdic2ascii(wbuf->buff, in, inl); in ebcdic_write()
601 ret=BIO_write(b->next_bio, wbuf->buff, inl); in ebcdic_write()