Lines Matching defs:getAsInteger
666 TEST(StringRefTest, getAsInteger) {
673 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8);
680 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16);
687 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32);
694 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64);
705 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8);
712 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16);
719 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32);
726 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64);
751 bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64);