/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | ocsd_c_api_cust_impl.h | 51 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 D | streaming.c | 29 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 D | streaming.h | 31 const struct cbor_callbacks* callbacks, void* context);
|
/freebsd/contrib/libcbor/examples/ |
H A D | cjson2cbor.c | 10 * 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 D | streaming_parser.c | 52 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 D | Makefile.am | 33 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 D | umbctl.c | 378 } 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 D | run_tests.pl | 178 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 D | ThreadPlanShouldStopHere.h | 69 const ThreadPlanShouldStopHereCallbacks *callbacks, 79 SetShouldStopHereCallbacks(const ThreadPlanShouldStopHereCallbacks *callbacks, in SetShouldStopHereCallbacks() argument 81 if (callbacks) { in SetShouldStopHereCallbacks() 82 m_callbacks = *callbacks; in SetShouldStopHereCallbacks()
|
H A D | ThreadPlanStepInRange.h | 62 ThreadPlanShouldStopHere::ThreadPlanShouldStopHereCallbacks callbacks( in SetCallbacks() 64 SetShouldStopHereCallbacks(&callbacks, nullptr); in SetCallbacks()
|
/freebsd/contrib/opencsd/decoder/source/c_api/ |
H A D | ocsd_c_api_custom_obj.cpp | 420 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 D | MainLoopPosix.cpp | 193 // 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 D | streaming_decoding.rst | 4 …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 D | Alarm.cpp | 157 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 D | cardbus_cis.c | 107 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 D | libuserboot.h | 30 extern struct loader_callbacks *callbacks; 33 #define CALLBACK(fn, args...) (callbacks->fn(callbacks_arg , ##args))
|
H A D | main.c | 53 struct loader_callbacks *callbacks; variable 156 callbacks = cb; in loader_main()
|
/freebsd/contrib/libcbor/doc/source/ |
H A D | using.rst | 37 - ``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 D | CRYPTO_get_ex_new_index.pod | 83 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 D | SSL_extension_supported.pod | 77 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 D | OPENSSL_LH_COMPFUNC.pod | 78 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 D | isci_io_request.c | 891 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 D | listen_dnsport.c | 3230 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 D | ThreadPlanShouldStopHere.cpp | 30 ThreadPlan *owner, const ThreadPlanShouldStopHereCallbacks *callbacks, in ThreadPlanShouldStopHere() argument 34 SetShouldStopHereCallbacks(callbacks, baton); in ThreadPlanShouldStopHere()
|
/freebsd/usr.sbin/bhyve/ |
H A D | libslirp.h | 227 Slirp *slirp_new(const SlirpConfig *cfg, const SlirpCb *callbacks, 239 const char *vdomainname, const SlirpCb *callbacks,
|