Searched refs:jitcall (Results 1 – 2 of 2) sorted by relevance
/netbsd/tests/lib/libbpfjit/ |
H A D | t_bpfjit.c | 47 unsigned int jitcall(bpfjit_func_t fn, in jitcall() function 97 ATF_CHECK(jitcall(code, pkt, 1, 1) == 17); in ATF_TC_BODY() 134 ATF_CHECK(jitcall(code, pkt, 1, 1) == 13); in ATF_TC_BODY() 164 ATF_CHECK(jitcall(code, pkt, 1, 1) == 5); in ATF_TC_BODY() 253 ATF_CHECK(jitcall(code, pkt, 1, 1) == 0); in ATF_TC_BODY() 283 ATF_CHECK(jitcall(code, pkt, 1, 1) == 7); in ATF_TC_BODY() 313 ATF_CHECK(jitcall(code, pkt, 1, 1) == 3); in ATF_TC_BODY() 463 ATF_CHECK(jitcall(code, pkt, 1, 1) == 1); in ATF_TC_BODY() 492 ATF_CHECK(jitcall(code, pkt, 1, 1) == 0); in ATF_TC_BODY() 522 ATF_CHECK(jitcall(code, pkt, 1, 1) == 0); in ATF_TC_BODY() [all …]
|
/netbsd/tests/net/bpfjit/ |
H A D | t_bpfjit.c | 60 unsigned int jitcall(bpfjit_func_t fn, in jitcall() function 1776 ATF_CHECK(jitcall(code, pkt, 1, 1) == 1); in ATF_TC_BODY() 1777 ATF_CHECK(jitcall(code, pkt, 2, 2) == 1); in ATF_TC_BODY() 1778 ATF_CHECK(jitcall(code, pkt, 3, 3) == 7); in ATF_TC_BODY() 1779 ATF_CHECK(jitcall(code, pkt, 4, 4) == 7); in ATF_TC_BODY() 1780 ATF_CHECK(jitcall(code, pkt, 5, 5) == 7); in ATF_TC_BODY() 1781 ATF_CHECK(jitcall(code, pkt, 6, 6) == 8); in ATF_TC_BODY() 1782 ATF_CHECK(jitcall(code, pkt, 7, 7) == 5); in ATF_TC_BODY() 1783 ATF_CHECK(jitcall(code, pkt, 8, 8) == 0); in ATF_TC_BODY() 1833 ATF_CHECK(jitcall(code, pkt, 1, 1) == 1); in ATF_TC_BODY() [all …]
|