Searched refs:cookies (Results 1 - 25 of 49) sorted by relevance

12

/external/webkit/WebCore/platform/network/android/
H A DCookieJarAndroid.cpp39 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/
H A DBasicCookieStore.java60 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 added
110 public synchronized void addCookies(Cookie[] cookies) { argument
[all...]
/external/webkit/WebCore/platform/qt/
H A DCookieJarQt.cpp69 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
[all...]
/external/webkit/WebCore/platform/network/chromium/
H A DCookieJarChromium.cpp45 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/
H A DCookieJarSoup.cpp80 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/
H A DCookieJar.mm63 // 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
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DRFC2109Spec.java131 public List<Header> formatCookies(List<Cookie> cookies) { argument
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);
150 doFormatOneHeader(final List<Cookie> cookies) argument
173 doFormatManyHeaders(final List<Cookie> cookies) argument
[all...]
H A DBestMatchSpec.java161 public List<Header> formatCookies(final List<Cookie> cookies) { argument
162 if (cookies == null) {
166 for (Cookie cookie: cookies) {
172 return getStrict().formatCookies(cookies);
174 return getCompat().formatCookies(cookies);
H A DBrowserCompatSpec.java153 public List<Header> formatCookies(final List<Cookie> cookies) { argument
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);
H A DNetscapeDraftSpec.java108 * whether multiple cookies may be sent in one header. Hence, comma
147 public List<Header> formatCookies(final List<Cookie> cookies) { argument
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);
H A DCookieSpecBase.java73 List<Cookie> cookies = new ArrayList<Cookie>(elems.length);
98 cookies.add(cookie);
100 return cookies;
/external/webkit/WebKit/android/WebCoreSupport/
H A DCookieClient.h41 virtual String cookies(const KURL& url) = 0;
H A DPlatformBridge.cpp101 String PlatformBridge::cookies(const KURL& url) function in class:WebCore::PlatformBridge
107 return client->cookies(url);
/external/chromium/net/base/
H A Dcookie_monster_perftest.cc44 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) {
H A Dcookie_monster.cc74 // 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
[all...]
/external/webkit/WebCore/platform/network/win/
H A DCookieJarWin.cpp47 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/
H A DCookieSpec.java43 * <li> rules of validation of parsed cookies
102 * @param cookies the Cookies format into a Cookie header
106 List<Header> formatCookies(List<Cookie> cookies); argument
/external/clearsilver/java-jni/servlet/
H A DCSPage.java59 Cookie[] cookies = request.getCookies();
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/
H A DCookieJar.h39 // cookies omits HttpOnly cookies.
40 String cookies(const Document*, const KURL&);
/external/webkit/WebCore/platform/haiku/
H A DCookieJarHaiku.cpp50 String cookies(const Document*, const KURL& url) function in namespace:WebCore
57 // FIXME: include HttpOnly cookies.
/external/webkit/WebCore/platform/network/curl/
H A DCookieJarCurl.cpp37 String cookies(const Document* /*document*/, const KURL& url) function in namespace:WebCore
/external/webkit/WebCore/platform/android/
H A DPlatformBridge.h108 static String cookies(const KURL&);
/external/webkit/WebCore/inspector/front-end/
H A DCookieItemsView.js49 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies.");
97 this._treeElement.subtitle = String.sprintf(WebInspector.UIString("%d cookies (%s)"), this._cookies.length,
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;
/external/apache-http/src/org/apache/http/client/protocol/
H A DResponseProcessCookies.java54 * contained in response cookies received in the given the HTTP response.
120 List<Cookie> cookies = cookieSpec.parse(header, cookieOrigin);
121 for (Cookie cookie : cookies) {
/external/chromium/net/url_request/
H A Durl_request_http_job.h43 virtual bool GetResponseCookies(std::vector<std::string>* cookies);
59 // Shadows URLRequestJob's version of this method so we can grab cookies.
69 std::vector<std::string>* cookies);

Completed in 766 milliseconds

12