Lines Matching refs:getAsInteger
385 TEST(StringRefTest, getAsInteger) {
392 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8);
399 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16);
406 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32);
413 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64);
428 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8);
435 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16);
442 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32);
449 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64);
475 bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64);