Searched defs:CountInString (Results 1 - 4 of 4) sorted by relevance
/external/chromium/net/base/ |
H A D | cookie_monster_perftest.cc | 105 static int CountInString(const std::string& str, char c) { function in namespace:net 153 EXPECT_EQ(5, CountInString(cookie_line, '=')) << "Cookie line: " 194 EXPECT_EQ(32, CountInString(cookie_line, '='));
|
H A D | cookie_monster_unittest.cc | 1033 static int CountInString(const std::string& str, char c) { function in namespace:net 1055 EXPECT_LE(CountInString(cookies, '='), domain_max_cookies); 1080 EXPECT_LE((CountInString(cookies_general, '=') + 1081 CountInString(cookies_specific, '=')), 1084 EXPECT_LE(CountInString(cookies_general, '='), domain_max_cookies); 1085 EXPECT_LE(CountInString(cookies_specific, '='), domain_max_cookies); 1093 int total_cookies = (CountInString(cookies_general, '=') + 1094 CountInString(cookies_specific, '=')); 1099 int general_cookies = CountInString(cookies_general, '='); 1100 int specific_cookies = CountInString(cookies_specifi [all...] |
/external/chromium_org/net/cookies/ |
H A D | cookie_monster_perftest.cc | 27 int CountInString(const std::string& str, char c) { function in namespace:net::__anon9280 230 EXPECT_EQ(5, CountInString(cookie_line, '=')) 271 EXPECT_EQ(32, CountInString(cookie_line, '='));
|
H A D | cookie_monster_unittest.cc | 412 int CountInString(const std::string& str, char c) { function in class:net::__anon9281::CookieMonsterTest 431 EXPECT_LE(CountInString(cookies, '='), domain_max_cookies); 451 EXPECT_LE((CountInString(cookies_general, '=') + 452 CountInString(cookies_specific, '=')), 460 int total_cookies = (CountInString(cookies_general, '=') + 461 CountInString(cookies_specific, '='));
|
Completed in 85 milliseconds