Home
last modified time | relevance | path

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

12345678910>>...12

/external/iptables/etc/
Dxtables.conf3 chain PREROUTING hook NF_INET_PRE_ROUTING prio -300
4 chain OUTPUT hook NF_INET_LOCAL_OUT prio -300
8 chain PREROUTING hook NF_INET_PRE_ROUTING prio -150
9 chain INPUT hook NF_INET_LOCAL_IN prio -150
10 chain FORWARD hook NF_INET_FORWARD prio -150
11 chain OUTPUT hook NF_INET_LOCAL_OUT prio -150
12 chain POSTROUTING hook NF_INET_POST_ROUTING prio -150
16 chain INPUT hook NF_INET_LOCAL_IN prio 0
17 chain FORWARD hook NF_INET_FORWARD prio 0
18 chain OUTPUT hook NF_INET_LOCAL_OUT prio 0
[all …]
/external/syslinux/dosutil/
Dmdiskchk.c251 const struct safe_hook far *hook = in MDISKCHK_FUNC_DECL() local
254 while ((hook->signature[0] == '$') && in MDISKCHK_FUNC_DECL()
255 (hook->signature[1] == 'I') && in MDISKCHK_FUNC_DECL()
256 (hook->signature[2] == 'N') && in MDISKCHK_FUNC_DECL()
257 (hook->signature[3] == 'T') && in MDISKCHK_FUNC_DECL()
258 (hook->signature[4] == '1') && in MDISKCHK_FUNC_DECL()
259 (hook->signature[5] == '3') && in MDISKCHK_FUNC_DECL()
260 (hook->signature[6] == 'S') && in MDISKCHK_FUNC_DECL()
261 (hook->signature[7] == 'F')) { in MDISKCHK_FUNC_DECL()
263 if ((hook->vendor[0] == 'M') && in MDISKCHK_FUNC_DECL()
[all …]
/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/syslinux/com32/modules/
Difmemdsk.c215 const s_safe_hook * hook; in walk_safe_hooks() local
222 hook = is_safe_hook(addr); in walk_safe_hooks()
223 if (!hook) in walk_safe_hooks()
226 mdi = is_memdisk_hook(hook); in walk_safe_hooks()
233 hook->old_hook.seg_off.segment, in walk_safe_hooks()
234 hook->old_hook.seg_off.offset in walk_safe_hooks()
251 static const s_mdi * is_memdisk_hook(const s_safe_hook * hook) { in is_memdisk_hook() argument
255 if (memcmp(hook->vendor, magic, sizeof magic - 1)) in is_memdisk_hook()
259 mbft = MK_PTR(hook->mbft >> 4, 0); in is_memdisk_hook()
/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/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/libpng/
DMakefile.am311 dist-hook:
363 install-data-hook: install-header-links
364 uninstall-hook: uninstall-header-links
365 install-exec-hook: install-library-links
366 uninstall-hook: uninstall-library-links
372 install-data-hook: install-libpng-pc
373 uninstall-hook: uninstall-libpng-pc
379 install-exec-hook: install-libpng-config
380 uninstall-hook: uninstall-libpng-config
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc430 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks() local
431 if (!hook) return; in RunMallocHooks()
432 hook(ptr, size); in RunMallocHooks()
438 auto hook = MFHooks[i].free_hook; in RunFreeHooks() local
439 if (!hook) return; in RunFreeHooks()
440 hook(ptr); in RunFreeHooks()
/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/libmojo/jni/java/lang/
DRuntime.class ... void addShutdownHook (java.lang.Thread) Thread hook public boolean removeShutdownHook (java.lang.Thread) ...
/external/iptables/iptables/
Dnft.c323 .hook = NF_INET_PRE_ROUTING,
329 .hook = NF_INET_LOCAL_OUT,
340 .hook = NF_INET_PRE_ROUTING,
346 .hook = NF_INET_LOCAL_IN,
352 .hook = NF_INET_FORWARD,
358 .hook = NF_INET_LOCAL_OUT,
364 .hook = NF_INET_POST_ROUTING,
375 .hook = NF_INET_LOCAL_IN,
381 .hook = NF_INET_FORWARD,
387 .hook = NF_INET_LOCAL_OUT,
[all …]
/external/libvpx/libvpx/test/
Dvp9_thread_test.cc61 worker_.hook = ThreadHook; in TEST_P()
80 worker_.hook = ThreadHook; in TEST_P()
109 workers[n].hook = ThreadHook; in TEST_P()
206 worker->had_error |= !worker->hook(worker->data1, worker->data2); in Execute()
/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()
/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 …]

12345678910>>...12