Home
last modified time | relevance | path

Searched refs:parser_state (Results 1 – 13 of 13) sorted by relevance

/external/iw/
Dbitrate.c112 } parser_state = S_NONE; in handle_bitrates() local
122 parser_state = S_LEGACY; in handle_bitrates()
129 parser_state = S_LEGACY; in handle_bitrates()
137 parser_state = S_HT; in handle_bitrates()
144 parser_state = S_HT; in handle_bitrates()
151 parser_state = S_VHT; in handle_bitrates()
158 parser_state = S_VHT; in handle_bitrates()
164 parser_state = S_GI; in handle_bitrates()
167 parser_state = S_GI; in handle_bitrates()
170 parser_state = S_GI; in handle_bitrates()
[all …]
Dphy.c249 } parser_state = S_NONE; in handle_retry() local
261 parser_state = S_SHORT; in handle_retry()
266 parser_state = S_LONG; in handle_retry()
274 switch (parser_state) { in handle_retry()
/external/python/cpython3/Parser/
Dparser.h31 } parser_state; typedef
33 parser_state *PyParser_New(grammar *g, int start);
34 void PyParser_Delete(parser_state *ps);
35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
Dparser.c71 parser_state *
74 parser_state *ps; in PyParser_New()
78 ps = (parser_state *)PyMem_MALLOC(sizeof(parser_state)); in PyParser_New()
96 PyParser_Delete(parser_state *ps) in PyParser_Delete()
137 classify(parser_state *ps, int type, const char *str) in classify()
185 future_hack(parser_state *ps)
227 PyParser_AddToken(parser_state *ps, int type, char *str, in PyParser_AddToken()
386 printtree(parser_state *ps) in printtree()
Dparsetok.c187 parser_state *ps; in parsetok()
/external/python/cpython2/Parser/
Dparser.h31 } parser_state; typedef
33 parser_state *PyParser_New(grammar *g, int start);
34 void PyParser_Delete(parser_state *ps);
35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
Dparser.c71 parser_state *
74 parser_state *ps; in PyParser_New()
78 ps = (parser_state *)PyMem_MALLOC(sizeof(parser_state)); in PyParser_New()
96 PyParser_Delete(parser_state *ps) in PyParser_Delete()
137 classify(parser_state *ps, int type, char *str) in classify()
179 future_hack(parser_state *ps) in future_hack()
220 PyParser_AddToken(register parser_state *ps, register int type, char *str, in PyParser_AddToken()
375 printtree(parser_state *ps) in printtree()
Dparsetok.c132 parser_state *ps; in parsetok()
/external/minijail/tools/
Dcompile_seccomp_policy.py75 parser_state = parser.ParserState('<memory>')
76 parser_state.set_line(opts.default_action)
79 parser_state.tokenize())
Dparser_unittest.py42 parser_state = parser.ParserState('<memory>')
43 return list(parser_state.tokenize([line]))[0]
/external/minijail/
Dsyscall_filter.h27 struct parser_state { struct
34 struct filter_block *compile_policy_line(struct parser_state *state, int nr, argument
Dsyscall_filter.c186 int compile_atom(struct parser_state *state, struct filter_block *head, in compile_atom()
271 int compile_errno(struct parser_state *state, struct filter_block *head, in compile_errno()
303 struct filter_block *compile_policy_line(struct parser_state *state, int nr, in compile_policy_line()
452 int parse_include_statement(struct parser_state *state, char *policy_line, in parse_include_statement()
547 struct parser_state state = { in compile_file()
Dsyscall_filter_unittest.cc69 struct parser_state* state, in test_compile_policy_line()
450 struct parser_state state_;