Lines Matching refs:buf
52 char *buf = NULL; in ERR_vset_error() local
66 buf = es->err_data[i]; in ERR_vset_error()
84 && (rbuf = OPENSSL_realloc(buf, ERR_MAX_DATA_SIZE)) != NULL) { in ERR_vset_error()
85 buf = rbuf; in ERR_vset_error()
89 if (buf != NULL) { in ERR_vset_error()
90 printed_len = BIO_vsnprintf(buf, buf_size, fmt, args); in ERR_vset_error()
94 if (buf != NULL) in ERR_vset_error()
95 buf[printed_len] = '\0'; in ERR_vset_error()
103 if ((rbuf = OPENSSL_realloc(buf, printed_len + 1)) != NULL) { in ERR_vset_error()
104 buf = rbuf; in ERR_vset_error()
106 buf[printed_len] = '\0'; in ERR_vset_error()
109 if (buf != NULL) in ERR_vset_error()
116 err_set_data(es, es->top, buf, buf_size, flags); in ERR_vset_error()