Home
last modified time | relevance | path

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

123456

/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...]
H A Dstreaming.h31 const struct cbor_callbacks* callbacks, void* context);
/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/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/crypto/openssl/test/
H A Drun_tests.pl178 my %callbacks = ();
180 $callbacks{ALL} = sub { # on each line of test output
223 $callbacks{EOF} = sub {
238 if (keys %callbacks) {
241 %opts = ( callbacks => { %callbacks }, %opts );
/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/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))
H A Dmain.c53 struct loader_callbacks *callbacks; variable
156 callbacks = cb; in loader_main()
/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/crypto/openssl/doc/man3/
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()
H A DSSL_extension_supported.pod77 callbacks B<add_cb>, B<free_cb> and B<parse_cb> (see the
83 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
85 applies to clients, uses the older style of callbacks, and implicitly sets the
92 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
94 only applies to servers, uses the older style of callbacks, and implicitly sets
109 extension handler was added. When using the new style callbacks the B<context>
255 which will be passed to the corresponding callbacks. They can, for example,
H A DOPENSSL_LH_COMPFUNC.pod78 callbacks to be used in organising the table's entries. The I<hash>
88 I<compare> callbacks hash/compare these types, then the
167 variables before calling your type-specific callbacks. An example of
258 pointer type. This is why callbacks such as those used by lh_doall()
273 lh_doall_arg() callbacks (see the "TYPE_cleanup" example above). If
275 the raw callbacks themselves) or use the macros to declare/implement
279 table, yet declare callbacks without constant types (or cast the
/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/contrib/unbound/services/
H A Dlisten_dnsport.c3230 nghttp2_session_callbacks *callbacks; in http2_req_callbacks_create() local
3231 if(nghttp2_session_callbacks_new(&callbacks) == NGHTTP2_ERR_NOMEM) { in http2_req_callbacks_create()
3236 nghttp2_session_callbacks_set_on_begin_headers_callback(callbacks, in http2_req_callbacks_create()
3240 nghttp2_session_callbacks_set_on_frame_recv_callback(callbacks, in http2_req_callbacks_create()
3243 nghttp2_session_callbacks_set_on_header_callback(callbacks, in http2_req_callbacks_create()
3246 nghttp2_session_callbacks_set_on_data_chunk_recv_callback(callbacks, in http2_req_callbacks_create()
3250 nghttp2_session_callbacks_set_recv_callback(callbacks, http2_recv_cb); in http2_req_callbacks_create()
3251 nghttp2_session_callbacks_set_send_callback(callbacks, http2_send_cb); in http2_req_callbacks_create()
3252 nghttp2_session_callbacks_set_on_stream_close_callback(callbacks, in http2_req_callbacks_create()
3255 return callbacks; in http2_req_callbacks_create()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanShouldStopHere.cpp30 ThreadPlan *owner, const ThreadPlanShouldStopHereCallbacks *callbacks, in ThreadPlanShouldStopHere() argument
34 SetShouldStopHereCallbacks(callbacks, baton); in ThreadPlanShouldStopHere()
/freebsd/usr.sbin/bhyve/
H A Dlibslirp.h227 Slirp *slirp_new(const SlirpConfig *cfg, const SlirpCb *callbacks,
239 const char *vdomainname, const SlirpCb *callbacks,

123456