Lines Matching refs:method
81 BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method) in BIO_new_ex() argument
89 bio->method = method; in BIO_new_ex()
98 if (method->create != NULL && !method->create(bio)) { in BIO_new_ex()
103 if (method->create == NULL) in BIO_new_ex()
114 BIO *BIO_new(const BIO_METHOD *method) in BIO_new() argument
116 return BIO_new_ex(NULL, method); in BIO_new()
140 if ((a->method != NULL) && (a->method->destroy != NULL)) in BIO_free()
141 a->method->destroy(a); in BIO_free()
248 return b->method->name; in BIO_method_name()
253 return b->method->type; in BIO_method_type()
270 if (b->method == NULL || b->method->bread == NULL) { in bio_read_intern()
285 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern()
341 if (b->method == NULL || b->method->bwrite == NULL) { in bio_write_intern()
356 ret = b->method->bwrite(b, data, dlen, &local_written); in bio_write_intern()
407 if (b->method == NULL || b->method->bsendmmsg == NULL) { in BIO_sendmmsg()
432 ret = b->method->bsendmmsg(b, msg, stride, num_msg, flags, msgs_processed); in BIO_sendmmsg()
454 if (b->method == NULL || b->method->brecvmmsg == NULL) { in BIO_recvmmsg()
479 ret = b->method->brecvmmsg(b, msg, stride, num_msg, flags, msgs_processed); in BIO_recvmmsg()
507 if (b->method == NULL || b->method->bputs == NULL) { in BIO_puts()
523 ret = b->method->bputs(b, buf); in BIO_puts()
556 if (b->method == NULL || b->method->bgets == NULL) { in BIO_gets()
577 ret = b->method->bgets(b, buf, size); in BIO_gets()
666 if (b->method == NULL || b->method->ctrl == NULL) { in BIO_ctrl()
677 ret = b->method->ctrl(b, cmd, larg, parg); in BIO_ctrl()
692 if (b->method == NULL || b->method->callback_ctrl == NULL in BIO_callback_ctrl()
705 ret = b->method->callback_ctrl(b, cmd, fp); in BIO_callback_ctrl()
822 if (bio->method != NULL) { in BIO_find_type()
823 mt = bio->method->type; in BIO_find_type()
870 if ((new_bio = BIO_new(bio->method)) == NULL) in BIO_dup_chain()