Searched refs:IsStringASCII (Results 1 – 10 of 10) 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() 206 if (IsStringASCII(utf16)) in UTF16ToUTF8() 218 DCHECK(IsStringASCII(ascii)) << ascii; in ASCIIToUTF16() 223 DCHECK(IsStringASCII(utf16)) << UTF16ToUTF8(utf16); in UTF16ToASCII()
|
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 | 286 BASE_EXPORT bool IsStringASCII(const StringPiece& str); 287 BASE_EXPORT bool IsStringASCII(const StringPiece16& str); 288 BASE_EXPORT bool IsStringASCII(const string16& str); 290 BASE_EXPORT bool IsStringASCII(const std::wstring& str);
|
D | string_util.cc | 515 bool IsStringASCII(const StringPiece& str) { in IsStringASCII() function 519 bool IsStringASCII(const StringPiece16& str) { in IsStringASCII() function 523 bool IsStringASCII(const string16& str) { in IsStringASCII() function 528 bool IsStringASCII(const std::wstring& str) { in IsStringASCII() function
|
/external/libchrome/base/ |
D | native_library_posix.cc | 66 DCHECK(IsStringASCII(name)); in GetNativeLibraryName()
|
D | feature_list.cc | 74 return IsStringASCII(name) && name.find_first_of(",<*") == std::string::npos; in IsValidFeatureOrFieldTrialName()
|
D | command_line.cc | 302 if (!IsStringASCII(value)) { in GetSwitchValueASCII()
|
D | values.cc | 790 if (!IsStringASCII(out)) { in GetStringASCII()
|
/external/libchrome/base/files/ |
D | file_path.cc | 425 DCHECK(IsStringASCII(suffix)); in InsertBeforeExtensionASCII() 528 DCHECK(base::IsStringASCII(component)); in AppendASCII() 600 if (base::IsStringASCII(path_)) in MaybeAsASCII() 645 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()
|