Searched refs:CountInString (Results 1 – 2 of 2) sorted by relevance
/external/chromium/net/base/ |
D | cookie_monster_perftest.cc | 105 static int CountInString(const std::string& str, char c) { in CountInString() function 153 EXPECT_EQ(5, CountInString(cookie_line, '=')) << "Cookie line: " in TEST() 194 EXPECT_EQ(32, CountInString(cookie_line, '=')); in TEST()
|
D | cookie_monster_unittest.cc | 1033 static int CountInString(const std::string& str, char c) { in CountInString() function 1055 EXPECT_LE(CountInString(cookies, '='), domain_max_cookies); in TestHostGarbageCollectHelper() 1080 EXPECT_LE((CountInString(cookies_general, '=') + in TestHostGarbageCollectHelper() 1081 CountInString(cookies_specific, '=')), in TestHostGarbageCollectHelper() 1084 EXPECT_LE(CountInString(cookies_general, '='), domain_max_cookies); in TestHostGarbageCollectHelper() 1085 EXPECT_LE(CountInString(cookies_specific, '='), domain_max_cookies); in TestHostGarbageCollectHelper() 1093 int total_cookies = (CountInString(cookies_general, '=') + in TestHostGarbageCollectHelper() 1094 CountInString(cookies_specific, '=')); in TestHostGarbageCollectHelper() 1099 int general_cookies = CountInString(cookies_general, '='); in TestHostGarbageCollectHelper() 1100 int specific_cookies = CountInString(cookies_specific, '='); in TestHostGarbageCollectHelper()
|