Searched refs:IsStringUTF8 (Results 1 - 19 of 19) sorted by relevance

/external/chromium/base/
H A Dstring_util_unittest.cc337 TEST(StringUtilTest, IsStringUTF8) {
338 EXPECT_TRUE(IsStringUTF8("abc"));
339 EXPECT_TRUE(IsStringUTF8("\xc2\x81"));
340 EXPECT_TRUE(IsStringUTF8("\xe1\x80\xbf"));
341 EXPECT_TRUE(IsStringUTF8("\xf1\x80\xa0\xbf"));
342 EXPECT_TRUE(IsStringUTF8("a\xc2\x81\xe1\x80\xbf\xf1\x80\xa0\xbf"));
343 EXPECT_TRUE(IsStringUTF8("\xef\xbb\xbf" "abc")); // UTF-8 BOM
346 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x80\xed\xbf\xbf"));
347 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x8f"));
348 EXPECT_FALSE(IsStringUTF8("\xe
[all...]
H A Dvalues.cc230 DCHECK(IsStringUTF8(in_value));
322 DCHECK(IsStringUTF8(key));
339 DCHECK(IsStringUTF8(path));
397 DCHECK(IsStringUTF8(path));
516 DCHECK(IsStringUTF8(key));
593 DCHECK(IsStringUTF8(path));
610 DCHECK(IsStringUTF8(key));
H A Dcommand_line.cc358 DCHECK(IsStringUTF8(value));
375 DCHECK(IsStringUTF8(value));
H A Dstring_split.cc169 DCHECK(IsStringUTF8(str));
H A Dstring_util.h284 // Note that IsStringUTF8 checks not only if the input is structurally
290 BASE_API bool IsStringUTF8(const std::string& str);
H A Dstring_util.cc472 bool IsStringUTF8(const std::string& str) { function
/external/chromium/net/base/
H A Dnet_util_win.cc59 if (!IsStringUTF8(path)) {
H A Dnet_util.cc281 if (IsStringUTF8(encoded_word)) {
378 if (IsStringUTF8(tmp)) {
/external/chromium/webkit/glue/
H A Dftp_directory_listing_response_delegate.cc34 if (IsStringUTF8(path))
/external/chromium/chrome/browser/extensions/
H A Dconvert_user_script.cc37 if (!IsStringUTF8(content)) {
H A Dextension_protocols.cc62 DCHECK(IsStringUTF8(*data));
/external/chromium/chrome/browser/sync/util/
H A Dcryptographer_unittest.cc159 EXPECT_TRUE(IsStringUTF8(token));
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_codec.cc317 DCHECK(IsStringUTF8(url));
H A Dbookmark_html_writer.cc192 DCHECK(IsStringUTF8(text));
/external/chromium/base/json/
H A Djson_reader.cc148 if (!IsStringUTF8(json.c_str())) {
/external/chromium/chrome/browser/importer/
H A Dfirefox_importer_utils.cc414 if (IsStringUTF8(value))
/external/chromium/chrome/browser/net/
H A Durl_fixer_upper.cc82 DCHECK(IsStringUTF8(input));
/external/chromium/chrome/common/extensions/
H A Dextension_file_util.cc473 if (!IsStringUTF8(content)) {
/external/chromium/chrome/browser/chromeos/cros/
H A Dnetwork_library.cc1803 if (!IsStringUTF8(ssid)) {

Completed in 231 milliseconds