Home
last modified time | relevance | path

Searched refs:gen_arth (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/
Dgrammar.y659 | arth '+' arth { $$ = gen_arth(BPF_ADD, $1, $3); }
660 | arth '-' arth { $$ = gen_arth(BPF_SUB, $1, $3); }
661 | arth '*' arth { $$ = gen_arth(BPF_MUL, $1, $3); }
662 | arth '/' arth { $$ = gen_arth(BPF_DIV, $1, $3); }
663 | arth '%' arth { $$ = gen_arth(BPF_MOD, $1, $3); }
664 | arth '&' arth { $$ = gen_arth(BPF_AND, $1, $3); }
665 | arth '|' arth { $$ = gen_arth(BPF_OR, $1, $3); }
666 | arth '^' arth { $$ = gen_arth(BPF_XOR, $1, $3); }
667 | arth LSH arth { $$ = gen_arth(BPF_LSH, $1, $3); }
668 | arth RSH arth { $$ = gen_arth(BPF_RSH, $1, $3); }
Dgrammar.c3073 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3079 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3085 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3091 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3097 { (yyval.a) = gen_arth(BPF_MOD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3103 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3109 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3115 { (yyval.a) = gen_arth(BPF_XOR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3121 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3127 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
Dgencode.h288 struct arth *gen_arth(int, struct arth *, struct arth *);
Dgencode.c7024 gen_arth(code, a0, a1) in gen_arth() function