/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringutils_unittest.cc | 52 // Tests for ascii_string_compare(). 57 // ascii_string_compare. Is this a bug or by design? stringutils.h 60 // EXPECT_EQ(0, ascii_string_compare(NULL, NULL, 1, identity)); 65 EXPECT_EQ(-1, ascii_string_compare(L"Test", "Test1", 5, identity)); 71 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test1", 3, identity)); 76 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 10, identity)); 81 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 5, identity)); 82 EXPECT_EQ(0, ascii_string_compare(L"TeSt", "tEsT", 5, tolowercase)); 87 EXPECT_EQ(-1, ascii_string_compare(L"abc", "abd", 4, identity)); 88 EXPECT_EQ(-1, ascii_string_compare(L"ABC", "abD", 5, tolowercase)) [all...] |
stringutils.h | 273 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n, 277 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), identity); 280 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), tolowercase); 283 return ascii_string_compare(s1, s2, n, identity); 286 return ascii_string_compare(s1, s2, n, tolowercase);
|
stringutils.cc | 70 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n, function in namespace:talk_base
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.h | 281 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n, 285 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), identity); 288 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), tolowercase); 291 return ascii_string_compare(s1, s2, n, identity); 294 return ascii_string_compare(s1, s2, n, tolowercase);
|
stringutils.cc | 70 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n, function in namespace:talk_base
|