/external/curl/docs/examples/ |
H A D | cookie_interface.c | 23 * Import and export cookies with COOKIELIST. 39 struct curl_slist *cookies; local 44 res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); 50 nc = cookies; 60 curl_slist_free_all(cookies); 85 printf("Erasing curl's knowledge of cookies!\n"); 110 cookies will not be exported either. For more information refer to the
|
/external/apache-http/src/org/apache/http/cookie/ |
H A D | CookieSpec.java | 43 * <li> rules of validation of parsed cookies 107 * @param cookies the Cookies format into a Cookie header 111 List<Header> formatCookies(List<Cookie> cookies); argument
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | BasicCookieStore.java | 65 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore 76 this.cookies = new ArrayList<Cookie>(); 81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) { 100 cookies.add(cookie); 106 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and 107 * in the given array order. If any of the given cookies has already expired it will 110 * @param cookies the {@link Cookie cookies} to be added 115 public synchronized void addCookies(Cookie[] cookies) { argument [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | BrowserCompatSpec.java | 158 public List<Header> formatCookies(final List<Cookie> cookies) { argument 159 if (cookies == null) { 160 throw new IllegalArgumentException("List of cookies may not be null"); 162 if (cookies.isEmpty()) { 163 throw new IllegalArgumentException("List of cookies may not be empty"); 165 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); 168 for (int i = 0; i < cookies.size(); i++) { 169 Cookie cookie = cookies.get(i);
|
H A D | NetscapeDraftSpec.java | 113 * whether multiple cookies may be sent in one header. Hence, comma 152 public List<Header> formatCookies(final List<Cookie> cookies) { argument 153 if (cookies == null) { 154 throw new IllegalArgumentException("List of cookies may not be null"); 156 if (cookies.isEmpty()) { 157 throw new IllegalArgumentException("List of cookies may not be empty"); 159 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size()); 162 for (int i = 0; i < cookies.size(); i++) { 163 Cookie cookie = cookies.get(i);
|
H A D | BestMatchSpec.java | 166 public List<Header> formatCookies(final List<Cookie> cookies) { argument 167 if (cookies == null) { 171 for (Cookie cookie: cookies) { 177 return getStrict().formatCookies(cookies); 179 return getCompat().formatCookies(cookies);
|
H A D | RFC2109Spec.java | 136 public List<Header> formatCookies(List<Cookie> cookies) { argument 137 if (cookies == null) { 138 throw new IllegalArgumentException("List of cookies may not be null"); 140 if (cookies.isEmpty()) { 141 throw new IllegalArgumentException("List of cookies may not be empty"); 143 if (cookies.size() > 1) { 145 cookies = new ArrayList<Cookie>(cookies); 146 Collections.sort(cookies, PATH_COMPARATOR); 149 return doFormatOneHeader(cookies); 155 doFormatOneHeader(final List<Cookie> cookies) argument 178 doFormatManyHeaders(final List<Cookie> cookies) argument [all...] |
/external/curl/lib/ |
H A D | share.h | 50 struct CookieInfo *cookies; member in struct:Curl_share
|
H A D | cookie.h | 49 /* linked list of cookies we know of */ 50 struct Cookie *cookies; member in struct:CookieInfo 54 long numcookies; /* number of cookies in the "jar" */ 55 bool newsession; /* new session, discard session cookies on load */ 78 * Add a cookie to the internal list of cookies. The domain and path arguments 88 void Curl_cookie_freelist(struct Cookie *cookies); 89 void Curl_cookie_clearall(struct CookieInfo *cookies); 90 void Curl_cookie_clearsess(struct CookieInfo *cookies);
|
H A D | cookie.c | 33 called before any cookies are set. 56 For a given host and path, return a linked list of cookies that 61 It shall only return cookies that haven't expired. 64 Example set of cookies: 258 * Load cookies from all given cookie files (CURLOPT_COOKIEFILE). 270 data->cookies, 278 data->cookies = newcookies; 300 * remove_expired() removes expired cookies. 302 static void remove_expired(struct CookieInfo *cookies) argument 307 co = cookies 1235 Curl_cookie_clearall(struct CookieInfo *cookies) argument 1270 Curl_cookie_clearsess(struct CookieInfo *cookies) argument [all...] |
H A D | urldata.h | 1374 STRING_COOKIEJAR, /* dump all cookies to this file */ 1739 struct CookieInfo *cookies; /* the cookies, read from files and servers. member in struct:Curl_easy
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowCookieManager.java | 18 private Map<String,String> cookies = new HashMap<String, String>(); field in class:ShadowCookieManager 31 cookies.put(url, value); 36 return cookies.get(url); 51 cookies.clear();
|
/external/curl/tests/libtest/ |
H A D | lib506.c | 182 struct curl_slist *cookies = NULL; local 278 /* fetch a another one and save cookies */ 307 /* load cookies */ 328 code = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); 334 printf("loaded cookies:\n"); 335 if(!cookies) { 336 fprintf(stderr, " reloading cookies from '%s' failed\n", JAR); 341 next_cookie = cookies; 347 curl_slist_free_all(cookies);
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
H A D | ContinuingHttpServletRequest.java | 41 private final Cookie[] cookies; field in class:ContinuingHttpServletRequest 49 cookies = new Cookie[numberOfCookies]; 56 cookies[i] = originalCookie; 58 cookies[i] = new ImmutableCookie(originalCookie); 62 cookies = null; 92 // snapshots the original set of cookies it received and imprisons them in immutable 96 return cookies; 116 throw new UnsupportedOperationException("Cannot modify cookies on a continued request"); 120 throw new UnsupportedOperationException("Cannot modify cookies on a continued request"); 124 throw new UnsupportedOperationException("Cannot modify cookies o [all...] |
/external/libxkbcommon/xkbcommon/src/x11/ |
H A D | util.c | 161 xcb_get_atom_name_cookie_t cookies[SIZE]; local 172 cookies[i % SIZE] = xcb_get_atom_name(conn, from[i]); 183 reply = xcb_get_atom_name_reply(conn, cookies[i % SIZE], NULL); 204 xcb_discard_reply(conn, cookies[j % SIZE].sequence);
|
/external/python/cpython3/Lib/test/ |
H A D | test_http_cookies.py | 1 # Simple test suite for http/cookies.py 6 from http import cookies namespace 33 # Check illegal cookies that have an '=' char in an unquoted value 63 C = cookies.SimpleCookie() 71 C = cookies.SimpleCookie() 98 C = cookies.SimpleCookie() 105 C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"') 111 C = cookies.SimpleCookie() 115 C = cookies.SimpleCookie() 121 C = cookies [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | OkHeaders.java | 122 * Send all cookies in one big header, as recommended by 125 private static String buildCookieHeader(List<String> cookies) { argument 126 if (cookies.size() == 1) return cookies.get(0); 128 for (int i = 0, size = cookies.size(); i < size; i++) { 130 sb.append(cookies.get(i));
|
/external/libchrome/base/ |
H A D | pickle_unittest.cc | 238 int cookies[10]; member in struct:base::CustomHeader 283 int cookies[10]; member in struct:base::CustomHeader
|
/external/apache-http/android/src/android/net/http/ |
H A D | Headers.java | 123 private ArrayList<String> cookies = new ArrayList<String>(2); field in class:Headers 285 cookies.add(val); 366 return this.cookies;
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
H A D | NanoHTTPD.java | 246 * Provides rudimentary support for cookies. Doesn't support 'path', 254 private final HashMap<String, String> cookies = new HashMap<String, String>(); field in class:NanoHTTPD.CookieHandler 265 this.cookies.put(data[0], data[1]); 284 return this.cookies.keySet().iterator(); 295 return this.cookies.get(name); 317 * Internally used by the webserver to add all queued cookies into the 321 * The Response object to which headers the queued cookies 561 private CookieHandler cookies; field in class:NanoHTTPD.HTTPSession 830 this.cookies = new CookieHandler(this.headers); 848 this.cookies [all...] |
/external/robolectric/v1/lib/main/ |
H A D | httpclient-4.0.3.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ... |
/external/guice/extensions/struts2/lib/ |
H A D | jetty-6.1.0.jar | META-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/jetty/ org/mortbay/jetty/webapp/ ... |
H A D | jsp-api-2.1.jar | META-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/jsp/ javax/servlet/jsp/resources/ ... |
/external/annotation-tools/scene-lib/ |
H A D | ant-contrib.jar | META-INF/ META-INF/MANIFEST.MF net/ net/sf/ net/sf/antcontrib/ net/sf/antcontrib/AntContribVersion ... |
/external/caliper/lib/ |
H A D | jersey-core-1.11.jar | META-INF/MANIFEST.MF META-INF/ META-INF/jersey-module-version META- ... |