Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 25 of 47) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_common.c277 if (wps->event_cb == NULL) in wps_fail_event()
285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
293 if (wps->event_cb == NULL) in wps_success_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
307 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
320 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
329 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
332 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_common.c277 if (wps->event_cb == NULL) in wps_fail_event()
285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
293 if (wps->event_cb == NULL) in wps_success_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
307 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
320 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
329 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
332 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dx11wrap.c62 pa_x11_event_cb_t event_cb; member
82 if (c->event_cb) in work()
83 if (c->event_cb(w, &e, c->userdata) != 0) in work()
281 pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, pa_x11_event_cb_t event_cb, pa_x11_kill_cb_t ki… in pa_x11_client_new() argument
289 c->event_cb = event_cb; in pa_x11_client_new()
Dx11wrap.h55 pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, pa_x11_event_cb_t event_cb, pa_x11_kill_cb_t ki…
/third_party/glib/gio/tests/
Dsocket-listener.c23 event_cb (GSocketListener *listener, in event_cb() function
67 g_signal_connect (listener, "event", G_CALLBACK (event_cb), &success); in test_event_signal()
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dtcp_communicator.cc97 …mmunicator::RegisterEventCallback(const core::ClusterEvent &event, const EventCallback &event_cb) { in RegisterEventCallback() argument
99 abstrace_node_->RegisterEventCallback(event, event_cb); in RegisterEventCallback()
Dtcp_communicator.h79 void RegisterEventCallback(const core::ClusterEvent &event, const EventCallback &event_cb);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_gnutls.c36 void (*event_cb)(void *ctx, enum tls_event ev, member
122 global->event_cb = conf->event_cb; in tls_init()
937 if (global->event_cb == NULL) in gnutls_tls_fail_event()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1298 if (conn->global->event_cb) { in tls_connection_verify_peer()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1407 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1488 if (conn->global->event_cb) { in tls_connection_handshake()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
[all …]
Dtls_internal.c27 void (*event_cb)(void *ctx, enum tls_event ev, member
60 global->event_cb = conf->event_cb; in tls_init()
110 tlsv1_client_set_cb(conn->client, global->event_cb, in tls_connection_init()
Dtls_wolfssl.c56 void (*event_cb)(void *ctx, enum tls_event ev, member
108 context->event_cb = conf->event_cb; in tls_context_new()
840 if (!context->event_cb) in wolfssl_tls_fail_event()
851 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in wolfssl_tls_fail_event()
872 if (!context->event_cb) in wolfssl_tls_cert_event()
944 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in wolfssl_tls_cert_event()
1133 if (depth == 0 && preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1134 context->event_cb(context->cb_ctx, in tls_verify_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_gnutls.c36 void (*event_cb)(void *ctx, enum tls_event ev, member
122 global->event_cb = conf->event_cb; in tls_init()
937 if (global->event_cb == NULL) in gnutls_tls_fail_event()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1298 if (conn->global->event_cb) { in tls_connection_verify_peer()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1407 if (conn->global->event_cb != NULL) in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1488 if (conn->global->event_cb) { in tls_connection_handshake()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
[all …]
Dtls_internal.c27 void (*event_cb)(void *ctx, enum tls_event ev, member
60 global->event_cb = conf->event_cb; in tls_init()
110 tlsv1_client_set_cb(conn->client, global->event_cb, in tls_connection_init()
Dtls_wolfssl.c55 void (*event_cb)(void *ctx, enum tls_event ev, member
107 context->event_cb = conf->event_cb; in tls_context_new()
836 if (!context->event_cb) in wolfssl_tls_fail_event()
847 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in wolfssl_tls_fail_event()
868 if (!context->event_cb) in wolfssl_tls_cert_event()
937 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in wolfssl_tls_cert_event()
1126 if (depth == 0 && preverify_ok && context->event_cb != NULL) in tls_verify_cb()
1127 context->event_cb(context->cb_ctx, in tls_verify_cb()
/third_party/glib/gio/inotify/
Dinotify-path.h27 gboolean _ip_startup (gboolean (*event_cb)(ik_event_t *event, inotify_sub *sub, gboolean file_e…
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_read.c289 if (!conn->event_cb) in tls_peer_cert_event()
315 conn->event_cb(conn->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in tls_peer_cert_event()
329 if (!conn->event_cb || !cert) in tls_cert_chain_failure_event()
341 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in tls_cert_chain_failure_event()
517 if (conn->event_cb) { in tls_process_certificate()
525 conn->event_cb(conn->cb_ctx, in tls_process_certificate()
536 if (conn->event_cb) { in tls_process_certificate()
549 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, in tls_process_certificate()
Dtlsv1_client.h56 void (*event_cb)(void *ctx, enum tls_event ev,
Dtlsv1_client_i.h71 void (*event_cb)(void *ctx, enum tls_event ev, member
Dtlsv1_client.c862 void (*event_cb)(void *ctx, enum tls_event ev, in tlsv1_client_set_cb()
867 conn->event_cb = event_cb; in tlsv1_client_set_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_read.c289 if (!conn->event_cb) in tls_peer_cert_event()
323 conn->event_cb(conn->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in tls_peer_cert_event()
337 if (!conn->event_cb || !cert) in tls_cert_chain_failure_event()
349 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in tls_cert_chain_failure_event()
525 if (conn->event_cb) { in tls_process_certificate()
533 conn->event_cb(conn->cb_ctx, in tls_process_certificate()
544 if (conn->event_cb) { in tls_process_certificate()
557 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, in tls_process_certificate()
Dtlsv1_client.h56 void (*event_cb)(void *ctx, enum tls_event ev,
Dtlsv1_client_i.h71 void (*event_cb)(void *ctx, enum tls_event ev, member
Dtlsv1_client.c887 void (*event_cb)(void *ctx, enum tls_event ev, in tlsv1_client_set_cb()
892 conn->event_cb = event_cb; in tlsv1_client_set_cb()
/third_party/curl/docs/examples/
Dhiperfifo.c194 static void event_cb(int fd, short kind, void *userp) in event_cb() function
260 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
Dghiper.c178 static gboolean event_cb(GIOChannel *ch, GIOCondition condition, gpointer data) in event_cb() function
230 f->ev = g_io_add_watch(f->ch, kind, event_cb, g); in setsock()
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dabstract_node.h88 void RegisterEventCallback(const ClusterEvent &event, const EventCallback &event_cb);
90 void RegisterCustomEventCallback(const uint32_t &event, const EventCallback &event_cb);

12