Searched refs:parse_mode (Results 1 – 3 of 3) sorted by relevance
24 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; enum49 register enum parse_mode parse_mode; in ss_parse() local61 parse_mode = WHITESPACE; /* flushing whitespace */ in ss_parse()66 printf ("character `%c', mode %d\n", *line_ptr, parse_mode); in ss_parse()69 while (parse_mode == WHITESPACE) { in ss_parse()78 parse_mode = QUOTED_STRING; in ss_parse()86 parse_mode = TOKEN; in ss_parse()97 while (parse_mode == TOKEN) { in ss_parse()105 parse_mode = WHITESPACE; in ss_parse()109 parse_mode = QUOTED_STRING; in ss_parse()[all …]
85 static int parse_mode(const char *s) in parse_mode() function163 e->mode = parse_mode(cb->arg); in policy_parse()
298 static int parse_mode(uint32_t *mode, const char *option_arg) in parse_mode() function338 if (parse_mode(&info->cfg.mode, cb->arg) < 0) in hashlimit_parse()373 if (parse_mode(&info->cfg.mode, cb->arg) < 0) in hashlimit_mt_parse()