Home
last modified time | relevance | path

Searched refs:compiler_state_t (Results 1 – 8 of 8) sorted by relevance

/external/libpcap/
Dgencode.h289 typedef struct _compiler_state compiler_state_t; typedef
291 struct arth *gen_loadi(compiler_state_t *, int);
292 struct arth *gen_load(compiler_state_t *, int, struct arth *, int);
293 struct arth *gen_loadlen(compiler_state_t *);
294 struct arth *gen_neg(compiler_state_t *, struct arth *);
295 struct arth *gen_arth(compiler_state_t *, int, struct arth *, struct arth *);
301 struct block *gen_scode(compiler_state_t *, const char *, struct qual);
302 struct block *gen_ecode(compiler_state_t *, const u_char *, struct qual);
303 struct block *gen_acode(compiler_state_t *, const u_char *, struct qual);
304 struct block *gen_mcode(compiler_state_t *, const char *, const char *,
[all …]
Dgencode.c421 bpf_syntax_error(compiler_state_t *cstate, const char *msg) in bpf_syntax_error()
429 bpf_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_error()
442 static void init_linktype(compiler_state_t *, pcap_t *);
444 static void init_regs(compiler_state_t *);
445 static int alloc_reg(compiler_state_t *);
446 static void free_reg(compiler_state_t *, int);
448 static void initchunks(compiler_state_t *cstate);
449 static void *newchunk(compiler_state_t *cstate, size_t);
450 static void freechunks(compiler_state_t *cstate);
451 static inline struct block *new_block(compiler_state_t *cstate, int);
[all …]
Dgrammar.y24 %parse-param { compiler_state_t *cstate }
222 yyerror(void *yyscanner _U_, compiler_state_t *cstate, const char *msg) in yyerror()
230 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
244 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
269 pfreason_to_num(compiler_state_t *cstate, const char *reason _U_) in pfreason_to_num()
276 pfaction_to_num(compiler_state_t *cstate, const char *action _U_) in pfaction_to_num()
Doptimize.c324 static void opt_init(compiler_state_t *, opt_state_t *, struct icode *);
331 static void opt_dump(compiler_state_t *, struct icode *);
702 fold_op(compiler_state_t *cstate, opt_state_t *opt_state, in fold_op()
1044 opt_stmt(compiler_state_t *cstate, opt_state_t *opt_state, in opt_stmt()
1278 opt_blk(compiler_state_t *cstate, opt_state_t *opt_state, in opt_blk()
1690 opt_blks(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic, in opt_blks()
1780 opt_loop(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic, in opt_loop()
1811 bpf_optimize(compiler_state_t *cstate, struct icode *ic) in bpf_optimize()
2030 opt_init(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic) in opt_init()
2125 convert_code_r(compiler_state_t *cstate, conv_state_t *conv_state, in convert_code_r()
[all …]
Dgrammar.c268 yyerror(void *yyscanner _U_, compiler_state_t *cstate, const char *msg) in yyerror()
276 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
290 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
315 pfreason_to_num(compiler_state_t *cstate, const char *reason _U_) in pfreason_to_num()
322 pfaction_to_num(compiler_state_t *cstate, const char *action _U_) in pfaction_to_num()
639 int pcap_parse (void *yyscanner, compiler_state_t *cstate);
1471 …E *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *yyscanner, compiler_state_t *cstate) in yy_symbol_value_print()
1492 …E *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *yyscanner, compiler_state_t *cstate) in yy_symbol_print()
1530 yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void *yyscanner, compiler_state_t in yy_reduce_print()
1810 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, void *yyscanner, compiler_state_t *cs… in yydestruct()
[all …]
Dgrammar.h321 int pcap_parse (void *yyscanner, compiler_state_t *cstate);
Dscanner.h257 #define YY_EXTRA_TYPE compiler_state_t *
Dscanner.c2993 #define YY_EXTRA_TYPE compiler_state_t *