Home
last modified time | relevance | path

Searched refs:cookie2 (Results 1 – 12 of 12) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DCookieStoreTest.java70 HttpCookie cookie2 = new HttpCookie(" NaME1 ", " TESTVALUE1 "); in test_add_LURI_LHttpCookie() local
71 cookieStore.add(uri, cookie2); in test_add_LURI_LHttpCookie()
75 assertTrue(list.contains(cookie2)); in test_add_LURI_LHttpCookie()
147 HttpCookie cookie2 = new HttpCookie("cookie_name2", "cookie_value2"); in test_get_LURI() local
149 cookieStore.add(uri1, cookie2); in test_get_LURI()
218 HttpCookie cookie2 = new HttpCookie("cookie_name2", "cookie_value2"); in test_getCookies() local
220 cookieStore.add(uri2, cookie2); in test_getCookies()
224 assertTrue(list.contains(cookie2)); in test_getCookies()
268 HttpCookie cookie2 = new HttpCookie("cookie_name2", "cookie_value2"); in test_getURIs() local
269 cookieStore.add(uri1, cookie2); in test_getURIs()
[all …]
DHttpCookieTest.java406 HttpCookie cookie2 = new HttpCookie("TesT", "TEstValue"); in test_Equals() local
410 assertTrue(cookie2.equals(cookie)); in test_Equals()
411 assertTrue(cookie.equals(cookie2)); in test_Equals()
415 cookie2.setDomain("test"); in test_Equals()
416 assertFalse(cookie.equals(cookie2)); in test_Equals()
418 assertTrue(cookie.equals(cookie2)); in test_Equals()
421 assertFalse(cookie.equals(cookie2)); in test_Equals()
422 cookie2.setPath("temp\\E"); in test_Equals()
423 assertFalse(cookie.equals(cookie2)); in test_Equals()
427 cookie2.setPath("temp\\e"); in test_Equals()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCookiesTable.js195 function compareTo(getter, cookie1, cookie2) argument
197 … return sortDirection * (getter.apply(cookie1) + "").compareTo(getter.apply(cookie2) + "")
200 function numberCompare(getter, cookie1, cookie2) argument
202 return sortDirection * (getter.apply(cookie1) - getter.apply(cookie2));
205 function expiresCompare(cookie1, cookie2) argument
207 if (cookie1.session() !== cookie2.session())
213 if (cookie1.maxAge() && cookie2.maxAge())
214 return sortDirection * (cookie1.maxAge() - cookie2.maxAge());
215 if (cookie1.expires() && cookie2.expires())
216 return sortDirection * (cookie1.expires() - cookie2.expires());
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_unittest.cc105 scoped_ptr<Cookie> cookie2( in TEST_F() local
108 EXPECT_FALSE(cookie2->host_only); in TEST_F()
109 EXPECT_FALSE(cookie2->session); in TEST_F()
110 ASSERT_TRUE(cookie2->expiration_date.get()); in TEST_F()
111 EXPECT_EQ(10000, *cookie2->expiration_date); in TEST_F()
130 net::CanonicalCookie cookie2( in TEST_F() local
135 cookie2).spec()); in TEST_F()
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2965DiscardAttributeHandler.java53 SetCookie2 cookie2 = (SetCookie2) cookie; in parse() local
54 cookie2.setDiscard(true); in parse()
DRFC2965CommentUrlAttributeHandler.java53 SetCookie2 cookie2 = (SetCookie2) cookie; in parse() local
54 cookie2.setCommentURL(commenturl); in parse()
DRFC2965PortAttributeHandler.java111 SetCookie2 cookie2 = (SetCookie2) cookie; in parse() local
114 cookie2.setPorts(ports); in parse()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DCookieManagerTest.java190 final String cookie2 = "cookie2=sue"; in testCookieExpiration() local
197 String value2 = cookie2 + "; expires=" + date.toGMTString(); in testCookieExpiration()
208 assertTrue(allCookies.contains(cookie2)); in testCookieExpiration()
216 return !c.contains(cookie1) && c.contains(cookie2) && c.contains(cookie3); in testCookieExpiration()
226 return !c.contains(cookie1) && c.contains(cookie2) && !c.contains(cookie3); in testCookieExpiration()
/external/chromium/chrome/browser/extensions/
Dextension_cookies_unittest.cc136 net::CookieMonster::CanonicalCookie cookie2( in TEST_F() local
142 cookie2, "some cookie store")); in TEST_F()
169 net::CookieMonster::CanonicalCookie cookie2( in TEST_F() local
174 cookie2).spec()); in TEST_F()
/external/chromium_org/net/cookies/
Dcanonical_cookie_unittest.cc59 CanonicalCookie cookie2(url, in TEST() local
71 EXPECT_EQ("A", cookie2.Name()); in TEST()
72 EXPECT_EQ("2", cookie2.Value()); in TEST()
73 EXPECT_EQ("", cookie2.Domain()); in TEST()
74 EXPECT_EQ("", cookie2.Path()); in TEST()
75 EXPECT_FALSE(cookie2.IsSecure()); in TEST()
/external/chromium/chrome/browser/resources/net_internals/
Dlogviewpainter.js284 /^set-cookie2:/i,
/external/chromium_org/chrome/browser/resources/net_internals/
Dlog_view_painter.js467 /^set-cookie2: /i,