Home
last modified time | relevance | path

Searched refs:ascii_string_compare (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/base/
Dstringutils_unittest.cc48 EXPECT_EQ(-1, ascii_string_compare(L"Test", "Test1", 5, identity)); in TEST()
54 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test1", 3, identity)); in TEST()
59 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 10, identity)); in TEST()
64 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 5, identity)); in TEST()
65 EXPECT_EQ(0, ascii_string_compare(L"TeSt", "tEsT", 5, tolowercase)); in TEST()
70 EXPECT_EQ(-1, ascii_string_compare(L"abc", "abd", 4, identity)); in TEST()
71 EXPECT_EQ(-1, ascii_string_compare(L"ABC", "abD", 5, tolowercase)); in TEST()
76 EXPECT_EQ(1, ascii_string_compare(L"xyz", "xy", 5, identity)); in TEST()
77 EXPECT_EQ(1, ascii_string_compare(L"abc", "ABB", 5, tolowercase)); in TEST()
Dstringutils.h256 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n,
260 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), identity); in asccmp()
263 return ascii_string_compare(s1, s2, static_cast<size_t>(-1), tolowercase); in ascicmp()
266 return ascii_string_compare(s1, s2, n, identity); in ascncmp()
269 return ascii_string_compare(s1, s2, n, tolowercase); in ascnicmp()
Dstringutils.cc53 int ascii_string_compare(const wchar_t* s1, const char* s2, size_t n, in ascii_string_compare() function