Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 845) sorted by relevance

12345678910>>...34

/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFIndex.h37 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
41 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
45 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
48 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
51 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
53 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
55 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
63 llvm::function_ref<bool(DWARFDIE die)> callback);
66 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
70 llvm::function_ref<bool(DWARFDIE die)> callback) = 0;
[all …]
H A DAppleDWARFIndex.cpp122 llvm::function_ref<bool(DWARFDIE die)> callback, in SearchFor() argument
125 auto converted_cb = DIERefCallback(callback, name); in SearchFor()
138 ConstString basename, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
141 SearchFor(*m_apple_names_up, basename, callback); in GetGlobalVariables()
146 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
150 DIERefCallbackImpl converted_cb = DIERefCallback(callback, regex.GetText()); in GetGlobalVariables()
160 DWARFUnit &cu, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
171 DIERefCallbackImpl converted_cb = DIERefCallback(callback); in GetGlobalVariables()
180 ConstString class_name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetObjCMethods() argument
183 SearchFor(*m_apple_objc_up, class_name, callback); in GetObjCMethods()
[all …]
H A DDebugNamesDWARFIndex.cpp156 llvm::function_ref<bool(DWARFDIE die)> callback) { in ProcessEntry() argument
165 return callback(die); in ProcessEntry()
180 ConstString basename, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
186 if (!ProcessEntry(entry, callback)) in GetGlobalVariables()
190 m_fallback.GetGlobalVariables(basename, callback); in GetGlobalVariables()
195 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
208 if (!ProcessEntry(*entry_or, callback)) in GetGlobalVariables()
215 m_fallback.GetGlobalVariables(regex, callback); in GetGlobalVariables()
219 DWARFUnit &cu, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() argument
244 if (!ProcessEntry(*entry_or, callback)) in GetGlobalVariables()
[all …]
H A DAppleDWARFIndex.h46 llvm::function_ref<bool(DWARFDIE die)> callback) override;
49 llvm::function_ref<bool(DWARFDIE die)> callback) override;
52 llvm::function_ref<bool(DWARFDIE die)> callback) override;
54 llvm::function_ref<bool(DWARFDIE die)> callback) override;
57 llvm::function_ref<bool(DWARFDIE die)> callback) override;
59 llvm::function_ref<bool(DWARFDIE die)> callback) override;
61 llvm::function_ref<bool(DWARFDIE die)> callback) override;
63 llvm::function_ref<bool(DWARFDIE die)> callback) override;
67 llvm::function_ref<bool(DWARFDIE die)> callback) override;
69 llvm::function_ref<bool(DWARFDIE die)> callback) overrid
[all...]
H A DDebugNamesDWARFIndex.h31 llvm::function_ref<bool(DWARFDIE die)> callback) override;
34 llvm::function_ref<bool(DWARFDIE die)> callback) override;
37 llvm::function_ref<bool(DWARFDIE die)> callback) override;
40 llvm::function_ref<bool(DWARFDIE die)> callback) override {} in GetObjCMethods() argument
43 llvm::function_ref<bool(DWARFDIE die)> callback) override;
48 llvm::function_ref<bool(DWARFDIE die)> callback) override;
50 llvm::function_ref<bool(DWARFDIE die)> callback) override;
52 llvm::function_ref<bool(DWARFDIE die)> callback) override;
54 llvm::function_ref<bool(DWARFDIE die)> callback) override;
58 llvm::function_ref<bool(DWARFDIE die)> callback) override;
[all …]
H A DDWARFIndex.cpp29 llvm::function_ref<bool(DWARFDIE die)> callback) { in ProcessFunctionDIE() argument
63 return callback(die); in ProcessFunctionDIE()
69 return callback(die); in ProcessFunctionDIE()
79 return callback(die); in ProcessFunctionDIE()
86 const DWARFIndex &index, llvm::function_ref<bool(DWARFDIE die)> callback, in DIERefCallbackImpl() argument
91 m_callback(callback), m_name(name) {} in DIERefCallbackImpl()
115 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetFullyQualifiedType() argument
117 return GetFullyQualifiedTypeImpl(context, die, callback); in GetFullyQualifiedType()
123 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetFullyQualifiedTypeImpl() argument
126 return callback(die); in GetFullyQualifiedTypeImpl()
H A DManualDWARFIndex.h34 llvm::function_ref<bool(DWARFDIE die)> callback) override;
37 llvm::function_ref<bool(DWARFDIE die)> callback) override;
40 llvm::function_ref<bool(DWARFDIE die)> callback) override;
42 llvm::function_ref<bool(DWARFDIE die)> callback) override;
45 llvm::function_ref<bool(DWARFDIE die)> callback) override;
47 llvm::function_ref<bool(DWARFDIE die)> callback) override;
49 llvm::function_ref<bool(DWARFDIE die)> callback) override;
51 llvm::function_ref<bool(DWARFDIE die)> callback) override;
55 llvm::function_ref<bool(DWARFDIE die)> callback) override;
57 llvm::function_ref<bool(DWARFDIE die)> callback) override;
/freebsd/sys/dev/etherswitch/
H A Dmiiproxy.c87 rendezvous_callback_t callback; member
97 * Call the callback routines for both the proxy and the target. If either
105 error = e->proxy.callback(RENDEZVOUS_ATTACH, e); in rendezvous_attach()
107 error = e->target.callback(RENDEZVOUS_ATTACH, e); in rendezvous_attach()
109 e->proxy.callback(RENDEZVOUS_DETACH, e); in rendezvous_attach()
111 ep->callback = NULL; in rendezvous_attach()
120 * rendezvous. The callback will be invoked as soon as the target is
127 rendezvous_callback_t callback) in rendezvous_register_proxy() argument
131 KASSERT(callback != NULL, ("callback mus in rendezvous_register_proxy()
155 rendezvous_register_target(device_t dev,rendezvous_callback_t callback) rendezvous_register_target() argument
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_termination.cpp22 bool AddDieCallback(DieCallbackType callback) { in AddDieCallback() argument
25 InternalDieCallbacks[i] = callback; in AddDieCallback()
32 bool RemoveDieCallback(DieCallbackType callback) { in RemoveDieCallback() argument
34 if (InternalDieCallbacks[i] == callback) { in RemoveDieCallback()
46 void SetUserDieCallback(DieCallbackType callback) { in SetUserDieCallback() argument
47 UserDieCallback = callback; in SetUserDieCallback()
63 void SetCheckUnwindCallback(void (*callback)()) { in SetCheckUnwindCallback() argument
64 CheckUnwindCallback = callback; in SetCheckUnwindCallback()
96 void __sanitizer_set_death_callback(void (*callback)(void)) { in __sanitizer_set_death_callback()
97 SetUserDieCallback(callback); in __sanitizer_set_death_callback()
/freebsd/crypto/openssl/doc/man3/
H A DBIO_set_callback.pod8 - BIO callback functions
18 void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback);
41 callback. The callback is called during most high-level BIO operations. It can
46 callback. New code should not use these functions, but they are retained for
47 backwards compatibility. Any callback set via BIO_set_callback_ex() will get
51 used to set and retrieve an argument for use in the callback.
53 BIO_debug_callback_ex() is a standard debugging callback which prints
54 out information relating to each BIO operation. If the callback
57 deprecated version of the same callback for use with the old callback
60 BIO_callback_fn_ex is the type of the callback function and BIO_callback_fn
[all …]
H A DSSL_set_async_callback.pod20 int SSL_CTX_set_async_callback(SSL_CTX *ctx, SSL_async_callback_fn callback);
22 int SSL_set_async_callback(SSL *s, SSL_async_callback_fn callback);
28 SSL_CTX_set_async_callback() sets an asynchronous callback function. All B<SSL>
29 objects generated based on this B<SSL_CTX> will get this callback. If an engine
30 supports the callback mechanism, it will be automatically called if
34 SSL_CTX_set_async_callback_arg() sets the callback argument.
36 SSL_set_async_callback() allows an application to set a callback in an
38 operation, the callback will be called to notify the application to resume the
42 above callback is called.
48 dispatched. If the engine does not support this additional callback method,
[all …]
H A DSSL_CTX_set_ct_validation_callback.pod20 int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback,
23 ssl_ct_validation_cb callback,
35 This is accomplished by setting a built-in CT validation callback.
36 The behaviour of the callback is determined by the B<validation_mode> argument,
45 However, in that case if the verification status before the built-in callback
47 callback.
65 register a custom callback that may implement a different policy than either of
67 This callback can examine the peer's SCTs and determine whether they are
70 and the callback returns a non-positive result.
72 An arbitrary callback data argument, B<arg>, can be passed in when setting
[all …]
H A DSSL_CTX_set_psk_client_callback.pod11 - set PSK client callback
45 The callback function is given a pointer to the SSL connection in B<ssl>.
47 The first time the callback is called for a connection the B<md> parameter is
48 NULL. In some circumstances the callback will be called a second time. In that
51 given in B<md>. The PSK returned by the callback is allowed to be different
54 On successful completion the callback must store a pointer to an identifier for
59 Additionally the callback should store a pointer to an SSL_SESSION object in
96 It is also possible for the callback to succeed but not supply a PSK. In this
98 this the callback should return successfully and ensure that B<*sess> is
102 provide a different callback function. This function will be called when the
[all …]
H A DSSL_CTX_use_psk_identity_hint.pod42 A server application wishing to use TLSv1.3 PSKs should set a callback
46 The callback function is given a pointer to the SSL connection in B<ssl> and
47 an identity in B<identity> of length B<identity_len>. The callback function
53 It is also possible for the callback to succeed but not supply a PSK. In this
55 callback should return successfully and ensure that B<*sess> is
69 callback function which is called when the server receives the
70 ClientKeyExchange message from the client. The purpose of the callback function
72 during the connection setup phase. The callback is set using the functions
73 SSL_CTX_set_psk_server_callback() or SSL_set_psk_server_callback(). The callback
78 The callback for use in TLSv1.2 will also work in TLSv1.3 although it is
[all …]
H A DSSL_CTX_set_info_callback.pod9 - handle information callback for SSL connections
16 void (*callback) (const SSL *ssl, int type, int val));
21 void (*callback) (const SSL *ssl, int type, int val));
27 SSL_CTX_set_info_callback() sets the B<callback> function, that can be used to
31 When B<callback> is NULL, no callback function is used.
33 SSL_set_info_callback() sets the B<callback> function, that can be used to
35 When B<callback> is NULL, the callback setting currently valid for
39 callback function for B<ctx>.
42 callback function for B<ssl>.
47 information from the SSL/TLS engine. When set, an information callback function
[all …]
H A DSSL_CTX_set_cert_verify_callback.pod12 int (*callback)(X509_STORE_CTX *, void *),
17 SSL_CTX_set_cert_verify_callback() sets the verification callback function for
25 If the application does not explicitly specify a verification callback function,
27 If a verification callback I<callback> is specified via
28 SSL_CTX_set_cert_verify_callback(), the supplied callback function is called
29 instead with the arguments callback(X509_STORE_CTX *x509_store_ctx, void *arg).
30 The argument I<arg> is specified by the application when setting I<callback>.
31 By setting I<callback> to NULL, the default behaviour is restored.
33 I<callback> should return 1 to indicate verification success
42 In client mode I<callback> may also call the L<SSL_set_retry_verify(3)>
[all …]
H A DOSSL_SELF_TEST_set_callback.pod6 OSSL_SELF_TEST_get_callback - specify a callback for processing self tests
17 Set or gets the optional application callback (and the callback argument) that
19 The application callback L<OSSL_CALLBACK(3)> is associated with a B<OSSL_LIB_CTX>.
20 The application callback function receives information about a running self test,
22 See L<openssl-core.h(7)> for further information on the callback.
26 OSSL_SELF_TEST_get_callback() returns the callback and callback argument that
H A DX509_STORE_CTX_set_verify_cb.pod19 - get and set X509_STORE_CTX components such as verification callback
46 X509_STORE_CTX_set_verify_cb() sets the verification callback of B<ctx> to
47 B<verify_cb> overwriting any existing callback.
49 The verification callback can be used to customise the operation of certificate
53 However, a verification callback is B<not> essential and the default operation
56 The B<ok> parameter to the callback indicates the value the callback should
62 The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure that
63 is performing the verification operation. A callback can examine this
66 be passed to the callback via the B<ex_data> mechanism.
68 X509_STORE_CTX_print_verify_cb() is a verification callback function that,
[all …]
H A DSSL_CTX_set_cert_cb.pod5 SSL_CTX_set_cert_cb, SSL_set_cert_cb - handle certificate callback function
17 SSL_CTX_set_cert_cb() and SSL_set_cert_cb() sets the I<cert_cb> callback,
18 I<arg> value is pointer which is passed to the application callback.
20 When I<cert_cb> is NULL, no callback function is used.
22 I<cert_cb> is the application defined callback. It is called before a
23 certificate will be used by a client or server. The callback can then inspect
25 the callback is successful it B<MUST> return 1 even if no certificates have
45 The certificate callback functionality supersedes the (largely broken)
46 functionality provided by the old client certificate callback interface.
47 It is B<always> called even is a certificate is already set so the callback
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp21 std::function<bool(const clang::Expr *, bool)> callback) { in tryToFindPtrOrigin() argument
34 return callback(E, true); in tryToFindPtrOrigin()
44 callback) && in tryToFindPtrOrigin()
46 callback); in tryToFindPtrOrigin()
53 return callback(E, true); in tryToFindPtrOrigin()
68 return callback(E, true); in tryToFindPtrOrigin()
85 return callback(E, true); in tryToFindPtrOrigin()
92 return callback(E, true); in tryToFindPtrOrigin()
95 return callback(E, true); in tryToFindPtrOrigin()
112 return callback(E, false); in tryToFindPtrOrigin()
/freebsd/sys/dev/xen/grant_table/
H A Dgrant_table.c92 struct gnttab_free_callback *callback, *next; in do_free_callbacks() local
94 callback = gnttab_free_callback_list; in do_free_callbacks()
97 while (callback != NULL) { in do_free_callbacks()
98 next = callback->next; in do_free_callbacks()
99 if (gnttab_free_count >= callback->count) { in do_free_callbacks()
100 callback->next = NULL; in do_free_callbacks()
101 callback->fn(callback->arg); in do_free_callbacks()
103 callback->next = gnttab_free_callback_list; in do_free_callbacks()
104 gnttab_free_callback_list = callback; in do_free_callbacks()
106 callback = next; in do_free_callbacks()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sa_query.c89 void (*callback)(struct ib_sa_query *, int, struct ib_sa_mad *); member
107 void (*callback)(int, struct ib_sa_service_rec *, void *); member
113 void (*callback)(int, struct ib_sa_path_rec *, void *); member
119 void (*callback)(int, struct ib_sa_guidinfo_rec *, void *); member
125 void (*callback)(int, struct ib_class_port_info *, void *); member
131 void (*callback)(int, struct ib_sa_mcmember_rec *, void *); member
861 query->callback(status, &rec, query->context); in ib_sa_path_rec_callback()
863 query->callback(status, NULL, query->context); in ib_sa_path_rec_callback()
901 void (*callback)(int status, in ib_sa_path_rec_get()
931 query->callback = callback; in ib_sa_path_rec_get()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeCategory.h151 callback) { in ForEach()
153 sc->ForEach(callback); in ForEach()
187 template <typename Callable> ForEachCallback(Callable c) : callback(c) {} in ForEachCallback()
189 callback; member
194 void ForEach(ForEachCallback<TypeFormatImpl> callback) { in ForEach() argument
195 m_format_cont.ForEach(callback.callback); in ForEach()
198 void ForEach(ForEachCallback<TypeSummaryImpl> callback) { in ForEach() argument
199 m_summary_cont.ForEach(callback.callback); in ForEach()
202 void ForEach(ForEachCallback<TypeFilterImpl> callback) { in ForEach() argument
203 m_filter_cont.ForEach(callback.callback); in ForEach()
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D03-custom_verify.cnf.in17 # restrictive callback.
25 # Same test as above but with a custom callback that always fails.
40 # Same test as above but with a custom callback that always succeeds.
54 # Same test as above but with a custom callback that requests retry once.
80 # Same test as above but with a custom callback that always fails.
81 # The callback return has no impact on handshake success in this mode.
97 # Same test as above but with a custom callback that always succeeds.
98 # The callback return has no impact on handshake success in this mode.
115 # permissive callback.
129 # Same test as above but with a custom callback that always succeeds.
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_depr.c24 void (*callback) (int, int, void *), void *cb_arg) in BN_generate_prime()
29 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_generate_prime()
47 void (*callback) (int, int, void *), BN_CTX *ctx_passed, in BN_is_prime()
51 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime()
56 void (*callback) (int, int, void *), in BN_is_prime_fasttest()
61 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime_fasttest()

12345678910>>...34