Searched refs:parse_mode (Results 1 – 3 of 3) sorted by relevance
24 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; enum52 register enum parse_mode parse_mode; local64 parse_mode = WHITESPACE; /* flushing whitespace */69 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);72 while (parse_mode == WHITESPACE) {81 parse_mode = QUOTED_STRING;89 parse_mode = TOKEN;96 while (parse_mode == TOKEN) {104 parse_mode = WHITESPACE;108 parse_mode = QUOTED_STRING;[all …]
214 static int parse_mode(uint32_t *mode, const char *option_arg) in parse_mode() function263 if (parse_mode(&info->cfg.mode, cb->arg) < 0) in hashlimit_parse()291 if (parse_mode(&info->cfg.mode, cb->arg) < 0) in hashlimit_mt_parse()
82 static int parse_mode(const char *s) in parse_mode() function160 e->mode = parse_mode(cb->arg); in policy_parse()