Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 19 of 19) sorted by relevance

/optee_test/host/xtest/
A Dsock_server.c26 struct sock_io_cb *cb; member
40 struct sock_io_cb *cb = srvst->cb; in server_io_cb() local
45 if (!cb->read) in server_io_cb()
47 else if (!cb->read(cb->ptr, fd, events)) in server_io_cb()
52 if (!cb->write) in server_io_cb()
54 else if (!cb->write(cb->ptr, fd, events)) in server_io_cb()
79 srvst->socks[n].cb = cb; in server_add_state()
92 srvst->socks[srvst->nfds].cb = cb; in server_add_state()
128 !srvst->cb->accept(srvst->cb->ptr, fd, &io_events)) { in tcp_server_accept_cb()
158 struct server_state srvst = { .cb = ts->cb }; in sock_server()
[all …]
A Dsock_server.h27 struct sock_io_cb *cb; member
37 bool sock_server_init_tcp(struct sock_server *sock_serv, struct sock_io_cb *cb);
38 bool sock_server_init_udp(struct sock_server *sock_serv, struct sock_io_cb *cb);
A Dregression_2000.c273 struct sock_io_cb cb = { in xtest_tee_test_2001() local
284 if (!ADBG_EXPECT_TRUE(c, sock_server_init_tcp(&ts, &cb))) in xtest_tee_test_2001()
426 struct sock_io_cb cb = { in xtest_tee_test_2002_thread() local
441 if (!sock_server_init_tcp(&ts, &cb)) { in xtest_tee_test_2002_thread()
567 struct sock_io_cb cb = { .accept = test_2003_accept_cb }; in xtest_tee_test_2003() local
570 if (!ADBG_EXPECT_TRUE(c, sock_server_init_tcp(&ts, &cb))) in xtest_tee_test_2003()
752 struct sock_io_cb cb = { in xtest_tee_test_2004() local
761 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts, &cb))) in xtest_tee_test_2004()
764 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts2, &cb))) in xtest_tee_test_2004()
767 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts3, &cb))) in xtest_tee_test_2004()
/optee_test/host/openssl/include/openssl/
A Dpem.h241 unsigned char *kstr, int klen, pem_password_cb *cb, \
408 pem_password_cb *cb, void *u);
411 pem_password_cb *cb, void *u);
425 pem_password_cb *cb, void *u);
490 pem_password_cb *cb, void *u);
493 pem_password_cb *cb, void *u);
499 pem_password_cb *cb, void *u);
502 pem_password_cb *cb, void *u);
505 pem_password_cb *cb, void *u);
524 EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
[all …]
A Dtls1.h336 # define SSL_set_tlsext_debug_callback(ssl, cb) \ argument
337 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
363 # define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \ argument
364 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
379 # define SSL_CTX_set_tlsext_status_cb(ssl, cb) \ argument
380 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
387 # define SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb) \ argument
388 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB, (void (*)(void))cb)
392 # define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \ argument
393 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
A Dasn1t.h169 # define ASN1_NDEF_SEQUENCE_cb(tname, cb) \ argument
170 ASN1_SEQUENCE_cb(tname, cb)
172 # define ASN1_SEQUENCE_cb(tname, cb) \ argument
173 static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \
180 # define ASN1_SEQUENCE_ref(tname, cb, lck) \ argument
181 …const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \
184 # define ASN1_SEQUENCE_enc(tname, enc, cb) \ argument
185 … static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_ENCODING, 0, 0, cb, offsetof(tname, enc)}; \
256 # define ASN1_CHOICE_cb(tname, cb) \ argument
257 static const ASN1_AUX tname##_aux = {NULL, 0, 0, 0, cb, 0}; \
A Drsa.h129 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
331 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
392 int (*cb) (char *buf, int len, const char *prompt,
395 int (*cb) (char *buf, int len, const char *prompt,
399 int (*cb) (char *buf, int len, const char *prompt,
402 int (*cb) (char *buf, int len, const char *prompt,
A Dbn.h357 } cb; member
360 int BN_GENCB_call(BN_GENCB *cb, int a, int b);
366 tmp_gencb->cb.cb_1 = (callback); }
372 tmp_gencb->cb.cb_2 = (callback); }
562 const BIGNUM *rem, BN_GENCB *cb);
563 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
565 int do_trial_division, BN_GENCB *cb);
572 BN_GENCB *cb);
575 BN_CTX *ctx, BN_GENCB *cb);
A Dbio.h510 # define BIO_set_proxy_cb(b,cb) BIO_callback_ctrl(b,BIO_C_SET_PROXY_PARAM,3,(void *(*cb)())) argument
599 # define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb) argument
723 int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u),
725 int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
A Dssl.h835 void (*cb) (int write_p, int version,
839 void (*cb) (int write_p, int version,
1247 void (*cb) (const SSL *ssl, int type,
1273 int (*cb) (SSL *ssl,
1279 int (*cb) (SSL *ssl,
1305 int (*cb) (SSL *ssl,
2268 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg),
2282 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
2311 char *(*cb) (SSL *, void *));
2313 int (*cb) (SSL *, void *));
[all …]
A Docsp.h354 # define PEM_read_bio_OCSP_REQUEST(bp,x,cb) (OCSP_REQUEST *)PEM_ASN1_read_bio( \ argument
355 (char *(*)())d2i_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST,bp,(char **)x,cb,NULL)
357 # define PEM_read_bio_OCSP_RESPONSE(bp,x,cb)(OCSP_RESPONSE *)PEM_ASN1_read_bio(\ argument
358 (char *(*)())d2i_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE,bp,(char **)x,cb,NULL)
A Ddsa.h150 BN_GENCB *cb);
236 BN_GENCB *cb);
A Dts.h575 void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data);
578 void TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data);
586 TS_extension_cb cb, void *data);
738 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb,
A Ddh.h132 BN_GENCB *cb);
235 BN_GENCB *cb);
A Ddso.h254 int DSO_set_name_converter(DSO *dso, DSO_NAME_CONVERTER_FUNC cb,
A Derr.h340 void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u),
A Dcrypto.h587 void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb);
A Dx509_vfy.h481 STACK_OF(X509_CRL) *(*cb) (X509_STORE_CTX
A Devp.h1269 void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);

Completed in 56 milliseconds