Lines Matching refs:lex
54 static unsigned char lex[256]; in strtoip6() local
56 if (!lex[0]) in strtoip6()
58 for (c = 0; c < sizeof(lex); ++c) in strtoip6()
59 lex[c] = END; in strtoip6()
60 lex['0'] = 0; in strtoip6()
61 lex['1'] = 1; in strtoip6()
62 lex['2'] = 2; in strtoip6()
63 lex['3'] = 3; in strtoip6()
64 lex['4'] = 4; in strtoip6()
65 lex['5'] = 5; in strtoip6()
66 lex['6'] = 6; in strtoip6()
67 lex['7'] = 7; in strtoip6()
68 lex['8'] = 8; in strtoip6()
69 lex['9'] = 9; in strtoip6()
70 lex['A'] = lex['a'] = 10; in strtoip6()
71 lex['B'] = lex['b'] = 11; in strtoip6()
72 lex['C'] = lex['c'] = 12; in strtoip6()
73 lex['D'] = lex['d'] = 13; in strtoip6()
74 lex['E'] = lex['e'] = 14; in strtoip6()
75 lex['F'] = lex['f'] = 15; in strtoip6()
76 lex[':'] = COL; in strtoip6()
77 lex['.'] = DOT; in strtoip6()
78 lex['/'] = PFX; in strtoip6()
87 switch (c = lex[*((unsigned char*)s++)]) in strtoip6()
110 if ((c = lex[*((unsigned char*)++s)]) >= 16) in strtoip6()
127 switch (c = lex[*((unsigned char*)s++)]) in strtoip6()
158 if ((c = lex[*((unsigned char*)++s)]) >= 16) in strtoip6()
192 while ((c = lex[*((unsigned char*)s++)]) < 10) in strtoip6()