Home
last modified time | relevance | path

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

/external/libpcap/
Dgencode.h286 typedef struct _compiler_state compiler_state_t; typedef
288 struct arth *gen_loadi(compiler_state_t *, int);
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 *);
298 struct block *gen_scode(compiler_state_t *, const char *, struct qual);
299 struct block *gen_ecode(compiler_state_t *, const u_char *, struct qual);
300 struct block *gen_acode(compiler_state_t *, const u_char *, struct qual);
301 struct block *gen_mcode(compiler_state_t *, const char *, const char *,
[all …]
Dgencode.c430 bpf_syntax_error(compiler_state_t *cstate, const char *msg) in bpf_syntax_error()
438 bpf_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_error()
451 static void init_linktype(compiler_state_t *, pcap_t *);
453 static void init_regs(compiler_state_t *);
454 static int alloc_reg(compiler_state_t *);
455 static void free_reg(compiler_state_t *, int);
457 static void initchunks(compiler_state_t *cstate);
458 static void *newchunk(compiler_state_t *cstate, size_t);
459 static void freechunks(compiler_state_t *cstate);
460 static inline struct block *new_block(compiler_state_t *cstate, int);
[all …]
Dgrammar.y24 %parse-param {compiler_state_t *cstate}
203 yyerror(void *yyscanner, compiler_state_t *cstate, const char *msg) in yyerror()
211 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
225 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
250 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
260 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
Doptimize.c226 static void opt_init(compiler_state_t *, opt_state_t *, struct icode *);
233 static void opt_dump(compiler_state_t *, struct icode *);
604 fold_op(compiler_state_t *cstate, struct icode *ic, opt_state_t *opt_state, in fold_op()
946 opt_stmt(compiler_state_t *cstate, struct icode *ic, opt_state_t *opt_state, in opt_stmt()
1180 opt_blk(compiler_state_t *cstate, struct icode *ic, opt_state_t *opt_state, in opt_blk()
1591 opt_blks(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic, in opt_blks()
1681 opt_loop(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic, in opt_loop()
1712 bpf_optimize(compiler_state_t *cstate, struct icode *ic) in bpf_optimize()
1931 opt_init(compiler_state_t *cstate, opt_state_t *opt_state, struct icode *ic) in opt_init()
2026 convert_code_r(compiler_state_t *cstate, conv_state_t *conv_state, in convert_code_r()
[all …]
Dgrammar.c249 yyerror(void *yyscanner, compiler_state_t *cstate, const char *msg) in yyerror()
257 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
271 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
296 pfreason_to_num(compiler_state_t *cstate, const char *reason) in pfreason_to_num()
306 pfaction_to_num(compiler_state_t *cstate, const char *action) in pfaction_to_num()
622 int pcap_parse (void *yyscanner, compiler_state_t *cstate);
1454 …E *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *yyscanner, compiler_state_t *cstate) in yy_symbol_value_print()
1475 …E *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *yyscanner, compiler_state_t *cstate) in yy_symbol_print()
1513 yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void *yyscanner, compiler_state_t in yy_reduce_print()
1793 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, void *yyscanner, compiler_state_t *cs… in yydestruct()
[all …]
Dgrammar.h319 int pcap_parse (void *yyscanner, compiler_state_t *cstate);
Dscanner.h250 #define YY_EXTRA_TYPE compiler_state_t *
Dscanner.c2813 #define YY_EXTRA_TYPE compiler_state_t *