Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest_macros.h15 #define EXPECT_EQ_STMT(_block, _code, _k) \ macro
68 EXPECT_EQ_STMT((_block)->instrs, \
75 EXPECT_EQ_STMT((_block)->instrs, \
83 EXPECT_EQ_STMT(&(_block)->instrs[1], \
89 EXPECT_EQ_STMT(&(_filter)[0], BPF_LD+BPF_W+BPF_ABS, arch_nr); \
92 EXPECT_EQ_STMT(&(_filter)[2], BPF_RET+BPF_K, SECCOMP_RET_KILL); \
99 EXPECT_EQ_STMT(&(_filter)[1], \
Dsyscall_filter_unittest.cc216 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
218 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
219 EXPECT_EQ_STMT(&load_arg[1], BPF_ST, 0); in TEST()
220 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
221 EXPECT_EQ_STMT(&load_arg[3], BPF_ST, 1); in TEST()
239 EXPECT_EQ_STMT(&comp_jeq[1], BPF_LD + BPF_MEM, 0); in TEST()
259 EXPECT_EQ_STMT(&comp_jset[1], BPF_LD + BPF_MEM, 0); in TEST()
279 EXPECT_EQ_STMT(&comp_jin[1], BPF_LD + BPF_MEM, 0); in TEST()
296 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
300 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
[all …]