Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp117 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument
118 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook()
133 static void ThreadStartHook(void *hook, thrd_t self) { in ThreadStartHook() argument
134 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook()
152 static void ThreadExitHook(void *hook, thrd_t self) { in ThreadExitHook() argument
153 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook()
223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument
224 __hwasan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
227 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
228 __hwasan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp196 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument
197 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook()
212 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument
213 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook()
224 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
262 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument
263 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
266 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
267 __asan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook()
270 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument
[all …]
H A Dasan_globals_win.cpp26 static void call_on_globals(void (*hook)(__asan_global *, uptr)) { in call_on_globals()
40 hook(start, n); in call_on_globals()
/openbsd-src/gnu/usr.bin/perl/amigaos4/
H A Damigaos.c420 uint32 size_env(struct Hook *hook, __attribute__((unused))APTR userdata, struct ScanVarsMsg *messag… in size_env() argument
424 hook->h_Data = (APTR)(((uint32)hook->h_Data) + 1); in size_env()
429 uint32 copy_env(struct Hook *hook, __attribute__((unused))APTR userdata, struct ScanVarsMsg *messag… in copy_env() argument
433 char **env = (char **)hook->h_Data; in copy_env()
444 hook->h_Data = env; in copy_env()
451 struct Hook *hook = (struct Hook *)IExec->AllocSysObjectTags(ASOT_HOOK,TAG_DONE); in ___makeenviron() local
453 if(hook) in ___makeenviron()
473 hook->h_Entry = size_env; in ___makeenviron()
474 hook->h_Data = 0; in ___makeenviron()
476 myIDOS->ScanVars(hook, flags, 0); in ___makeenviron()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/autodie/lib/autodie/Scope/
H A DGuardStack.pm25 my ($self, $hook) = @_;
35 # use autodie; # hook 1
36 # no autodie; # hook 2
37 # use autodie; # hook 3
40 # Here we want call hook 3, then hook 2 and finally hook 1.
43 # Suppose hook 2 is destroyed first, it will pop hook 3 and
44 # then hook
[all...]
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_quirks.c72 void (*hook)(struct drm_i915_private *i915); member
77 void (*hook)(struct drm_i915_private *i915); member
115 .hook = quirk_invert_brightness,
137 .hook = quirk_no_pps_backlight_power_hook,
219 q->hook(i915); in intel_init_quirks()
223 intel_dmi_quirks[i].hook(i915); in intel_init_quirks()
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_fuchsia.cpp108 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument
109 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_create_hook()
119 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
120 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook)); in __sanitizer_thread_start_hook()
127 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { ThreadFinish(); } in __sanitizer_thread_exit_hook() argument
/openbsd-src/sbin/scsi/
H A Dscsi.c76 int iget(void *hook, char *name);
77 char *cget(void *hook, char *name);
78 void arg_put(void *hook, int letter, void *arg, int count, char *name);
158 iget(void *hook, char *name) in iget() argument
160 struct get_hook *h = (struct get_hook *)hook; in iget()
180 cget(void *hook, char *name) in cget() argument
182 struct get_hook *h = (struct get_hook *)hook; in cget()
201 void arg_put(void *hook, int letter, void *arg, int count, char *name) in arg_put() argument
572 edit_check(void *hook, int letter, void *arg, int count, char *name) in edit_check() argument
586 edit_defaults(void *hook, int letter, void *arg, int count, char *name) in edit_defaults() argument
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/
H A DAPI.t77 print "# Running END hook\n";
273 …$sub } Test2::API::test2_list_context_acquire_callbacks()), 1, "got the one instance of the hook");
274 …$sub } Test2::API::test2_list_context_init_callbacks()), 1, "got the one instance of the hook");
275 …$sub } Test2::API::test2_list_context_release_callbacks()), 1, "got the one instance of the hook");
276 …$sub } Test2::API::test2_list_exit_callbacks()), 1, "got the one instance of the hook");
277 …$sub } Test2::API::test2_list_post_load_callbacks()), 1, "got the one instance of the hook");
285 …sub } Test2::API::test2_list_context_acquire_callbacks()), 2, "got the two instances of the hook");
286 …sub } Test2::API::test2_list_context_init_callbacks()), 2, "got the two instances of the hook");
287 …sub } Test2::API::test2_list_context_release_callbacks()), 2, "got the two instances of the hook");
288 …sub } Test2::API::test2_list_exit_callbacks()), 2, "got the two instances of the hook");
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp322 auto hook = MFHooks[i].malloc_hook; in RunMallocHooks() local
323 if (!hook) in RunMallocHooks()
325 hook(ptr, size); in RunMallocHooks()
332 auto hook = MFHooks[i].free_hook; in RunFreeHooks() local
333 if (!hook) in RunFreeHooks()
335 hook(ptr); in RunFreeHooks()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/t/
H A Dbad_version_hook.t43 like( $hook_text, qr/Foo::Baz/, 'hook stored module name' );
48 "hook fixes invalid version",
57 "dies if hook doesn't return version object";
/openbsd-src/gnu/usr.bin/gcc/gcc/f/
H A Dlab.h74 ffecomLabel hook; member
127 #define ffelab_hook(l) ((l)->hook)
142 #define ffelab_set_hook(l,h) ((l)->hook = (h))
H A Dstorag.h87 ffecomStorage hook; /* Whatever the backend needs here. */ member
123 #define ffestorag_hook(s) ((s)->hook)
143 #define ffestorag_set_hook(s,h) ((s)->hook = (h))
H A Dglobal.h93 ffecomGlobal hook; member
163 #define ffeglobal_hook(g) ((g)->hook)
184 #define ffeglobal_set_hook(g,h) ((g)->hook = (h))
H A Dbld.c719 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_character1_val()
777 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_complex1_val()
835 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_complex2_val()
885 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_hollerith_val()
942 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_integer1_val()
980 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_integer2_val()
1018 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_integer3_val()
1056 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_integer4_val()
1169 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_logical1_val()
1207 nc->hook = FFECOM_constantNULL; in ffebld_constant_new_logical2_val()
[all …]
/openbsd-src/usr.sbin/unbound/doc/
H A DREADME.svn10 * Every check-in a postcommit hook is run
11 (the postcommit hook is in the svn/unbound/hooks directory).
/openbsd-src/gnu/usr.bin/perl/cpan/autodie/lib/autodie/
H A DUtil.pm25 my ($hook) = @_;
41 $stack->push_hook($hook);
/openbsd-src/usr.sbin/smtpd/
H A Dlka_filter.c398 lka_filter_register_hook(const char *name, const char *hook) in lka_filter_register_hook()
405 if (strncasecmp(hook, "smtp-in|", 8) == 0) { in lka_filter_register_hook()
406 hook += 8; in lka_filter_register_hook()
409 fatalx("Invalid message direction: %s", hook); in lka_filter_register_hook()
412 if (strcmp(hook, filter_execs[i].phase_name) == 0) in lka_filter_register_hook()
415 fatalx("Unrecognized report name: %s", hook); in lka_filter_register_hook()
1307 lka_report_register_hook(const char *name, const char *hook) in lka_report_register_hook()
1315 if (strncmp(hook, "smtp-in|", 8) == 0) { in lka_report_register_hook()
1317 hook += 8; in lka_report_register_hook()
1319 else if (strncmp(hook, "smt in lka_report_register_hook()
397 lka_filter_register_hook(const char * name,const char * hook) lka_filter_register_hook() argument
1294 lka_report_register_hook(const char * name,const char * hook) lka_report_register_hook() argument
[all...]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dscm-valprint.c281 SCM hook; in scm_scmval_print()
282 hook = scm_get_lvector_hook (exp, LV_PRINT_FN); in scm_scmval_print()
283 if (hook == BOOL_F) in scm_scmval_print()
292 = scm_apply (hook, in scm_scmval_print()
H A Dcorefile.c100 specify_exec_file_hook (void (*hook) (char *)) in specify_exec_file_hook()
125 exec_file_extra_hooks[exec_file_hook_count - 1] = hook; in specify_exec_file_hook()
128 deprecated_exec_file_display_hook = hook; in specify_exec_file_hook()
H A Dsomsolib.c191 addr_and_unwind_t hook; member
929 dld_cache.hook.address = anaddr; in som_solib_create_inferior_hook()
1289 dld_cache.hook.unwind = find_unwind_entry (dld_cache.hook.address); in som_solib_desire_dynamic_linker_symbols()
1325 if ((u_pc == dld_cache.hook.unwind) || (u_pc == dld_cache.hook_stub.unwind)) in som_solib_in_dynamic_linker()
1537 dld_cache.hook.address = 0; in som_solib_restart()
1538 dld_cache.hook.unwind = NULL; in som_solib_restart()
/openbsd-src/sys/arch/loongson/dev/
H A Dbonito.c838 struct bonito_cfg_hook *hook; in bonito_conf_read() local
841 SLIST_FOREACH(hook, &sc->sc_hook, next) { in bonito_conf_read()
842 if (hook->read != NULL && in bonito_conf_read()
843 (*hook->read)(hook->cookie, &sc->sc_pc, tag, offset, in bonito_conf_read()
900 struct bonito_cfg_hook *hook; in bonito_conf_write() local
904 SLIST_FOREACH(hook, &sc->sc_hook, next) { in bonito_conf_write()
905 if (hook->write != NULL && in bonito_conf_write()
906 (*hook->write)(hook->cookie, &sc->sc_pc, tag, offset, in bonito_conf_write()
/openbsd-src/gnu/gcc/gcc/doc/
H A Dhostconfig.texi14 @file{xm-@var{machine}.h} or by hook functions in the file specified
37 hook functions in the file specified by the @var{host_hook_obj}
41 This host hook is used to set up handling for extra signals. The most
42 common thing to do in this hook is to detect stack overflow.
46 This host hook returns the address of some space that is likely to be
55 This host hook is called when a PCH file is about to be loaded.
61 if the hook has performed everything.
65 be loaded, this hook may be called with @var{size} zero, in which case
75 This host hook returns the alignment required for allocating virtual
/openbsd-src/gnu/usr.bin/perl/dist/Storable/
H A DStorable.xs367 HV *hook; /* cache for hook methods per class name */ member
1646 cxt->hook = newHV(); /* Table where hooks are cached */ in init_store_context()
1725 if (cxt->hook) { in clean_store_context()
1726 HV *hook = cxt->hook; in clean_store_context() local
1727 cxt->hook = 0; in clean_store_context()
1728 hv_undef(hook); in clean_store_context()
1729 sv_free((SV *) hook); in clean_store_context()
1771 cxt->hook = newHV(); /* Caches STORABLE_thaw */ in init_retrieve_context()
1834 if (cxt->hook) { in clean_retrieve_context()
1835 HV *hook = cxt->hook; in clean_retrieve_context() local
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Safe/
H A DSafe.pm347 foreach my $hook (qw(DESTROY AUTOLOAD), grep /^\(/, keys %$root) {
348 push @$saved_refs, \*{$root.$hook};
349 delete ${$root}{$hook};

1234567891011