Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest_macros.h7 #define EXPECT_EQ_BLOCK(_block, _code, _k, _jt, _jf) \ macro
16 EXPECT_EQ_BLOCK(_block, _code, _k, 0, 0)
90 EXPECT_EQ_BLOCK(&(_filter)[1], \
97 EXPECT_EQ_BLOCK(&(_filter)[0], \
105 EXPECT_EQ_BLOCK(&(_filter)[0], \
107 EXPECT_EQ_BLOCK(&(_filter)[1], \
Dsyscall_filter_unittest.cc205 EXPECT_EQ_BLOCK(&instr, code, k, jt, jf); in TEST()
236 EXPECT_EQ_BLOCK(&comp_jeq[0], BPF_JMP + BPF_JEQ + BPF_K, c, jt, jf); in TEST()
238 EXPECT_EQ_BLOCK(&comp_jeq[0], BPF_JMP + BPF_JEQ + BPF_K, 0, 0, jf + 2); in TEST()
240 EXPECT_EQ_BLOCK(&comp_jeq[2], BPF_JMP + BPF_JEQ + BPF_K, c, jt, jf); in TEST()
255 EXPECT_EQ_BLOCK(&comp_jset[0], BPF_JMP + BPF_JSET + BPF_K, mask, jt, jf); in TEST()
257 EXPECT_EQ_BLOCK( in TEST()
260 EXPECT_EQ_BLOCK(&comp_jset[2], BPF_JMP + BPF_JSET + BPF_K, O_WRONLY, jt, jf); in TEST()
275 EXPECT_EQ_BLOCK(&comp_jin[0], BPF_JMP + BPF_JSET + BPF_K, ~mask, jf, jt); in TEST()
277 EXPECT_EQ_BLOCK( in TEST()
280 EXPECT_EQ_BLOCK(&comp_jin[2], BPF_JMP + BPF_JSET + BPF_K, ~O_WRONLY, jf, jt); in TEST()
[all …]