| /freebsd-14.2/contrib/opencsd/decoder/include/opencsd/c_api/ |
| H A D | ocsd_c_api_cust_impl.h | 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() 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() 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() 92 return callbacks->fn_arm_instruction_decode(callbacks->lib_context, instr_info); in lib_cb_DecodeArmInst() 103 if (callbacks->fn_memory_access) in lib_cb_MemAccess() 117 if (callbacks->fn_packet_mon) in lib_cb_PktMon() 118 callbacks->fn_packet_mon(callbacks->lib_context, op, index_sop, pkt, size, p_data); in lib_cb_PktMon() [all …]
|
| /freebsd-14.2/contrib/libcbor/src/cbor/ |
| H A D | streaming.c | 146 callbacks->negint8(context, in cbor_stream_decode() 238 callbacks->byte_string_start(context); in cbor_stream_decode() 291 callbacks->string_start(context); in cbor_stream_decode() 320 callbacks->array_start( in cbor_stream_decode() 393 callbacks->map_start(context, in cbor_stream_decode() 437 callbacks->indef_map_start(context); in cbor_stream_decode() 539 callbacks->boolean(context, false); in cbor_stream_decode() 545 callbacks->boolean(context, true); in cbor_stream_decode() 551 callbacks->null(context); in cbor_stream_decode() 557 callbacks->undefined(context); in cbor_stream_decode() [all …]
|
| H A D | streaming.h | 31 const struct cbor_callbacks* callbacks, void* context);
|
| /freebsd-14.2/contrib/libcbor/examples/ |
| H A D | cjson2cbor.c | 30 static struct cbor_callbacks callbacks = { in cjson_cbor_load() local 49 cbor_load_callback(source, &callbacks, &context); in cjson_cbor_load() 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->uint64(context, source->valueint); in cjson_cbor_stream_decode() 79 callbacks->negint64(context, source->valueint + 1); in cjson_cbor_stream_decode() 94 cjson_cbor_stream_decode(item, callbacks, context); in cjson_cbor_stream_decode() 100 callbacks->map_start(context, cJSON_GetArraySize(source)); 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-14.2/sys/contrib/openzfs/tests/zfs-tests/ |
| H A D | Makefile.am | 30 scripts_zfs_tests_callbacksdir = $(datadir)/$(PACKAGE)/zfs-tests/callbacks 32 %D%/callbacks/zfs_dbgmsg.ksh \ 33 %D%/callbacks/zfs_dmesg.ksh \ 34 %D%/callbacks/zfs_failsafe.ksh \ 35 %D%/callbacks/zfs_mmp.ksh
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | MainLoopPosix.cpp | 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); 338 if (!it->second.callbacks.empty()) 395 it->second.callbacks.begin(), it->second.callbacks.end()};
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/contrib/unbound/services/ |
| H A D | listen_dnsport.c | 3230 nghttp2_session_callbacks *callbacks; in http2_req_callbacks_create() local 3255 return callbacks; in http2_req_callbacks_create() 4740 struct ngtcp2_callbacks callbacks; in doq_conn_setup() local 4747 memset(&callbacks, 0, sizeof(callbacks)); in doq_conn_setup() 4761 callbacks.encrypt = ngtcp2_crypto_encrypt_cb; in doq_conn_setup() 4763 callbacks.hp_mask = ngtcp2_crypto_hp_mask; in doq_conn_setup() 4765 callbacks.delete_crypto_aead_ctx = in doq_conn_setup() 4767 callbacks.delete_crypto_cipher_ctx = in doq_conn_setup() 4769 callbacks.get_path_challenge_data = in doq_conn_setup() 4772 callbacks.rand = doq_rand_cb; in doq_conn_setup() [all …]
|
| /freebsd-14.2/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,
|
| /freebsd-14.2/sys/contrib/openzfs/config/ |
| H A D | kernel-evict-inode.m4 | 3 dnl # The sops->delete_inode() and sops->clear_inode() callbacks have
|
| /freebsd-14.2/crypto/openssl/include/openssl/ |
| H A D | lhash.h.in | 43 * callbacks. This way, callbacks can be provided to LHASH structures without 44 * function pointer casting and the macro-defined callbacks provide 46 * callbacks. NB: It is possible to place a "static" in front of both the
|