StringIsUtf8 94 remoting/base/util.h bool StringIsUtf8(const char* data, size_t length); StringIsUtf8 255 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("", 0)); StringIsUtf8 256 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\0", 1)); StringIsUtf8 257 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("abc", 3)); StringIsUtf8 258 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\xc0\x80", 2)); StringIsUtf8 259 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\xe0\x80\x80", 3)); StringIsUtf8 260 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\xf0\x80\x80\x80", 4)); StringIsUtf8 261 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\xf8\x80\x80\x80\x80", 5)); StringIsUtf8 262 remoting/base/util_unittest.cc EXPECT_TRUE(StringIsUtf8("\xfc\x80\x80\x80\x80\x80", 6)); StringIsUtf8 265 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xc0", 1)); StringIsUtf8 266 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xe0\x80", 2)); StringIsUtf8 267 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xf0\x80\x80", 3)); StringIsUtf8 268 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xf8\x80\x80\x80", 4)); StringIsUtf8 269 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xfc\x80\x80\x80\x80", 5)); StringIsUtf8 272 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xc0\x80\x80", 3)); StringIsUtf8 273 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xe0\x80\x80\x80", 4)); StringIsUtf8 274 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xf0\x80\x80\x80\x80", 5)); StringIsUtf8 275 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xf8\x80\x80\x80\x80\x80", 6)); StringIsUtf8 276 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xfc\x80\x80\x80\x80\x80\x80", 7)); StringIsUtf8 279 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xfe\x80\x80\x80\x80\x80\x80", 7)); StringIsUtf8 280 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xff\x80\x80\x80\x80\x80\x80", 7)); StringIsUtf8 283 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xc0\x00", 2)); StringIsUtf8 284 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xc0\x40", 2)); StringIsUtf8 285 remoting/base/util_unittest.cc EXPECT_FALSE(StringIsUtf8("\xc0\xc0", 2)); StringIsUtf8 193 remoting/host/clipboard_win.cc if (!StringIsUtf8(event.data().c_str(), event.data().length())) { StringIsUtf8 98 remoting/host/linux/x_server_clipboard.cc if (!StringIsUtf8(data.c_str(), data.length())) {