Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 162) sorted by relevance

1234567

/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/
H A Docsd_c_api_cust_impl.h51 static inline ocsd_datapath_resp_t lib_cb_GenElemOp(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_GenElemOp() argument
56 if (callbacks->fn_gen_elem_out) in lib_cb_GenElemOp()
57 return callbacks->fn_gen_elem_out(callbacks->lib_context, index_sop, trc_chan_id, elem); in lib_cb_GenElemOp()
61 static inline ocsd_err_t lib_cb_LogError(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_LogError() argument
68 if (callbacks->fn_log_error) in lib_cb_LogError()
70 callbacks->fn_log_error(callbacks->lib_context, filter_level, code, idx, chan_id, pMsg); in lib_cb_LogError()
76 static inline ocsd_err_t lib_cb_LogMsg(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_LogMsg() argument
80 if (callbacks->fn_log_msg) in lib_cb_LogMsg()
82 callbacks->fn_log_msg(callbacks->lib_context, filter_level, pMsg); in lib_cb_LogMsg()
88 static inline ocsd_err_t lib_cb_DecodeArmInst(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_DecodeArmInst() argument
[all …]
/freebsd/contrib/libcbor/src/cbor/
H A Dstreaming.c29 callbacks->callback_name(context, source + 1 + source_extra_offset, \
45 const struct cbor_callbacks *callbacks, void *context) { in cbor_stream_decode() argument
79 callbacks->uint8(context, _cbor_load_uint8(source)); in cbor_stream_decode()
86 callbacks->uint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
94 callbacks->uint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode()
102 callbacks->uint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode()
110 callbacks->uint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode()
146 callbacks->negint8(context, in cbor_stream_decode()
154 callbacks->negint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode()
162 callbacks in cbor_stream_decode()
[all...]
/freebsd/contrib/libcbor/examples/
H A Dcjson2cbor.c10 * callbacks can be used in conjunction with the streaming parser to translate
30 static struct cbor_callbacks callbacks = { in cjson_cbor_load() local
44 /* Target for callbacks */ in cjson_cbor_load()
49 cbor_load_callback(source, &callbacks, &context); in cjson_cbor_load()
55 const struct cbor_callbacks *callbacks, in cjson_cbor_stream_decode() argument
59 callbacks->boolean(context, false); in cjson_cbor_stream_decode()
63 callbacks->boolean(context, true); in cjson_cbor_stream_decode()
67 callbacks->null(context); in cjson_cbor_stream_decode()
73 callbacks->float4(context, source->valuedouble); in cjson_cbor_stream_decode()
77 callbacks in cjson_cbor_stream_decode()
[all...]
H A Dstreaming_parser.c52 struct cbor_callbacks callbacks = cbor_empty_callbacks; in main() local
55 callbacks.string = find_string; in main()
58 &callbacks, NULL); in main()
/freebsd/crypto/krb5/src/ccapi/server/
H A Dccs_client.c32 ccs_callbackref_array_t callbacks; member
59 err = ccs_callbackref_array_new (&client->callbacks); in ccs_client_new()
88 cc_uint64 callback_count = ccs_callbackref_array_count (io_client->callbacks); in ccs_client_release()
92 ccs_callback_t callback = ccs_callbackref_array_object_at_index (io_client->callbacks, i); in ccs_client_release()
107 ccs_callbackref_array_release (io_client->callbacks); in ccs_client_release()
127 err = ccs_callbackref_array_insert (io_client->callbacks, in_callback, in ccs_client_add_callback()
128 ccs_callbackref_array_count (io_client->callbacks)); in ccs_client_add_callback()
147 cc_uint64 lock_count = ccs_callbackref_array_count (io_client->callbacks); in ccs_client_remove_callback()
150 … ccs_callback_t callback = ccs_callbackref_array_object_at_index (io_client->callbacks, i); in ccs_client_remove_callback()
155 err = ccs_callbackref_array_remove (io_client->callbacks, i); in ccs_client_remove_callback()
/freebsd/crypto/openssl/demos/http3/
H A Dossl-nghttp3-demo.c85 nghttp3_callbacks callbacks = { 0 }; in main() local
106 /* Setup callbacks. */ in main()
107 callbacks.recv_header = on_recv_header; in main()
108 callbacks.end_headers = on_end_headers; in main()
109 callbacks.recv_data = on_recv_data; in main()
110 callbacks.end_stream = on_end_stream; in main()
113 if ((conn = OSSL_DEMO_H3_CONN_new_for_addr(ctx, addr, &callbacks, in main()
H A Dossl-nghttp3.h43 * to the callback functions specified in callbacks is a pointer to the
49 const nghttp3_callbacks *callbacks,
65 const nghttp3_callbacks *callbacks,
96 * pointer passed to the callbacks is a OSSL_DEMO_H3_STREAM object pointer; to
H A Dossl-nghttp3.c79 /* Forwarding callbacks */
234 const nghttp3_callbacks *callbacks, in OSSL_DEMO_H3_CONN_new_for_conn()
329 if (callbacks != NULL) in OSSL_DEMO_H3_CONN_new_for_conn()
330 intl_callbacks = *callbacks; in OSSL_DEMO_H3_CONN_new_for_conn()
397 const nghttp3_callbacks *callbacks, in OSSL_DEMO_H3_CONN_new_for_addr()
433 conn = OSSL_DEMO_H3_CONN_new_for_conn(qconn_bio, callbacks, in OSSL_DEMO_H3_CONN_new_for_addr()
232 OSSL_DEMO_H3_CONN_new_for_conn(BIO * qconn_bio,const nghttp3_callbacks * callbacks,const nghttp3_settings * settings,void * user_data) OSSL_DEMO_H3_CONN_new_for_conn() argument
392 OSSL_DEMO_H3_CONN_new_for_addr(SSL_CTX * ctx,const char * addr,const nghttp3_callbacks * callbacks,const nghttp3_settings * settings,void * user_data) OSSL_DEMO_H3_CONN_new_for_addr() argument
/freebsd/sys/contrib/openzfs/tests/zfs-tests/
H A DMakefile.am33 scripts_zfs_tests_callbacksdir = $(datadir)/$(PACKAGE)/zfs-tests/callbacks
35 %D%/callbacks/zfs_dbgmsg.ksh \
36 %D%/callbacks/zfs_dmesg.ksh \
37 %D%/callbacks/zfs_failsafe.ksh \
38 %D%/callbacks/zfs_mmp.ksh
/freebsd/sbin/umbctl/
H A Dumbctl.c378 } callbacks[] = in _umbctl_set() local
393 for(j = 0; j < sizeof(callbacks) / sizeof(*callbacks); j++) in _umbctl_set()
394 if(strcmp(argv[i], callbacks[j].name) == 0) in _umbctl_set()
396 if(callbacks[j].parameter && i + 1 == argc) in _umbctl_set()
399 if(callbacks[j].callback(ifname, umbp, in _umbctl_set()
400 callbacks[j].parameter in _umbctl_set()
403 if(callbacks[j].parameter) in _umbctl_set()
407 if(j == sizeof(callbacks) / sizeof(*callbacks)) in _umbctl_set()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanShouldStopHere.h69 const ThreadPlanShouldStopHereCallbacks *callbacks,
79 SetShouldStopHereCallbacks(const ThreadPlanShouldStopHereCallbacks *callbacks, in SetShouldStopHereCallbacks() argument
81 if (callbacks) { in SetShouldStopHereCallbacks()
82 m_callbacks = *callbacks; in SetShouldStopHereCallbacks()
H A DThreadPlanStepInRange.h62 ThreadPlanShouldStopHere::ThreadPlanShouldStopHereCallbacks callbacks( in SetCallbacks()
64 SetShouldStopHereCallbacks(&callbacks, nullptr); in SetCallbacks()
/freebsd/crypto/openssl/test/
H A Drun_tests.pl184 my %callbacks = ();
186 $callbacks{ALL} = sub { # on each line of test output
250 $callbacks{EOF} = sub {
265 if (keys %callbacks) {
268 %opts = ( callbacks => { %callbacks }, %opts );
/freebsd/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api_custom_obj.cpp420 void CustomDecoderWrapper::SetCallbacks(ocsd_extern_dcd_cb_fns & callbacks) in SetCallbacks() argument
422 callbacks.fn_arm_instruction_decode = DecodeArmInstCB; in SetCallbacks()
423 callbacks.fn_gen_elem_out = GenElemOpCB; in SetCallbacks()
424 callbacks.fn_log_error = LogErrorCB; in SetCallbacks()
425 callbacks.fn_log_msg = LogMsgCB; in SetCallbacks()
426 callbacks.fn_memory_access = MemAccessCB; in SetCallbacks()
427 callbacks.fn_packet_data_sink = PktDataSinkCB; in SetCallbacks()
428 callbacks.fn_packet_mon = PktMonCB; in SetCallbacks()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DMainLoopPosix.cpp193 // then iterate over it to invoke callbacks. Iterating directly over
194 // loop.m_read_fds is not possible because the callbacks can modify the
239 // and therefore the execution of pending callbacks.
283 auto callback_it = signal_it->second.callbacks.insert(
284 signal_it->second.callbacks.end(), callback);
289 info.callbacks.push_back(callback);
322 *this, signo, insert_ret.first->second.callbacks.begin()));
336 it->second.callbacks.erase(callback_it);
337 // Do not remove the signal handler unless all callbacks have been erased.
338 if (!it->second.callbacks
[all...]
/freebsd/contrib/libcbor/doc/source/api/
H A Dstreaming_decoding.rst4 …t reads a stream of input bytes from a buffer and invokes user-provided callbacks as it decodes th…
11 The callbacks are defined by
16 When building custom sets of callbacks, feel free to start from
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DAlarm.cpp157 llvm::SmallVector<Callback, 1> callbacks; in AlarmThread() local
174 callbacks.emplace_back(std::move(it->callback)); in AlarmThread()
193 callbacks.emplace_back(std::move(entry.callback)); in AlarmThread()
209 for (Callback &callback : callbacks) in AlarmThread()
/freebsd/sys/dev/cardbus/
H A Dcardbus_cis.c107 uint32_t *off, struct tuple_callbacks *callbacks,
567 struct tuple_callbacks *callbacks, void *argp) in decode_tuple() argument
570 for (i = 0; callbacks[i].id != CISTPL_GENERIC; i++) { in decode_tuple()
571 if (tupleid == callbacks[i].id) in decode_tuple()
572 return (callbacks[i].func(cbdev, child, tupleid, len, in decode_tuple()
573 tupledata, start, off, &callbacks[i], argp)); in decode_tuple()
575 return (callbacks[i].func(cbdev, child, tupleid, len, in decode_tuple()
581 struct tuple_callbacks *callbacks, void *argp) in cardbus_parse_cis() argument
624 tupledata, start, &off, callbacks, argp); in cardbus_parse_cis()
/freebsd/stand/userboot/userboot/
H A Dlibuserboot.h30 extern struct loader_callbacks *callbacks;
33 #define CALLBACK(fn, args...) (callbacks->fn(callbacks_arg , ##args))
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_new_pending_conn_cb.pod49 SSL_accept_connection() on them. As such, it may occur that callbacks are
50 delivered to applications' registered TLS callbacks prior to those SSL objects
54 In particular no references should be held on SSL objects passed to callbacks
H A DCRYPTO_get_ex_new_index.pod83 to be passed to the callbacks but are otherwise not used. In order to
84 transparently manipulate exdata, three callbacks must be provided. The
85 semantics of those callbacks are described below.
92 This will replace the callbacks with no-ops
134 The B<idx> is the index and is the value returned when the callbacks were
147 two callbacks. If the dup_func() returns B<0> the whole CRYPTO_dup_ex_data()
/freebsd/contrib/libcbor/doc/source/
H A Dusing.rst37 - ``cbor/callbacks.h`` - Callbacks used for :doc:`api/streaming_decoding`
162 struct cbor_callbacks callbacks = cbor_empty_callbacks;
165 callbacks.string = find_string;
169 &callbacks, NULL);
/freebsd/sys/dev/isci/
H A Disci_io_request.c891 SCIC_SMP_PASSTHRU_REQUEST_CALLBACKS_T callbacks; in isci_smp_request_construct() local
900 callbacks.scic_cb_smp_passthru_get_request = in isci_smp_request_construct()
902 callbacks.scic_cb_smp_passthru_get_function = in isci_smp_request_construct()
904 callbacks.scic_cb_smp_passthru_get_frame_type = in isci_smp_request_construct()
906 callbacks.scic_cb_smp_passthru_get_allocated_response_length = in isci_smp_request_construct()
912 &callbacks); in isci_smp_request_construct()
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dquic-fault-injector.md25 integration points will use new callbacks added to libssl. The final integration
47 To support this integration point two new callbacks will be introduced to libssl
49 hashed. These callbacks will be internal only (i.e. not part of the public API)
52 The new libssl callbacks will be as follows:
69 The two callbacks are set via a single internal function call
98 The above functionality will be supported by the following two new callbacks
100 sent. As for the TLS callbacks these will be internal only and not part of the
117 A single new function call will set both callbacks. The `mutatecb` callback will
155 additional internal libssl callbacks.
160 The Fault Injector will utilise the callbacks described above in order to supply
[all …]
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c3245 nghttp2_session_callbacks *callbacks; in http2_req_callbacks_create() local
3246 if(nghttp2_session_callbacks_new(&callbacks) == NGHTTP2_ERR_NOMEM) { in http2_req_callbacks_create()
3251 nghttp2_session_callbacks_set_on_begin_headers_callback(callbacks, in http2_req_callbacks_create()
3255 nghttp2_session_callbacks_set_on_frame_recv_callback(callbacks, in http2_req_callbacks_create()
3258 nghttp2_session_callbacks_set_on_header_callback(callbacks, in http2_req_callbacks_create()
3261 nghttp2_session_callbacks_set_on_data_chunk_recv_callback(callbacks, in http2_req_callbacks_create()
3265 nghttp2_session_callbacks_set_recv_callback(callbacks, http2_recv_cb); in http2_req_callbacks_create()
3266 nghttp2_session_callbacks_set_send_callback(callbacks, http2_send_cb); in http2_req_callbacks_create()
3267 nghttp2_session_callbacks_set_on_stream_close_callback(callbacks, in http2_req_callbacks_create()
3270 return callbacks; in http2_req_callbacks_create()
[all …]

1234567