Home
last modified time | relevance | path

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

123456

/freebsd-13.1/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-13.1/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-13.1/lib/libc/iconv/
H A Dcitrus_none.c89 void *ps __unused, size_t *nresult, struct iconv_hooks *hooks) in _citrus_NONE_stdenc_mbtocs() argument
101 if ((hooks != NULL) && (hooks->uc_hook != NULL)) in _citrus_NONE_stdenc_mbtocs()
102 hooks->uc_hook((unsigned int)*idx, hooks->data); in _citrus_NONE_stdenc_mbtocs()
110 size_t *nresult, struct iconv_hooks *hooks __unused) in _citrus_NONE_stdenc_cstomb()
166 struct iconv_hooks *hooks) in _citrus_NONE_stdenc_mbtowc() argument
183 if ((hooks != NULL) && (hooks->wc_hook != NULL)) in _citrus_NONE_stdenc_mbtowc()
184 hooks->wc_hook(*pwc, hooks->data); in _citrus_NONE_stdenc_mbtowc()
193 struct iconv_hooks *hooks __unused) in _citrus_NONE_stdenc_wctomb()
H A Dcitrus_stdenc_template.h118 size_t * __restrict nresult, struct iconv_hooks *hooks) in _FUNCNAME()
129 if ((ret == 0) && (hooks != NULL) && (hooks->uc_hook != NULL)) in _FUNCNAME()
130 hooks->uc_hook((unsigned int)*idx, hooks->data); in _FUNCNAME()
138 struct iconv_hooks *hooks __unused) in _FUNCNAME()
158 struct iconv_hooks *hooks) in _FUNCNAME()
164 if ((ret == 0) && (hooks != NULL) && (hooks->wc_hook != NULL)) in _FUNCNAME()
165 hooks->wc_hook(*wc, hooks->data); in _FUNCNAME()
172 size_t * __restrict nresult, struct iconv_hooks *hooks __unused) in _FUNCNAME()
H A Dcitrus_stdenc.h75 size_t * __restrict nresult, struct iconv_hooks *hooks) in _citrus_stdenc_mbtocs() argument
79 hooks)); in _citrus_stdenc_mbtocs()
86 struct iconv_hooks *hooks) in _citrus_stdenc_cstomb() argument
90 hooks)); in _citrus_stdenc_cstomb()
96 size_t * __restrict nresult, struct iconv_hooks *hooks) in _citrus_stdenc_wctomb() argument
99 return ((*ce->ce_ops->eo_wctomb)(ce, s, n, wc, ps, nresult, hooks)); in _citrus_stdenc_wctomb()
H A Dbsd_iconv.c270 struct iconv_hooks *hooks; in __bsd_iconvctl() local
277 hooks = (struct iconv_hooks *)argument; in __bsd_iconvctl()
305 cv->cv_shared->ci_hooks = hooks; in __bsd_iconvctl()
/freebsd-13.1/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-13.1/tests/sys/netgraph/
H A Dng_macfilter_test.sh272 hooks=$(gethooks)
273 test_eq $created_hooks:xxx1:xxx2:xxx3 $hooks 'hooks after adding xxx1-3'
276 hooks=$(gethooks)
277 test_eq $created_hooks:xxx2:xxx3 $hooks 'hooks after removing xxx1'
279 hooks=$(gethooks)
280 test_eq $created_hooks:xxx3 $hooks 'hooks after removing xxx2'
282 hooks=$(gethooks)
283 test_eq $created_hooks $hooks 'hooks after removing xxx3'
294 hooks=$(gethooks)
300 hooks=$(gethooks)
[all …]
/freebsd-13.1/tools/test/iconv/gnu/
H A Dgnu.c243 struct iconv_hooks hooks; in ctl_uc_hook() local
252 hooks.uc_hook = unicode_hook; in ctl_uc_hook()
253 hooks.wc_hook = NULL; in ctl_uc_hook()
261 if (iconvctl(cd, ICONV_SET_HOOKS, (void *)&hooks) != 0) in ctl_uc_hook()
273 struct iconv_hooks hooks; in ctl_wc_hook() local
282 hooks.wc_hook = wchar_hook; in ctl_wc_hook()
283 hooks.uc_hook = NULL; in ctl_wc_hook()
292 if (iconvctl(cd, ICONV_SET_HOOKS, (void *)&hooks) != 0) in ctl_wc_hook()
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1515 struct hooklist *hooks; in find_hook_next() local
1566 if (hooks->nodeinfo.hooks > 0) { in find_hook_next()
1567 qsort(hooks->link, hooks->nodeinfo.hooks, in find_hook_next()
1569 for (i = 0; i < hooks->nodeinfo.hooks; i++) { in find_hook_next()
1577 if (i < hooks->nodeinfo.hooks) { in find_hook_next()
1578 *nodeinfo = hooks->nodeinfo; in find_hook_next()
1579 *linkinfo = hooks->link[i]; in find_hook_next()
1598 if (hooks->nodeinfo.hooks > 0) { in find_hook_next()
1599 qsort(hooks->link, hooks->nodeinfo.hooks, in find_hook_next()
1602 *nodeinfo = hooks->nodeinfo; in find_hook_next()
[all …]
/freebsd-13.1/sys/contrib/openzfs/contrib/initramfs/
H A DMakefile.am8 SUBDIRS = conf.d conf-hooks.d hooks scripts subdir
9 SHELLCHECKDIRS = hooks scripts
/freebsd-13.1/usr.sbin/ngctl/
H A Ddot.c139 if (nlist->nodeinfo[i].hooks == 0) in DotCmd()
169 if (ninfo->hooks == 0) { in DotCmd()
176 for (j = 0; j < ninfo->hooks; j++) in DotCmd()
183 for (j = 0; j < ninfo->hooks; j++) in DotCmd()
191 for (j = 0; j < ninfo->hooks; j++) { in DotCmd()
H A Dshow.c113 ninfo->name, ninfo->type, ninfo->id, ninfo->hooks); in ShowCmd()
114 if (!no_hooks && ninfo->hooks > 0) { in ShowCmd()
121 for (k = 0; k < ninfo->hooks; k++) { in ShowCmd()
/freebsd-13.1/sys/netgraph/
H A Dng_ppp.c556 hookPtr = &priv->hooks[i]; in ng_ppp_newhook()
767 priv->hooks[index] = NULL; in ng_ppp_disconnect()
898 if (priv->hooks[HOOK_INDEX_BYPASS] == NULL) { in ng_ppp_bypass()
943 outHook = priv->hooks[HOOK_INDEX_INET]; in ng_ppp_proto_recv()
947 outHook = priv->hooks[HOOK_INDEX_IPV6]; in ng_ppp_proto_recv()
951 outHook = priv->hooks[HOOK_INDEX_ATALK]; in ng_ppp_proto_recv()
955 outHook = priv->hooks[HOOK_INDEX_IPX]; in ng_ppp_proto_recv()
1047 outHook = priv->hooks[HOOK_INDEX_VJC_COMP]; in ng_ppp_hcomp_recv()
1174 priv->hooks[HOOK_INDEX_DECOMPRESS]); in ng_ppp_comp_recv()
1273 priv->hooks[HOOK_INDEX_DECRYPT]); in ng_ppp_crypt_recv()
[all …]
H A Dng_gif_demux.c122 hook_p hooks[NUM_FAMILIES]; /* The protocol hooks */ member
193 if (priv->hooks[k] == hook) in get_iffam_from_hook()
205 return (&priv->hooks[iffam - gFamilies]); in get_hook_from_iffam()
/freebsd-13.1/sbin/dhclient/
H A Ddhclient-script265 if [ -f /etc/dhclient-exit-hooks ]; then
266 . /etc/dhclient-exit-hooks
302 if [ -f /etc/dhclient-enter-hooks ]; then
304 . /etc/dhclient-enter-hooks
/freebsd-13.1/sys/sys/
H A Dmodule_khelp.h68 struct hookinfo *hooks; member
79 .hooks = hhooks, \
/freebsd-13.1/lib/libiconv_modules/iconv_std/
H A Dcitrus_iconv_std.c110 struct iconv_hooks *hooks) in mbtocsx() argument
114 nresult, hooks)); in mbtocsx()
120 struct iconv_hooks *hooks) in cstombx() argument
124 nresult, hooks)); in cstombx()
130 struct iconv_hooks *hooks) in wctombx() argument
134 hooks)); in wctombx()

123456