Lines Matching refs:Signed
389 } Signed[] = variable
455 for (size_t i = 0; i < array_lengthof(Signed); ++i) { in TEST()
456 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
457 if (static_cast<int8_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
459 EXPECT_EQ(S8, Signed[i].Expected); in TEST()
463 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
464 if (static_cast<int16_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
466 EXPECT_EQ(S16, Signed[i].Expected); in TEST()
470 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
471 if (static_cast<int32_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
473 EXPECT_EQ(S32, Signed[i].Expected); in TEST()
477 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64); in TEST()
478 if (static_cast<int64_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
480 EXPECT_EQ(S64, Signed[i].Expected); in TEST()