Searched refs:hook (Results 1 - 25 of 121) sorted by relevance

12345

/external/clang/test/Sema/
H A Dassign-null.c7 hookfunc hook; variable
10 hook = NULL;
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
H A Dmalloc_hook_c.h72 int MallocHook_AddNewHook(MallocHook_NewHook hook);
74 int MallocHook_RemoveNewHook(MallocHook_NewHook hook);
78 int MallocHook_AddDeleteHook(MallocHook_DeleteHook hook);
80 int MallocHook_RemoveDeleteHook(MallocHook_DeleteHook hook);
89 int MallocHook_AddPreMmapHook(MallocHook_PreMmapHook hook);
91 int MallocHook_RemovePreMmapHook(MallocHook_PreMmapHook hook);
101 int MallocHook_AddMmapHook(MallocHook_MmapHook hook);
103 int MallocHook_RemoveMmapHook(MallocHook_MmapHook hook);
112 int MallocHook_SetMmapReplacement(MallocHook_MmapReplacement hook);
113 int MallocHook_RemoveMmapReplacement(MallocHook_MmapReplacement hook);
[all...]
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/gperftools/
H A Dmalloc_hook_c.h72 int MallocHook_AddNewHook(MallocHook_NewHook hook);
74 int MallocHook_RemoveNewHook(MallocHook_NewHook hook);
78 int MallocHook_AddDeleteHook(MallocHook_DeleteHook hook);
80 int MallocHook_RemoveDeleteHook(MallocHook_DeleteHook hook);
89 int MallocHook_AddPreMmapHook(MallocHook_PreMmapHook hook);
91 int MallocHook_RemovePreMmapHook(MallocHook_PreMmapHook hook);
101 int MallocHook_AddMmapHook(MallocHook_MmapHook hook);
103 int MallocHook_RemoveMmapHook(MallocHook_MmapHook hook);
112 int MallocHook_SetMmapReplacement(MallocHook_MmapReplacement hook);
113 int MallocHook_RemoveMmapReplacement(MallocHook_MmapReplacement hook);
[all...]
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/dhcpcd/
H A Ddhcpcd-run-hooks14 # Thus, the user can create their dhcpcd.enter/exit-hook script to configure
16 for hook in \
17 /system/etc/dhcpcd/dhcpcd.enter-hook \
19 /system/etc/dhcpcd/dhcpcd.exit-hook
22 case "${hook}" in
28 if ls "${hook}" >/dev/null 2>&1; then
29 . "${hook}"
H A Ddhcpcd-run-hooks.in220 # Thus, the user can create their dhcpcd.enter/exit-hook script to configure
222 for hook in \
223 @SYSCONFDIR@/dhcpcd.enter-hook \
225 @SYSCONFDIR@/dhcpcd.exit-hook
228 case "$hook" in
234 if [ -f "$hook" ]; then
235 . "$hook"
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook.cc95 // hook that is called will run RemoveInitialHooksAndCallInitializers (see the
105 // * still have its initial malloc hook installed, run that and block on waiting
327 int MallocHook_AddNewHook(MallocHook_NewHook hook) { argument
328 RAW_VLOG(10, "AddNewHook(%p)", hook);
329 return new_hooks_.Add(hook);
333 int MallocHook_RemoveNewHook(MallocHook_NewHook hook) { argument
334 RAW_VLOG(10, "RemoveNewHook(%p)", hook);
335 return new_hooks_.Remove(hook);
339 int MallocHook_AddDeleteHook(MallocHook_DeleteHook hook) { argument
340 RAW_VLOG(10, "AddDeleteHook(%p)", hook);
345 MallocHook_RemoveDeleteHook(MallocHook_DeleteHook hook) argument
351 MallocHook_AddPreMmapHook(MallocHook_PreMmapHook hook) argument
357 MallocHook_RemovePreMmapHook(MallocHook_PreMmapHook hook) argument
363 MallocHook_SetMmapReplacement(MallocHook_MmapReplacement hook) argument
372 MallocHook_RemoveMmapReplacement(MallocHook_MmapReplacement hook) argument
378 MallocHook_AddMmapHook(MallocHook_MmapHook hook) argument
384 MallocHook_RemoveMmapHook(MallocHook_MmapHook hook) argument
390 MallocHook_AddMunmapHook(MallocHook_MunmapHook hook) argument
396 MallocHook_RemoveMunmapHook(MallocHook_MunmapHook hook) argument
402 MallocHook_SetMunmapReplacement(MallocHook_MunmapReplacement hook) argument
412 MallocHook_RemoveMunmapReplacement(MallocHook_MunmapReplacement hook) argument
418 MallocHook_AddMremapHook(MallocHook_MremapHook hook) argument
424 MallocHook_RemoveMremapHook(MallocHook_MremapHook hook) argument
430 MallocHook_AddPreSbrkHook(MallocHook_PreSbrkHook hook) argument
436 MallocHook_RemovePreSbrkHook(MallocHook_PreSbrkHook hook) argument
442 MallocHook_AddSbrkHook(MallocHook_SbrkHook hook) argument
448 MallocHook_RemoveSbrkHook(MallocHook_SbrkHook hook) argument
455 MallocHook_SetNewHook(MallocHook_NewHook hook) argument
461 MallocHook_SetDeleteHook(MallocHook_DeleteHook hook) argument
467 MallocHook_SetPreMmapHook(MallocHook_PreMmapHook hook) argument
473 MallocHook_SetMmapHook(MallocHook_MmapHook hook) argument
479 MallocHook_SetMunmapHook(MallocHook_MunmapHook hook) argument
485 MallocHook_SetMremapHook(MallocHook_MremapHook hook) argument
491 MallocHook_SetPreSbrkHook(MallocHook_PreSbrkHook hook) argument
497 MallocHook_SetSbrkHook(MallocHook_SbrkHook hook) argument
[all...]
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/
H A Dmalloc_hook.cc95 // hook that is called will run RemoveInitialHooksAndCallInitializers (see the
105 // * still have its initial malloc hook installed, run that and block on waiting
327 int MallocHook_AddNewHook(MallocHook_NewHook hook) { argument
328 RAW_VLOG(10, "AddNewHook(%p)", hook);
329 return new_hooks_.Add(hook);
333 int MallocHook_RemoveNewHook(MallocHook_NewHook hook) { argument
334 RAW_VLOG(10, "RemoveNewHook(%p)", hook);
335 return new_hooks_.Remove(hook);
339 int MallocHook_AddDeleteHook(MallocHook_DeleteHook hook) { argument
340 RAW_VLOG(10, "AddDeleteHook(%p)", hook);
345 MallocHook_RemoveDeleteHook(MallocHook_DeleteHook hook) argument
351 MallocHook_AddPreMmapHook(MallocHook_PreMmapHook hook) argument
357 MallocHook_RemovePreMmapHook(MallocHook_PreMmapHook hook) argument
363 MallocHook_SetMmapReplacement(MallocHook_MmapReplacement hook) argument
372 MallocHook_RemoveMmapReplacement(MallocHook_MmapReplacement hook) argument
378 MallocHook_AddMmapHook(MallocHook_MmapHook hook) argument
384 MallocHook_RemoveMmapHook(MallocHook_MmapHook hook) argument
390 MallocHook_AddMunmapHook(MallocHook_MunmapHook hook) argument
396 MallocHook_RemoveMunmapHook(MallocHook_MunmapHook hook) argument
402 MallocHook_SetMunmapReplacement(MallocHook_MunmapReplacement hook) argument
412 MallocHook_RemoveMunmapReplacement(MallocHook_MunmapReplacement hook) argument
418 MallocHook_AddMremapHook(MallocHook_MremapHook hook) argument
424 MallocHook_RemoveMremapHook(MallocHook_MremapHook hook) argument
430 MallocHook_AddPreSbrkHook(MallocHook_PreSbrkHook hook) argument
436 MallocHook_RemovePreSbrkHook(MallocHook_PreSbrkHook hook) argument
442 MallocHook_AddSbrkHook(MallocHook_SbrkHook hook) argument
448 MallocHook_RemoveSbrkHook(MallocHook_SbrkHook hook) argument
455 MallocHook_SetNewHook(MallocHook_NewHook hook) argument
461 MallocHook_SetDeleteHook(MallocHook_DeleteHook hook) argument
467 MallocHook_SetPreMmapHook(MallocHook_PreMmapHook hook) argument
473 MallocHook_SetMmapHook(MallocHook_MmapHook hook) argument
479 MallocHook_SetMunmapHook(MallocHook_MunmapHook hook) argument
485 MallocHook_SetMremapHook(MallocHook_MremapHook hook) argument
491 MallocHook_SetPreSbrkHook(MallocHook_PreSbrkHook hook) argument
497 MallocHook_SetSbrkHook(MallocHook_SbrkHook hook) argument
[all...]
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/elfutils/0.153/libdwfl/
H A Dargp-std.c141 Dwfl *dwfl = state->hook;
147 state->hook = dwfl;
157 state->hook = dwfl;
170 if (state->hook == NULL)
176 state->hook = dwfl;
183 if (state->hook == NULL)
199 state->hook = dwfl;
207 Dwfl *dwfl = state->hook;
209 state->hook = dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
248 if (state->hook
[all...]
/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/f2fs-tools/fsck/
H A DMakefile.am9 install-data-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_ipv4/
H A Dipt_ULOG.h39 unsigned int hook; member in struct:ulog_packet_msg
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dg_object_destructor_filo.cc29 const Hook hook(object, callback, context);
33 handler_map_[object].push_front(hook);
35 iter->second.push_front(hook);
43 LOG(DFATAL) << "Unable to disconnect destructor hook for object " << object
44 << ": hook not found (" << callback << ", " << context << ").";
58 << "deleted hook is "<< context << ", the last queued hook is "
/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/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_ulog.h30 unsigned int hook; member in struct:ebt_ulog_packet_msg
/external/libpcap/pcap/
H A Dnflog.h56 u_int8_t hook; /* netfilter hook */ member in struct:nflog_packet_hdr
/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/chromium_org/third_party/mach_override/libudis86/
H A Dinput.c70 * ud_inp_set_hook() - Sets input hook.
74 ud_set_input_hook(register struct ud* u, int (*hook)(struct ud*))
76 u->inp_hook = hook;
152 /* if !end-of-input, call the input hook and get a byte */
/external/elfutils/0.153/
H A DMakefile.am45 distcheck-hook:
/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,

Completed in 2211 milliseconds

12345