Home
last modified time | relevance | path

Searched refs:BIO_CB_RETURN (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/openssl/crypto/bio/
H A Dbio_cb.c72 case BIO_CB_RETURN | BIO_CB_READ: in BIO_debug_callback_ex()
75 case BIO_CB_RETURN | BIO_CB_WRITE: in BIO_debug_callback_ex()
78 case BIO_CB_RETURN | BIO_CB_GETS: in BIO_debug_callback_ex()
81 case BIO_CB_RETURN | BIO_CB_PUTS: in BIO_debug_callback_ex()
84 case BIO_CB_RETURN | BIO_CB_CTRL: in BIO_debug_callback_ex()
H A Dbio_lib.c50 /* Strip off any BIO_CB_RETURN flag */ in bio_call_callback()
51 bareoper = oper & ~BIO_CB_RETURN; in bio_call_callback()
65 if (inret > 0 && (oper & BIO_CB_RETURN) && bareoper != BIO_CB_CTRL) { in bio_call_callback()
73 if (ret > 0 && (oper & BIO_CB_RETURN) && bareoper != BIO_CB_CTRL) { in bio_call_callback()
298 ret = (int)bio_call_callback(b, BIO_CB_READ | BIO_CB_RETURN, data, in bio_read_intern()
369 ret = (int)bio_call_callback(b, BIO_CB_WRITE | BIO_CB_RETURN, data, in bio_write_intern()
435 ret = (int)bio_call_callback(b, BIO_CB_PUTS | BIO_CB_RETURN, buf, 0, 0, in BIO_puts()
488 ret = (int)bio_call_callback(b, BIO_CB_GETS | BIO_CB_RETURN, buf, size, in BIO_gets()
583 ret = bio_call_callback(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, in BIO_ctrl()
611 ret = bio_call_callback(b, BIO_CB_CTRL | BIO_CB_RETURN, (voi in BIO_callback_ctrl()
[all...]
/freebsd/crypto/openssl/test/
H A Dbio_callback_test.c73 || !TEST_int_eq(my_param_oper[1], BIO_CB_WRITE | BIO_CB_RETURN) in test_bio_callback_ex()
92 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback_ex()
112 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback_ex()
132 || !TEST_int_eq(my_param_oper[1], BIO_CB_CTRL | BIO_CB_RETURN) in test_bio_callback_ex()
149 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback_ex()
168 || !TEST_int_eq(my_param_oper[1], BIO_CB_PUTS | BIO_CB_RETURN) in test_bio_callback_ex()
245 || !TEST_int_eq(my_param_oper[1], BIO_CB_WRITE | BIO_CB_RETURN) in test_bio_callback()
263 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
282 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
302 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
[all …]
H A Dbio_memleak_test.c229 if ((cmd & (BIO_CB_READ | BIO_CB_RETURN)) != 0) { in BIO_error_callback()
H A Dhttp_test.c107 if (oper == (BIO_CB_CTRL | BIO_CB_RETURN) && cmd == BIO_CTRL_FLUSH) in http_bio_cb_ex()
/freebsd/crypto/openssl/doc/man3/
H A DBIO_set_callback.pod74 operation, the latter case has B<oper> or'ed with BIO_CB_RETURN.
134 callback_ex(b, BIO_CB_READ | BIO_CB_RETURN, data, dlen, 0, 0L, retvalue,
139 callback(b, BIO_CB_READ|BIO_CB_RETURN, data, dlen, 0L, retvalue)
153 callback_ex(b, BIO_CB_WRITE | BIO_CB_RETURN, data, dlen, 0, 0L, retvalue,
158 callback(b, BIO_CB_WRITE|BIO_CB_RETURN, data, dlen, 0L, retvalue)
172 callback_ex(b, BIO_CB_GETS | BIO_CB_RETURN, buf, size, 0, 0L, retvalue,
177 callback(b, BIO_CB_GETS|BIO_CB_RETURN, buf, size, 0L, retvalue)
191 callback_ex(b, BIO_CB_PUTS | BIO_CB_RETURN, buf, 0, 0, 0L, retvalue, &written)
195 callback(b, BIO_CB_PUTS|BIO_CB_RETURN, buf, 0, 0L, retvalue)
209 callback_ex(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, larg, ret, NULL)
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dbio.h270 # define BIO_CB_RETURN 0x80 macro
271 # define BIO_CB_return(a) ((a)|BIO_CB_RETURN)
272 # define BIO_cb_pre(a) (!((a)&BIO_CB_RETURN))
273 # define BIO_cb_post(a) ((a)&BIO_CB_RETURN)
H A Dbio.h.in269 * BIO_CB_RETURN flag indicates if it is after the call
271 # define BIO_CB_RETURN 0x80 macro
272 # define BIO_CB_return(a) ((a)|BIO_CB_RETURN)
273 # define BIO_cb_pre(a) (!((a)&BIO_CB_RETURN))
274 # define BIO_cb_post(a) ((a)&BIO_CB_RETURN)
/freebsd/crypto/openssl/crypto/evp/
H A Dbio_enc.c441 return callback_ex(b, BIO_CB_CTRL | BIO_CB_RETURN, (const char *)c, 0, in BIO_set_cipher()
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c438 if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) { in bio_dump_callback()
447 } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) { in bio_dump_callback()
/freebsd/contrib/unbound/util/
H A Dnetevent.c3112 (oper&BIO_CB_RETURN)?"return":"before",
3116 if( (oper == (BIO_CB_READ|BIO_CB_RETURN) && argl == 0) ||
3117 (oper == (BIO_CB_GETS|BIO_CB_RETURN) && argl == 0)) {
3122 if( (oper == (BIO_CB_WRITE|BIO_CB_RETURN) && argl == 0) ||
3123 (oper == (BIO_CB_PUTS|BIO_CB_RETURN) && argl == 0)) {