Home
last modified time | relevance | path

Searched refs:jitcall (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_bpfjit.c47 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()
194 ATF_CHECK(jitcall(code, pkt, 1, 1) == UINT32_MAX); in ATF_TC_BODY()
224 ATF_CHECK(jitcall(code, pkt, 1, 1) == UINT32_C(0xfffffffd)); 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()
343 ATF_CHECK(jitcall(code, pkt, 1, 1) == UINT32_C(0x3fffffff)); in ATF_TC_BODY()
[all …]
/freebsd/contrib/netbsd-tests/net/bpfjit/
H A Dt_bpfjit.c60 unsigned int jitcall(bpfjit_func_t fn, in jitcall() function
860 ATF_CHECK(jitcall(code, pkt, 1, 1) != UINT32_C(0x71cbbbc3)); in ATF_TC_BODY()
861 ATF_CHECK(jitcall(code, pkt, 1, 1) == UINT32_C(0x0000a994)); in ATF_TC_BODY()
1612 ATF_CHECK(jitcall(code, pkt, 1, 1) != UINT32_C(0x71cbbbc3)); in ATF_TC_BODY()
1613 ATF_CHECK(jitcall(code, pkt, 1, 1) == UINT32_C(0x0000a994)); in ATF_TC_BODY()
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()
[all …]