Home
last modified time | relevance | path

Searched refs:hooks (Results 1 – 25 of 163) sorted by relevance

1234567

/external/python/cpython2/Lib/
Dihooks.py216 def __init__(self, hooks = None, verbose = VERBOSE): argument
218 self.hooks = hooks or Hooks(verbose)
221 return self.hooks.default_path()
224 return self.hooks.modules_dict()
227 return self.hooks
229 def set_hooks(self, hooks): argument
230 self.hooks = hooks
234 if self.hooks.is_builtin(name):
236 if self.hooks.is_frozen(name):
244 fullname = self.hooks.path_join(dir, name)
[all …]
Drexec.py158 def __init__(self, hooks = None, verbose = 0): argument
191 self.hooks = hooks or RHooks(verbose)
192 self.hooks.set_rexec(self)
206 self.loader = RModuleLoader(self.hooks, verbose)
301 self.modules[mname] = m = self.hooks.new_module(mname)
/external/dnsmasq/contrib/openvpn/
Ddnsmasq.patch17 + if [ -f /etc/dhclient-enter-hooks ]; then
18 + . /etc/dhclient-enter-hooks
20 + cp /etc/dhclient-enter-hooks /etc/dhclient-enter-hooks.dnsmasq
21 …s/resolv\.conf$/resolv.conf.dnsmasq/' /etc/dhclient-enter-hooks.dnsmasq > /etc/dhclient-enter-hooks
27 + if [ -f /etc/dhclient-enter-hooks -a -f /etc/dhclient-enter-hooks.dnsmasq ]; then
31 + mv /etc/dhclient-enter-hooks.dnsmasq /etc/dhclient-enter-hooks
DREADME2 dnsmasq. I also include my version of dhclient-enter-hooks as
33 > dnsmasq initscript to tweak /etc/dhclient-enter-hooks to change where
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java51 public static TestSSLEnginePair create(Hooks hooks) throws IOException { in create() argument
52 return create(TestSSLContext.create(), hooks); in create()
55 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() argument
56 return create(c, hooks, null); in create()
59 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() argument
61 SSLEngine[] engines = connect(c, hooks, finished); in create()
65 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() argument
66 return connect(c, hooks, null); in connect()
77 Hooks hooks, in connect() argument
79 if (hooks == null) { in connect()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DWorkerProcessTest.java58 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/dhcpcd-6.8.2/
DMakefile26 SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks
27 HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks
30 MAN8= dhcpcd.8 dhcpcd-run-hooks.8
31 CLEANFILES= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8
33 SCRIPTS= dhcpcd-run-hooks
60 CLEANFILES+= dhcpcd-run-hooks
67 SUBDIRS+= dhcpcd-hooks
214 cd dhcpcd-hooks; ${MAKE} DISTPREFIX=${DISTPREFIX} $@
DREADME10 man dhcpcd-run-hooks to learn how to hook scripts into dhcpcd events
105 populate it with all the source files and hooks needed.
116 Not all the hooks in dhcpcd-hooks are installed by default.
120 The configure program attempts to find hooks for systems you have installed.
128 before running hooks.
/external/dhcpcd-6.8.2/dhcpcd-hooks/
DMakefile5 SCRIPTSDIR= ${LIBEXECDIR}/dhcpcd-hooks
29 ${INSTALL} -d /tmp/${DISTPREFIX}/dhcpcd-hooks
30 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks
/external/python/cpython2/Lib/test/
Dtest_sqlite.py7 factory, transactions, hooks, regression,
13 hooks.suite(), regression.suite(), dump.suite())
/external/elfutils/libebl/
DChangeLog61 * ebl-hooks.h (bss_plt_p): Remove ehdr argument.
80 * ebl-hooks.h (check_reloc_target_type): New hook.
89 * ebl-hooks.h (resolve_sym_value): New entry.
99 * ebl-hooks.h (normalize_pc, unwind): New.
111 * ebl-hooks.h (dwarf_to_regno): New.
130 * ebl-hooks.h (set_initial_registers_tid): New entry.
156 * ebl-hooks.h (abi_cfi): Extend its comment for return value.
191 * ebl-hooks.h: Add check_st_other_bits hook.
209 * ebl-hooks.h: Update core_note hook signature.
240 * ebl-hooks.h: Add abi_cfi hook.
[all …]
/external/lisa/libs/utils/android/
Dworkload.py52 self.hooks = {}
147 self.hooks[hook] = hook_fn
195 if 'post_collect_start' in self.hooks:
196 hookfn = self.hooks['post_collect_start']
/external/mesa3d/src/mesa/swrast_setup/
DNOTES36 functions into all the tnl->Driver.Render driver hooks, thus taking
51 hooks, and (optionally) cease calling _swsetup_InvalidateState().
62 point rasterization, these are necessary to provide locking hooks for
/external/boringssl/src/
DCONTRIBUTING.md29 curl -Lo .git/hooks/commit-msg https://boringssl-review.googlesource.com/tools/hooks/commit-msg
30 chmod u+x .git/hooks/commit-msg
/external/swiftshader/
DREADME.md31 https://gerrit-review.googlesource.com/tools/hooks/commit-msg. To clone the repository and install …
33 …arse --git-dir`/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; c…
/external/google-breakpad/
DPRESUBMIT.cfg1 # Disable hooks not relevant to upstream project.
DDEPS32 # you can still use the hooks mechanism for generating project files by calling
56 hooks = [
/external/python/cpython2/Doc/library/
Dmodules.rst9 modules and hooks for customizing the import process.
/external/chromium-trace/catapult/dependency_manager/bin/
Drun_tests19 from hooks import install
/external/chromium-trace/catapult/common/bin/
Drun_tests30 from hooks import install
/external/skia/experimental/documentation/
Dgerrit.md13 curl -Lo "$(git rev-parse --git-dir)/hooks/commit-msg"
14 'https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
15 chmod +x "$(git rev-parse --git-dir)/hooks/commit-msg"
/external/llvm/test/Instrumentation/InstrProfiling/
Dnoruntime.ll1 ;; Check that we don't emit the runtime hooks if the user provided them.
/external/webrtc/
DDEPS49 hooks = [
91 # but then we would need to run all the Chromium hooks each time,
/external/llvm/lib/Fuzzer/test/
Dfuzzer-traces-hooks.test1 // FIXME: Support sanitizer hooks for memcmp and strcmp need
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java293 Future<AbstractConscryptSocket> handshake(final ServerSocket listener, final Hooks hooks) { in handshake() argument
295 AbstractConscryptSocket socket = hooks.createSocket(listener); in handshake()
296 socket.addHandshakeCompletedListener(hooks); in handshake()

1234567