• Home
  • Raw
  • Download

Lines Matching refs:BIO

72 BIO *BIO_new(const BIO_METHOD *method) {  in BIO_new()
73 BIO *ret = OPENSSL_malloc(sizeof(BIO)); in BIO_new()
75 OPENSSL_PUT_ERROR(BIO, ERR_R_MALLOC_FAILURE); in BIO_new()
79 OPENSSL_memset(ret, 0, sizeof(BIO)); in BIO_new()
92 int BIO_free(BIO *bio) { in BIO_free()
93 BIO *next_bio; in BIO_free()
111 int BIO_up_ref(BIO *bio) { in BIO_up_ref()
116 void BIO_vfree(BIO *bio) { in BIO_vfree()
120 void BIO_free_all(BIO *bio) { in BIO_free_all()
124 int BIO_read(BIO *bio, void *buf, int len) { in BIO_read()
126 OPENSSL_PUT_ERROR(BIO, BIO_R_UNSUPPORTED_METHOD); in BIO_read()
130 OPENSSL_PUT_ERROR(BIO, BIO_R_UNINITIALIZED); in BIO_read()
143 int BIO_gets(BIO *bio, char *buf, int len) { in BIO_gets()
145 OPENSSL_PUT_ERROR(BIO, BIO_R_UNSUPPORTED_METHOD); in BIO_gets()
149 OPENSSL_PUT_ERROR(BIO, BIO_R_UNINITIALIZED); in BIO_gets()
162 int BIO_write(BIO *bio, const void *in, int inl) { in BIO_write()
164 OPENSSL_PUT_ERROR(BIO, BIO_R_UNSUPPORTED_METHOD); in BIO_write()
168 OPENSSL_PUT_ERROR(BIO, BIO_R_UNINITIALIZED); in BIO_write()
181 int BIO_write_all(BIO *bio, const void *data, size_t len) { in BIO_write_all()
194 int BIO_puts(BIO *bio, const char *in) { in BIO_puts()
198 int BIO_flush(BIO *bio) { in BIO_flush()
202 long BIO_ctrl(BIO *bio, int cmd, long larg, void *parg) { in BIO_ctrl()
208 OPENSSL_PUT_ERROR(BIO, BIO_R_UNSUPPORTED_METHOD); in BIO_ctrl()
215 char *BIO_ptr_ctrl(BIO *b, int cmd, long larg) { in BIO_ptr_ctrl()
225 long BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) { in BIO_int_ctrl()
231 int BIO_reset(BIO *bio) { in BIO_reset()
235 int BIO_eof(BIO *bio) { in BIO_eof()
239 void BIO_set_flags(BIO *bio, int flags) { in BIO_set_flags()
243 int BIO_test_flags(const BIO *bio, int flags) { in BIO_test_flags()
247 int BIO_should_read(const BIO *bio) { in BIO_should_read()
251 int BIO_should_write(const BIO *bio) { in BIO_should_write()
255 int BIO_should_retry(const BIO *bio) { in BIO_should_retry()
259 int BIO_should_io_special(const BIO *bio) { in BIO_should_io_special()
263 int BIO_get_retry_reason(const BIO *bio) { return bio->retry_reason; } in BIO_get_retry_reason()
265 void BIO_clear_flags(BIO *bio, int flags) { in BIO_clear_flags()
269 void BIO_set_retry_read(BIO *bio) { in BIO_set_retry_read()
273 void BIO_set_retry_write(BIO *bio) { in BIO_set_retry_write()
279 int BIO_get_retry_flags(BIO *bio) { in BIO_get_retry_flags()
283 void BIO_clear_retry_flags(BIO *bio) { in BIO_clear_retry_flags()
288 int BIO_method_type(const BIO *bio) { return bio->method->type; } in BIO_method_type()
290 void BIO_copy_next_retry(BIO *bio) { in BIO_copy_next_retry()
296 long BIO_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { in BIO_callback_ctrl()
302 OPENSSL_PUT_ERROR(BIO, BIO_R_UNSUPPORTED_METHOD); in BIO_callback_ctrl()
309 size_t BIO_pending(const BIO *bio) { in BIO_pending()
310 const long r = BIO_ctrl((BIO *) bio, BIO_CTRL_PENDING, 0, NULL); in BIO_pending()
319 size_t BIO_ctrl_pending(const BIO *bio) { in BIO_ctrl_pending()
323 size_t BIO_wpending(const BIO *bio) { in BIO_wpending()
324 const long r = BIO_ctrl((BIO *) bio, BIO_CTRL_WPENDING, 0, NULL); in BIO_wpending()
333 int BIO_set_close(BIO *bio, int close_flag) { in BIO_set_close()
337 OPENSSL_EXPORT size_t BIO_number_read(const BIO *bio) { in BIO_number_read()
341 OPENSSL_EXPORT size_t BIO_number_written(const BIO *bio) { in BIO_number_written()
345 BIO *BIO_push(BIO *bio, BIO *appended_bio) { in BIO_push()
346 BIO *last_bio; in BIO_push()
361 BIO *BIO_pop(BIO *bio) { in BIO_pop()
362 BIO *ret; in BIO_pop()
372 BIO *BIO_next(BIO *bio) { in BIO_next()
379 BIO *BIO_find_type(BIO *bio, int type) { in BIO_find_type()
405 int BIO_indent(BIO *bio, unsigned indent, unsigned max_indent) { in BIO_indent()
419 return BIO_write((BIO *)bio, str, len); in print_bio()
422 void ERR_print_errors(BIO *bio) { in ERR_print_errors()
434 static int bio_read_all(BIO *bio, uint8_t **out, size_t *out_len, in bio_read_all()
490 static int bio_read_full(BIO *bio, uint8_t *out, int *out_eof_on_first_read, in bio_read_full()
517 int BIO_read_asn1(BIO *bio, uint8_t **out, size_t *out_len, size_t max_len) { in OPENSSL_DECLARE_ERROR_REASON()
617 void BIO_set_retry_special(BIO *bio) { in BIO_set_retry_special()
621 int BIO_set_write_buffer_size(BIO *bio, int buffer_size) { return 0; } in BIO_set_write_buffer_size()
650 int (*create)(BIO *)) { in BIO_meth_set_create() argument
656 int (*destroy)(BIO *)) { in BIO_meth_set_destroy() argument
662 int (*write)(BIO *, const char *, int)) { in BIO_meth_set_write() argument
668 int (*read)(BIO *, char *, int)) { in BIO_meth_set_read() argument
674 int (*gets)(BIO *, char *, int)) { in BIO_meth_set_gets() argument
680 long (*ctrl)(BIO *, int, long, void *)) { in BIO_meth_set_ctrl() argument
685 void BIO_set_data(BIO *bio, void *ptr) { bio->ptr = ptr; } in BIO_set_data()
687 void *BIO_get_data(BIO *bio) { return bio->ptr; } in BIO_get_data()
689 void BIO_set_init(BIO *bio, int init) { bio->init = init; } in BIO_set_init()
691 int BIO_get_init(BIO *bio) { return bio->init; } in BIO_get_init()
693 void BIO_set_shutdown(BIO *bio, int shutdown) { bio->shutdown = shutdown; } in BIO_set_shutdown()
695 int BIO_get_shutdown(BIO *bio) { return bio->shutdown; } in BIO_get_shutdown()
697 int BIO_meth_set_puts(BIO_METHOD *method, int (*puts)(BIO *, const char *)) { in BIO_meth_set_puts() argument