| /external/freetype/src/svg/ |
| D | ftsvg.c | 60 svg_module->hooks.free_svg( &svg_module->state ); in ft_svg_done() 72 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_preset_slot() local 77 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_preset_slot() 85 hooks.init_svg( &svg_renderer->state ); in ft_svg_preset_slot() 90 return hooks.preset_slot( slot, cache, &svg_renderer->state ); in ft_svg_preset_slot() 108 SVG_RendererHooks hooks = svg_renderer->hooks; in ft_svg_render() local 119 FT_TRACE1(( "Hooks are NOT set. Can't render OT-SVG glyphs\n" )); in ft_svg_render() 126 error = hooks.init_svg( &svg_renderer->state ); in ft_svg_render() 139 error = hooks.render_svg( slot, &svg_renderer->state ); in ft_svg_render() 165 if ( !ft_strcmp( property_name, "svg-hooks" ) ) in ft_svg_property_set() [all …]
|
| /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/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/instrumentor/ |
| D | Hooks.kt | 25 data class Hooks( in <lambda>() dataClass 26 val hooks: List<Hook>, in <lambda>() constant in com.code_intelligence.jazzer.instrumentor.Hooks 32 fun loadHooks(vararg hookClassNames: Set<String>): List<Hooks> { in <lambda>() 47 fun load(hookClassNames: Set<String>): Hooks { in <lambda>() 49 val hooks = hooksWithHookClasses.map { it.first } in <lambda>() constant 52 hooks.flatMap(Hook::additionalClassesToHook), in <lambda>() 55 return Hooks(hooks, hookClasses, additionalHookClassNameGlobber) in <lambda>() 63 // We let the static initializers of hook classes execute so that hooks can run in <lambda>() 68 println("INFO: Loaded ${it.size} hooks from $hookClassName") in <lambda>() 73 … println("WARN: Failed to load hooks from $hookClassName: ${e.printStackTrace()}") in <lambda>() [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/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/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/openthread/third_party/mbedtls/repo/tests/git-scripts/ |
| D | README.md | 1 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/mbedtls/tests/git-scripts/ |
| D | README.md | 1 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/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.""" 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/ |
| 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/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/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/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 | 59 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/cronet/base/allocator/partition_allocator/ |
| D | partition_alloc_hooks.h | 16 // PartitionAlloc supports setting hooks to observe allocations/frees as they 17 // occur as well as 'override' hooks that allow overriding those operations. 44 // To unhook, call Set*Hooks with nullptrs. in PA_COMPONENT_EXPORT() 51 // Helper method to check whether hooks are enabled. This is an optimization in PA_COMPONENT_EXPORT() 52 // so that if a function needs to call observer and override hooks in two in PA_COMPONENT_EXPORT() 82 // Single bool that is used to indicate whether observer or allocation hooks in PA_COMPONENT_EXPORT() 87 // Lock used to synchronize Set*Hooks calls. in PA_COMPONENT_EXPORT()
|
| /external/tensorflow/tensorflow/python/distribute/ |
| D | estimator_training.py | 228 # 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
|
| /external/yapf/ |
| D | .pre-commit-config.yml | 6 hooks: 13 - repo: https://github.com/pre-commit/pre-commit-hooks 15 hooks: 28 hooks: 29 - id: check-hooks-apply
|
| D | .pre-commit-config.yaml | 6 hooks: 13 - repo: https://github.com/pre-commit/pre-commit-hooks 15 hooks: 28 hooks: 29 - id: check-hooks-apply
|
| /external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/agent/ |
| D | Agent.kt | 21 import com.code_intelligence.jazzer.instrumentor.Hooks in <lambda>() 67 …println("INFO: Not using the following disabled hooks: ${disabledCustomHooksToPrint.joinToString("… in premain() 123 …val (includedHooks, customHooks) = Hooks.loadHooks(includedHookNames.toSet(), customHookNames.toSe… in premain() 124 // If we don't append the JARs containing the custom hooks to the bootstrap class loader, in premain() 125 // third-party hooks not contained in the agent JAR will not be able to instrument Java standard in premain() 140 includedHooks.hooks, in premain() 141 customHooks.hooks, in premain() 147 // These classes are e.g. dependencies of the RuntimeInstrumentor or hooks and thus were loaded in premain() 167 …WARN: Instrumentation was not applied to the following classes as they are dependencies of hooks:") in premain()
|
| /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/jazzer-api/ |
| D | CHANGELOG.md | 14 * Feature: Hooks targeting interfaces and abstract classes hook all implementations 15 * Feature: Enable multiple BEFORE and AFTER hooks for the same target 23 * Fix: Support REPLACE hooks for constructors 24 * Fix: Do not apply REPLACE hooks in Java 6 class files 41 * API: Add `reportFindingFromHook(Throwable finding)` to report findings from hooks 46 * Fixed: Make initialized `this` object available to `<init>` AFTER 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()
|