Searched refs:valid_str (Results 1 – 3 of 3) 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()
86 bool valid_str = print_str.find_first_not_of(clc_printf_whitelist) == in print_formatted() local90 if (spec_pos != std::string::npos && valid_str) { in print_formatted()
1404 gchar *valid_str; in read_string() local1406 valid_str = g_strndup (str, offset); in read_string()1414 valid_str); in read_string()1415 g_free (valid_str); in read_string()