Searched refs:IsStringUTF8 (Results 1 – 11 of 11) sorted by relevance
38 EXPECT_TRUE(IsStringUTF8(out)); in TEST()43 EXPECT_TRUE(IsStringUTF8(out)); in TEST()48 EXPECT_TRUE(IsStringUTF8(out)); in TEST()55 EXPECT_TRUE(IsStringUTF8(out)); in TEST()62 EXPECT_TRUE(IsStringUTF8(out_quoted)); in TEST()73 EXPECT_TRUE(IsStringUTF8(out)); in TEST()97 EXPECT_TRUE(IsStringUTF8(out)); in TEST()101 EXPECT_TRUE(IsStringUTF8(out)); in TEST()107 EXPECT_TRUE(IsStringUTF8(out)); in TEST()114 EXPECT_TRUE(IsStringUTF8(out)); in TEST()[all …]
325 TEST(StringUtilTest, IsStringUTF8) { in TEST() argument326 EXPECT_TRUE(IsStringUTF8("abc")); in TEST()327 EXPECT_TRUE(IsStringUTF8("\xc2\x81")); in TEST()328 EXPECT_TRUE(IsStringUTF8("\xe1\x80\xbf")); in TEST()329 EXPECT_TRUE(IsStringUTF8("\xf1\x80\xa0\xbf")); in TEST()330 EXPECT_TRUE(IsStringUTF8("a\xc2\x81\xe1\x80\xbf\xf1\x80\xa0\xbf")); in TEST()331 EXPECT_TRUE(IsStringUTF8("\xef\xbb\xbf" "abc")); // UTF-8 BOM in TEST()334 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x80\xed\xbf\xbf")); in TEST()335 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x8f")); in TEST()336 EXPECT_FALSE(IsStringUTF8("\xed\xbf\xbf")); in TEST()[all …]
285 BASE_EXPORT bool IsStringUTF8(StringPiece str);
514 bool IsStringUTF8(StringPiece str) { in IsStringUTF8() function
139 bool IsStringUTF8(const std::string& str) { in IsStringUTF8() function140 return base::IsStringUTF8(base::StringPiece(str)); in IsStringUTF8()146 {&IsStringUTF8, "IsStringUTF8"}, {&IsString7Bit, "IsString7Bit"}};
357 if (IsStringUTF8(test_result.output_snippet)) { in SaveSummaryAsJSON()389 bool lossless_summary = IsStringUTF8(result_part.summary); in SaveSummaryAsJSON()402 bool lossless_message = IsStringUTF8(result_part.message); in SaveSummaryAsJSON()
150 DCHECK(IsStringUTF8(string_value_)); in Value()725 DCHECK(IsStringUTF8(key)); in HasKey()736 DCHECK(IsStringUTF8(path)); in Set()807 DCHECK(IsStringUTF8(path)); in Get()947 DCHECK(IsStringUTF8(key)); in GetWithoutPathExpansion()1058 DCHECK(IsStringUTF8(path)); in Remove()1076 DCHECK(IsStringUTF8(key)); in RemoveWithoutPathExpansion()
383 DCHECK(IsStringUTF8(value)); in AppendArg()
80 if (base::IsStringUTF8(str)) in GenerateValidUTF8()
152 if (!base::IsStringUTF8(*value)) { in DecodePRegStringValue()
493 CHECK(base::IsStringUTF8(value)); in AppendString()