Home
last modified time | relevance | path

Searched refs:ToLowerASCII (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/strings/
Dstring_util.h91 inline char ToLowerASCII(char c) { in ToLowerASCII() function
94 inline char16 ToLowerASCII(char16 c) { in ToLowerASCII() function
108 BASE_EXPORT std::string ToLowerASCII(StringPiece str);
109 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str);
126 return ToLowerASCII(x) == ToLowerASCII(y); in operator()
Dstring_util_unittest.cc508 TEST(StringUtilTest, ToLowerASCII) { in TEST() argument
509 EXPECT_EQ('c', ToLowerASCII('C')); in TEST()
510 EXPECT_EQ('c', ToLowerASCII('c')); in TEST()
511 EXPECT_EQ('2', ToLowerASCII('2')); in TEST()
513 EXPECT_EQ(static_cast<char16>('c'), ToLowerASCII(static_cast<char16>('C'))); in TEST()
514 EXPECT_EQ(static_cast<char16>('c'), ToLowerASCII(static_cast<char16>('c'))); in TEST()
515 EXPECT_EQ(static_cast<char16>('2'), ToLowerASCII(static_cast<char16>('2'))); in TEST()
517 EXPECT_EQ("cc2", ToLowerASCII("Cc2")); in TEST()
518 EXPECT_EQ(ASCIIToUTF16("cc2"), ToLowerASCII(ASCIIToUTF16("Cc2"))); in TEST()
Dstring_util.cc162 ret.push_back(ToLowerASCII(str[i])); in ToLowerASCIIImpl()
177 std::string ToLowerASCII(StringPiece str) { in ToLowerASCII() function
181 string16 ToLowerASCII(StringPiece16 str) { in ToLowerASCII() function
201 typename StringType::value_type lower_a = ToLowerASCII(a[i]); in CompareCaseInsensitiveASCIIT()
202 typename StringType::value_type lower_b = ToLowerASCII(b[i]); in CompareCaseInsensitiveASCIIT()
549 if (ToLowerASCII(str[i]) != lowercase_ascii[i]) in DoLowerCaseEqualsASCII()
/external/libchrome/base/
Dguid_unittest.cc47 EXPECT_TRUE(IsValidGUID(ToLowerASCII(guid))); in TEST()
Dcommand_line.cc284 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in HasSwitch()
313 DCHECK_EQ(ToLowerASCII(switch_string), switch_string); in GetSwitchValueNative()
330 const std::string switch_key = ToLowerASCII(switch_string); in AppendSwitchNative()
Denvironment.cc42 alternate_case_var = ToLowerASCII(variable_name); in GetVar()
/external/libchrome/device/bluetooth/
Dbluetooth_uuid.cc56 uuid[i] = base::ToLowerASCII(uuid[i]); in GetCanonicalUuid()
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc78 base::ToLowerASCII(base::HexEncode(raw_key.data(), in TEST_P()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc540 memcpy(shared.memory(), ToLowerASCII(kContents).c_str(), kContents.size()); in TEST_P()
542 ASSERT_EQ(StringPiece(ToLowerASCII(kContents)), shmem_contents); in TEST_P()
543 ASSERT_EQ(StringPiece(ToLowerASCII(kContents)), shared_contents); in TEST_P()
544 ASSERT_EQ(StringPiece(ToLowerASCII(kContents)), readonly_contents); in TEST_P()
/external/libbrillo/brillo/http/
Dhttp_proxy.cc64 std::string scheme = base::ToLowerASCII(std::string(token.begin(), space)); in ParseProxyInfo()
/external/angle/src/tests/test_expectations/
DGPUTestExpectationsParser.cpp210 inline Char ToLowerASCII(Char c) in ToLowerASCII() function
220 if (!*b || ToLowerASCII(*it) != *b) in DoLowerCaseEqualsASCII()
/external/libchrome/components/policy/core/common/
Dpreg_parser.cc261 std::string action_trigger(base::ToLowerASCII( in HandleRecord()
/external/libchrome/base/i18n/
Drtl.cc50 result += '@' + base::ToLowerASCII(variant); in GetLocaleString()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc270 char ToLowerASCII(char c) { in ToLowerASCII() function
288 running += ToLowerASCII(input[i]); in ParseLowerUnderscore()
305 running += ToLowerASCII(input[i]); in ParseUpperCamel()