Lines Matching refs:IsStringASCII
391 TEST(StringUtilTest, IsStringASCII) { in TEST() argument
410 EXPECT_TRUE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST()
413 EXPECT_FALSE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST()
425 EXPECT_TRUE(IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST()
429 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST()
434 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST()
444 EXPECT_TRUE(IsStringASCII(wchar_ascii.substr(0, len))); in TEST()
448 IsStringASCII(wchar_ascii.substr(0, len))); in TEST()
452 IsStringASCII(wchar_ascii.substr(0, len))); in TEST()
457 IsStringASCII(wchar_ascii.substr(0, len))); in TEST()
479 EXPECT_TRUE(IsStringASCII(char_cases[i])); in TEST()
487 EXPECT_FALSE(IsStringASCII("Google \x80Video")); in TEST()