/external/webkit/LayoutTests/http/tests/cookies/resources/ |
clearCookies.cgi | 6 print 'Cache-Control: no-cache="set-cookie"' . "\n"; 8 my $cookie = $ENV{"HTTP_CLEAR_COOKIE"}; 10 if ($cookie =~ /Max-Age/i) { 11 $cookie =~ s/Max-Age *= *[0-9]+/Max-Age=0/i; 13 $cookie .= ";" unless ($cookie =~ m/;$/); 14 $cookie .= " " unless ($cookie =~ m/ $/); 15 $cookie .= "Max-Age=0"; 18 if ($cookie =~ /Expires/i) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicSecureHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.Cookie; 34 import org.apache.http.cookie.CookieOrigin; 35 import org.apache.http.cookie.MalformedCookieException; 36 import org.apache.http.cookie.SetCookie; 44 public void parse(final SetCookie cookie, final String value) 46 if (cookie == null) { 47 throw new IllegalArgumentException("Cookie may not be null") [all...] |
BasicCommentHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicCommentHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.MalformedCookieException; 34 import org.apache.http.cookie.SetCookie; 42 public void parse(final SetCookie cookie, final String value) 44 if (cookie == null) { 45 throw new IllegalArgumentException("Cookie may not be null"); 47 cookie.setComment(value);
|
AbstractCookieAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.Cookie; 34 import org.apache.http.cookie.CookieAttributeHandler; 35 import org.apache.http.cookie.CookieOrigin; 36 import org.apache.http.cookie.MalformedCookieException; 40 public void validate(final Cookie cookie, final CookieOrigin origin) 45 public boolean match(final Cookie cookie, final CookieOrigin origin) [all...] |
RFC2965CommentUrlAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.Cookie; 35 import org.apache.http.cookie.CookieAttributeHandler; 36 import org.apache.http.cookie.CookieOrigin; 37 import org.apache.http.cookie.MalformedCookieException; 38 import org.apache.http.cookie.SetCookie; 39 import org.apache.http.cookie.SetCookie2; 42 * <tt>"CommantURL"</tt> cookie attribute handler for RFC 2965 cookie spec [all...] |
RFC2965DiscardAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965DiscardAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.Cookie; 35 import org.apache.http.cookie.CookieAttributeHandler; 36 import org.apache.http.cookie.CookieOrigin; 37 import org.apache.http.cookie.MalformedCookieException; 38 import org.apache.http.cookie.SetCookie; 39 import org.apache.http.cookie.SetCookie2; 42 * <tt>"Discard"</tt> cookie attribute handler for RFC 2965 cookie spec [all...] |
RFC2109VersionHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.Cookie; 34 import org.apache.http.cookie.CookieOrigin; 35 import org.apache.http.cookie.MalformedCookieException; 36 import org.apache.http.cookie.SetCookie; 44 public void parse(final SetCookie cookie, final String value) 46 if (cookie == null) { 47 throw new IllegalArgumentException("Cookie may not be null") [all...] |
RFC2965VersionAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.ClientCookie; 35 import org.apache.http.cookie.Cookie; 36 import org.apache.http.cookie.CookieAttributeHandler; 37 import org.apache.http.cookie.CookieOrigin; 38 import org.apache.http.cookie.MalformedCookieException; 39 import org.apache.http.cookie.SetCookie; 40 import org.apache.http.cookie.SetCookie2 [all...] |
BasicPathHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicPathHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.Cookie; 34 import org.apache.http.cookie.CookieAttributeHandler; 35 import org.apache.http.cookie.CookieOrigin; 36 import org.apache.http.cookie.MalformedCookieException; 37 import org.apache.http.cookie.SetCookie; 45 public void parse(final SetCookie cookie, String value) 47 if (cookie == null) [all...] |
RFC2965DomainAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 36 import org.apache.http.cookie.ClientCookie; 37 import org.apache.http.cookie.Cookie; 38 import org.apache.http.cookie.CookieAttributeHandler; 39 import org.apache.http.cookie.CookieOrigin; 40 import org.apache.http.cookie.MalformedCookieException; 41 import org.apache.http.cookie.SetCookie; 44 * <tt>"Domain"</tt> cookie attribute handler for RFC 2965 cookie spec [all...] |
BasicExpiresHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicExpiresHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.MalformedCookieException; 34 import org.apache.http.cookie.SetCookie; 49 public void parse(final SetCookie cookie, final String value) 51 if (cookie == null) { 52 throw new IllegalArgumentException("Cookie may not be null"); 58 cookie.setExpiryDate(DateUtils.parseDate(value, this.datepatterns));
|
BasicMaxAgeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicMaxAgeHandler.java $ 31 package org.apache.http.impl.cookie; 35 import org.apache.http.cookie.MalformedCookieException; 36 import org.apache.http.cookie.SetCookie; 44 public void parse(final SetCookie cookie, final String value) 46 if (cookie == null) { 47 throw new IllegalArgumentException("Cookie may not be null"); 63 cookie.setExpiryDate(new Date(System.currentTimeMillis() + age * 1000L));
|
RFC2965PortAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 36 import org.apache.http.cookie.ClientCookie; 37 import org.apache.http.cookie.Cookie; 38 import org.apache.http.cookie.CookieAttributeHandler; 39 import org.apache.http.cookie.CookieOrigin; 40 import org.apache.http.cookie.MalformedCookieException; 41 import org.apache.http.cookie.SetCookie; 42 import org.apache.http.cookie.SetCookie2 [all...] |
BrowserCompatSpecFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BrowserCompatSpecFactory.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.CookieSpec; 35 import org.apache.http.cookie.CookieSpecFactory; 36 import org.apache.http.cookie.params.CookieSpecPNames;
|
NetscapeDraftSpecFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDraftSpecFactory.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.CookieSpec; 35 import org.apache.http.cookie.CookieSpecFactory; 36 import org.apache.http.cookie.params.CookieSpecPNames;
|
/bootable/bootloader/legacy/libc/ |
libc_private.h | 33 void (*xputc)(unsigned n, void *cookie), 34 void *cookie);
|
xprintf.c | 42 static void xputs(const char *s, void (*xputc)(unsigned n, void *cookie), void *cookie) 45 xputc(*s++, cookie); 50 void (*xputc)(unsigned n, void *cookie), 51 void *cookie) 64 xputc(n, cookie); 70 xputc(hex2asc(n >> 12), cookie); 71 xputc(hex2asc(n >> 8), cookie); 72 xputc(hex2asc(n >> 4), cookie); 73 xputc(hex2asc(n >> 0), cookie); [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieTest.java | 56 String cookie = mCookieManager.getCookie(url); local 57 assertTrue(cookie.equals("a=b")); 61 cookie = mCookieManager.getCookie(url); 63 assertTrue(cookie.contains("a=b")); 64 assertTrue(cookie.contains("c=\"d;\"")); 72 String cookie = mCookieManager.getCookie(url); local 73 assertTrue(cookie.equals("a=b")); 75 // no cross domain cookie 76 cookie = mCookieManager.getCookie("http://bar.com"); 77 assertTrue(cookie == null) 116 String cookie = mCookieManager.getCookie(url_abcd); local 150 String cookie = mCookieManager.getCookie(url); local 186 String cookie = mCookieManager.getCookie(url + "\/wee"); local 215 String cookie = mCookieManager.getCookie(url); local [all...] |
/external/oprofile/daemon/ |
opd_cookie.h | 3 * cookie -> name cache 29 char const * find_cookie(cookie_t cookie); 31 /** return true if this cookie should be ignored */ 32 int is_cookie_ignored(cookie_t cookie); 34 /** give a textual description of the cookie */ 35 char const * verbose_cookie(cookie_t cookie);
|
opd_cookie.c | 3 * cookie -> name cache 68 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 70 return syscall(__NR_lookup_dcookie, (unsigned long)(cookie >> 32), 71 (unsigned long)(cookie & 0xffffffff), buf, size); 75 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 78 (unsigned long)(cookie & 0xffffffff), 79 (unsigned long)(cookie >> 32), buf, size); 82 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 84 return syscall(__NR_lookup_dcookie, cookie, buf, size); 102 static struct cookie_entry * create_cookie(cookie_t cookie) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
HttpCookieTest.java | 78 HttpCookie cookie = new HttpCookie("harmony!", null); local 79 assertEquals("harmony!", cookie.getName()); 81 cookie = new HttpCookie("harmon$y", null); 82 assertEquals("harmon$y", cookie.getName()); 175 HttpCookie cookie = new HttpCookie("name", "value"); local 176 assertEquals(1, cookie.getVersion()); 177 cookie.setVersion(0); 178 assertEquals(0, cookie.getVersion()); 179 cookie.setVersion(1); 180 assertEquals(1, cookie.getVersion()) 203 HttpCookie cookie = new HttpCookie("name", "value"); local 224 HttpCookie cookie = new HttpCookie("testName", "value"); local 234 HttpCookie cookie = new HttpCookie("testName", "value"); local 252 HttpCookie cookie = new HttpCookie("name", "test new value"); local 272 HttpCookie cookie = new HttpCookie("name", "test new value"); local 289 HttpCookie cookie = new HttpCookie("name", "test new value"); local 309 HttpCookie cookie = new HttpCookie("cookieName", "cookieName value"); local 325 HttpCookie cookie = new HttpCookie("cookie'sName", local 342 HttpCookie cookie = new HttpCookie("cookie'\\"sName", local 360 HttpCookie cookie = new HttpCookie("cookie'\\"sName?", local 378 HttpCookie cookie = new HttpCookie("cookie'\\"sName123456", local 405 HttpCookie cookie = new HttpCookie("test", "testValue"); local 437 HttpCookie cookie = new HttpCookie("test", "testValue"); local 453 HttpCookie cookie = new HttpCookie("test", "testValue"); local 492 HttpCookie cookie = new HttpCookie("nAmW_1", "value_1"); local 590 HttpCookie cookie = list.get(0); local 631 HttpCookie cookie = list.get(0); local [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
CookieAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java $ 31 package org.apache.http.cookie; 34 * Ths interface represents a cookie attribute handler responsible 35 * for parsing, validating, and matching a specific cookie attribute, 38 * Different cookie specifications can provide a specific 39 * implementation for this class based on their cookie handling 49 * Parse the given cookie attribute value and update the corresponding 50 * {@link org.apache.http.cookie.Cookie} property. 52 * @param cookie {@link org.apache.http.cookie.Cookie} to be update [all...] |
/libcore/luni/src/main/java/java/net/ |
CookiePolicy.java | 34 public boolean shouldAccept(URI uri, HttpCookie cookie) { 43 public boolean shouldAccept(URI uri, HttpCookie cookie) { 52 public boolean shouldAccept(URI uri, HttpCookie cookie) { 53 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost()); 58 * This method is used to determine whether or not the specified cookie 63 * @param cookie 65 * @return true if this cookie should be accepted; false otherwise 67 boolean shouldAccept(URI uri, HttpCookie cookie);
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
MergeCookie.java | 23 * top level item that can use the {@code include} item as cookie. 25 * This class is used as a cookie for all items under the {@code merge} (while referencing the 26 * original {@code include} cookie) to make it easy on the client to group all merged items 34 public MergeCookie(Object cookie) { 35 mCookie = cookie;
|
/external/apache-http/src/org/apache/http/cookie/params/ |
CookieSpecPNames.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/params/CookieSpecPNames.java $ 32 package org.apache.http.cookie.params; 35 * Parameter names for cookie specifications in HttpCookie. 54 public static final String DATE_PATTERNS = "http.protocol.cookie-datepatterns"; 57 * Parameter for Cookie header formatting. 58 * Defines whether {@link org.apache.http.cookie.Cookie cookies} 61 * If not, each cookie is formatted in a seperate Cookie header. 66 public static final String SINGLE_COOKIE_HEADER = "http.protocol.single-cookie-header"; [all...] |