Searched refs:gen_arth (Results 1 – 4 of 4) sorted by relevance
/external/libpcap/ |
D | grammar.y | 617 | arth '+' arth { $$ = gen_arth(BPF_ADD, $1, $3); } 618 | arth '-' arth { $$ = gen_arth(BPF_SUB, $1, $3); } 619 | arth '*' arth { $$ = gen_arth(BPF_MUL, $1, $3); } 620 | arth '/' arth { $$ = gen_arth(BPF_DIV, $1, $3); } 621 | arth '&' arth { $$ = gen_arth(BPF_AND, $1, $3); } 622 | arth '|' arth { $$ = gen_arth(BPF_OR, $1, $3); } 623 | arth LSH arth { $$ = gen_arth(BPF_LSH, $1, $3); } 624 | arth RSH arth { $$ = gen_arth(BPF_RSH, $1, $3); }
|
D | grammar.c | 3343 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3350 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3357 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3364 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3371 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3378 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3385 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); } 3392 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
|
D | gencode.h | 290 struct arth *gen_arth(int, struct arth *, struct arth *);
|
D | gencode.c | 6985 gen_arth(code, a0, a1) in gen_arth() function
|