Home
last modified time | relevance | path

Searched refs:cb_arg (Results 1 – 25 of 40) sorted by relevance

12

/third_party/grpc/src/core/lib/iomgr/
Dclosure.h71 void* cb_arg; member
94 grpc_iomgr_cb_func cb, void* cb_arg) { argument
97 grpc_iomgr_cb_func cb, void* cb_arg) {
100 closure->cb_arg = cb_arg;
115 #define GRPC_CLOSURE_INIT(closure, cb, cb_arg, scheduler) \ argument
116 grpc_closure_init(__FILE__, __LINE__, closure, cb, cb_arg)
118 #define GRPC_CLOSURE_INIT(closure, cb, cb_arg, scheduler) \ argument
119 grpc_closure_init(closure, cb, cb_arg)
126 void* cb_arg; member
132 void* cb_arg = wc->cb_arg; local
[all …]
Dtcp_server.cc33 grpc_tcp_server_cb on_accept_cb, void* cb_arg) { in grpc_tcp_server_start() argument
34 grpc_tcp_server_impl->start(server, pollsets, on_accept_cb, cb_arg); in grpc_tcp_server_start()
Dtcp_server.h71 grpc_tcp_server_cb on_accept_cb, void* cb_arg);
94 grpc_tcp_server_cb on_accept_cb, void* cb_arg);
Dcombiner.cc240 cl->cb(cl->cb_arg, cl_err); in grpc_combiner_continue_exec_ctx()
256 c->cb(c->cb_arg, error); in grpc_combiner_continue_exec_ctx()
Dendpoint_cfstream.cc121 ep->read_cb, ep->read_cb->cb, ep->read_cb->cb_arg); in CallReadCb()
143 ep->write_cb, ep->write_cb->cb, ep->write_cb->cb_arg); in CallWriteCb()
/third_party/openssl/crypto/bn/
Dbn_depr.c27 void (*callback) (int, int, void *), void *cb_arg)
32 BN_GENCB_set_old(&cb, callback, cb_arg);
51 void *cb_arg)
54 BN_GENCB_set_old(&cb, callback, cb_arg);
60 BN_CTX *ctx_passed, void *cb_arg,
64 BN_GENCB_set_old(&cb, callback, cb_arg);
Dbn_lib.c976 void *cb_arg) in BN_GENCB_set_old() argument
980 tmp_gencb->arg = cb_arg; in BN_GENCB_set_old()
986 void *cb_arg) in BN_GENCB_set() argument
990 tmp_gencb->arg = cb_arg; in BN_GENCB_set()
/third_party/grpc/test/core/client_channel/resolvers/
Ddns_resolver_cooldown_test.cc227 static void on_fourth_resolution(OnResolutionCallbackArg* cb_arg) { in on_fourth_resolution() argument
230 cb_arg->resolver.reset(); in on_fourth_resolution()
236 delete cb_arg; in on_fourth_resolution()
240 static void on_third_resolution(OnResolutionCallbackArg* cb_arg) { in on_third_resolution() argument
243 cb_arg->result_handler->SetCallback(on_fourth_resolution, cb_arg); in on_third_resolution()
244 cb_arg->resolver->RequestReresolutionLocked(); in on_third_resolution()
251 static void on_second_resolution(OnResolutionCallbackArg* cb_arg) { in on_second_resolution() argument
256 cb_arg->result_handler->SetCallback(on_third_resolution, cb_arg); in on_second_resolution()
257 cb_arg->resolver->RequestReresolutionLocked(); in on_second_resolution()
264 static void on_first_resolution(OnResolutionCallbackArg* cb_arg) { in on_first_resolution() argument
[all …]
/third_party/grpc/src/core/lib/transport/
Dtransport.h67 grpc_iomgr_cb_func cb, void* cb_arg,
69 #define GRPC_STREAM_REF_INIT(rc, ir, cb, cb_arg, objtype) \ argument
70 grpc_stream_ref_init(rc, ir, cb, cb_arg, objtype)
73 grpc_iomgr_cb_func cb, void* cb_arg);
74 #define GRPC_STREAM_REF_INIT(rc, ir, cb, cb_arg, objtype) \ argument
76 grpc_stream_ref_init(rc, ir, cb, cb_arg); \
86 refcount->destroy.cb_arg, reason); in grpc_stream_ref()
103 refcount->destroy.cb_arg, reason); in grpc_stream_unref()
Dtransport.cc85 grpc_iomgr_cb_func cb, void* cb_arg, argument
90 grpc_iomgr_cb_func cb, void* cb_arg) {
92 GRPC_CLOSURE_INIT(&refcount->destroy, cb, cb_arg, grpc_schedule_on_exec_ctx);
/third_party/iptables/iptables/
Dxtables-monitor.c42 struct cb_arg { struct
51 const struct cb_arg *arg = data; in table_cb() argument
81 const struct cb_arg *arg = data; in rule_cb()
126 const struct cb_arg *arg = data; in chain_cb()
212 static void trace_print_rule(const struct nftnl_trace *nlt, struct cb_arg *args) in trace_print_rule()
269 static void trace_print_packet(const struct nftnl_trace *nlt, struct cb_arg *args) in trace_print_packet()
496 static int trace_cb(const struct nlmsghdr *nlh, struct cb_arg *arg) in trace_cb()
553 struct cb_arg *arg = data; in monitor_cb()
614 struct cb_arg cb_arg = { in xtables_monitor_main() local
657 cb_arg.nfproto = NFPROTO_IPV4; in xtables_monitor_main()
[all …]
/third_party/openssl/crypto/dh/
Ddh_depr.c23 void (*callback) (int, int, void *), void *cb_arg)
36 BN_GENCB_set_old(cb, callback, cb_arg);
/third_party/openssl/crypto/dsa/
Ddsa_depr.c39 void *cb_arg)
50 BN_GENCB_set_old(cb, callback, cb_arg);
/third_party/ffmpeg/libavformat/
Dtls_libtls.c51 static ssize_t tls_read_callback(struct tls *ctx, void *buf, size_t buflen, void *cb_arg) in tls_read_callback() argument
53 URLContext *h = (URLContext*) cb_arg; in tls_read_callback()
62 static ssize_t tls_write_callback(struct tls *ctx, const void *buf, size_t buflen, void *cb_arg) in tls_write_callback() argument
64 URLContext *h = (URLContext*) cb_arg; in tls_write_callback()
/third_party/openssl/crypto/rsa/
Drsa_depr.c28 void (*callback) (int, int, void *), void *cb_arg)
48 BN_GENCB_set_old(cb, callback, cb_arg);
/third_party/openssl/doc/man3/
DBN_generate_prime.pod29 void (*callback)(int, int, void *), void *cb_arg);
32 int (*callback)(int, int, BN_GENCB *), void *cb_arg);
41 void *cb_arg);
44 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg);
48 void *cb_arg, int do_trial_division);
144 type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a B<void *>.
151 style callbacks or B<callback(a, b, cb_arg)> for old style.
159 the B<cb_arg>. BN_is_prime() and BN_is_prime_fasttest()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_macsec_linux.c35 struct cb_arg { struct
47 struct cb_arg cb_arg; member
155 memset(&ctx->cb_arg, 0, sizeof(ctx->cb_arg)); in init_genl_ctx()
156 ctx->cb_arg.drv = drv; in init_genl_ctx()
159 &ctx->cb_arg); in init_genl_ctx()
514 struct cb_arg *arg = (struct cb_arg *) argp; in dump_callback()
639 ctx->cb_arg.ifindex = drv->ifi; in do_dump()
640 ctx->cb_arg.rxsci = rxsci; in do_dump()
641 ctx->cb_arg.rxsa = rxsa; in do_dump()
642 ctx->cb_arg.txsa = txsa; in do_dump()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_macsec_linux.c35 struct cb_arg { struct
47 struct cb_arg cb_arg; argument
153 memset(&ctx->cb_arg, 0, sizeof(ctx->cb_arg)); in init_genl_ctx()
154 ctx->cb_arg.drv = drv; in init_genl_ctx()
157 &ctx->cb_arg); in init_genl_ctx()
512 struct cb_arg *arg = (struct cb_arg *) argp; in dump_callback()
637 ctx->cb_arg.ifindex = drv->ifi; in do_dump()
638 ctx->cb_arg.rxsci = rxsci; in do_dump()
639 ctx->cb_arg.rxsa = rxsa; in do_dump()
640 ctx->cb_arg.txsa = txsa; in do_dump()
[all …]
/third_party/openssl/include/openssl/
Ddsa.h124 void *cb_arg))
151 # define DSA_is_prime(n, callback, cb_arg) \ argument
152 BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
Dbn.h98 void *cb_arg);
102 void *cb_arg);
331 void *cb_arg))
335 BN_CTX *ctx, void *cb_arg))
339 BN_CTX *ctx, void *cb_arg,
/third_party/libwebsockets/include/libwebsockets/
Dlws-struct.h59 typedef int (*lws_struct_args_cb)(void *obj, void *cb_arg);
65 void *cb_arg; member
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_client_test.cc174 static_cast<alts_handshaker_client*>(closure->cb_arg); in check_client_start_success()
224 static_cast<alts_handshaker_client*>(closure->cb_arg); in check_server_start_success()
262 static_cast<alts_handshaker_client*>(closure->cb_arg); in check_next_success()
/third_party/openssl/crypto/bio/
Dbio_lib.c227 b->cb_arg = arg; in BIO_set_callback_arg()
232 return b->cb_arg; in BIO_get_callback_arg()
707 new_bio->cb_arg = bio->cb_arg; in BIO_dup_chain()
Dbio_cb.c90 b = (BIO *)bio->cb_arg; in BIO_debug_callback()
Dbio_local.h120 char *cb_arg; /* first argument for the callback */ member

12