Searched refs:arth (Results 1 – 5 of 5) sorted by relevance
/external/libpcap/ |
D | grammar.y | 277 struct arth *a; 290 %type <a> arth narth 449 | arth relop arth { $$.b = gen_relation(cstate, $2, $1, $3, 0); 451 | arth irelop arth { $$.b = gen_relation(cstate, $2, $1, $3, 1); 669 arth: pnum { $$ = gen_loadi(cstate, $1); } 672 narth: pname '[' arth ']' { $$ = gen_load(cstate, $1, $3, 1); } 673 | pname '[' arth ':' NUM ']' { $$ = gen_load(cstate, $1, $3, $5); } 674 | arth '+' arth { $$ = gen_arth(cstate, BPF_ADD, $1, $3); } 675 | arth '-' arth { $$ = gen_arth(cstate, BPF_SUB, $1, $3); } 676 | arth '*' arth { $$ = gen_arth(cstate, BPF_MUL, $1, $3); } [all …]
|
D | gencode.h | 271 struct arth { struct 288 struct arth *gen_loadi(compiler_state_t *, int); argument 289 struct arth *gen_load(compiler_state_t *, int, struct arth *, int); 290 struct arth *gen_loadlen(compiler_state_t *); 291 struct arth *gen_neg(compiler_state_t *, struct arth *); 292 struct arth *gen_arth(compiler_state_t *, int, struct arth *, struct arth *); 310 struct block *gen_relation(compiler_state_t *, int, struct arth *, 311 struct arth *, int);
|
D | grammar.h | 302 struct arth *a;
|
D | gencode.c | 546 static struct slist *xfer_to_x(compiler_state_t *, struct arth *); 547 static struct slist *xfer_to_a(compiler_state_t *, struct arth *); 6768 xfer_to_x(compiler_state_t *cstate, struct arth *a) in xfer_to_x() 6778 xfer_to_a(compiler_state_t *cstate, struct arth *a) in xfer_to_a() 6794 struct arth * 6795 gen_load(compiler_state_t *cstate, int proto, struct arth *inst, int size) in gen_load() 7018 gen_relation(compiler_state_t *cstate, int code, struct arth *a0, in gen_relation() 7019 struct arth *a1, int reversed) in gen_relation() 7061 struct arth * 7065 struct arth *a = (struct arth *)newchunk(cstate, sizeof(*a)); in gen_loadlen() [all …]
|
D | grammar.c | 605 struct arth *a;
|