Home
last modified time | relevance | path

Searched refs:ToLowerASCII (Results 1 – 12 of 12) 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/
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()
Dguid_unittest.cc47 EXPECT_TRUE(IsValidGUID(ToLowerASCII(guid))); in TEST()
Denvironment.cc42 alternate_case_var = ToLowerASCII(variable_name); in GetVar()
/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/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/libbrillo/brillo/http/
Dhttp_proxy.cc63 std::string scheme = base::ToLowerASCII(std::string(token.begin(), space)); in ParseProxyInfo()
/external/autotest/client/site_tests/camera_V4L2/src/
Dcamera_characteristics.cc118 line = base::ToLowerASCII(base::TrimWhitespaceASCII(line, base::TRIM_ALL)); in InitFrom()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc294 char ToLowerASCII(char c) { in ToLowerASCII() function
312 running += ToLowerASCII(input[i]); in ParseLowerUnderscore()
329 running += ToLowerASCII(input[i]); in ParseUpperCamel()