Lines Matching refs:bcgbl
43 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_read_ex() local
45 if (bcgbl == NULL || bcgbl->c_bio_read_ex == NULL) in bio_core_read_ex()
47 return bcgbl->c_bio_read_ex(BIO_get_data(bio), data, data_len, bytes_read); in bio_core_read_ex()
53 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_write_ex() local
55 if (bcgbl == NULL || bcgbl->c_bio_write_ex == NULL) in bio_core_write_ex()
57 return bcgbl->c_bio_write_ex(BIO_get_data(bio), data, data_len, written); in bio_core_write_ex()
62 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_ctrl() local
64 if (bcgbl == NULL || bcgbl->c_bio_ctrl == NULL) in bio_core_ctrl()
66 return bcgbl->c_bio_ctrl(BIO_get_data(bio), cmd, num, ptr); in bio_core_ctrl()
71 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_gets() local
73 if (bcgbl == NULL || bcgbl->c_bio_gets == NULL) in bio_core_gets()
75 return bcgbl->c_bio_gets(BIO_get_data(bio), buf, size); in bio_core_gets()
80 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_puts() local
82 if (bcgbl == NULL || bcgbl->c_bio_puts == NULL) in bio_core_puts()
84 return bcgbl->c_bio_puts(BIO_get_data(bio), str); in bio_core_puts()
96 BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx); in bio_core_free() local
98 if (bcgbl == NULL) in bio_core_free()
102 bcgbl->c_bio_free(BIO_get_data(bio)); in bio_core_free()
130 BIO_CORE_GLOBALS *bcgbl = get_globals(libctx); in BIO_new_from_core_bio() local
133 if (bcgbl == NULL || (bcgbl->c_bio_write_ex == NULL && bcgbl->c_bio_read_ex == NULL)) in BIO_new_from_core_bio()
139 if (!bcgbl->c_bio_up_ref(corebio)) { in BIO_new_from_core_bio()
149 BIO_CORE_GLOBALS *bcgbl = get_globals(libctx); in ossl_bio_init_core() local
151 if (bcgbl == NULL) in ossl_bio_init_core()
157 if (bcgbl->c_bio_read_ex == NULL) in ossl_bio_init_core()
158 bcgbl->c_bio_read_ex = OSSL_FUNC_BIO_read_ex(fns); in ossl_bio_init_core()
161 if (bcgbl->c_bio_write_ex == NULL) in ossl_bio_init_core()
162 bcgbl->c_bio_write_ex = OSSL_FUNC_BIO_write_ex(fns); in ossl_bio_init_core()
165 if (bcgbl->c_bio_gets == NULL) in ossl_bio_init_core()
166 bcgbl->c_bio_gets = OSSL_FUNC_BIO_gets(fns); in ossl_bio_init_core()
169 if (bcgbl->c_bio_puts == NULL) in ossl_bio_init_core()
170 bcgbl->c_bio_puts = OSSL_FUNC_BIO_puts(fns); in ossl_bio_init_core()
173 if (bcgbl->c_bio_ctrl == NULL) in ossl_bio_init_core()
174 bcgbl->c_bio_ctrl = OSSL_FUNC_BIO_ctrl(fns); in ossl_bio_init_core()
177 if (bcgbl->c_bio_up_ref == NULL) in ossl_bio_init_core()
178 bcgbl->c_bio_up_ref = OSSL_FUNC_BIO_up_ref(fns); in ossl_bio_init_core()
181 if (bcgbl->c_bio_free == NULL) in ossl_bio_init_core()
182 bcgbl->c_bio_free = OSSL_FUNC_BIO_free(fns); in ossl_bio_init_core()