HomeSort by relevance Sort by last modified time
    Searched refs:cookies (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/webkit/WebCore/platform/network/android/
CookieJarAndroid.cpp 39 String cookies(const Document*, const KURL& url) function in namespace:WebCore
41 return PlatformBridge::cookies(url);
47 return PlatformBridge::cookies(url);
  /external/apache-http/src/org/apache/http/impl/client/
BasicCookieStore.java 60 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore
71 this.cookies = new ArrayList<Cookie>();
76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
88 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
95 cookies.add(cookie);
101 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
102 * in the given array order. If any of the given cookies has already expired it will
105 * @param cookies the {@link Cookie cookies} to be adde
    [all...]
  /external/webkit/WebCore/platform/qt/
CookieJarQt.cpp 69 QList<QNetworkCookie> cookies = QNetworkCookie::parseCookies(QString(value).toAscii());
71 QList<QNetworkCookie>::Iterator it = cookies.begin();
72 while (it != cookies.end()) {
74 it = cookies.erase(it);
79 jar->setCookiesFromUrl(cookies, u);
82 String cookies(const Document* document, const KURL& url) function in namespace:WebCore
89 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u);
90 if (cookies.isEmpty())
94 foreach (QNetworkCookie networkCookie, cookies) {
113 QList<QNetworkCookie> cookies = jar->cookiesForUrl(u)
    [all...]
  /external/webkit/WebKit/android/WebCoreSupport/
CookieClient.h 41 virtual String cookies(const KURL& url) = 0;
  /external/webkit/WebCore/platform/network/chromium/
CookieJarChromium.cpp 45 String cookies(const Document* document, const KURL& url) function in namespace:WebCore
47 return ChromiumBridge::cookies(url, document->firstPartyForCookies());
53 Vector<Cookie> cookies; local
54 getRawCookies(document, url, cookies);
57 for (size_t i = 0; i < cookies.size(); i++) {
58 Cookie cookie = cookies[i];
  /external/webkit/WebCore/platform/network/soup/
CookieJarSoup.cpp 80 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore
87 char* cookies = soup_cookie_jar_get_cookies(jar, uri, FALSE); local
90 String result(String::fromUTF8(cookies));
91 g_free(cookies);
103 char* cookies = soup_cookie_jar_get_cookies(jar, uri, TRUE); local
106 String result(String::fromUTF8(cookies));
107 g_free(cookies);
  /external/webkit/WebCore/platform/mac/
CookieJar.mm 63 // that, but we also need to avoid sending cookies that were previously stored, and
77 String cookies(const Document*, const KURL& url)
82 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL];
83 return [[NSHTTPCookie requestHeaderFieldsWithCookies:filterCookies(cookies).get()] objectForKey:@"Cookie"];
94 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL];
95 return [[NSHTTPCookie requestHeaderFieldsWithCookies:cookies] objectForKey:@"Cookie"];
111 // cookiesWithResponseHeaderFields doesn't parse cookies without a value
115 NSArray *cookies = [NSHTTPCookie cookiesWithResponseHeaderFields:[NSDictionary dictionaryWithObject:cookieString forKey:@"Set-Cookie"] forURL:cookieURL];
116 [[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookies:filterCookies(cookies).get() forURL:cookieURL mainDocumentURL:document->firstPartyForCookies()];
138 NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:cookieURL]
    [all...]
  /libcore/luni/src/main/java/java/net/
CookieManager.java 27 * the storage of cookies from the policy which decides to accept or deny
28 * cookies. The constructor can have two arguments: a CookieStore and a
36 * some cookies into a cookie store. Three built-in CookiePolicy is defined:
93 * Searches and gets all cookies in the cache by the specified uri in the
100 * @return a map that record all such cookies, the map is unchangeable
123 private static Map<String, List<String>> cookiesToHeaders(List<HttpCookie> cookies) {
124 if (cookies.isEmpty()) {
130 // If all cookies are version 1, add a version 1 header. No header for version 0 cookies.
132 for (HttpCookie cookie : cookies) {
164 List<HttpCookie> cookies = parseCookie(responseHeaders); local
207 List<HttpCookie> cookies = new ArrayList<HttpCookie>(); local
    [all...]
CookieStoreImpl.java 40 List<HttpCookie> cookies = map.get(uri); local
41 if (cookies == null) {
42 cookies = new ArrayList<HttpCookie>();
43 map.put(uri, cookies);
45 cookies.remove(cookie);
47 cookies.add(cookie);
68 // get cookies associated with given URI. If none, returns an empty list
74 i.remove(); // remove expired cookies
81 // get all cookies that domain matches the URI
94 i.remove(); // remove expired cookies
130 List<HttpCookie> cookies = map.get(cookiesUri(uri)); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java 131 public List<Header> formatCookies(List<Cookie> cookies) {
132 if (cookies == null) {
133 throw new IllegalArgumentException("List of cookies may not be null");
135 if (cookies.isEmpty()) {
136 throw new IllegalArgumentException("List of cookies may not be empty");
138 if (cookies.size() > 1) {
140 cookies = new ArrayList<Cookie>(cookies);
141 Collections.sort(cookies, PATH_COMPARATOR);
144 return doFormatOneHeader(cookies);
    [all...]
BestMatchSpec.java 161 public List<Header> formatCookies(final List<Cookie> cookies) {
162 if (cookies == null) {
166 for (Cookie cookie: cookies) {
172 return getStrict().formatCookies(cookies);
174 return getCompat().formatCookies(cookies);
BrowserCompatSpec.java 153 public List<Header> formatCookies(final List<Cookie> cookies) {
154 if (cookies == null) {
155 throw new IllegalArgumentException("List of cookies may not be null");
157 if (cookies.isEmpty()) {
158 throw new IllegalArgumentException("List of cookies may not be empty");
160 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
163 for (int i = 0; i < cookies.size(); i++) {
164 Cookie cookie = cookies.get(i);
NetscapeDraftSpec.java 108 * whether multiple cookies may be sent in one header. Hence, comma
147 public List<Header> formatCookies(final List<Cookie> cookies) {
148 if (cookies == null) {
149 throw new IllegalArgumentException("List of cookies may not be null");
151 if (cookies.isEmpty()) {
152 throw new IllegalArgumentException("List of cookies may not be empty");
154 CharArrayBuffer buffer = new CharArrayBuffer(20 * cookies.size());
157 for (int i = 0; i < cookies.size(); i++) {
158 Cookie cookie = cookies.get(i);
CookieSpecBase.java 73 List<Cookie> cookies = new ArrayList<Cookie>(elems.length); local
98 cookies.add(cookie);
100 return cookies;
  /external/chromium/net/base/
cookie_monster_perftest.cc 44 std::vector<std::string> cookies; local
46 cookies.push_back(StringPrintf("a%03d=b", i));
49 // Add a bunch of cookies on a single host
51 for (std::vector<std::string>::const_iterator it = cookies.begin();
52 it != cookies.end(); ++it) {
58 for (std::vector<std::string>::const_iterator it = cookies.begin();
59 it != cookies.end(); ++it) {
cookie_monster.cc 74 // and we would have been purging the same amount of cookies. We're just
76 static const size_t kNumCookiesPerHost = 70; // ~50 cookies
78 static const size_t kNumCookiesTotal = 3300; // ~3000 cookies
116 // Initialize the store and sync in any saved persistent cookies. We don't
119 std::vector<KeyedCanonicalCookie> cookies; local
120 // Reserve space for the maximum amount of cookies a database should have.
121 // This prevents multiple vector growth / copies as we append cookies.
122 cookies.reserve(kNumCookiesTotal);
123 store_->Load(&cookies);
124 for (std::vector<KeyedCanonicalCookie>::const_iterator it = cookies.begin()
    [all...]
  /external/webkit/WebCore/platform/network/win/
CookieJarWin.cpp 47 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore
65 return cookies(document, url);
  /external/apache-http/src/org/apache/http/cookie/
CookieSpec.java 43 * <li> rules of validation of parsed cookies
64 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
100 * Create <tt>"Cookie"</tt> headers for an array of Cookies.
102 * @param cookies the Cookies format into a Cookie header
103 * @return a Header for the given Cookies.
106 List<Header> formatCookies(List<Cookie> cookies);
  /external/clearsilver/java-jni/servlet/
CSPage.java 57 // Cookies
59 Cookie[] cookies = request.getCookies(); local
60 if (cookies.length > 0) {
61 for (int i = 0; i < cookies.length; i++) {
62 Cookie cookie = cookies[i];
80 /* first do cookies
88 out.println(rb.getString("cookies.set") + "<br>");
89 out.print(rb.getString("cookies.name") + " " + cookieName +
91 out.print(rb.getString("cookies.value") + " " + cookieValue);
  /external/webkit/WebCore/platform/
CookieJar.h 39 // cookies omits HttpOnly cookies.
40 String cookies(const Document*, const KURL&);
  /libcore/luni/src/test/java/libcore/java/net/
CookiesTest.java 59 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
60 assertEquals(1, cookies.size());
61 HttpCookie cookie = cookies.get(0);
89 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
90 assertEquals(1, cookies.size());
91 HttpCookie cookie = cookies.get(0);
122 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies(); local
123 assertEquals(1, cookies.size());
124 HttpCookie cookie = cookies.get(0);
156 List<HttpCookie> cookies = cookieManager.getCookieStore().getCookies() local
176 List<HttpCookie> cookies = sortedCopy(cookieStore.cookies); local
520 private final List<HttpCookie> cookies = new ArrayList<HttpCookie>(); field in class:CookiesTest.TestCookieStore
    [all...]
  /external/webkit/WebCore/platform/haiku/
CookieJarHaiku.cpp 50 String cookies(const Document*, const KURL& url) function in namespace:WebCore
57 // FIXME: include HttpOnly cookies.
  /external/webkit/WebCore/platform/network/curl/
CookieJarCurl.cpp 37 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore
  /external/webkit/WebCore/platform/android/
PlatformBridge.h 106 // Cookies
108 static String cookies(const KURL&);
  /external/webkit/WebCore/inspector/front-end/
CookieItemsView.js 49 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies.");
73 WebInspector.Cookies.getCookiesAsync(this._updateWithCookies.bind(this));
97 this._treeElement.subtitle = String.sprintf(WebInspector.UIString("%d cookies (%s)"), this._cookies.length,
135 if (WebInspector.Cookies.cookieMatchesResourceURL(allCookies[i], resourceURL)) {
258 var cookies = this._cookies;
261 for (var i = 0; i < cookies.length; ++i) {
262 if (addedCookies[cookies[i].name])
264 addedCookies[cookies[i].name] = true;
266 data[0] = cookies[i].name;
267 data[1] = cookies[i].value
    [all...]

Completed in 310 milliseconds

1 2 3