Searched defs:hook (Results 1 - 25 of 60) sorted by relevance

123

/external/clang/test/Sema/
H A Dassign-null.c7 hookfunc hook; variable
10 hook = NULL;
/external/libnl/lib/netfilter/
H A Dnetfilter.c44 char *nfnl_inet_hook2str(unsigned int hook, char *buf, size_t len) argument
46 return __type2str(hook, buf, len, nfnl_inet_hooks,
/external/llvm/utils/emacs/
H A Dllvm-mode.el104 (defvar llvm-mode-hook nil)
118 Runs llvm-mode-hook on startup."
133 (run-hooks 'llvm-mode-hook)) ; Finally, this permits the user to
134 ; customize the mode with a hook.
H A Dtablegen-mode.el86 (defvar tablegen-mode-hook nil)
99 Runs tablegen-mode-hook on startup."
116 (run-hooks 'tablegen-mode-hook)) ; Finally, this permits the user to
117 ; customize the mode with a hook.
/external/chromium_org/third_party/libwebp/utils/
H A Dthread.h45 WebPWorkerHook hook; // hook to call member in struct:__anon13306
46 void* data1; // first argument passed to 'hook'
47 void* data2; // second argument passed to 'hook'
48 int had_error; // return value of the last call to 'hook'
62 // Triggers the thread to call hook() with data1 and data2 arguments. These
63 // hook/data1/data2 values can be changed at any time before calling this
67 // hook directly instead of using a thread. Convenient to bypass the thread
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dauto_testing_hook.h51 // AutoTestingHook hook = MakeTestingHook(TargetFunc, HookTargetFunc);
53 // The 'hook' variable will then be destroyed when it goes out of scope.
59 // This is the class you must use when holding a hook as a member of another
67 explicit AutoTestingHookHolder(AutoTestingHookBase* hook) : hook_(hook) {} argument
80 // common/scope_cleanup.h) uses, so to create a hook you use the MakeHook
H A Dpreamble_patcher_test.cc52 // that the optimized access a register that is changed by a call to the hook
231 // jmp to the hook function. So verify that we now can not patch
285 AutoTestingHook hook = MakeTestingHook(IncrementNumber, local
287 (void) hook;
301 AutoTestingHookHolder hook(MakeTestingHookHolder(IncrementNumber,
303 (void) hook;
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dauto_testing_hook.h51 // AutoTestingHook hook = MakeTestingHook(TargetFunc, HookTargetFunc);
53 // The 'hook' variable will then be destroyed when it goes out of scope.
59 // This is the class you must use when holding a hook as a member of another
67 explicit AutoTestingHookHolder(AutoTestingHookBase* hook) : hook_(hook) {} argument
80 // common/scope_cleanup.h) uses, so to create a hook you use the MakeHook
H A Dpreamble_patcher_test.cc52 // that the optimized access a register that is changed by a call to the hook
231 // jmp to the hook function. So verify that we now can not patch
285 AutoTestingHook hook = MakeTestingHook(IncrementNumber, local
287 (void) hook;
301 AutoTestingHookHolder hook(MakeTestingHookHolder(IncrementNumber,
303 (void) hook;
/external/iptables/include/linux/netfilter_ipv4/
H A Dipt_ULOG.h39 unsigned int hook; member in struct:ulog_packet_msg
H A Dip_queue.h26 unsigned int hook; /* Netfilter hook we rode in on */ member in struct:ipq_packet_msg
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_ulog.h30 unsigned int hook; member in struct:ebt_ulog_packet_msg
/external/kernel-headers/original/uapi/linux/netfilter_ipv4/
H A Dipt_ULOG.h39 unsigned int hook; member in struct:ulog_packet_msg
/external/webp/src/utils/
H A Dthread.h45 WebPWorkerHook hook; // hook to call member in struct:__anon33403
46 void* data1; // first argument passed to 'hook'
47 void* data2; // second argument passed to 'hook'
48 int had_error; // return value of the last call to 'hook'
62 // Triggers the thread to call hook() with data1 and data2 arguments. These
63 // hook/data1/data2 values can be changed at any time before calling this
67 // hook directly instead of using a thread. Convenient to bypass the thread
/external/iproute2/tc/
H A Dm_xt.c128 __u32 hook = 0, index = 0; local
218 hook = NF_IP_PRE_ROUTING;
220 hook = NF_IP_POST_ROUTING;
226 fprintf(stdout, "tablename: %s hook: %s\n ", tname, ipthooks[hook]);
242 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4);
291 fprintf(f, "[NULL ipt hook name ]\n ");
294 __u32 hook; local
295 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]);
296 fprintf(f, " hook
[all...]
/external/libpcap/pcap/
H A Dnflog.h56 u_int8_t hook; /* netfilter hook */ member in struct:nflog_packet_hdr
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
H A Dsdk_update_main.py45 def hook(fn): function in function:usage
48 return hook
/external/chromium_org/third_party/libevent/
H A Devrpc.c85 struct evrpc_hook *hook; local
90 while ((hook = TAILQ_FIRST(&base->input_hooks)) != NULL) {
91 assert(evrpc_remove_hook(base, EVRPC_INPUT, hook));
93 while ((hook = TAILQ_FIRST(&base->output_hooks)) != NULL) {
94 assert(evrpc_remove_hook(base, EVRPC_OUTPUT, hook));
107 struct evrpc_hook *hook = NULL; local
119 hook = calloc(1, sizeof(struct evrpc_hook));
120 assert(hook != NULL);
122 hook->process = cb;
123 hook
132 struct evrpc_hook *hook = NULL; local
171 struct evrpc_hook *hook; local
413 struct evrpc_hook *hook; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_thread.h172 VP9WorkerHook hook; // hook to call member in struct:__anon13138
173 void *data1; // first argument passed to 'hook'
174 void *data2; // second argument passed to 'hook'
175 int had_error; // return value of the last call to 'hook'
189 // Triggers the thread to call hook() with data1 and data2 arguments. These
190 // hook/data1/data2 values can be changed at any time before calling this
194 // hook directly instead of using a thread. Convenient to bypass the thread
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dldblib.c310 if (gethooktable(L) == 0) { /* creating hook table? */
318 lua_rawset(L, -3); /* set new hook */
329 lua_Hook hook = lua_gethook(L1); local
330 if (hook != NULL && hook != hookf) /* external hook? */
331 lua_pushliteral(L, "external hook");
335 lua_rawget(L, -2); /* get hook */
336 lua_remove(L, -2); /* remove hook table */
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
H A Dmalloc_hook.h43 // There are a limited number of slots available for each hook type. Add*Hook
45 // false if the given hook was not already installed.
49 // It is safe for a hook to remove itself within Invoke*Hook and add other
50 // hooks. Any hooks added inside a hook invocation (for the same hook type)
60 // need to invoke a hook (which you shouldn't unless you're part of tcmalloc),
102 inline static bool AddNewHook(NewHook hook) { argument
103 return MallocHook_AddNewHook(hook);
105 inline static bool RemoveNewHook(NewHook hook) { argument
106 return MallocHook_RemoveNewHook(hook);
113 AddDeleteHook(DeleteHook hook) argument
116 RemoveDeleteHook(DeleteHook hook) argument
126 AddPreMmapHook(PreMmapHook hook) argument
129 RemovePreMmapHook(PreMmapHook hook) argument
150 SetMmapReplacement(MmapReplacement hook) argument
153 RemoveMmapReplacement(MmapReplacement hook) argument
168 AddMmapHook(MmapHook hook) argument
171 RemoveMmapHook(MmapHook hook) argument
192 SetMunmapReplacement(MunmapReplacement hook) argument
195 RemoveMunmapReplacement(MunmapReplacement hook) argument
204 AddMunmapHook(MunmapHook hook) argument
207 RemoveMunmapHook(MunmapHook hook) argument
214 AddMremapHook(MremapHook hook) argument
217 RemoveMremapHook(MremapHook hook) argument
234 AddPreSbrkHook(PreSbrkHook hook) argument
237 RemovePreSbrkHook(PreSbrkHook hook) argument
247 AddSbrkHook(SbrkHook hook) argument
250 RemoveSbrkHook(SbrkHook hook) argument
275 SetNewHook(NewHook hook) argument
280 SetDeleteHook(DeleteHook hook) argument
285 SetPreMmapHook(PreMmapHook hook) argument
290 SetMmapHook(MmapHook hook) argument
295 SetMunmapHook(MunmapHook hook) argument
300 SetMremapHook(MremapHook hook) argument
305 SetPreSbrkHook(PreSbrkHook hook) argument
310 SetSbrkHook(SbrkHook hook) argument
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook-inl.h34 // to use malloc-hook inside the tcmalloc system. It does not hold
164 MallocHook::NewHook hook = MallocHook::GetNewHook(); local
165 if (hook != NULL) (*hook)(p, s);
179 MallocHook::DeleteHook hook = MallocHook::GetDeleteHook(); local
180 if (hook != NULL) (*hook)(p);
199 MallocHook::PreMmapHook hook = MallocHook::GetPreMmapHook(); local
200 if (hook != NULL) (*hook)(star
222 MallocHook::MmapHook hook = MallocHook::GetMmapHook(); local
256 MallocHook::MunmapHook hook = MallocHook::GetMunmapHook(); local
284 MallocHook::MremapHook hook = MallocHook::GetMremapHook(); local
301 MallocHook::PreSbrkHook hook = MallocHook::GetPreSbrkHook(); local
317 MallocHook::SbrkHook hook = MallocHook::GetSbrkHook(); local
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
H A Dmalloc_hook.h43 // There are a limited number of slots available for each hook type. Add*Hook
45 // false if the given hook was not already installed.
49 // It is safe for a hook to remove itself within Invoke*Hook and add other
50 // hooks. Any hooks added inside a hook invocation (for the same hook type)
60 // need to invoke a hook (which you shouldn't unless you're part of tcmalloc),
102 inline static bool AddNewHook(NewHook hook) { argument
103 return MallocHook_AddNewHook(hook);
105 inline static bool RemoveNewHook(NewHook hook) { argument
106 return MallocHook_RemoveNewHook(hook);
113 AddDeleteHook(DeleteHook hook) argument
116 RemoveDeleteHook(DeleteHook hook) argument
126 AddPreMmapHook(PreMmapHook hook) argument
129 RemovePreMmapHook(PreMmapHook hook) argument
150 SetMmapReplacement(MmapReplacement hook) argument
153 RemoveMmapReplacement(MmapReplacement hook) argument
168 AddMmapHook(MmapHook hook) argument
171 RemoveMmapHook(MmapHook hook) argument
192 SetMunmapReplacement(MunmapReplacement hook) argument
195 RemoveMunmapReplacement(MunmapReplacement hook) argument
204 AddMunmapHook(MunmapHook hook) argument
207 RemoveMunmapHook(MunmapHook hook) argument
214 AddMremapHook(MremapHook hook) argument
217 RemoveMremapHook(MremapHook hook) argument
234 AddPreSbrkHook(PreSbrkHook hook) argument
237 RemovePreSbrkHook(PreSbrkHook hook) argument
247 AddSbrkHook(SbrkHook hook) argument
250 RemoveSbrkHook(SbrkHook hook) argument
275 SetNewHook(NewHook hook) argument
280 SetDeleteHook(DeleteHook hook) argument
285 SetPreMmapHook(PreMmapHook hook) argument
290 SetMmapHook(MmapHook hook) argument
295 SetMunmapHook(MunmapHook hook) argument
300 SetMremapHook(MremapHook hook) argument
305 SetPreSbrkHook(PreSbrkHook hook) argument
310 SetSbrkHook(SbrkHook hook) argument
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmalloc_hook-inl.h34 // to use malloc-hook inside the tcmalloc system. It does not hold
164 MallocHook::NewHook hook = MallocHook::GetNewHook(); local
165 if (hook != NULL) (*hook)(p, s);
179 MallocHook::DeleteHook hook = MallocHook::GetDeleteHook(); local
180 if (hook != NULL) (*hook)(p);
199 MallocHook::PreMmapHook hook = MallocHook::GetPreMmapHook(); local
200 if (hook != NULL) (*hook)(star
222 MallocHook::MmapHook hook = MallocHook::GetMmapHook(); local
256 MallocHook::MunmapHook hook = MallocHook::GetMunmapHook(); local
284 MallocHook::MremapHook hook = MallocHook::GetMremapHook(); local
301 MallocHook::PreSbrkHook hook = MallocHook::GetPreSbrkHook(); local
317 MallocHook::SbrkHook hook = MallocHook::GetSbrkHook(); local
[all...]
/external/emma/core/java12/com/vladium/emma/rt/
H A DInstrClassLoader.java49 final IClassLoadHook hook, final Map cache)
59 m_hook = hook;
249 classURL = getResource (classResource); // important to hook into URLClassLoader's overload of this so that Class-Path manifest attributes are processed etc
46 InstrClassLoader(final ClassLoader parent, final File [] classpath, final IInclExclFilter forcedDelegationFilter, final IInclExclFilter throughDelegationFilter, final IClassLoadHook hook, final Map cache) argument

Completed in 1224 milliseconds

123