Lines Matching refs:c
25 for (char c = 0; c < '0'; ++c) in main() local
27 assert(t.value(c, 8) == -1); in main()
28 assert(t.value(c, 10) == -1); in main()
29 assert(t.value(c, 16) == -1); in main()
31 for (char c = '0'; c < '8'; ++c) in main() local
33 assert(t.value(c, 8) == c - '0'); in main()
34 assert(t.value(c, 10) == c - '0'); in main()
35 assert(t.value(c, 16) == c - '0'); in main()
37 for (char c = '8'; c < ':'; ++c) in main() local
39 assert(t.value(c, 8) == -1); in main()
40 assert(t.value(c, 10) == c - '0'); in main()
41 assert(t.value(c, 16) == c - '0'); in main()
43 for (char c = ':'; c < 'A'; ++c) in main() local
45 assert(t.value(c, 8) == -1); in main()
46 assert(t.value(c, 10) == -1); in main()
47 assert(t.value(c, 16) == -1); in main()
49 for (char c = 'A'; c < 'G'; ++c) in main() local
51 assert(t.value(c, 8) == -1); in main()
52 assert(t.value(c, 10) == -1); in main()
53 assert(t.value(c, 16) == c - 'A' +10); in main()
55 for (char c = 'G'; c < 'a'; ++c) in main() local
57 assert(t.value(c, 8) == -1); in main()
58 assert(t.value(c, 10) == -1); in main()
59 assert(t.value(c, 16) == -1); in main()
61 for (char c = 'a'; c < 'g'; ++c) in main() local
63 assert(t.value(c, 8) == -1); in main()
64 assert(t.value(c, 10) == -1); in main()
65 assert(t.value(c, 16) == c - 'a' +10); in main()
67 for (int c = 'g'; c < 256; ++c) in main() local
69 assert(t.value(char(c), 8) == -1); in main()
70 assert(t.value(char(c), 10) == -1); in main()
71 assert(t.value(char(c), 16) == -1); in main()
77 for (wchar_t c = 0; c < '0'; ++c) in main() local
79 assert(t.value(c, 8) == -1); in main()
80 assert(t.value(c, 10) == -1); in main()
81 assert(t.value(c, 16) == -1); in main()
83 for (wchar_t c = '0'; c < '8'; ++c) in main() local
85 assert(t.value(c, 8) == static_cast<int>(c - '0')); in main()
86 assert(t.value(c, 10) == static_cast<int>(c - '0')); in main()
87 assert(t.value(c, 16) == static_cast<int>(c - '0')); in main()
89 for (wchar_t c = '8'; c < ':'; ++c) in main() local
91 assert(t.value(c, 8) == -1); in main()
92 assert(t.value(c, 10) == static_cast<int>(c - '0')); in main()
93 assert(t.value(c, 16) == static_cast<int>(c - '0')); in main()
95 for (wchar_t c = ':'; c < 'A'; ++c) in main() local
97 assert(t.value(c, 8) == -1); in main()
98 assert(t.value(c, 10) == -1); in main()
99 assert(t.value(c, 16) == -1); in main()
101 for (wchar_t c = 'A'; c < 'G'; ++c) in main() local
103 assert(t.value(c, 8) == -1); in main()
104 assert(t.value(c, 10) == -1); in main()
105 assert(t.value(c, 16) == static_cast<int>(c - 'A' +10)); in main()
107 for (wchar_t c = 'G'; c < 'a'; ++c) in main() local
109 assert(t.value(c, 8) == -1); in main()
110 assert(t.value(c, 10) == -1); in main()
111 assert(t.value(c, 16) == -1); in main()
113 for (wchar_t c = 'a'; c < 'g'; ++c) in main() local
115 assert(t.value(c, 8) == -1); in main()
116 assert(t.value(c, 10) == -1); in main()
117 assert(t.value(c, 16) == static_cast<int>(c - 'a' +10)); in main()
119 for (wchar_t c = 'g'; c < 0xFFFF; ++c) in main() local
121 assert(t.value(c, 8) == -1); in main()
122 assert(t.value(c, 10) == -1); in main()
123 assert(t.value(c, 16) == -1); in main()