Home
last modified time | relevance | path

Searched refs:BPF_ARG_COMP_LEN (Results 1 – 3 of 3) sorted by relevance

/external/minijail/
Dsyscall_filter_unittest.c34 EXPECT_EQ((_block)->len, BPF_ARG_COMP_LEN + 1); \
187 EXPECT_EQ(len, BPF_ARG_COMP_LEN + 1); in TEST_F()
258 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
300 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
342 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
354 EXPECT_EQ(curr_block->instrs[BPF_ARG_COMP_LEN - 1].k, in TEST_F()
386 size_t exp_total_len = 1 + 3 * (BPF_ARG_COMP_LEN + 1) + 2 + 2 + 1 + 2; in TEST_F()
444 size_t exp_total_len = 1 + 2 * (BPF_ARG_COMP_LEN + 1) + 2 + 2 + 1 + 2; in TEST_F()
589 size_t exp_total_len = 27 + 3 * (BPF_ARG_COMP_LEN + 1); in TEST_F()
598 __NR_write, 12 + BPF_ARG_COMP_LEN, 0, 0); in TEST_F()
Dbpf.h68 #define BPF_ARG_COMP_LEN (BPF_LOAD_ARG_LEN + BPF_COMP_LEN) macro
82 #define BPF_ARG_COMP_LEN (BPF_LOAD_ARG_LEN + BPF_COMP_LEN) macro
Dbpf.c126 struct sock_filter *filter = calloc(BPF_ARG_COMP_LEN + 1, in bpf_arg_comp()