Lines Matching refs:CheckRepresentation
26 static void CheckRepresentation(T value) { in CheckRepresentation() function
82 CheckRepresentation(static_cast<signed char>(127)); in TEST()
83 CheckRepresentation(static_cast<signed char>(1)); in TEST()
84 CheckRepresentation(static_cast<signed char>(0)); in TEST()
85 CheckRepresentation(static_cast<signed char>(-1)); in TEST()
86 CheckRepresentation(static_cast<signed char>(-42)); in TEST()
87 CheckRepresentation(static_cast<signed char>(-128)); in TEST()
89 CheckRepresentation(static_cast<int>(INT_MAX)); in TEST()
90 CheckRepresentation(static_cast<int>(0x12345678)); in TEST()
91 CheckRepresentation(static_cast<int>(1)); in TEST()
92 CheckRepresentation(static_cast<int>(0)); in TEST()
93 CheckRepresentation(static_cast<int>(-1)); in TEST()
94 CheckRepresentation(static_cast<int>(-0x12345678)); in TEST()
95 CheckRepresentation(static_cast<int>(INT_MIN)); in TEST()
97 CheckRepresentation(static_cast<unsigned>(UINT_MAX)); in TEST()
98 CheckRepresentation(static_cast<unsigned>(0x12345678)); in TEST()
99 CheckRepresentation(static_cast<unsigned>(1)); in TEST()
100 CheckRepresentation(static_cast<unsigned>(0)); in TEST()
102 CheckRepresentation(static_cast<long>(LONG_MAX)); in TEST()
103 CheckRepresentation(static_cast<long>(0x12345678)); in TEST()
104 CheckRepresentation(static_cast<long>(1)); in TEST()
105 CheckRepresentation(static_cast<long>(0)); in TEST()
106 CheckRepresentation(static_cast<long>(-1)); in TEST()
107 CheckRepresentation(static_cast<long>(-0x12345678)); in TEST()
108 CheckRepresentation(static_cast<long>(LONG_MIN)); in TEST()
110 CheckRepresentation(static_cast<unsigned long>(ULONG_MAX)); in TEST()
111 CheckRepresentation(static_cast<unsigned long>(0x12345678)); in TEST()
112 CheckRepresentation(static_cast<unsigned long>(1)); in TEST()
113 CheckRepresentation(static_cast<unsigned long>(0)); in TEST()
115 CheckRepresentation(static_cast<int16_t>(0x7fff)); in TEST()
116 CheckRepresentation(static_cast<int16_t>(0x1234)); in TEST()
117 CheckRepresentation(static_cast<int16_t>(1)); in TEST()
118 CheckRepresentation(static_cast<int16_t>(0)); in TEST()
119 CheckRepresentation(static_cast<int16_t>(-1)); in TEST()
120 CheckRepresentation(static_cast<int16_t>(-0x7fff - 1)); in TEST()
122 CheckRepresentation(static_cast<uint16_t>(0xffff)); in TEST()
123 CheckRepresentation(static_cast<uint16_t>(0x1234)); in TEST()
124 CheckRepresentation(static_cast<uint16_t>(1)); in TEST()
125 CheckRepresentation(static_cast<uint16_t>(0)); in TEST()
127 CheckRepresentation(static_cast<int32_t>(0x7fffffff)); in TEST()
128 CheckRepresentation(static_cast<int32_t>(0x12345678)); in TEST()
129 CheckRepresentation(static_cast<int32_t>(1)); in TEST()
130 CheckRepresentation(static_cast<int32_t>(0)); in TEST()
131 CheckRepresentation(static_cast<int32_t>(-1)); in TEST()
132 CheckRepresentation(static_cast<int32_t>(-0x7fffffff - 1)); in TEST()
134 CheckRepresentation(static_cast<uint32_t>(0xffffffff)); in TEST()
135 CheckRepresentation(static_cast<uint32_t>(0x12345678)); in TEST()
136 CheckRepresentation(static_cast<uint32_t>(1)); in TEST()
137 CheckRepresentation(static_cast<uint32_t>(0)); in TEST()
139 CheckRepresentation(static_cast<int64_t>(0x7fffffffffffffff)); in TEST()
140 CheckRepresentation(static_cast<int64_t>(0x123456789abcdef0)); in TEST()
141 CheckRepresentation(static_cast<int64_t>(1)); in TEST()
142 CheckRepresentation(static_cast<int64_t>(0)); in TEST()
143 CheckRepresentation(static_cast<int64_t>(-1)); in TEST()
144 CheckRepresentation(static_cast<int64_t>(-0x7fffffffffffffff - 1)); in TEST()
146 CheckRepresentation(static_cast<uint64_t>(0xffffffffffffffff)); in TEST()
147 CheckRepresentation(static_cast<uint64_t>(0x12345678abcdef0)); in TEST()
148 CheckRepresentation(static_cast<uint64_t>(1)); in TEST()
149 CheckRepresentation(static_cast<uint64_t>(0)); in TEST()