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
52 register enum parse_mode parse_mode; local
64 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 …]
/external/iptables/extensions/
Dlibxt_hashlimit.c214 static int parse_mode(uint32_t *mode, const char *option_arg) in parse_mode() function
263 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()
Dlibxt_policy.c82 static int parse_mode(const char *s) in parse_mode() function
160 e->mode = parse_mode(cb->arg); in policy_parse()