Home
last modified time | relevance | path

Searched full:callbacks (Results 1 – 25 of 1608) sorted by relevance

12345678910>>...65

/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/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp25 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord() argument
28 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord()
35 TypeVisitorCallbacks &Callbacks) { in visitKnownMember() argument
38 if (auto EC = Callbacks.visitKnownMember(Record, KnownRecord)) in visitKnownMember()
44 TypeVisitorCallbacks &Callbacks) { in visitMemberRecord() argument
45 if (auto EC = Callbacks.visitMemberBegin(Record)) in visitMemberRecord()
50 if (auto EC = Callbacks.visitUnknownMember(Record)) in visitMemberRecord()
55 if (auto EC = visitKnownMember<Name##Record>(Record, Callbacks)) \ in visitMemberRecord()
66 if (auto EC = Callbacks.visitMemberEnd(Record)) in visitMemberRecord()
76 explicit CVTypeVisitor(TypeVisitorCallbacks &Callbacks);
93 TypeVisitorCallbacks &Callbacks; global() member in __anonb91ca2020111::CVTypeVisitor
96 CVTypeVisitor(TypeVisitorCallbacks & Callbacks) CVTypeVisitor() argument
220 visitTypeRecord(CVType & Record,TypeIndex Index,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeRecord() argument
227 visitTypeRecord(CVType & Record,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeRecord() argument
234 visitTypeStream(const CVTypeArray & Types,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeStream() argument
241 visitTypeStream(CVTypeRange Types,TypeVisitorCallbacks & Callbacks) visitTypeStream() argument
247 visitTypeStream(TypeCollection & Types,TypeVisitorCallbacks & Callbacks) visitTypeStream() argument
256 visitMemberRecord(CVMemberRecord Record,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitMemberRecord() argument
264 visitMemberRecord(TypeLeafKind Kind,ArrayRef<uint8_t> Record,TypeVisitorCallbacks & Callbacks) visitMemberRecord() argument
272 visitMemberRecordStream(ArrayRef<uint8_t> FieldList,TypeVisitorCallbacks & Callbacks) visitMemberRecordStream() argument
[all...]
H A DCVSymbolVisitor.cpp21 CVSymbolVisitor::CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks) in CVSymbolVisitor() argument
22 : Callbacks(Callbacks) {} in CVSymbolVisitor()
26 SymbolVisitorCallbacks &Callbacks) { in visitKnownRecord() argument
29 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord()
35 SymbolVisitorCallbacks &Callbacks) { in finishVisitation() argument
38 if (auto EC = Callbacks.visitUnknownSymbol(Record)) in finishVisitation()
43 if (auto EC = visitKnownRecord<Name>(Record, Callbacks)) \ in finishVisitation()
52 if (auto EC = Callbacks.visitSymbolEnd(Record)) in finishVisitation()
59 if (auto EC = Callbacks.visitSymbolBegin(Record)) in visitSymbolRecord()
61 return finishVisitation(Record, Callbacks); in visitSymbolRecord()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassInstrumentation.h17 /// - PassInstrumentationCallbacks registers callbacks and provides access
24 /// - register instrumentation callbacks in PassInstrumentationCallbacks
39 /// control to all the registered callbacks. Note that we specifically wrap
41 /// instrumenting callbacks.
44 /// of a pass. For those callbacks returning false means pass will not be
65 /// This class manages callbacks registration, as well as provides a way for
66 /// PassInstrumentation to pass control to the registered callbacks.
69 // Before/After callbacks accept IRUnits whenever appropriate, so they need
198 /// doing calls to callbacks registered in PassInstrumentationCallbacks.
200 PassInstrumentationCallbacks *Callbacks; variable
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dfsm.c48 #define PROTO_NAME(f) ((f)->callbacks->proto_name)
129 if (f->callbacks->starting != NULL)
130 (*f->callbacks->starting)(f);
148 if (f->callbacks->down != NULL)
149 (*f->callbacks->down)(f);
169 if (f->callbacks->starting != NULL)
170 (*f->callbacks->starting)(f);
223 if (f->callbacks->finished != NULL)
224 (*f->callbacks->finished)(f);
242 else if (f->callbacks->down != NULL)
[all …]
/illumos-gate/usr/src/man/man9s/
H A Dusb_callback_flags.9s28 callbacks, the callback's rval argument contains the transport error status. A
98 Resources could not be allocated to process callbacks
99 asynchronously. Callbacks receiving this flag must not block, since those
100 callbacks are executing in a context which holds resources shared by the rest
101 of the system. Note that exception callbacks with USB_CB_ASYNC_REQ_FAILED set
103 callbacks may be already queued when an exception hits that the USBA is unable
142 driver notification. There are three kinds of callbacks: Normal completion
153 Each pipe is associated with a pool of threads that are used to run callbacks
154 associated with requests on that pipe. All transfer completion callbacks for a
158 Pipes taking requests with callbacks which can block must have their pipe
[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...]
/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/llvm-project/clang/include/clang/Sema/
H A DTemplateInstCallback.h10 // base class for callbacks that will be notified at template instantiations.
21 /// This is a base class for callbacks that will be notified at every
43 void initialize(TemplateInstantiationCallbackPtrs &Callbacks, in initialize() argument
45 for (auto &C : Callbacks) { in initialize()
52 void finalize(TemplateInstantiationCallbackPtrs &Callbacks, in finalize() argument
54 for (auto &C : Callbacks) { in finalize()
61 void atTemplateBegin(TemplateInstantiationCallbackPtrs &Callbacks, in atTemplateBegin() argument
64 for (auto &C : Callbacks) { in atTemplateBegin()
71 void atTemplateEnd(TemplateInstantiationCallbackPtrs &Callbacks, in atTemplateEnd() argument
74 for (auto &C : Callbacks) { in atTemplateEnd()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer_compat.h56 An evbuffer may have one or more callbacks set at a time. The order
59 A callback function may add more callbacks, or remove itself from the
60 list of callbacks, or add or remove data from the buffer. It may not
65 other callbacks. If you ask for an infinite loop, you might just get
76 Replace all callbacks on an evbuffer with a single new callback, or
79 Subsequent calls to evbuffer_setcb() replace callbacks set by previous
83 callbacks set on the evbuffer, which can cause confusing behavior if
84 multiple parts of the code all want to add their own callbacks on a
86 evbuffer_setflags() to manage your own evbuffer callbacks without
87 interfering with callbacks set by others.
[all …]
/freebsd/contrib/libevent/include/event2/
H A Dbuffer_compat.h56 An evbuffer may have one or more callbacks set at a time. The order
59 A callback function may add more callbacks, or remove itself from the
60 list of callbacks, or add or remove data from the buffer. It may not
65 other callbacks. If you ask for an infinite loop, you might just get
76 Replace all callbacks on an evbuffer with a single new callback, or
79 Subsequent calls to evbuffer_setcb() replace callbacks set by previous
83 callbacks set on the evbuffer, which can cause confusing behavior if
84 multiple parts of the code all want to add their own callbacks on a
86 evbuffer_setflags() to manage your own evbuffer callbacks without
87 interfering with callbacks set by others.
[all …]
/illumos-gate/usr/src/man/man9f/
H A Dldi_ev_register_callbacks.9f76 The arguments passed into the callbacks when they are invoked, include:
126 register notify and finalize callbacks for certain events. These events are
132 notify callbacks for that event have the opportunity of blocking such events.
154 Finalize callbacks can be registered for all events including events that
164 callbacks registered against the exported minor nodes.
168 with respect to these callbacks:
178 An example of an event that can be blocked and for which notify callbacks may
195 Layered drivers may register one or both of these callbacks (that is, only
200 with both callbacks set to \fBNULL\fR.
206 \fBLDI\fR handle is open. If an \fBLDI\fR handle against which the callbacks
[all …]
H A Dldi_ev_remove_callbacks.9f9 ldi_ev_remove_callbacks \- remove all callbacks for a given callback ID
31 The \fBldi_ev_remove_callback()\fR function unregisters any callbacks that were
36 The finalize and notify callbacks exist independently of the \fBLDI\fR handle
38 layered driver removes these callbacks via \fBldi_ev_remove_callbacks()\fR()
39 when the callbacks are no longer needed. The \fBLDI\fR framework may panic the
41 \fBmodule\fR) no longer exists on the system and the callbacks have not been
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCVTypeVisitor.h34 TypeVisitorCallbacks &Callbacks,
36 Error visitTypeRecord(CVType &Record, TypeVisitorCallbacks &Callbacks,
39 Error visitMemberRecord(CVMemberRecord Record, TypeVisitorCallbacks &Callbacks,
42 TypeVisitorCallbacks &Callbacks);
45 TypeVisitorCallbacks &Callbacks);
47 Error visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks,
49 Error visitTypeStream(CVTypeRange Types, TypeVisitorCallbacks &Callbacks);
50 Error visitTypeStream(TypeCollection &Types, TypeVisitorCallbacks &Callbacks);
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp843 PrintPPOutputPPCallbacks *Callbacks; member
848 UnknownPragmaHandler(const char *prefix, PrintPPOutputPPCallbacks *callbacks, in UnknownPragmaHandler()
850 : Prefix(prefix), Callbacks(callbacks), in UnknownPragmaHandler()
856 Callbacks->MoveToLine(PragmaTok.getLocation(), /*RequireStartOfLine=*/true); in HandlePragma()
857 Callbacks->OS->write(Prefix, strlen(Prefix)); in HandlePragma()
858 Callbacks->setEmittedTokensOnThisLine(); in HandlePragma()
874 Callbacks->HandleWhitespaceBeforeTok(PragmaTok, /*RequireSpace=*/IsFirst, in HandlePragma()
878 Callbacks->OS->write(&TokSpell[0], TokSpell.size()); in HandlePragma()
879 Callbacks->setEmittedTokensOnThisLine(); in HandlePragma()
886 Callbacks->setEmittedDirectiveOnThisLine(); in HandlePragma()
[all …]
/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()
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBAddressExtensions.i13 __runtime_error_str = 'This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'
16 '''Get the load address for a lldb.SBAddress using the current target. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'''
22 '''Set the load address for a lldb.SBAddress using the current target. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'''
28 '''Convert an address to a load address if there is a process and that process is alive, or to a file address otherwise. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'''
36 '''Convert the address to an octal string. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'''
40 '''Convert the address to an hex string. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.'''
52 load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write property that gets/sets the SBAddress using load address. This resolves the SBAddress using the SBTarget from lldb.target so this property can ONLY be used in the interactive script interpreter (i.e. under the lldb script command). For things like Python based commands and breakpoint callbacks use GetLoadAddress instead.''')
/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/secure/lib/libcrypto/man/man3/
H A DSSL_extension_supported.3136 callbacks \fBadd_cb\fR, \fBfree_cb\fR and \fBparse_cb\fR (see the
137 "EXTENSION CALLBACKS" section below). The \fBcontext\fR value determines
142 with extension type \fBext_type\fR and callbacks \fBadd_cb\fR, \fBfree_cb\fR and
144 applies to clients, uses the older style of callbacks, and implicitly sets the
153 with extension type \fBext_type\fR and callbacks \fBadd_cb\fR, \fBfree_cb\fR and
155 only applies to servers, uses the older style of callbacks, and implicitly sets
164 .SH "EXTENSION CALLBACKS"
165 .IX Header "EXTENSION CALLBACKS"
169 extension handler was added. When using the new style callbacks the \fBcontext\fR
294 which will be passed to the corresponding callbacks. They can, for example,
/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...]
/illumos-gate/usr/src/uts/common/sys/
H A Dcpu_event.h37 * CPU idle notification callbacks are divided into three priority classes:
38 * 1. Statically assigned high priority callbacks.
39 * 2. Dynamically allocated normal priority callbacks.
40 * 3. Statically assigned low priority callbacks.
42 * All registered callbacks will be called in priority order from high
49 * If a callback has no dependency on other callbacks, it should use
153 * All registered callbacks will be called in priority order from high to low
156 * framework may skip calling registered callbacks when idle state changes to
/freebsd/crypto/openssl/doc/man3/
H A DSSL_extension_supported.pod77 callbacks B<add_cb>, B<free_cb> and B<parse_cb> (see the
78 L</EXTENSION CALLBACKS> section below). The B<context> value determines
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
104 =head1 EXTENSION CALLBACKS
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,
/freebsd/contrib/sendmail/libmilter/docs/
H A Doverview.html28 <LI>The callbacks the filter wishes to be called, and the types of
50 Callbacks are shown beside the processing stages in which they are invoked;
51 if no callbacks are defined for a particular stage,
97 To write a filter, a vendor supplies callbacks to process relevant
102 process, showing where different callbacks are invoked.
107 <TR bgcolor="#dddddd"><TH>SMTP Commands</TH><TH>Milter Callbacks</TH></TR>
123 <B>Figure 3: Milter callbacks related to an SMTP transaction.</B>
143 All filtering callbacks must therefore be reentrant,
163 callbacks <A HREF="xxfi_connect.html">xxfi_connect</A> and
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dserver.c344 * global callbacks structure */
434 __sasl_log(gctx, gctx->server_global_callbacks.callbacks,
450 __sasl_log(gctx, gctx->server_global_callbacks.callbacks,
467 __sasl_log(gctx, gctx->server_global_callbacks.callbacks,
602 gctx->server_global_callbacks.callbacks = NULL;
616 global_callbacks.callbacks = NULL;
672 getconf_cb = _sasl_find_getconf_callback(global_callbacks.callbacks);
760 getpath_cb=_sasl_find_getpath_callback( global_callbacks.callbacks );
817 * Verify that all the callbacks are valid
819 static int verify_server_callbacks(const sasl_callback_t *callbacks) argument
[all …]

12345678910>>...65