OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ascii_string_compare
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/webrtc/base/
stringutils_unittest.cc
35
// Tests for
ascii_string_compare
().
40
//
ascii_string_compare
. Is this a bug or by design? stringutils.h
43
// EXPECT_EQ(0,
ascii_string_compare
(NULL, NULL, 1, identity));
48
EXPECT_EQ(-1,
ascii_string_compare
(L"Test", "Test1", 5, identity));
54
EXPECT_EQ(0,
ascii_string_compare
(L"Test", "Test1", 3, identity));
59
EXPECT_EQ(0,
ascii_string_compare
(L"Test", "Test", 10, identity));
64
EXPECT_EQ(0,
ascii_string_compare
(L"Test", "Test", 5, identity));
65
EXPECT_EQ(0,
ascii_string_compare
(L"TeSt", "tEsT", 5, tolowercase));
70
EXPECT_EQ(-1,
ascii_string_compare
(L"abc", "abd", 4, identity));
71
EXPECT_EQ(-1,
ascii_string_compare
(L"ABC", "abD", 5, tolowercase))
[
all
...]
stringutils.h
256
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);
263
return
ascii_string_compare
(s1, s2, static_cast<size_t>(-1), tolowercase);
266
return
ascii_string_compare
(s1, s2, n, identity);
269
return
ascii_string_compare
(s1, s2, n, tolowercase);
stringutils.cc
53
int
ascii_string_compare
(const wchar_t* s1, const char* s2, size_t n,
function in namespace:rtc
Completed in 40 milliseconds