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

123

/external/clang/test/Sema/
H A Dassign-null.c7 hookfunc hook; variable
10 hook = NULL;
/external/chromium_org/chrome_frame/
H A Devent_hooker.cc45 VOID CALLBACK EventHooker::WindowCreationHookProc(HWINEVENTHOOK hook, argument
/external/llvm/utils/emacs/
H A Dllvm-mode.el97 (defvar llvm-mode-hook nil)
111 Runs llvm-mode-hook on startup."
126 (run-hooks 'llvm-mode-hook)) ; Finally, this permits the user to
127 ; customize the mode with a hook.
H A Dtablegen-mode.el86 (defvar tablegen-mode-hook nil)
99 Runs tablegen-mode-hook on startup."
115 (run-hooks 'tablegen-mode-hook)) ; Finally, this permits the user to
116 ; customize the mode with a hook.
/external/chromium_org/third_party/libwebp/utils/
H A Dthread.h64 WebPWorkerHook hook; // hook to call member in struct:__anon11632
65 void* data1; // first argument passed to 'hook'
66 void* data2; // second argument passed to 'hook'
67 int had_error; // return value of the last call to 'hook'
78 // Triggers the thread to call hook() with data1 and data2 argument. These
79 // hook/data1/data2 can be changed at any time before calling this function,
/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
/external/kernel-headers/original/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/libvpx/libvpx/vp9/decoder/
H A Dvp9_thread.h65 VP9WorkerHook hook; // hook to call member in struct:__anon20699
66 void* data1; // first argument passed to 'hook'
67 void* data2; // second argument passed to 'hook'
68 int had_error; // return value of the last call to 'hook'
79 // Triggers the thread to call hook() with data1 and data2 argument. These
80 // hook/data1/data2 can be changed at any time before calling this function,
/external/webp/src/utils/
H A Dthread.h64 WebPWorkerHook hook; // hook to call member in struct:__anon28048
65 void* data1; // first argument passed to 'hook'
66 void* data2; // second argument passed to 'hook'
67 int had_error; // return value of the last call to 'hook'
78 // Triggers the thread to call hook() with data1 and data2 argument. These
79 // hook/data1/data2 can be changed at any time before calling this function,
/external/chromium_org/tools/memory_watcher/
H A Dmemory_hook.h121 // Access the global hook. For internal use only from static "C"
123 static MemoryHook* hook() { return global_hook_; } function in class:MemoryHook
/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/chromium/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/chrome_frame/test/
H A Dwin_event_receiver.cc61 LOG_IF(ERROR, hook_ == NULL) << "Unable to SetWinEvent hook";
66 void WinEventReceiver::WinEventHook(WinEventReceiver* me, HWINEVENTHOOK hook, argument
/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/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 742 milliseconds

123