/libcore/luni/src/main/java/java/net/ |
CookieStoreImpl.java | 27 * An in-memory cookie store. 34 public synchronized void add(URI uri, HttpCookie cookie) { 35 if (cookie == null) { 36 throw new NullPointerException("cookie == null"); 45 cookies.remove(cookie); 47 cookies.add(cookie); 72 HttpCookie cookie = i.next(); local 73 if (cookie.hasExpired()) { 76 result.add(cookie); 89 HttpCookie cookie = i.next() local 108 HttpCookie cookie = i.next(); local [all...] |
HttpCookie.java | 31 * session with an HTTP server. This class parses cookie headers for all three 32 * commonly used HTTP cookie specifications: 35 * <li>The Netscape cookie spec is officially obsolete but widely used in 36 * practice. Each cookie contains one key-value pair and the following 45 * the Netscape cookie spec. It replaces the {@code Expires} timestamp 51 * CommentURL} attributes and renames the header from {@code Set-Cookie} 131 * Returns true if {@code cookie} should be sent to or accepted from {@code uri} with respect 132 * to the cookie's path. Cookies match by directory prefix: URI "/foo" matches cookies "/foo", 135 static boolean pathMatches(HttpCookie cookie, URI uri) { 137 String cookiePath = matchablePath(cookie.getPath()) 265 HttpCookie cookie = new HttpCookie(name, value); local [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
CookieJar.mm | 30 #import "Cookie.h" 47 static bool isHTTPOnly(NSHTTPCookie *cookie) 52 return supportsHTTPOnlyCookies && [cookie isHTTPOnly]; 61 NSHTTPCookie *cookie = (NSHTTPCookie *)[unfilteredCookies objectAtIndex:i]; 63 // <rdar://problem/5632883> On 10.5, NSHTTPCookieStorage would store an empty cookie, 64 // which would be sent as "Cookie: =". We have a workaround in setCookies() to prevent 66 // there's no harm to doing this check because such a cookie is never valid. 67 if (![[cookie name] length]) 70 if (isHTTPOnly(cookie)) 73 [filteredCookies.get() addObject:cookie]; [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCookieStore.java | 41 import org.apache.http.cookie.Cookie; 42 import org.apache.http.cookie.CookieIdentityComparator; 60 private final ArrayList<Cookie> cookies; 62 private final Comparator<Cookie> cookieComparator; 71 this.cookies = new ArrayList<Cookie>(); 76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies. 77 * If the given cookie has already expired it will not be added, but existing 80 * @param cookie the {@link Cookie cookie} to be adde [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
CookiePathComparator.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookiePathComparator.java $ 32 package org.apache.http.cookie; 38 * This cookie comparator ensures that multiple cookies satisfying 39 * a common criteria are ordered in the <tt>Cookie</tt> header such 51 public class CookiePathComparator implements Serializable, Comparator<Cookie> { 55 private String normalizePath(final Cookie cookie) { 56 String path = cookie.getPath(); 66 public int compare(final Cookie c1, final Cookie c2) [all...] |
Cookie.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/Cookie.java $ 32 package org.apache.http.cookie; 37 * HTTP "magic-cookie" represents a piece of state information 45 public interface Cookie { 62 * Returns the comment describing the purpose of this cookie, or 70 * If a user agent (web browser) presents this cookie to a user, the 71 * cookie's purpose will be described by the information at this URL. 76 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt> 86 * Returns <tt>false</tt> if the cookie should be discarded at the en [all...] |
MalformedCookieException.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/MalformedCookieException.java $ 32 package org.apache.http.cookie; 37 * Signals that a cookie is in some way invalid or illegal in a given
|
SetCookie.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SetCookie.java $ 32 package org.apache.http.cookie; 44 public interface SetCookie extends Cookie { 49 * If a user agent (web browser) presents this cookie to a user, the 50 * cookie's purpose will be described using this comment. 64 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 66 * @see Cookie#getExpiryDate 76 * @see Cookie#getDomain 85 * @see Cookie#getPath 91 * Sets the secure attribute of the cookie [all...] |
/frameworks/native/include/media/hardware/ |
HDCPAPI.h | 26 typedef void (*ObserverFunc)(void *cookie, int msg, int ext1, int ext2); 54 HDCPModule(void *cookie, ObserverFunc observerNotify) {}; 90 void *cookie, android::HDCPModule::ObserverFunc);
|
/external/webkit/Source/WebCore/platform/network/cf/ |
CookieJarCFNet.cpp | 31 #include "Cookie.h" 45 static const CFStringRef s_setCookieKeyCF = CFSTR("Set-Cookie"); 46 static const CFStringRef s_cookieCF = CFSTR("Cookie"); 60 static inline RetainPtr<CFStringRef> cookieDomain(CFHTTPCookieRef cookie) 63 return RetainPtr<CFStringRef>(AdoptCF, CFHTTPCookieCopyDomainPtr()(cookie)); 64 return CFHTTPCookieGetDomain(cookie); 67 static inline CFAbsoluteTime cookieExpirationTime(CFHTTPCookieRef cookie) 70 return CFHTTPCookieGetExpirationTimePtr()(cookie); 71 return CFDateGetAbsoluteTime(CFHTTPCookieGetExpiratonDate(cookie)); 74 static inline RetainPtr<CFStringRef> cookieName(CFHTTPCookieRef cookie) 100 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(unfilteredCookies, i); local 197 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local 228 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local 248 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local 266 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AsyncQueryService.java | 152 * @param cookie An object that gets passed into {@link #onQueryComplete} 169 public void startQuery(int token, Object cookie, Uri uri, String[] projection, 177 info.cookie = cookie; 193 * @param cookie An object that gets passed into {@link #onInsertComplete} 201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, 209 info.cookie = cookie; 223 * @param cookie An object that gets passed into {@link #onUpdateComplete} 237 public void startUpdate(int token, Object cookie, Uri uri, ContentValues values [all...] |
/external/chromium/chrome/browser/net/ |
cookie_policy_browsertest.cc | 69 // Visits a page that sets a first-party cookie. 76 GURL url(test_server()->GetURL("set-cookie?cookie1")); 78 std::string cookie = GetCookies(url); local 79 ASSERT_EQ("", cookie); 83 cookie = GetCookies(url); 84 EXPECT_EQ("cookie1", cookie); 88 // a first-party cookie. 97 GURL redirected_url(test_server()->GetURL("set-cookie?cookie2")); 100 // third-party cookie blocking if the first party for cookies URL is not 108 std::string cookie = GetCookies(redirected_url) local [all...] |
/external/chromium/base/win/ |
pe_image.h | 27 // cookie is the value passed to the enumerate method. 32 PVOID cookie); 36 // contains the dll and symbol to forward this export to. cookie is the value 41 LPCSTR forward, PVOID cookie); 45 // this block. cookie is the value passed to the enumerate method. 49 PIMAGE_THUNK_DATA iat, PVOID cookie); 52 // module is the dll that exports this symbol. cookie is the value passed to 57 PIMAGE_THUNK_DATA iat, PVOID cookie); 60 // module is the dll that exports this block of symbols. cookie is the value 70 PVOID cookie); [all...] |
/frameworks/base/core/java/android/content/ |
AsyncQueryHandler.java | 56 public Object cookie; field in class:AsyncQueryHandler.WorkerArgs 148 * @param cookie An object that gets passed into {@link #onQueryComplete} 164 public void startQuery(int token, Object cookie, Uri uri, 178 args.cookie = cookie; 203 * @param cookie An object that gets passed into {@link #onInsertComplete} 207 public final void startInsert(int token, Object cookie, Uri uri, 216 args.cookie = cookie; 229 * @param cookie An object that gets passed into {@link #onUpdateComplete [all...] |
/bootable/recovery/minadbd/ |
services.c | 32 void (*func)(int fd, void *cookie); 34 void *cookie; member in struct:stinfo 41 sti->func(sti->fd, sti->cookie); 46 static void sideload_service(int s, void *cookie) 49 unsigned count = (unsigned) cookie; 85 static void echo_service(int fd, void *cookie) 118 static int create_service_thread(void (*func)(int, void *), void *cookie) 132 sti->cookie = cookie;
|
/external/chromium/chrome/browser/extensions/ |
extension_cookies_helpers.cc | 49 const net::CookieMonster::CanonicalCookie& cookie, 53 result->SetString(keys::kNameKey, cookie.Name()); 54 result->SetString(keys::kValueKey, cookie.Value()); 55 result->SetString(keys::kDomainKey, cookie.Domain()); 57 net::CookieMonster::DomainIsHostOnly(cookie.Domain())); 58 result->SetString(keys::kPathKey, cookie.Path()); 59 result->SetBoolean(keys::kSecureKey, cookie.IsSecure()); 60 result->SetBoolean(keys::kHttpOnlyKey, cookie.IsHttpOnly()); 61 result->SetBoolean(keys::kSessionKey, !cookie.DoesExpire()); 62 if (cookie.DoesExpire()) [all...] |
/frameworks/native/libs/utils/ |
BasicHashtable.cpp | 85 bucket.cookie = 0; 101 if (bucket.cookie & Bucket::PRESENT) { 120 if (bucket.cookie & Bucket::PRESENT) { 125 if (!(bucket.cookie & Bucket::COLLISION)) { 136 if (bucket.cookie & Bucket::PRESENT) { 137 if ((bucket.cookie & Bucket::HASH_MASK) == hash 142 if (!(bucket.cookie & Bucket::COLLISION)) { 159 if (bucket->cookie & Bucket::PRESENT) { 162 bucket->cookie |= Bucket::COLLISION; 165 } while (bucket->cookie & Bucket::PRESENT) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
AbstractCookieSpec.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/AbstractCookieSpec.java $ 32 package org.apache.http.impl.cookie; 38 import org.apache.http.cookie.CookieAttributeHandler; 39 import org.apache.http.cookie.CookieSpec; 42 * Abstract cookie specification which can delegate the job of parsing, 43 * validation or matching cookie attributes to a number of arbitrary
|
/frameworks/native/include/utils/ |
Debug.h | 53 typedef void (*debugPrintFunc)(void* cookie, const char* txt); 56 debugPrintFunc func = 0, void* cookie = 0); 61 debugPrintFunc func = 0, void* cookie = 0);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
NotifyingAsyncQueryHandler.java | 40 void onQueryComplete(int token, Object cookie, Cursor cursor); 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 61 listener.onQueryComplete(token, cookie, cursor);
|
/bionic/libc/stdio/ |
funopen.c | 39 funopen(const void *cookie, int (*readfn)(void *, char *, int), 62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */
|
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_cookies.h | 39 * @brief Describes properties of an HTTP cookie. 42 /// the cookie name 44 /// the cookie value 46 /// the "domain" attribute, or else the hostname that the cookie came from 50 /// the cookie expiration time, or @c 0 for a session cookie 52 /// @c EINA_TRUE if the cookie should only be tranferred over SSL 54 /// @c EINA_TRUE if the cookie should not be exposed to scripts 68 /// Accepts every cookie sent from any page. 81 EAPI void ewk_cookies_cookie_del(Ewk_Cookie *cookie); [all...] |
/external/chromium/net/base/ |
cookie_monster_store_test.cc | 37 const CookieMonster::CanonicalCookie& cookie) { 39 CookieStoreCommand(CookieStoreCommand::ADD, cookie)); 43 const CookieMonster::CanonicalCookie& cookie) { 45 CookieStoreCommand::UPDATE_ACCESS_TIME, cookie)); 49 const CookieMonster::CanonicalCookie& cookie) { 51 CookieStoreCommand(CookieStoreCommand::REMOVE, cookie)); 67 const CookieMonster::CanonicalCookie& cookie, 70 CookieNotification notification(cookie, removed); 82 // Parse the cookie line. 86 // This helper is simplistic in interpreting a parsed cookie, in order t [all...] |
/external/chromium/chrome/browser/printing/ |
print_job_worker_owner.h | 37 // Cookie uniquely identifying the PrintedDocument and/or loaded settings. 38 virtual int cookie() const = 0;
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
saslcookiemechanism.h | 43 const std::string & cookie, 47 cookie_(cookie), 52 const std::string & cookie) 55 cookie_(cookie),
|