Searched refs:gen_arth (Results 1 – 4 of 4) sorted by relevance
/external/libpcap/ |
D | grammar.y | 421 | arth '+' arth { $$ = gen_arth(BPF_ADD, $1, $3); } 422 | arth '-' arth { $$ = gen_arth(BPF_SUB, $1, $3); } 423 | arth '*' arth { $$ = gen_arth(BPF_MUL, $1, $3); } 424 | arth '/' arth { $$ = gen_arth(BPF_DIV, $1, $3); } 425 | arth '&' arth { $$ = gen_arth(BPF_AND, $1, $3); } 426 | arth '|' arth { $$ = gen_arth(BPF_OR, $1, $3); } 427 | arth LSH arth { $$ = gen_arth(BPF_LSH, $1, $3); } 428 | arth RSH arth { $$ = gen_arth(BPF_RSH, $1, $3); }
|
D | grammar.c | 2458 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); } 2463 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); } 2468 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); } 2473 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); } 2478 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); } 2483 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); } 2488 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); } 2493 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); }
|
D | gencode.h | 271 struct arth *gen_arth(int, struct arth *, struct arth *);
|
D | gencode.c | 5911 gen_arth(code, a0, a1) in gen_arth() function
|