Searched refs:IsStringASCII (Results 1 – 12 of 12) sorted by relevance
/external/libchrome/base/strings/ |
D | utf_string_conversions.cc | 49 if (IsStringASCII(std::wstring(src, src_len))) { in WideToUTF8() 59 if (IsStringASCII(wide)) { in WideToUTF8() 70 if (IsStringASCII(StringPiece(src, src_len))) { in UTF8ToWide() 80 if (IsStringASCII(utf8)) { in UTF8ToWide() 150 if (IsStringASCII(StringPiece(src, src_len))) { in UTF8ToUTF16() 160 if (IsStringASCII(utf8)) { in UTF8ToUTF16() 173 if (IsStringASCII(StringPiece16(src, src_len))) { in UTF16ToUTF8() 183 if (IsStringASCII(utf16)) { in UTF16ToUTF8() 210 if (IsStringASCII(utf16)) in UTF16ToUTF8() 222 DCHECK(IsStringASCII(ascii)) << ascii; in ASCIIToUTF16() [all …]
|
D | string_util_unittest.cc | 391 TEST(StringUtilTest, IsStringASCII) { in TEST() argument 410 EXPECT_TRUE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST() 413 EXPECT_FALSE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST() 425 EXPECT_TRUE(IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 429 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 434 IsStringASCII(StringPiece16(char16_ascii + offset, len))); in TEST() 444 EXPECT_TRUE(IsStringASCII(wchar_ascii.substr(0, len))); in TEST() 448 IsStringASCII(wchar_ascii.substr(0, len))); in TEST() 452 IsStringASCII(wchar_ascii.substr(0, len))); in TEST() 457 IsStringASCII(wchar_ascii.substr(0, len))); in TEST() [all …]
|
D | string_util.h | 289 BASE_EXPORT bool IsStringASCII(const StringPiece& str); 290 BASE_EXPORT bool IsStringASCII(const StringPiece16& str); 293 BASE_EXPORT bool IsStringASCII(const string16& str); 295 BASE_EXPORT bool IsStringASCII(const std::wstring& str);
|
D | string_util.cc | 501 bool IsStringASCII(const StringPiece& str) { in IsStringASCII() function 505 bool IsStringASCII(const StringPiece16& str) { in IsStringASCII() function 509 bool IsStringASCII(const string16& str) { in IsStringASCII() function 514 bool IsStringASCII(const std::wstring& str) { in IsStringASCII() function
|
/external/libweave/third_party/chromium/base/strings/ |
D | string_util_unittest.cc | 90 TEST(StringUtilTest, IsStringASCII) { in TEST() argument 105 EXPECT_TRUE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST() 108 EXPECT_FALSE(IsStringASCII(StringPiece(char_ascii + offset, len))); in TEST()
|
D | string_util.h | 174 bool IsStringASCII(const StringPiece& str);
|
D | string_util.cc | 227 bool IsStringASCII(const StringPiece& str) { in IsStringASCII() function
|
/external/libchrome/base/files/ |
D | file_path.cc | 422 DCHECK(IsStringASCII(suffix)); in InsertBeforeExtensionASCII() 525 DCHECK(base::IsStringASCII(component)); in AppendASCII() 591 if (base::IsStringASCII(path_)) in MaybeAsASCII() 636 if (base::IsStringASCII(path_)) in MaybeAsASCII()
|
/external/chromium-libpac/src/ |
D | proxy_resolver_v8.cc | 77 bool IsStringASCII(const android::String16& str) { in IsStringASCII() function 218 if (IsStringASCII(hostname_utf16)) { in GetHostnameArgument() 413 if (!IsStringASCII(*results)) { in ResolveProxy()
|
/external/libchrome/base/ |
D | command_line.cc | 290 if (!IsStringASCII(value)) { in GetSwitchValueASCII()
|
D | values.cc | 574 if (!IsStringASCII(out)) { in GetStringASCII()
|
/external/libweave/third_party/chromium/base/ |
D | values.cc | 540 if (!IsStringASCII(out)) { in GetStringASCII()
|