Lines Matching refs:BIO
37 static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, in bio_call_callback()
81 BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method) in BIO_new_ex()
83 BIO *bio = OPENSSL_zalloc(sizeof(*bio)); in BIO_new_ex()
114 BIO *BIO_new(const BIO_METHOD *method) in BIO_new()
119 int BIO_free(BIO *a) in BIO_free()
152 void BIO_set_data(BIO *a, void *ptr) in BIO_set_data()
157 void *BIO_get_data(BIO *a) in BIO_get_data()
162 void BIO_set_init(BIO *a, int init) in BIO_set_init()
167 int BIO_get_init(BIO *a) in BIO_get_init()
172 void BIO_set_shutdown(BIO *a, int shut) in BIO_set_shutdown()
177 int BIO_get_shutdown(BIO *a) in BIO_get_shutdown()
182 void BIO_vfree(BIO *a) in BIO_vfree()
187 int BIO_up_ref(BIO *a) in BIO_up_ref()
199 void BIO_clear_flags(BIO *b, int flags) in BIO_clear_flags()
204 int BIO_test_flags(const BIO *b, int flags) in BIO_test_flags()
209 void BIO_set_flags(BIO *b, int flags) in BIO_set_flags()
215 BIO_callback_fn BIO_get_callback(const BIO *b) in BIO_get_callback()
220 void BIO_set_callback(BIO *b, BIO_callback_fn cb) in BIO_set_callback()
226 BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b) in BIO_get_callback_ex()
231 void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex cb) in BIO_set_callback_ex()
236 void BIO_set_callback_arg(BIO *b, char *arg) in BIO_set_callback_arg()
241 char *BIO_get_callback_arg(const BIO *b) in BIO_get_callback_arg()
246 const char *BIO_method_name(const BIO *b) in BIO_method_name()
251 int BIO_method_type(const BIO *b) in BIO_method_type()
262 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern()
303 int BIO_read(BIO *b, void *data, int dlen) in BIO_read()
321 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex()
326 static int bio_write_intern(BIO *b, const void *data, size_t dlen, in bio_write_intern()
370 int BIO_write(BIO *b, const void *data, int dlen) in BIO_write()
388 int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written) in BIO_write_ex()
394 int BIO_sendmmsg(BIO *b, BIO_MSG *msg, in BIO_sendmmsg()
441 int BIO_recvmmsg(BIO *b, BIO_MSG *msg, in BIO_recvmmsg()
488 int BIO_get_rpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc) in BIO_get_rpoll_descriptor()
493 int BIO_get_wpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc) in BIO_get_wpoll_descriptor()
498 int BIO_puts(BIO *b, const char *buf) in BIO_puts()
547 int BIO_gets(BIO *b, char *buf, int size) in BIO_gets()
599 int BIO_get_line(BIO *bio, char *buf, int size) in BIO_get_line()
630 int BIO_indent(BIO *b, int indent, int max) in BIO_indent()
642 long BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) in BIO_int_ctrl()
650 void *BIO_ptr_ctrl(BIO *b, int cmd, long larg) in BIO_ptr_ctrl()
660 long BIO_ctrl(BIO *b, int cmd, long larg, void *parg) in BIO_ctrl()
686 long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in BIO_callback_ctrl()
719 size_t BIO_ctrl_pending(BIO *bio) in BIO_ctrl_pending()
732 size_t BIO_ctrl_wpending(BIO *bio) in BIO_ctrl_wpending()
746 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push()
748 BIO *lb; in BIO_push()
764 BIO *BIO_pop(BIO *b) in BIO_pop()
766 BIO *ret; in BIO_pop()
784 BIO *BIO_get_retry_BIO(BIO *bio, int *reason) in BIO_get_retry_BIO()
786 BIO *b, *last; in BIO_get_retry_BIO()
802 int BIO_get_retry_reason(BIO *bio) in BIO_get_retry_reason()
807 void BIO_set_retry_reason(BIO *bio, int reason) in BIO_set_retry_reason()
812 BIO *BIO_find_type(BIO *bio, int type) in BIO_find_type()
837 BIO *BIO_next(BIO *b) in BIO_next()
844 void BIO_set_next(BIO *b, BIO *next) in BIO_set_next()
849 void BIO_free_all(BIO *bio) in BIO_free_all()
851 BIO *b; in BIO_free_all()
865 BIO *BIO_dup_chain(BIO *in) in BIO_dup_chain()
867 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; in BIO_dup_chain()
911 void BIO_copy_next_retry(BIO *b) in BIO_copy_next_retry()
917 int BIO_set_ex_data(BIO *bio, int idx, void *data) in BIO_set_ex_data()
922 void *BIO_get_ex_data(const BIO *bio, int idx) in BIO_get_ex_data()
927 uint64_t BIO_number_read(BIO *bio) in BIO_number_read()
934 uint64_t BIO_number_written(BIO *bio) in BIO_number_written()
941 void bio_free_ex_data(BIO *bio) in bio_free_ex_data()
957 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait()
1001 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait()
1019 int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds) in BIO_do_connect_retry()