Home
last modified time | relevance | path

Searched full:hooks (Results 1 – 25 of 1644) sorted by relevance

12345678910>>...66

/external/sdv/vsomeip/third_party/boost/intrusive/test/
Ditestvalue.hpp33 template<class Hooks>
36 , Hooks::base_hook_type
37 , Hooks::auto_base_hook_type
39 typename Hooks::member_hook_type node_;
40 typename Hooks::auto_member_hook_type auto_node_;
41 typename Hooks::nonhook_node_member_type nhn_member_;
60 Hooks::base_hook_type::operator=(static_cast<const typename Hooks::base_hook_type&>(src)); in operator =()
61Hooks::auto_base_hook_type::operator=(static_cast<const typename Hooks::auto_base_hook_type&>(src)… in operator =()
71 Hooks::base_hook_type::swap_nodes(static_cast<typename Hooks::base_hook_type&>(other)); in swap_nodes()
72Hooks::auto_base_hook_type::swap_nodes(static_cast<typename Hooks::auto_base_hook_type&>(other)); in swap_nodes()
[all …]
/external/freetype/src/svg/
Dftsvg.c65 render->hooks.free_svg( &render->state ); in ft_svg_done()
77 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_preset_slot() local
82 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_preset_slot()
90 hooks.init_svg( &svg_renderer->state ); in ft_svg_preset_slot()
95 return hooks.preset_slot( slot, cache, &svg_renderer->state ); in ft_svg_preset_slot()
113 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_render() local
124 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_render()
131 error = hooks.init_svg( &svg_renderer->state ); in ft_svg_render()
144 error = hooks.render_svg( slot, &svg_renderer->state ); in ft_svg_render()
170 if ( !ft_strcmp( property_name, "svg-hooks" ) ) in ft_svg_property_set()
[all …]
/external/python/cpython2/Lib/
Dihooks.py15 1) A "file system hooks" class provides an interface to a filesystem.
17 One hooks class is defined (Hooks), which uses the interface provided
19 class for other hooks classes.
30 uses a file system hooks class to interact with the file system. Both
61 __all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
150 class Hooks(_Verbose): class
152 """Hooks into the filesystem and interpreter.
208 """Default module loader; uses file system hooks.
210 By defining suitable hooks, you might be able to load modules from
216 def __init__(self, hooks = None, verbose = VERBOSE): argument
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java49 return create((Hooks) null); in create()
56 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() argument
57 return create(TestSSLContext.create(), hooks); in create()
60 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() argument
61 return create(c, hooks, null); in create()
64 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument
66 SSLEngine[] engines = connect(c, hooks, finished); in create()
70 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() argument
71 return connect(c, hooks, null); in connect()
79 Hooks hooks, in connect() argument
[all …]
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/instrumentor/
DHooks.kt27 data class Hooks( in <lambda>() class
28 val hooks: List<Hook>, in <lambda>() constant in com.code_intelligence.jazzer.instrumentor.Hooks
51 …n loadHooks(excludeHookClassNames: List<String>, vararg hookClassNames: Set<String>): List<Hooks> { in <lambda>()
67 fun load(hookClassNames: Set<String>): Hooks { in <lambda>()
69 val hooks = hooksWithHookClasses.map { it.first } in <lambda>() constant
72 hooks.flatMap(Hook::additionalClassesToHook), in <lambda>()
75 return Hooks(hooks, hookClasses, additionalHookClassNameGlobber) in <lambda>()
80 // We let the static initializers of hook classes execute so that hooks can run in <lambda>()
86 Log.info("Loaded ${it.size} hooks from $hookClassName") in <lambda>()
91 Log.warn("Failed to load hooks from $hookClassName", e) in <lambda>()
[all …]
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLEnginePair.java51 return create((Hooks) null); in create()
58 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() argument
59 return create(TestSSLContext.create(), hooks); in create()
62 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() argument
63 return create(c, hooks, null); in create()
66 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument
68 SSLEngine[] engines = connect(c, hooks, finished); in create()
72 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() argument
73 return connect(c, hooks, null); in connect()
81 Hooks hooks, in connect() argument
[all …]
/external/jemalloc_new/test/include/test/
Dextent_hooks.h2 * Boilerplate code used for testing extent hooks via interception and
29 static extent_hooks_t hooks = { variable
41 /* Control whether hook functions pass calls through to default hooks. */
89 assert_ptr_eq(extent_hooks, &hooks, in extent_alloc_hook()
90 "extent_hooks should be same as pointer used to set hooks"); in extent_alloc_hook()
111 assert_ptr_eq(extent_hooks, &hooks, in extent_dalloc_hook()
112 "extent_hooks should be same as pointer used to set hooks"); in extent_dalloc_hook()
130 assert_ptr_eq(extent_hooks, &hooks, in extent_destroy_hook()
131 "extent_hooks should be same as pointer used to set hooks"); in extent_destroy_hook()
150 assert_ptr_eq(extent_hooks, &hooks, in extent_commit_hook()
[all …]
/external/trusty/lk/lib/io/
Dio.c33 if (!io->hooks->write) in io_write()
36 return io->hooks->write(io, buf, len); in io_write()
43 if (io->hooks->write_commit) in io_write_commit()
44 io->hooks->write_commit(io); in io_write_commit()
51 if (io->hooks->lock) in io_lock()
52 io->hooks->lock(io); in io_lock()
59 if (io->hooks->unlock) in io_unlock()
60 io->hooks->unlock(io); in io_unlock()
67 if (!io->hooks->read) in io_read()
70 return io->hooks->read(io, buf, len); in io_read()
/external/mbedtls/tests/git-scripts/
DREADME.md1 README for git hooks script
4 The git hooks are located in `<Mbed TLS root>/.git/hooks`, and as such are not under version control
7 …d TLS git hooks are located in `<Mbed TLS root>/tests/git-scripts` directory, and one must create …
11 Execute the following command to create a link on Linux from the Mbed TLS `.git/hooks` directory:
14 …ote: Currently the Mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, do…
/external/openthread/third_party/mbedtls/repo/tests/git-scripts/
DREADME.md1 README for git hooks script
4 The git hooks are located in `<Mbed TLS root>/.git/hooks`, and as such are not under version control
7 …d TLS git hooks are located in `<Mbed TLS root>/tests/git-scripts` directory, and one must create …
11 Execute the following command to create a link on Linux from the Mbed TLS `.git/hooks` directory:
14 …ote: Currently the Mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, do…
/external/python/pyfakefs/
D.pre-commit-config.yaml7 hooks:
13 hooks:
18 hooks:
21 - repo: https://github.com/pre-commit/pre-commit-hooks
23 hooks:
33 hooks:
41 hooks:
49 hooks:
/external/tensorflow/tensorflow/python/training/
Dsession_run_hook.py28 gets the outputs it requested. Hooks are allowed to add ops to the graph in
31 There are a few pre-defined hooks:
38 For more specific needs, you can create custom hooks:
63 To understand how hooks interact with calls to `MonitoredSession.run()`,
65 with MonitoredTrainingSession(hooks=your_hooks, ...) as sess:
70 call hooks.begin()
72 call hooks.after_create_session()
74 call hooks.before_run()
79 call hooks.after_run()
80 call hooks.end()
[all …]
Dmonitored_session.py16 """A wrapper of Session API which runs hooks."""
319 hooks=None, argument
332 if hooks:
333 all_hooks.extend(hooks)
423 hooks=all_hooks,
433 hooks=None, argument
448 creates hooks related to checkpoint and summary saving. For workers, this
459 on replacing `Session.run` calls. In Keras, session hooks can be replaced by
475 hooks: Optional list of `SessionRunHook` objects.
476 chief_only_hooks: list of `SessionRunHook` objects. Activate these hooks if
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java672 public static class Hooks { class in NativeCryptoTest
739 private final Hooks hooks; field in NativeCryptoTest.TestSSLHandshakeCallbacks
742 …TestSSLHandshakeCallbacks(Socket socket, long sslNativePointer, Hooks hooks, ApplicationProtocolSe… in TestSSLHandshakeCallbacks() argument
745 this.hooks = hooks; in TestSSLHandshakeCallbacks()
789 if (hooks != null) { in clientCertificateRequested()
790 hooks.clientCertificateRequested(sslNativePointer); in clientCertificateRequested()
901 static class ClientHooks extends Hooks {
933 static class ServerHooks extends Hooks {
997 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument
1015 long c = hooks.getContext(); in handshake()
[all …]
/external/python/jinja/
D.pre-commit-config.yaml4 hooks:
9 hooks:
14 hooks:
18 hooks:
21 - repo: https://github.com/pre-commit/pre-commit-hooks
23 hooks:
/external/python/markupsafe/
D.pre-commit-config.yaml4 hooks:
9 hooks:
14 hooks:
18 hooks:
21 - repo: https://github.com/pre-commit/pre-commit-hooks
23 hooks:
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/agent/
DAgent.kt21 import com.code_intelligence.jazzer.instrumentor.Hooks in <lambda>()
50 …check(allCustomHookNames.isNotEmpty()) { "No hooks registered; expected at least the built-in hook… in installInternal()
54 …Log.info("Not using the following disabled hooks: ${disabledCustomHooksToPrint.joinToString(", ")}… in installInternal()
112 // If we don't append the JARs containing the custom hooks to the bootstrap class loader, in installInternal()
113 // third-party hooks not contained in the agent JAR will not be able to instrument Java standard in installInternal()
117 Hooks.appendHooksToBootstrapClassLoaderSearch(instrumentation, customHookNames.toSet()) in installInternal()
118 …val (includedHooks, customHooks) = Hooks.loadHooks(additionalClassesExcludes, includedHookNames.to… in installInternal()
125 includedHooks.hooks, in installInternal()
126 customHooks.hooks, in installInternal()
132 // These classes are e.g. dependencies of the RuntimeInstrumentor or hooks and thus were loaded in installInternal()
/external/python/python-api-core/
D.pre-commit-config.yaml16 # See https://pre-commit.com/hooks.html for more hooks
18 - repo: https://github.com/pre-commit/pre-commit-hooks
20 hooks:
26 hooks:
30 hooks:
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java679 public static class Hooks { class in NativeCryptoTest
747 private final Hooks hooks; field in NativeCryptoTest.TestSSLHandshakeCallbacks
750 TestSSLHandshakeCallbacks(Socket socket, long sslNativePointer, Hooks hooks, in TestSSLHandshakeCallbacks() argument
754 this.hooks = hooks; in TestSSLHandshakeCallbacks()
798 if (hooks != null) { in clientCertificateRequested()
799 hooks.clientCertificateRequested(sslNativePointer); in clientCertificateRequested()
910 static class ClientHooks extends Hooks {
942 static class ServerHooks extends Hooks {
1006 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument
1024 long c = hooks.getContext(); in handshake()
[all …]
/external/tensorflow/tensorflow/python/debug/examples/v1/
Ddebug_tflearn_iris.py59 hooks = []
65 hooks.append(
71 hooks.append(tf_debug.TensorBoardDebugHook(FLAGS.tensorboard_debug_address))
74 classifier.train(training_input_fn, steps=FLAGS.train_steps, hooks=hooks)
78 test_input_fn, steps=FLAGS.eval_steps, hooks=hooks)["accuracy"]
84 predict_results = classifier.predict(test_input_fn, hooks=hooks)
/external/bazelbuild-rules_python/
D.pre-commit-config.yaml17 # See https://pre-commit.com/hooks.html for more hooks
21 hooks:
30 hooks:
38 hooks:
41 hooks:
/external/cronet/base/allocator/partition_allocator/src/partition_alloc/
Dpartition_alloc_hooks.h20 // PartitionAlloc supports setting hooks to observe allocations/frees as they
21 // occur as well as 'override' hooks that allow overriding those operations.
47 // To unhook, call Set*Hooks with nullptrs. in PA_COMPONENT_EXPORT()
54 // Helper method to check whether hooks are enabled. This is an optimization in PA_COMPONENT_EXPORT()
55 // so that if a function needs to call observer and override hooks in two in PA_COMPONENT_EXPORT()
84 // Single bool that is used to indicate whether observer or allocation hooks in PA_COMPONENT_EXPORT()
89 // Lock used to synchronize Set*Hooks calls. in PA_COMPONENT_EXPORT()
/external/yapf/
D.pre-commit-config.yml6 hooks:
13 - repo: https://github.com/pre-commit/pre-commit-hooks
15 hooks:
28 hooks:
29 - id: check-hooks-apply
D.pre-commit-config.yaml6 hooks:
13 - repo: https://github.com/pre-commit/pre-commit-hooks
15 hooks:
28 hooks:
29 - id: check-hooks-apply
/external/tensorflow/tensorflow/python/distribute/
Destimator_training.py228 # In the standalone client, we don't need to run hooks on all threads
229 # because logging hooks on all threads may be too much on the screen; also
231 # tensor is defined. Other hooks such as checkpointing hooks will added by
237 hooks = list(train_spec.hooks)
239 hooks = []
248 hooks=hooks)
291 def estimator_train(estimator, train_distributed_fn, hooks): argument
326 chief_hooks = hooks
340 def estimator_evaluate(estimator, evaluate_distributed_fn, hooks): argument
375 chief_hooks = hooks

12345678910>>...66