Lines Matching refs:method
80 BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method) in BIO_new_ex() argument
90 bio->method = method; in BIO_new_ex()
104 if (method->create != NULL && !method->create(bio)) { in BIO_new_ex()
110 if (method->create == NULL) in BIO_new_ex()
120 BIO *BIO_new(const BIO_METHOD *method) in BIO_new() argument
122 return BIO_new_ex(NULL, method); in BIO_new()
146 if ((a->method != NULL) && (a->method->destroy != NULL)) in BIO_free()
147 a->method->destroy(a); in BIO_free()
254 return b->method->name; in BIO_method_name()
259 return b->method->type; in BIO_method_type()
276 if (b->method == NULL || b->method->bread == NULL) { in bio_read_intern()
291 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern()
347 if (b->method == NULL || b->method->bwrite == NULL) { in bio_write_intern()
362 ret = b->method->bwrite(b, data, dlen, &local_written); in bio_write_intern()
409 if (b->method == NULL || b->method->bputs == NULL) { in BIO_puts()
425 ret = b->method->bputs(b, buf); in BIO_puts()
458 if (b->method == NULL || b->method->bgets == NULL) { in BIO_gets()
479 ret = b->method->bgets(b, buf, size); in BIO_gets()
568 if (b->method == NULL || b->method->ctrl == NULL) { in BIO_ctrl()
579 ret = b->method->ctrl(b, cmd, larg, parg); in BIO_ctrl()
594 if (b->method == NULL || b->method->callback_ctrl == NULL in BIO_callback_ctrl()
607 ret = b->method->callback_ctrl(b, cmd, fp); in BIO_callback_ctrl()
708 if (bio->method != NULL) { in BIO_find_type()
709 mt = bio->method->type; in BIO_find_type()
756 if ((new_bio = BIO_new(bio->method)) == NULL) in BIO_dup_chain()