Lines Matching full:state
27 static void parse_line_device(struct parse_state *state, int nargs, char **args);
31 struct parse_state state;
35 state.filename = fn;
36 state.line = 1;
37 state.ptr = s;
38 state.nexttoken = 0;
39 state.parse_line = parse_line_device;
41 int token = next_token(&state);
44 state.parse_line(&state, 0, 0);
48 state.parse_line(&state, nargs, args);
54 args[nargs++] = state.text;
72 static void parse_line_device(struct parse_state* state, int nargs, char **args)