Home
last modified time | relevance | path

Searched refs:msg_callback (Results 1 – 24 of 24) sorted by relevance

/external/selinux/libsepol/src/
Ddebug.c9 .msg_callback = sepol_msg_default_handler,
15 sepol_compat_handle.msg_callback = (on) ? in sepol_debug()
80 void (*msg_callback) (void *varg, in sepol_msg_set_callback()
87 handle->msg_callback = msg_callback; in sepol_msg_set_callback()
Ddebug.h39 if (_sepol_h->msg_callback) { \
44 _sepol_h->msg_callback( \
Dhandle.h14 void (*msg_callback) (void *varg, member
Dhandle.c14 sh->msg_callback = sepol_msg_default_handler; in sepol_handle_create()
/external/selinux/libsemanage/src/
Ddebug.c104 if (!sh->msg_callback) in semanage_msg_relay_handler()
114 sh->msg_callback(sh->msg_callback_arg, sh, "%s", buffer); in semanage_msg_relay_handler()
122 void (*msg_callback) (void *varg, in semanage_msg_set_callback()
130 handle->msg_callback = msg_callback; in semanage_msg_set_callback()
Ddebug.h39 if ((handle_arg)->msg_callback) { \
44 (handle_arg)->msg_callback( \
Dseusers_local.c123 void *callback = (void *) handle->msg_callback; in semanage_seuser_modify_local()
157 handle->msg_callback = NULL; in semanage_seuser_modify_local()
159 handle->msg_callback = callback; in semanage_seuser_modify_local()
Dhandle.h46 void (*msg_callback) (void *varg, member
Dhandle.c102 sh->msg_callback = semanage_msg_default_handler; in semanage_handle_create()
/external/boringssl/src/ssl/
Ds3_pkt.c336 if (ssl->msg_callback != NULL) { in ssl3_read_change_cipher_spec()
337 ssl->msg_callback(0, ssl->version, SSL3_RT_CHANGE_CIPHER_SPEC, &byte, 1, in ssl3_read_change_cipher_spec()
506 if (ssl->msg_callback) { in ssl3_read_bytes()
507 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, kHelloRequest, in ssl3_read_bytes()
559 if (ssl->msg_callback) { in ssl3_read_bytes()
560 ssl->msg_callback(0, ssl->version, SSL3_RT_ALERT, rr->data, 2, ssl, in ssl3_read_bytes()
714 if (ssl->msg_callback) { in ssl3_dispatch_alert()
715 ssl->msg_callback(1, ssl->version, SSL3_RT_ALERT, ssl->s3->send_alert, 2, in ssl3_dispatch_alert()
Ddtls_record.c198 if (ssl->msg_callback != NULL) { in dtls_open_record()
199 ssl->msg_callback(0 /* read */, 0, SSL3_RT_HEADER, in, in dtls_open_record()
302 if (ssl->msg_callback) { in dtls_seal_record()
303 ssl->msg_callback(1 /* write */, 0, SSL3_RT_HEADER, out, in dtls_seal_record()
Dd1_pkt.c207 if (ssl->msg_callback != NULL) { in dtls1_read_change_cipher_spec()
208 ssl->msg_callback(0, ssl->version, SSL3_RT_CHANGE_CIPHER_SPEC, &byte, 1, in dtls1_read_change_cipher_spec()
351 if (ssl->msg_callback) { in dtls1_read_bytes()
352 ssl->msg_callback(0, ssl->version, SSL3_RT_ALERT, rr->data, 2, ssl, in dtls1_read_bytes()
560 if (ssl->msg_callback) { in dtls1_dispatch_alert()
561 ssl->msg_callback(1, ssl->version, SSL3_RT_ALERT, ssl->s3->send_alert, 2, in dtls1_dispatch_alert()
Dtls_record.c211 if (ssl->msg_callback != NULL) { in tls_open_record()
212 ssl->msg_callback(0 /* read */, 0, SSL3_RT_HEADER, in, in tls_open_record()
300 if (ssl->msg_callback) { in do_seal_record()
301 ssl->msg_callback(1 /* write */, 0, SSL3_RT_HEADER, out, in do_seal_record()
Ds3_both.c146 if (ssl->msg_callback) { in ssl3_do_write()
147 ssl->msg_callback(1, ssl->version, type, ssl->init_buf->data, in ssl3_do_write()
370 if (ssl->msg_callback) { in ssl3_get_message()
371 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, p, 4, ssl, in ssl3_get_message()
422 if (ssl->msg_callback) { in ssl3_get_message()
423 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, ssl->init_buf->data, in ssl3_get_message()
Dd1_both.c311 if (ssl->msg_callback != NULL) { in dtls1_write_change_cipher_spec()
312 ssl->msg_callback(1 /* write */, ssl->version, SSL3_RT_CHANGE_CIPHER_SPEC, in dtls1_write_change_cipher_spec()
395 if (ssl->msg_callback != NULL) { in dtls1_do_handshake_write()
396 ssl->msg_callback( in dtls1_do_handshake_write()
660 if (ssl->msg_callback) { in dtls1_get_message()
661 ssl->msg_callback(0, ssl->version, SSL3_RT_HANDSHAKE, ssl->init_buf->data, in dtls1_get_message()
Dssl_lib.c374 ssl->msg_callback = ctx->msg_callback; in SSL_new()
2161 ctx->msg_callback = cb; in SSL_CTX_set_msg_callback()
2172 ssl->msg_callback = cb; in SSL_set_msg_callback()
Ds3_srvr.c680 if (ssl->msg_callback) { in ssl3_get_v2_client_hello()
681 ssl->msg_callback(0, SSL2_VERSION, 0, CBS_data(&v2_client_hello), in ssl3_get_v2_client_hello()
/external/selinux/libsemanage/include/semanage/
Ddebug.h47 void (*msg_callback) (void *varg,
/external/selinux/libsepol/include/sepol/
Ddebug.h32 void (*msg_callback) (void *varg,
/external/selinux/libsemanage/tests/
DREADME62 sh->msg_callback = test_msg_handler;
Dtest_semanage_store.c84 sh->msg_callback = test_msg_handler; in semanage_store_test_init()
/external/vulkan-validation-layers/demos/
Dtri.c249 VkDebugReportCallbackEXT msg_callback; member
2032 &demo->msg_callback); in demo_init_vk()
2344 demo->DestroyDebugReportCallback(demo->inst, demo->msg_callback, NULL); in demo_cleanup()
Dcube.c427 VkDebugReportCallbackEXT msg_callback; member
1832 demo->DestroyDebugReportCallback(demo->inst, demo->msg_callback, NULL); in demo_cleanup()
2445 &demo->msg_callback); in demo_init_vk()
/external/boringssl/src/include/openssl/
Dssl.h3577 void (*msg_callback)(int write_p, int version, int content_type, member
3768 void (*msg_callback)(int write_p, int version, int content_type, member