/external/python/cpython2/Lib/ |
D | ihooks.py | 15 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/ |
D | TestSSLEnginePair.java | 49 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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 51 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/ |
D | extent_hooks.h | 2 * 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/python/pybind11/ |
D | .pre-commit-config.yaml | 16 # Standard hooks 17 - repo: https://github.com/pre-commit/pre-commit-hooks 19 hooks: 35 hooks: 42 - repo: https://github.com/Lucas-C/pre-commit-hooks 44 hooks: 50 hooks: 58 hooks: 67 hooks: 78 hooks: [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | session_run_hook.py | 28 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 …]
|
D | monitored_session.py | 16 """A wrapper of Session API which runs hooks.""" 326 hooks=None, argument 339 if hooks: 340 all_hooks.extend(hooks) 430 hooks=all_hooks, 440 hooks=None, argument 455 creates hooks related to checkpoint and summary saving. For workers, this 471 hooks: Optional list of `SessionRunHook` objects. 472 chief_only_hooks: list of `SessionRunHook` objects. Activate these hooks if 538 hooks=hooks, [all …]
|
D | evaluation.py | 179 hooks=None, argument 217 hooks: List of `tf.estimator.SessionRunHook` callbacks which are run inside 227 # Prepare the run hooks. 228 hooks = list(hooks or []) 231 if any(isinstance(h, _MultiStepStopAfterNEvalsHook) for h in hooks): 250 for h in hooks: 266 hooks.append(final_ops_hook) 269 session_creator=session_creator, hooks=hooks) as session:
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 672 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/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | NativeCryptoTest.java | 679 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/python/jinja/ |
D | .pre-commit-config.yaml | 4 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.yaml | 4 hooks: 9 hooks: 14 hooks: 18 hooks: 21 - repo: https://github.com/pre-commit/pre-commit-hooks 23 hooks:
|
/external/python/python-api-core/ |
D | .pre-commit-config.yaml | 16 # 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/tensorflow/tensorflow/python/debug/examples/v1/ |
D | debug_tflearn_iris.py | 63 hooks = [] 68 hooks.append( 74 hooks.append(tf_debug.TensorBoardDebugHook(FLAGS.tensorboard_debug_address)) 77 classifier.train(training_input_fn, steps=FLAGS.train_steps, hooks=hooks) 81 test_input_fn, steps=FLAGS.eval_steps, hooks=hooks)["accuracy"] 87 predict_results = classifier.predict(test_input_fn, hooks=hooks)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | estimator_training.py | 232 # In the standalone client, we don't need to run hooks on all threads 233 # because logging hooks on all threads may be too much on the screen; also 235 # tensor is defined. Other hooks such as checkpointing hooks will added by 241 hooks = list(train_spec.hooks) 243 hooks = [] 252 hooks=hooks) 295 def estimator_train(estimator, train_distributed_fn, hooks): argument 330 chief_hooks = hooks 344 def estimator_evaluate(estimator, evaluate_distributed_fn, hooks): argument 379 chief_hooks = hooks
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
D | WorkerProcessTest.java | 58 Set<Thread> hooks = Sets.newHashSet(); field in WorkerProcessTest.MockRegistrar 60 hooks.add(hook); in addShutdownHook() 63 return hooks.remove(hook); in removeShutdownHook() 112 Iterables.getOnlyElement(registrar.hooks).getName()); in shutdownHook_waitFor() 114 assertTrue(registrar.hooks.isEmpty()); in shutdownHook_waitFor() 121 Thread hook = Iterables.getOnlyElement(registrar.hooks); in shutdownHook_exitValueThrows() 127 assertTrue(registrar.hooks.contains(hook)); in shutdownHook_exitValueThrows() 138 assertTrue(registrar.hooks.isEmpty()); in shutdownHook_exitValue() 150 assertTrue(registrar.hooks.isEmpty()); in shutdownHook_destroy()
|
/external/autotest/client/tests/qemu_iotests/ |
D | qemu-iotests.tar.bz2 | ... .git/
qemu-iotests/.git/hooks/
qemu-iotests/.git/hooks/ ... |
/external/jemalloc_new/test/unit/ |
D | base.c | 72 memcpy(&hooks_orig, &hooks, sizeof(extent_hooks_t)); in TEST_BEGIN() 73 memcpy(&hooks, &hooks_null, sizeof(extent_hooks_t)); in TEST_BEGIN() 76 base = base_new(tsdn, 0, &hooks); in TEST_BEGIN() 102 memcpy(&hooks, &hooks_orig, sizeof(extent_hooks_t)); in TEST_BEGIN() 117 memcpy(&hooks_orig, &hooks, sizeof(extent_hooks_t)); in TEST_BEGIN() 118 memcpy(&hooks, &hooks_not_null, sizeof(extent_hooks_t)); in TEST_BEGIN() 122 base = base_new(tsdn, 0, &hooks); in TEST_BEGIN() 224 memcpy(&hooks, &hooks_orig, sizeof(extent_hooks_t)); in TEST_BEGIN()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | checkpoint_input_pipeline_hook_test.py | 83 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 85 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 98 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 100 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 111 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 113 est.train(_input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)]) 129 _input_fn, steps=2, hooks=[self._build_iterator_saver_hook(est)])
|
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/instrumentor/ |
D | HookMethodVisitor.kt | 28 hooks: Iterable<Hook>, in <lambda>() 32 return HookMethodVisitor(access, descriptor, methodVisitor, hooks, java6Mode, random).lvs in <lambda>() 39 hooks: Iterable<Hook>, 46 // The local variables involved in calling hooks do not need to outlive the current in updateNewLocals() 54 private val hooks = hooks.associateBy { hook -> in hook() constant 78 …* safely nested. Combining REPLACE hooks with other hooks is however not supported as these hooks … 79 * the functionality of BEFORE and AFTER hooks. 102 …// REPLACE hooks can't (and don't need to) be mixed with other hooks. We only cycle through them i… in visitNextHookTypeOrCall() 292 return hooks[withDescriptorKey] ?: hooks[withoutDescriptorKey] in isMethodInvocationOp()
|
D | Hook.kt | 29 // for mangled hooks due to shading applied to hooks. in <lambda>() 111 val hooks = mutableListOf<Hook>() in loadHooks() constant 113 … method.getAnnotation(MethodHook::class.java)?.let { hooks.add(Hook.verifyAndGetHook(method, it)) } in loadHooks() 115 … it.value.forEach { hookAnnotation -> hooks.add(Hook.verifyAndGetHook(method, hookAnnotation)) } in loadHooks() 118 return hooks in loadHooks()
|
/external/rust/crates/rusqlite/src/ |
D | inner_connection.rs | 27 #[cfg(feature = "hooks")] 29 #[cfg(feature = "hooks")] 31 #[cfg(feature = "hooks")] 33 #[cfg(feature = "hooks")] 35 #[cfg(feature = "hooks")] 36 pub authorizer: Option<crate::hooks::BoxedAuthorizer>, 49 #[cfg(feature = "hooks")] in new() 51 #[cfg(feature = "hooks")] in new() 53 #[cfg(feature = "hooks")] in new() 55 #[cfg(feature = "hooks")] in new() [all …]
|
/external/elfutils/libebl/ |
D | ChangeLog | 36 * ebl-hooks.h (syscall_abi): Remove. 167 * ebl-hooks.h (EBLHOOK(reloc_simple_type)): Add third parameter. 180 * ebl-hooks.h (check_special_symbol): Drop ehdr argument. 226 * ebl-hooks.h (data_marker_symbol): New hook. 258 * ebl-hooks.h (object_type_name): Removed. 274 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter. 347 * ebl-hooks.h (bss_plt_p): Remove ehdr argument. 366 * ebl-hooks.h (check_reloc_target_type): New hook. 375 * ebl-hooks.h (resolve_sym_value): New entry. 385 * ebl-hooks.h (normalize_pc, unwind): New. [all …]
|
/external/jemalloc_new/test/integration/ |
D | extent.c | 119 /* Install custom extent hooks on arena 1 (might not be initialized). */ in test_manual_hook_auto_arena() 125 new_hooks = &hooks; in test_manual_hook_auto_arena() 131 if (old_hooks != &hooks) { in test_manual_hook_auto_arena() 152 /* Install custom extent hooks. */ in test_manual_hook_body() 158 new_hooks = &hooks; in test_manual_hook_body() 184 /* Restore extent hooks. */ in test_manual_hook_body() 233 new_hooks = &hooks; in TEST_BEGIN()
|
/external/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.hpp | 44 // Hooks 130 } hooks; member in DrawTester 174 hooks.createVertexBuffers = std::move(callback); in onCreateVertexBuffers() 179 hooks.createDescriptorSetLayout = std::move(callback); in onCreateDescriptorSetLayouts() 184 hooks.createVertexShader = std::move(callback); in onCreateVertexShader() 189 hooks.createFragmentShader = std::move(callback); in onCreateFragmentShader() 194 hooks.updateDescriptorSet = std::move(callback); in onUpdateDescriptorSet()
|