Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc191 EXPECT_EQ(len, BPF_ARG_COMP_LEN + 1); in TEST()
392 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
433 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
474 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
517 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
530 EXPECT_EQ(curr_block->instrs[BPF_ARG_COMP_LEN - 1].k, in TEST_F()
561 size_t exp_total_len = 1 + 3 * (BPF_ARG_COMP_LEN + 1) + 2 + 2 + 1 + 2; in TEST_F()
618 size_t exp_total_len = 1 + 2 * (BPF_ARG_COMP_LEN + 1) + 2 + 2 + 1 + 2; in TEST_F()
773 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
815 size_t exp_total_len = 1 + (BPF_ARG_COMP_LEN + 1) + 2 + 1 + 2; in TEST_F()
[all …]
Dbpf.h73 #define BPF_ARG_COMP_LEN (BPF_LOAD_ARG_LEN + BPF_COMP_LEN) macro
87 #define BPF_ARG_COMP_LEN (BPF_LOAD_ARG_LEN + BPF_COMP_LEN) macro
Dsyscall_filter_unittest_macros.h36 EXPECT_EQ((_block)->len, BPF_ARG_COMP_LEN + 1); \
Dbpf.c140 calloc(BPF_ARG_COMP_LEN + 1, sizeof(struct sock_filter)); in bpf_arg_comp()