Lines Matching refs:state
193 int state = IN6PTON_COLON_1_2 | IN6PTON_XDIGIT | IN6PTON_NULL; in in6_pton() local
207 if (!(c & state)) in in6_pton()
211 if (!(state & IN6PTON_NULL)) { in in6_pton()
225 switch (state & IN6PTON_COLON_MASK) { in in6_pton()
228 state = IN6PTON_XDIGIT | IN6PTON_DELIM; in in6_pton()
230 state |= IN6PTON_NULL; in in6_pton()
233 state = IN6PTON_XDIGIT | IN6PTON_COLON_2; in in6_pton()
236 state = IN6PTON_XDIGIT; in in6_pton()
239 state = IN6PTON_COLON_2; in in6_pton()
242 state = 0; in in6_pton()
258 state = IN6PTON_COLON_1 | IN6PTON_DELIM; in in6_pton()
260 state |= IN6PTON_XDIGIT; in in6_pton()
263 state |= IN6PTON_COLON_1_2; in in6_pton()
264 state &= ~IN6PTON_DELIM; in in6_pton()
267 state &= ~(IN6PTON_COLON_1|IN6PTON_COLON_1_2); in in6_pton()
272 state |= IN6PTON_DOT; in in6_pton()
275 state &= ~(IN6PTON_XDIGIT|IN6PTON_COLON_MASK); in in6_pton()