Lines Matching defs:Unsigned
372 } Unsigned[] =
419 for (size_t i = 0; i < array_lengthof(Unsigned); ++i) {
420 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8);
421 if (static_cast<uint8_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
423 EXPECT_EQ(U8, Unsigned[i].Expected);
427 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16);
428 if (static_cast<uint16_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
430 EXPECT_EQ(U16, Unsigned[i].Expected);
434 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32);
435 if (static_cast<uint32_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
437 EXPECT_EQ(U32, Unsigned[i].Expected);
441 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64);
442 if (static_cast<uint64_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
444 EXPECT_EQ(U64, Unsigned[i].Expected);
496 , "-123" // negative unsigned value
501 unsigned long long U64;