Lines Matching refs:c
24 for (char c = 0; c < '0'; ++c) in main() local
26 assert(t.value(c, 8) == -1); in main()
27 assert(t.value(c, 10) == -1); in main()
28 assert(t.value(c, 16) == -1); in main()
30 for (char c = '0'; c < '8'; ++c) in main() local
32 assert(t.value(c, 8) == c - '0'); in main()
33 assert(t.value(c, 10) == c - '0'); in main()
34 assert(t.value(c, 16) == c - '0'); in main()
36 for (char c = '8'; c < ':'; ++c) in main() local
38 assert(t.value(c, 8) == -1); in main()
39 assert(t.value(c, 10) == c - '0'); in main()
40 assert(t.value(c, 16) == c - '0'); in main()
42 for (char c = ':'; c < 'A'; ++c) in main() local
44 assert(t.value(c, 8) == -1); in main()
45 assert(t.value(c, 10) == -1); in main()
46 assert(t.value(c, 16) == -1); in main()
48 for (char c = 'A'; c < 'G'; ++c) in main() local
50 assert(t.value(c, 8) == -1); in main()
51 assert(t.value(c, 10) == -1); in main()
52 assert(t.value(c, 16) == c - 'A' +10); in main()
54 for (char c = 'G'; c < 'a'; ++c) in main() local
56 assert(t.value(c, 8) == -1); in main()
57 assert(t.value(c, 10) == -1); in main()
58 assert(t.value(c, 16) == -1); in main()
60 for (char c = 'a'; c < 'g'; ++c) in main() local
62 assert(t.value(c, 8) == -1); in main()
63 assert(t.value(c, 10) == -1); in main()
64 assert(t.value(c, 16) == c - 'a' +10); in main()
66 for (int c = 'g'; c < 256; ++c) in main() local
68 assert(t.value(char(c), 8) == -1); in main()
69 assert(t.value(char(c), 10) == -1); in main()
70 assert(t.value(char(c), 16) == -1); in main()
76 for (wchar_t c = 0; c < '0'; ++c) in main() local
78 assert(t.value(c, 8) == -1); in main()
79 assert(t.value(c, 10) == -1); in main()
80 assert(t.value(c, 16) == -1); in main()
82 for (wchar_t c = '0'; c < '8'; ++c) in main() local
84 assert(t.value(c, 8) == c - '0'); in main()
85 assert(t.value(c, 10) == c - '0'); in main()
86 assert(t.value(c, 16) == c - '0'); in main()
88 for (wchar_t c = '8'; c < ':'; ++c) in main() local
90 assert(t.value(c, 8) == -1); in main()
91 assert(t.value(c, 10) == c - '0'); in main()
92 assert(t.value(c, 16) == c - '0'); in main()
94 for (wchar_t c = ':'; c < 'A'; ++c) in main() local
96 assert(t.value(c, 8) == -1); in main()
97 assert(t.value(c, 10) == -1); in main()
98 assert(t.value(c, 16) == -1); in main()
100 for (wchar_t c = 'A'; c < 'G'; ++c) in main() local
102 assert(t.value(c, 8) == -1); in main()
103 assert(t.value(c, 10) == -1); in main()
104 assert(t.value(c, 16) == c - 'A' +10); in main()
106 for (wchar_t c = 'G'; c < 'a'; ++c) in main() local
108 assert(t.value(c, 8) == -1); in main()
109 assert(t.value(c, 10) == -1); in main()
110 assert(t.value(c, 16) == -1); in main()
112 for (wchar_t c = 'a'; c < 'g'; ++c) in main() local
114 assert(t.value(c, 8) == -1); in main()
115 assert(t.value(c, 10) == -1); in main()
116 assert(t.value(c, 16) == c - 'a' +10); in main()
118 for (int c = 'g'; c < 0xFFFF; ++c) in main() local
120 assert(t.value(c, 8) == -1); in main()
121 assert(t.value(c, 10) == -1); in main()
122 assert(t.value(c, 16) == -1); in main()