Home
last modified time | relevance | path

Searched refs:ToUpperASCII (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/strings/
Dstring_util.h100 inline char ToUpperASCII(char c) { in ToUpperASCII() function
103 inline char16 ToUpperASCII(char16 c) { in ToUpperASCII() function
112 BASE_EXPORT std::string ToUpperASCII(StringPiece str);
113 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str);
Dstring_util_unittest.cc521 TEST(StringUtilTest, ToUpperASCII) { in TEST() argument
522 EXPECT_EQ('C', ToUpperASCII('C')); in TEST()
523 EXPECT_EQ('C', ToUpperASCII('c')); in TEST()
524 EXPECT_EQ('2', ToUpperASCII('2')); in TEST()
526 EXPECT_EQ(static_cast<char16>('C'), ToUpperASCII(static_cast<char16>('C'))); in TEST()
527 EXPECT_EQ(static_cast<char16>('C'), ToUpperASCII(static_cast<char16>('c'))); in TEST()
528 EXPECT_EQ(static_cast<char16>('2'), ToUpperASCII(static_cast<char16>('2'))); in TEST()
530 EXPECT_EQ("CC2", ToUpperASCII("Cc2")); in TEST()
531 EXPECT_EQ(ASCIIToUTF16("CC2"), ToUpperASCII(ASCIIToUTF16("Cc2"))); in TEST()
Dstring_util.cc171 ret.push_back(ToUpperASCII(str[i])); in ToUpperASCIIImpl()
185 std::string ToUpperASCII(StringPiece str) { in ToUpperASCII() function
189 string16 ToUpperASCII(StringPiece16 str) { in ToUpperASCII() function
/external/libchrome/base/
Dguid_unittest.cc48 EXPECT_TRUE(IsValidGUID(ToUpperASCII(guid))); in TEST()
Denvironment.cc40 alternate_case_var = ToUpperASCII(variable_name); in GetVar()
/external/libchrome/base/files/
Dfile_util_unittest.cc419 *temp_base_a.begin() = ToUpperASCII(*temp_base_a.begin()); in TEST_F()
525 ToUpperASCII(temp_dir_.GetPath().value().substr(0, 2)); in TEST_F()