Home
last modified time | relevance | path

Searched refs:hooks (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/contrib/kyua/drivers/
H A Dlist_tests_test.cpp158 drivers::list_tests::base_hooks& hooks, in run_helpers() argument
186 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
188 run_helpers(fs::path("root"), none, hooks); in ATF_TEST_CASE_BODY()
200 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
202 run_helpers(fs::path("root"), none, hooks); in ATF_TEST_CASE_BODY()
215 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
230 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
233 hooks); in ATF_TEST_CASE_BODY()
246 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
249 hooks, NULL, NULL, "magic value"); in ATF_TEST_CASE_BODY()
[all …]
H A Dscan_results_test.cpp188 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
192 ATF_REQUIRE(hooks._begin_called); in ATF_TEST_CASE_BODY()
193 ATF_REQUIRE(hooks._end_result); in ATF_TEST_CASE_BODY()
206 ATF_REQUIRE_EQ(results, hooks._results); in ATF_TEST_CASE_BODY()
221 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
223 fs::path("test.db"), filters, hooks); in ATF_TEST_CASE_BODY()
224 ATF_REQUIRE(hooks._begin_called); in ATF_TEST_CASE_BODY()
225 ATF_REQUIRE(hooks._end_result); in ATF_TEST_CASE_BODY()
237 ATF_REQUIRE_EQ(results, hooks._results); in ATF_TEST_CASE_BODY()
244 capture_hooks hooks; in ATF_TEST_CASE_BODY() local
[all …]
H A Dscan_results.cpp72 base_hooks& hooks) in drive() argument
79 hooks.begin(); in drive()
82 hooks.got_context(context); in drive()
98 hooks.got_result(iter); in drive()
105 hooks.end(r); in drive()
H A Drun_tests.cpp170 drivers::run_tests::base_hooks& hooks) in start_test() argument
175 hooks.got_test_case(*test_program, test_case_name); in start_test()
200 drivers::run_tests::base_hooks& hooks) in finish_test() argument
209 hooks.got_result( in finish_test()
259 base_hooks& hooks) in drive() argument
304 handle, match.get(), tx, ids_cache, user_config, hooks); in drive()
325 finish_test(result_handle, test_case_id, tx, hooks); in drive()
334 handle, *iter, tx, ids_cache, user_config, hooks); in drive()
336 finish_test(result_handle, data.second, tx, hooks); in drive()
H A Dlist_tests.cpp66 base_hooks& hooks) in drive() argument
78 hooks.got_test_case(*result.get().first, result.get().second); in drive()
H A Dreport_junit_test.cpp262 drivers::report_junit_hooks hooks(output); in ATF_TEST_CASE_BODY() local
265 hooks); in ATF_TEST_CASE_BODY()
305 drivers::report_junit_hooks hooks(output); in ATF_TEST_CASE_BODY() local
308 hooks); in ATF_TEST_CASE_BODY()
/freebsd/contrib/jemalloc/src/
H A Dhook.c11 hooks_t hooks; member
15 seq_define(hooks_internal_t, hooks)
18 static seq_hooks_t hooks[HOOK_MAX]; variable
35 hooks_internal.hooks = *to_install; in hook_install_locked()
37 seq_store_hooks(&hooks[i], &hooks_internal); in hook_install_locked()
41 return &hooks[i]; in hook_install_locked()
75 char *hooks_begin = (char *)&hooks[0]; in hook_remove()
76 char *hooks_end = (char *)&hooks[HOOK_MAX]; in hook_remove()
160 hook_alloc h = hook.hooks.alloc_hook; in hook_invoke_alloc()
174 hook_dalloc h = hook.hooks.dalloc_hook; in hook_invoke_dalloc()
[all …]
/freebsd/lib/libc/iconv/
H A Dcitrus_none.c87 void *ps __unused, size_t *nresult, struct iconv_hooks *hooks) in _citrus_NONE_stdenc_mbtocs() argument
99 if ((hooks != NULL) && (hooks->uc_hook != NULL)) in _citrus_NONE_stdenc_mbtocs()
100 hooks->uc_hook((unsigned int)*idx, hooks->data); in _citrus_NONE_stdenc_mbtocs()
108 size_t *nresult, struct iconv_hooks *hooks __unused) in _citrus_NONE_stdenc_cstomb()
164 struct iconv_hooks *hooks) in _citrus_NONE_stdenc_mbtowc() argument
181 if ((hooks != NULL) && (hooks->wc_hook != NULL)) in _citrus_NONE_stdenc_mbtowc()
182 hooks->wc_hook(*pwc, hooks->data); in _citrus_NONE_stdenc_mbtowc()
191 struct iconv_hooks *hooks __unused) in _citrus_NONE_stdenc_wctomb()
H A Dcitrus_stdenc_template.h123 size_t * __restrict nresult, struct iconv_hooks *hooks) in _FUNCNAME()
134 if ((ret == 0) && (hooks != NULL) && (hooks->uc_hook != NULL)) in _FUNCNAME()
135 hooks->uc_hook((unsigned int)*idx, hooks->data); in _FUNCNAME()
143 struct iconv_hooks *hooks __unused) in _FUNCNAME()
163 struct iconv_hooks *hooks) in _FUNCNAME()
169 if ((ret == 0) && (hooks != NULL) && (hooks->wc_hook != NULL)) in _FUNCNAME()
170 hooks->wc_hook(*wc, hooks->data); in _FUNCNAME()
177 size_t * __restrict nresult, struct iconv_hooks *hooks __unused) in _FUNCNAME()
H A Dcitrus_stdenc.h74 size_t * __restrict nresult, struct iconv_hooks *hooks) in _citrus_stdenc_mbtocs() argument
78 hooks)); in _citrus_stdenc_mbtocs()
85 struct iconv_hooks *hooks) in _citrus_stdenc_cstomb() argument
89 hooks)); in _citrus_stdenc_cstomb()
95 size_t * __restrict nresult, struct iconv_hooks *hooks) in _citrus_stdenc_wctomb() argument
98 return ((*ce->ce_ops->eo_wctomb)(ce, s, n, wc, ps, nresult, hooks)); in _citrus_stdenc_wctomb()
H A Dbsd_iconv.c252 struct iconv_hooks *hooks; in __bsd_iconvctl() local
259 hooks = (struct iconv_hooks *)argument; in __bsd_iconvctl()
287 cv->cv_shared->ci_hooks = hooks; in __bsd_iconvctl()
/freebsd/contrib/kyua/cli/
H A Dcmd_test.cpp157 print_hooks hooks(ui, parallel); in run() local
160 parse_filters(cmdline.arguments()), user_config, hooks); in run()
163 if (hooks.good_count > 0 || hooks.bad_count > 0) { in run()
171 ui->out(F("%s/%s passed (%s failed)") % hooks.good_count % in run()
172 (hooks.good_count + hooks.bad_count) % hooks.bad_count); in run()
174 exit_code = (hooks.bad_count == 0 ? EXIT_SUCCESS : EXIT_FAILURE); in run()
H A Dcmd_report_junit.cpp83 drivers::report_junit_hooks hooks(*output.get()); in run() local
86 hooks); in run()
H A Dcmd_list.cpp154 progress_hooks hooks(ui, cmdline.has_option("verbose")); in run() local
157 parse_filters(cmdline.arguments()), user_config, hooks); in run()
/freebsd/sys/contrib/openzfs/contrib/initramfs/
H A DMakefile.am6 i_t_confhooks_ddir = $(i_tdir)/conf-hooks.d
8 %D%/conf-hooks.d/zfs
16 i_t_hooksdir = $(i_tdir)/hooks
18 %D%/hooks/zfs \
19 %D%/hooks/zfsunlock
/freebsd/tests/sys/netgraph/
H A Dng_macfilter_test.sh271 hooks=$(gethooks)
272 test_eq $created_hooks:xxx1:xxx2:xxx3 $hooks 'hooks after adding xxx1-3'
275 hooks=$(gethooks)
276 test_eq $created_hooks:xxx2:xxx3 $hooks 'hooks after removing xxx1'
278 hooks=$(gethooks)
279 test_eq $created_hooks:xxx3 $hooks 'hooks after removing xxx2'
281 hooks=$(gethooks)
282 test_eq $created_hooks $hooks 'hooks after removing xxx3'
293 hooks=$(gethooks)
299 hooks=$(gethooks)
[all …]
/freebsd/tools/test/iconv/gnu/
H A Dgnu.c241 struct iconv_hooks hooks; in ctl_uc_hook() local
250 hooks.uc_hook = unicode_hook; in ctl_uc_hook()
251 hooks.wc_hook = NULL; in ctl_uc_hook()
259 if (iconvctl(cd, ICONV_SET_HOOKS, (void *)&hooks) != 0) in ctl_uc_hook()
271 struct iconv_hooks hooks; in ctl_wc_hook() local
280 hooks.wc_hook = wchar_hook; in ctl_wc_hook()
281 hooks.uc_hook = NULL; in ctl_wc_hook()
290 if (iconvctl(cd, ICONV_SET_HOOKS, (void *)&hooks) != 0) in ctl_wc_hook()
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1513 struct hooklist *hooks; in find_hook_next() local
1564 if (hooks->nodeinfo.hooks > 0) { in find_hook_next()
1565 qsort(hooks->link, hooks->nodeinfo.hooks, in find_hook_next()
1567 for (i = 0; i < hooks->nodeinfo.hooks; i++) { in find_hook_next()
1575 if (i < hooks->nodeinfo.hooks) { in find_hook_next()
1576 *nodeinfo = hooks->nodeinfo; in find_hook_next()
1577 *linkinfo = hooks->link[i]; in find_hook_next()
1596 if (hooks->nodeinfo.hooks > 0) { in find_hook_next()
1597 qsort(hooks->link, hooks->nodeinfo.hooks, in find_hook_next()
1600 *nodeinfo = hooks->nodeinfo; in find_hook_next()
[all …]
/freebsd/usr.sbin/ngctl/
H A Ddot.c137 if (nlist->nodeinfo[i].hooks == 0) in DotCmd()
167 if (ninfo->hooks == 0) { in DotCmd()
174 for (j = 0; j < ninfo->hooks; j++) in DotCmd()
181 for (j = 0; j < ninfo->hooks; j++) in DotCmd()
189 for (j = 0; j < ninfo->hooks; j++) { in DotCmd()
H A Dshow.c111 ninfo->name, ninfo->type, ninfo->id, ninfo->hooks); in ShowCmd()
112 if (!no_hooks && ninfo->hooks > 0) { in ShowCmd()
119 for (k = 0; k < ninfo->hooks; k++) { in ShowCmd()
/freebsd/sys/netgraph/
H A Dng_ppp.c554 hookPtr = &priv->hooks[i]; in ng_ppp_newhook()
765 priv->hooks[index] = NULL; in ng_ppp_disconnect()
896 if (priv->hooks[HOOK_INDEX_BYPASS] == NULL) { in ng_ppp_bypass()
941 outHook = priv->hooks[HOOK_INDEX_INET]; in ng_ppp_proto_recv()
945 outHook = priv->hooks[HOOK_INDEX_IPV6]; in ng_ppp_proto_recv()
949 outHook = priv->hooks[HOOK_INDEX_ATALK]; in ng_ppp_proto_recv()
953 outHook = priv->hooks[HOOK_INDEX_IPX]; in ng_ppp_proto_recv()
1045 outHook = priv->hooks[HOOK_INDEX_VJC_COMP]; in ng_ppp_hcomp_recv()
1172 priv->hooks[HOOK_INDEX_DECOMPRESS]); in ng_ppp_comp_recv()
1271 priv->hooks[HOOK_INDEX_DECRYPT]); in ng_ppp_crypt_recv()
[all …]
/freebsd/sbin/dhclient/
H A Ddhclient-script268 if [ -f /etc/dhclient-exit-hooks ]; then
269 . /etc/dhclient-exit-hooks
305 if [ -f /etc/dhclient-enter-hooks ]; then
307 . /etc/dhclient-enter-hooks
/freebsd/sys/sys/
H A Dmodule_khelp.h66 struct hookinfo *hooks; member
77 .hooks = hhooks, \
/freebsd/lib/libiconv_modules/iconv_std/
H A Dcitrus_iconv_std.c109 struct iconv_hooks *hooks) in mbtocsx() argument
113 nresult, hooks)); in mbtocsx()
119 struct iconv_hooks *hooks) in cstombx() argument
123 nresult, hooks)); in cstombx()
129 struct iconv_hooks *hooks) in wctombx() argument
133 hooks)); in wctombx()
/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DTest.pm97 my %hooks = (
491 $r = $hooks{exit_checker}->($e);
760 $saved_hooks{$_} = $hooks{$_} if exists($hooks{$_});
761 $hooks{$_} = $opts{$_};
767 $hooks{$_} = $saved_hooks{$_};

12345