Home
last modified time | relevance | path

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

/third_party/openssl/crypto/bio/
Dbio_cb.c26 if (BIO_CB_RETURN & cmd) in BIO_debug_callback()
70 case BIO_CB_RETURN | BIO_CB_READ: in BIO_debug_callback()
73 case BIO_CB_RETURN | BIO_CB_WRITE: in BIO_debug_callback()
76 case BIO_CB_RETURN | BIO_CB_GETS: in BIO_debug_callback()
79 case BIO_CB_RETURN | BIO_CB_PUTS: in BIO_debug_callback()
82 case BIO_CB_RETURN | BIO_CB_CTRL: in BIO_debug_callback()
Dbio_lib.c41 bareoper = oper & ~BIO_CB_RETURN; in bio_call_callback()
55 if (inret > 0 && (oper & BIO_CB_RETURN) && bareoper != BIO_CB_CTRL) { in bio_call_callback()
63 if (ret > 0 && (oper & BIO_CB_RETURN) && bareoper != BIO_CB_CTRL) { in bio_call_callback()
276 ret = (int)bio_call_callback(b, BIO_CB_READ | BIO_CB_RETURN, data, in bio_read_intern()
349 ret = (int)bio_call_callback(b, BIO_CB_WRITE | BIO_CB_RETURN, data, in bio_write_intern()
417 ret = (int)bio_call_callback(b, BIO_CB_PUTS | BIO_CB_RETURN, buf, 0, 0, in BIO_puts()
466 ret = (int)bio_call_callback(b, BIO_CB_GETS | BIO_CB_RETURN, buf, size, in BIO_gets()
531 ret = bio_call_callback(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, in BIO_ctrl()
560 ret = bio_call_callback(b, BIO_CB_CTRL | BIO_CB_RETURN, (void *)&fp, 0, in BIO_callback_ctrl()
/third_party/openssl/doc/man3/
DBIO_set_callback.pod65 operation, the latter case has B<oper> or'ed with BIO_CB_RETURN.
125 callback_ex(b, BIO_CB_READ | BIO_CB_RETURN, data, dlen, 0, 0L, retvalue,
130 callback(b, BIO_CB_READ|BIO_CB_RETURN, data, dlen, 0L, retvalue)
144 callback_ex(b, BIO_CB_WRITE | BIO_CB_RETURN, data, dlen, 0, 0L, retvalue,
149 callback(b, BIO_CB_WRITE|BIO_CB_RETURN, data, dlen, 0L, retvalue)
163 callback_ex(b, BIO_CB_GETS | BIO_CB_RETURN, buf, size, 0, 0L, retvalue,
168 callback(b, BIO_CB_GETS|BIO_CB_RETURN, buf, size, 0L, retvalue)
182 callback_ex(b, BIO_CB_PUTS | BIO_CB_RETURN, buf, 0, 0, 0L, retvalue, &written)
186 callback(b, BIO_CB_PUTS|BIO_CB_RETURN, buf, 0, 0L, retvalue)
200 callback_ex(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, larg, ret, NULL)
[all …]
/third_party/openssl/test/
Dbio_callback_test.c67 || !TEST_int_eq(my_param_oper[1], BIO_CB_WRITE | BIO_CB_RETURN) in test_bio_callback()
85 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
104 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
124 || !TEST_int_eq(my_param_oper[1], BIO_CB_READ | BIO_CB_RETURN) in test_bio_callback()
142 || !TEST_int_eq(my_param_oper[1], BIO_CB_PUTS | BIO_CB_RETURN) in test_bio_callback()
Dbio_memleak_test.c231 if ((cmd & (BIO_CB_READ | BIO_CB_RETURN)) != 0) { in BIO_error_callback()
/third_party/openssl/include/openssl/
Dbio.h231 # define BIO_CB_RETURN 0x80 macro
232 # define BIO_CB_return(a) ((a)|BIO_CB_RETURN)
233 # define BIO_cb_pre(a) (!((a)&BIO_CB_RETURN))
234 # define BIO_cb_post(a) ((a)&BIO_CB_RETURN)
/third_party/openssl/apps/
Ds_cb.c442 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()