Home | History | Annotate | Download | only in ADT

Lines Matching refs:Unsigned

344 } Unsigned[] =
391 for (size_t i = 0; i < array_lengthof(Unsigned); ++i) {
392 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8);
393 if (static_cast<uint8_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
395 EXPECT_EQ(U8, Unsigned[i].Expected);
399 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16);
400 if (static_cast<uint16_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
402 EXPECT_EQ(U16, Unsigned[i].Expected);
406 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32);
407 if (static_cast<uint32_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
409 EXPECT_EQ(U32, Unsigned[i].Expected);
413 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64);
414 if (static_cast<uint64_t>(Unsigned[i].Expected) == Unsigned[i].Expected) {
416 EXPECT_EQ(U64, Unsigned[i].Expected);
468 , "-123" // negative unsigned value
473 unsigned long long U64;