Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc183 struct sock_filter *arg_comp; in TEST() local
189 size_t len = bpf_arg_comp(&arg_comp, op, argidx, c, label_id); in TEST()
194 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
195 EXPECT_EQ_BLOCK(&arg_comp[1], BPF_JMP + BPF_JEQ + BPF_K, c, 1, 0); in TEST()
196 EXPECT_JUMP_LBL(&arg_comp[2]); in TEST()
198 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
199 EXPECT_EQ_STMT(&arg_comp[1], BPF_ST, 0); in TEST()
200 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
201 EXPECT_EQ_STMT(&arg_comp[3], BPF_ST, 1); in TEST()
203 EXPECT_EQ_BLOCK(&arg_comp[4], BPF_JMP + BPF_JEQ + BPF_K, 0, 0, 2); in TEST()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_optimize.c695 GLuint src_comp, arg_comp; in _mesa_merge_mov_into_inst() local
700 arg_comp = GET_SWZ(arg_swz, src_comp); in _mesa_merge_mov_into_inst()
701 ASSERT(arg_comp < 4); in _mesa_merge_mov_into_inst()
702 inst->SrcReg[arg].Swizzle |= arg_comp << (3*dst_comp); in _mesa_merge_mov_into_inst()