Searched refs:valid_str (Results 1 – 2 of 2) sorted by relevance
46 string valid_str("abcd 1234 - \342\200\224\342\200\223\342\210\222 - xyz789"); in TEST() local47 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data(), in TEST()48 valid_str.size())); in TEST()51 EXPECT_TRUE(IsStructurallyValidUTF8(valid_str.data() + i, in TEST()52 valid_str.size() - i)); in TEST()
45 fn valid_str(s: &str) -> Result<()> { in valid_str() function125 valid_str(s)?; in insert_str()