Home
last modified time | relevance | path

Searched refs:parse_mode (Results 1 – 3 of 3) sorted by relevance

/external/e2fsprogs/lib/ss/
Dparse.c24 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; enum
49 register enum parse_mode parse_mode; in ss_parse() local
61 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 …]
/external/iptables/extensions/
Dlibxt_policy.c85 static int parse_mode(const char *s) in parse_mode() function
163 e->mode = parse_mode(cb->arg); in policy_parse()
Dlibxt_hashlimit.c298 static int parse_mode(uint32_t *mode, const char *option_arg) in parse_mode() function
338 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()