Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/elfutils/libdwfl/
Dargp-std.c126 assert (state->hook == NULL); in parse_opt()
130 state->hook = opt; in parse_opt()
140 struct parse_opt *opt = state->hook; in parse_opt()
166 struct parse_opt *opt = state->hook; in parse_opt()
186 struct parse_opt *opt = state->hook; in parse_opt()
211 struct parse_opt *opt = state->hook; in parse_opt()
224 struct parse_opt *opt = state->hook; in parse_opt()
244 struct parse_opt *opt = state->hook; in parse_opt()
261 struct parse_opt *opt = state->hook; in parse_opt()
344 state->hook = NULL; in parse_opt()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DRuntimeShutdownHookRegistrar.java21 @Override public void addShutdownHook(Thread hook) { in addShutdownHook() argument
22 Runtime.getRuntime().addShutdownHook(hook); in addShutdownHook()
25 @Override public boolean removeShutdownHook(Thread hook) { in removeShutdownHook() argument
26 return Runtime.getRuntime().removeShutdownHook(hook); in removeShutdownHook()
DShutdownHookRegistrar.java26 void addShutdownHook(Thread hook); in addShutdownHook() argument
32 boolean removeShutdownHook(Thread hook); in removeShutdownHook() argument
/external/libevent/
Devrpc.c95 struct evrpc_hook *hook; in evrpc_free() local
107 while ((hook = TAILQ_FIRST(&base->input_hooks)) != NULL) { in evrpc_free()
108 r = evrpc_remove_hook(base, EVRPC_INPUT, hook); in evrpc_free()
111 while ((hook = TAILQ_FIRST(&base->output_hooks)) != NULL) { in evrpc_free()
112 r = evrpc_remove_hook(base, EVRPC_OUTPUT, hook); in evrpc_free()
126 struct evrpc_hook *hook = NULL; in evrpc_add_hook() local
138 hook = mm_calloc(1, sizeof(struct evrpc_hook)); in evrpc_add_hook()
139 EVUTIL_ASSERT(hook != NULL); in evrpc_add_hook()
141 hook->process = cb; in evrpc_add_hook()
142 hook->process_arg = cb_arg; in evrpc_add_hook()
[all …]
/external/autotest/server/
Dsubcommand.py137 def register_fork_hook(cls, hook): argument
140 cls.fork_hooks.append(hook)
144 def register_join_hook(cls, hook): argument
147 cls.join_hooks.append(hook)
177 for hook in self.fork_hooks:
178 hook(self)
190 for hook in self.join_hooks:
191 hook(self)
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DWorkerProcessTest.java59 @Override public void addShutdownHook(Thread hook) { in addShutdownHook() argument
60 hooks.add(hook); in addShutdownHook()
62 @Override public boolean removeShutdownHook(Thread hook) { in removeShutdownHook() argument
63 return hooks.remove(hook); in removeShutdownHook()
121 Thread hook = Iterables.getOnlyElement(registrar.hooks); in shutdownHook_exitValueThrows() local
122 assertEquals("worker-shutdown-hook-" + TRIAL_ID, hook.getName()); in shutdownHook_exitValueThrows()
127 assertTrue(registrar.hooks.contains(hook)); in shutdownHook_exitValueThrows()
/external/libexif/binary/
DMakefile.am5 SH_DIST_HOOK = dist-ship-binary-hook
6 dist-ship-binary-hook include bin:
13 dist-hook: $(SH_DIST_HOOK)
/external/dhcpcd-6.8.2/
Ddhcpcd-run-hooks.in365 for hook in \
366 @SYSCONFDIR@/dhcpcd.enter-hook \
368 @SYSCONFDIR@/dhcpcd.exit-hook
371 case "$hook" in
378 if [ -f "$hook" ]; then
379 . "$hook"
/external/iproute2/tc/
Dm_xt_old.c220 __u32 hook = 0, index = 0; in parse_ipt() local
304 hook = NF_IP_PRE_ROUTING; in parse_ipt()
306 hook = NF_IP_POST_ROUTING; in parse_ipt()
312 fprintf(stdout, "tablename: %s hook: %s\n ", tname, ipthooks[hook]); in parse_ipt()
328 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt()
377 __u32 hook; in print_ipt() local
378 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); in print_ipt()
379 fprintf(f, " hook: %s \n", ipthooks[hook]); in print_ipt()
Dm_xt.c133 __u32 hook = 0, index = 0; local
240 hook = NF_IP_PRE_ROUTING;
242 hook = NF_IP_POST_ROUTING;
248 fprintf(stdout, "tablename: %s hook: %s\n ", tname, ipthooks[hook]);
264 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4);
320 __u32 hook; local
321 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]);
322 fprintf(f, " hook: %s \n", ipthooks[hook]);
Dm_ipt.c401 __u32 hook = 0, index = 0; in parse_ipt() local
487 hook = NF_IP_PRE_ROUTING; in parse_ipt()
489 hook = NF_IP_POST_ROUTING; in parse_ipt()
495 fprintf(stdout, "tablename: %s hook: %s\n ", tname, ipthooks[hook]); in parse_ipt()
511 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt()
562 __u32 hook; in print_ipt() local
563 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); in print_ipt()
564 fprintf(f, " hook: %s \n", ipthooks[hook]); in print_ipt()
/external/clang/test/Sema/
Dassign-null.c7 hookfunc hook; variable
10 hook = NULL; in clear_hook()
/external/libpng/
DMakefile.am286 dist-hook:
338 install-data-hook: install-header-links
339 uninstall-hook: uninstall-header-links
340 install-exec-hook: install-library-links
341 uninstall-hook: uninstall-library-links
347 install-data-hook: install-libpng-pc
348 uninstall-hook: uninstall-libpng-pc
354 install-exec-hook: install-libpng-config
355 uninstall-hook: uninstall-libpng-config
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/node_modules/mocha/
Dmocha.js4464 this.on('hook end', function(hook){ self.checkGlobals(hook); }); argument
4632 Runner.prototype.failHook = function(hook, err){ argument
4633 this.fail(hook, err);
4647 Runner.prototype.hook = function(name, fn){ method in Runner
4654 var hook = hooks[i];
4655 if (!hook) return fn();
4657 self.currentRunnable = hook;
4659 hook.ctx.currentTest = self.test;
4661 self.emit('hook', hook);
4663 hook.on('error', function(err){
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Drun_tests101 def hook(*args): function
105 sys.excepthook = hook
111 def hook(exc, value, tb): function
121 sys.excepthook = hook
/external/jetty/src/java/org/eclipse/jetty/util/thread/
DShutdownThread.java57 private synchronized void hook() in hook() method in ShutdownThread
103 _thread.hook(); in register()
111 _thread.hook(); in register()
/external/elfutils/backends/
DChangeLog15 and hook sparc_abi_cfi.
140 * arm_init.c (arm_init): Initialize the hook.
260 * arm_init.c (arm_init): Define frame_nregs and hook
460 * alpha_init.c (alpha_init): Initialize check_st_other_bits hook.
466 * alpha_init.c (alpha_init): Initialize hook.
539 * i386_init.c (i386_init): Initialize abi_cfi hook.
602 * i386_init.c (i386_init): Initialize syscall_abi hook.
613 * alpha_init.c (alpha_init): Initialize check_special_section hook.
623 * sparc_init.c (sparc_init): Initialize check_special_section hook.
629 * ppc_init.c (ppc_init): Initialize check_object_attribute hook.
[all …]
/external/opencv3/3rdparty/libwebp/utils/
Dthread.c145 if (worker->hook) { in WebPWorkerThreadLoop()
146 worker->had_error |= !worker->hook(worker->data1, worker->data2); in WebPWorkerThreadLoop()
222 if (worker->hook) in WebPWorkerLaunch()
223 worker->had_error |= !worker->hook(worker->data1, worker->data2); in WebPWorkerLaunch()
/external/chromium-trace/catapult/third_party/mocha/
Dmocha.js4638 this.on('hook end', function(hook){ self.checkGlobals(hook); }); argument
4810 Runner.prototype.failHook = function(hook, err){ argument
4811 this.fail(hook, err);
4825 Runner.prototype.hook = function(name, fn){ method in Runner
4832 var hook = hooks[i];
4833 if (!hook) return fn();
4834 self.currentRunnable = hook;
4836 hook.ctx.currentTest = self.test;
4838 self.emit('hook', hook);
4840 hook.on('error', function(err){
[all …]
/external/chromium-trace/catapult/tracing/third_party/mocha/
Dmocha.js4638 this.on('hook end', function(hook){ self.checkGlobals(hook); }); argument
4810 Runner.prototype.failHook = function(hook, err){ argument
4811 this.fail(hook, err);
4825 Runner.prototype.hook = function(name, fn){ method in Runner
4832 var hook = hooks[i];
4833 if (!hook) return fn();
4834 self.currentRunnable = hook;
4836 hook.ctx.currentTest = self.test;
4838 self.emit('hook', hook);
4840 hook.on('error', function(err){
[all …]
/external/pdfium/
Dcodereview.settings7 GITCL_PREUPLOAD: http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revision…
8 GITCL_PREDCOMMIT: http://src.chromium.org/viewvc/trunk/tools/depot_tools/git-cl-upload-hook?revisio…
/external/libnl/lib/netfilter/
Dnetfilter.c44 char *nfnl_inet_hook2str(unsigned int hook, char *buf, size_t len) in nfnl_inet_hook2str() argument
46 return __type2str(hook, buf, len, nfnl_inet_hooks, in nfnl_inet_hook2str()
/external/libvpx/libvpx/test/
Dvp9_thread_test.cc65 worker_.hook = ThreadHook; in TEST_P()
84 worker_.hook = ThreadHook; in TEST_P()
113 workers[n].hook = ThreadHook; in TEST_P()
210 worker->had_error |= !worker->hook(worker->data1, worker->data2); in Execute()
/external/elfutils/libebl/
DChangeLog80 * ebl-hooks.h (check_reloc_target_type): New hook.
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.
282 * ebl-hooks.h: New hook syscall_abi.
290 * ebl-hooks.h: Add check_special_section hook.
291 * eblopenbackend.c (fill_defaults): Set new hook to ...
302 * ebl-hooks.h: Add check_object_attribute hook.
334 * ebl-hooks.h: Add new hook auxv_info.
336 (fill_defaults): Initialize auxv_info hook.
[all …]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java119 Thread hook = new Thread() { in printStartStopTimes() local
126 Runtime.getRuntime().addShutdownHook(hook); in printStartStopTimes()

1234567891011