Searched refs:cookie (Results 1 - 25 of 327) sorted by relevance

1234567891011>>

/macosx-10.9.5/ruby-104/ruby/test/cgi/
H A Dtest_cgi_cookie.rb23 cookie = CGI::Cookie.new('name1', 'val1', '&<>"', @str1)
24 assert_equal('name1', cookie.name)
25 assert_equal(['val1', '&<>"', @str1], cookie.value)
26 assert_nil(cookie.domain)
27 assert_nil(cookie.expires)
28 assert_equal('', cookie.path)
29 assert_equal(false, cookie.secure)
30 assert_equal("name1=val1&%26%3C%3E%22&%E3%82%86%E3%82%93%E3%82%86%E3%82%93; path=", cookie.to_s)
38 cookie = CGI::Cookie.new('name'=>'name1',
45 assert_equal('name1', cookie
[all...]
/macosx-10.9.5/file-46/file/python/
H A Dpy_magic.h36 magic_t cookie; member in struct:__anon8820
/macosx-10.9.5/ruby-104/ruby/lib/webrick/
H A Dcookie.rb2 # cookie.rb -- Cookie class
9 # $IPR: cookie.rb,v 1.16 2002/09/21 12:23:35 gotoyuzo Exp $
22 # The cookie name
27 # The cookie value
32 # The cookie version
37 # The cookie domain
41 # The cookie path
46 # Is this a secure cookie?
51 # The cookie comment
56 # The maximum age of the cookie
[all...]
/macosx-10.9.5/ruby-104/ruby/test/webrick/
H A Dtest_cookie.rb2 require "webrick/cookie"
6 cookie = WEBrick::Cookie.new("foo","bar")
7 assert_equal("foo", cookie.name)
8 assert_equal("bar", cookie.value)
9 assert_equal("foo=bar", cookie.to_s)
13 cookie = WEBrick::Cookie.new("foo","bar")
15 cookie.max_age = t
16 assert_match(t.to_s, cookie.to_s)
18 cookie = WEBrick::Cookie.new("foo","bar")
20 cookie
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/blackberry/
H A DCookieParser.cpp85 // Find a cookie separator.
89 // Detect an empty cookie and go to the next one.
98 RefPtr<ParsedCookie> cookie = parseOneCookie(cookies, cookieStart, cookieEnd - 1, curTime); local
99 if (cookie)
100 parsedCookies.append(cookie);
105 PassRefPtr<ParsedCookie> CookieParser::parseOneCookie(const String& cookie) argument
107 return parseOneCookie(cookie, 0, cookie.length() - 1, currentTime());
110 // The cookie String passed into this method will only contian the name value pairs as well as other related cookie
112 parseOneCookie(const String& cookie, unsigned start, unsigned end, double curTime) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DCookieJarSoup.cpp67 SoupCookie* cookie = static_cast<SoupCookie*>(iter->data); local
68 if (!strcmp(soup_cookie_get_name(cookie), name)
69 && !g_strcmp0(soup_cookie_get_path(cookie), path)) {
70 if (soup_cookie_get_http_only(cookie))
94 GOwnPtr<SoupCookie> cookie(soup_cookie_parse(cookies[i].utf8().data(), origin.get()));
95 if (!cookie)
98 // Make sure the cookie is not httpOnly since such cookies should not be set from JavaScript.
99 if (soup_cookie_get_http_only(cookie.get()))
103 if (httpOnlyCookieExists(existingCookies, soup_cookie_get_name(cookie.get()), soup_cookie_get_path(cookie
151 SoupCookie* cookie = static_cast<SoupCookie*>(iter->data); local
175 SoupCookie* cookie = static_cast<SoupCookie*>(iter->data); local
189 SoupCookie* cookie = static_cast<SoupCookie*>(item->data); local
202 SoupCookie* cookie = static_cast<SoupCookie*>(item->data); local
214 SoupCookie* cookie = static_cast<SoupCookie*>(item->data); local
[all...]
/macosx-10.9.5/WebKit-7537.78.2/efl/ewk/
H A Dewk_cookies.cpp78 SoupCookie* cookie = static_cast<SoupCookie*>(p->data); local
80 ewkCookie->name = eina_stringshare_add(cookie->name);
81 ewkCookie->value = eina_stringshare_add(cookie->value);
82 ewkCookie->domain = eina_stringshare_add(cookie->domain);
83 ewkCookie->path = eina_stringshare_add(cookie->path);
84 ewkCookie->expires = soup_date_to_time_t(cookie->expires);
85 ewkCookie->secure = static_cast<Eina_Bool>(cookie->secure);
86 ewkCookie->http_only = static_cast<Eina_Bool>(cookie->http_only);
95 void ewk_cookies_cookie_del(Ewk_Cookie* cookie) argument
97 EINA_SAFETY_ON_NULL_RETURN(cookie);
117 ewk_cookies_cookie_free(Ewk_Cookie* cookie) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/mac/
H A DCookieJarMac.mm46 NSHTTPCookie *cookie = (NSHTTPCookie *)[unfilteredCookies objectAtIndex:i];
48 // <rdar://problem/5632883> On 10.5, NSHTTPCookieStorage would store an empty cookie,
51 // there's no harm to doing this check because such a cookie is never valid.
52 if (![[cookie name] length])
55 if ([cookie isHTTPOnly])
58 [filteredCookies.get() addObject:cookie];
90 // <rdar://problem/5632883> On 10.5, NSHTTPCookieStorage would store an empty cookie,
128 NSHTTPCookie *cookie = (NSHTTPCookie *)[cookies objectAtIndex:i];
129 NSTimeInterval expires = [[cookie expiresDate] timeIntervalSince1970] * 1000;
130 rawCookies.uncheckedAppend(Cookie([cookie nam
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dkpi_interfacefilter.h66 @param cookie The cookie specified when this filter was attached.
84 typedef errno_t (*iff_input_func)(void *cookie, ifnet_t interface,
94 @param cookie The cookie specified when this filter was attached.
107 typedef errno_t (*iff_output_func)(void *cookie, ifnet_t interface,
117 @param cookie The cookie specified when this filter was attached.
121 typedef void (*iff_event_func)(void *cookie, ifnet_t interface,
135 @param cookie Th
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/
H A Dldapsync.c36 struct berval *cookie,
59 ber_str2bv_x( cookiestr, len, 1, cookie,
73 cookie->bv_val = slap_sl_malloc( len, op ? op->o_tmpmemctx : NULL );
75 len = sprintf( cookie->bv_val, "rid=%03d,", rid );
76 ptr = cookie->bv_val + len;
87 cookie->bv_len = ptr - cookie->bv_val;
93 struct sync_cookie *cookie,
97 if ( cookie == NULL )
100 if ( cookie
34 slap_compose_sync_cookie( Operation *op, struct berval *cookie, BerVarray csn, int rid, int sid ) argument
92 slap_sync_cookie_free( struct sync_cookie *cookie, int free_cookie ) argument
254 slap_parse_sync_cookie( struct sync_cookie *cookie, void *memctx ) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/
H A DCookieJarCFNet.cpp49 static inline RetainPtr<CFStringRef> cookieDomain(CFHTTPCookieRef cookie) argument
51 return adoptCF(CFHTTPCookieCopyDomain(cookie));
54 static inline CFAbsoluteTime cookieExpirationTime(CFHTTPCookieRef cookie) argument
56 return CFHTTPCookieGetExpirationTime(cookie);
59 static inline RetainPtr<CFStringRef> cookieName(CFHTTPCookieRef cookie) argument
61 return adoptCF(CFHTTPCookieCopyName(cookie));
64 static inline RetainPtr<CFStringRef> cookiePath(CFHTTPCookieRef cookie) argument
66 return adoptCF(CFHTTPCookieCopyPath(cookie));
69 static inline RetainPtr<CFStringRef> cookieValue(CFHTTPCookieRef cookie) argument
71 return adoptCF(CFHTTPCookieCopyValue(cookie));
79 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(unfilteredCookies, i); local
159 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local
188 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local
204 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local
220 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/btree/
H A Dbt_conv.c24 __bam_pgin(dbp, pg, pp, cookie)
28 DBT *cookie;
33 pginfo = (DB_PGINFO *)cookie->data;
50 __bam_pgout(dbp, pg, pp, cookie)
54 DBT *cookie;
59 pginfo = (DB_PGINFO *)cookie->data;
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dkpi_socketfilter.h162 this attachment and use the cookie to track it. This filter is
167 @param cookie Used to allow the socket filter to set the cookie for
173 typedef errno_t (*sf_attach_func)(void **cookie, socket_t so);
182 @param cookie Cookie value specified when the filter attach was
188 typedef void (*sf_detach_func)(void *cookie, socket_t so);
195 @param cookie Cookie value specified when the filter attach was
201 typedef void (*sf_notify_func)(void *cookie, socket_t so, sflt_event_t event,
213 @param cookie Cookie value specified when the filter attach was
222 typedef int (*sf_getpeername_func)(void *cookie, socket_
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/
H A DCookieJarCurl.cpp32 static void readCurlCookieToken(const char*& cookie, String& token) argument
34 // Read the next token from a cookie with the Netscape cookie format.
36 while (cookie && cookie[0] && cookie[0] != '\t') {
37 token.append(cookie[0]);
38 cookie++;
40 if (cookie[0] == '\t')
41 cookie
44 addMatchingCurlCookie(const char* cookie, const String& domain, const String& path, StringBuilder& cookies, bool httponly) argument
239 String cookie = getNetscapeCookieFormat(url, value); local
270 const char* cookie = item->data; local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DCookiesTable.js97 var cookie = node.cookie;
98 var domain = cookie.domain();
127 return node ? node.cookie : null;
177 var cookie = cookies[i];
178 var cookieNode = this._createGridNode(cookie);
180 if (selectedCookie && selectedCookie.name() === cookie.name() && selectedCookie.domain() === cookie.domain() && selectedCookie.path() === cookie.path())
242 * @param {!WebInspector.Cookie} cookie
[all...]
H A DCookieParser.js31 // Ideally, we would rely on platform support for parsing a cookie, since
33 // platform cookie parsing logic would require quite a bit of additional
140 // cookie values, though.
143 console.log("Failed parsing cookie header before: " + this._input);
173 // specifying a value for a cookie with empty name.
412 var cookie = new WebInspector.Cookie(name, value, null);
413 cookie.setSize(size);
414 cookies.push(cookie);
427 var cookie = new WebInspector.Cookie(protocolCookie.name, protocolCookie.value, null);
428 cookie
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/devtools/
H A Dcoserv.tcl57 foreach {snitsrc commsrc main cookie} $argv break
65 ::comm::comm send $main [list ::coserv::ready $cookie [::comm::comm self]]
82 proc ::coserv::ready {cookie id} {
83 #puts "Sub server @ $id\t\[$cookie\]"
91 proc ::coserv::start {cookie} {
101 $snitsrc $commsrc [::comm::comm self] $cookie &
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/librewrite/
H A Dsession.c77 const void *cookie
84 assert( cookie != NULL );
90 tmp.ls_cookie = ( void * )cookie;
105 session->ls_cookie = ( void * )cookie;
147 const void *cookie
153 assert( cookie != NULL );
155 tmp.ls_cookie = ( void * )cookie;
190 const void *cookie,
200 assert( cookie != NULL );
204 session = rewrite_session_find( info, cookie );
188 rewrite_session_var_set_f( struct rewrite_info *info, const void *cookie, const char *name, const char *value, int flags ) argument
250 rewrite_session_var_get( struct rewrite_info *info, const void *cookie, const char *name, struct berval *value ) argument
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Cookies/soup/
H A DWebKitSoupCookieJarSqlite.cpp110 SoupCookie* cookie = soup_cookie_new(query.getColumnText(ColumnName).utf8().data(), query.getColumnText(ColumnValue).utf8().data(), local
114 soup_cookie_set_secure(cookie, TRUE);
116 soup_cookie_set_http_only(cookie, TRUE);
118 soup_cookie_jar_add_cookie(jar, cookie);
126 static bool webkitSoupCookieJarSqliteInsertCookie(WebKitSoupCookieJarSqlite* sqliteJar, SoupCookie* cookie) argument
135 query.bindText(1, String::fromUTF8(cookie->name));
136 query.bindText(2, String::fromUTF8(cookie->value));
137 query.bindText(3, String::fromUTF8(cookie->domain));
138 query.bindText(4, String::fromUTF8(cookie->path));
139 query.bindInt(5, static_cast<int64_t>(soup_date_to_time_t(cookie
150 webkitSoupCookieJarSqliteDeleteCookie(WebKitSoupCookieJarSqlite* sqliteJar, SoupCookie* cookie) argument
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/qam/
H A Dqam_conv.c56 __qam_pgin_out(env, pg, pp, cookie)
60 DBT *cookie;
66 pginfo = (DB_PGINFO *)cookie->data;
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dstdio.c53 __sread(cookie, buf, n)
54 void *cookie;
58 FILE *fp = cookie;
64 __swrite(cookie, buf, n)
65 void *cookie;
69 FILE *fp = cookie;
75 __sseek(cookie, offset, whence)
76 void *cookie;
80 FILE *fp = cookie;
86 __sclose(cookie)
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dpagectrl.c33 cookie (IN) Opaque structure used by the server to track its
48 cookie OCTET STRING }
56 struct berval *cookie,
77 if ( cookie == NULL ) {
78 cookie = &null_cookie;
87 tag = ber_printf( ber, "{iO}", pagesize, cookie );
113 cookie (IN) Opaque structure used by the server to track its
131 cookie OCTET STRING }
139 struct berval *cookie,
151 pagesize, cookie,
53 ldap_create_page_control_value( LDAP *ld, ber_int_t pagesize, struct berval *cookie, struct berval *value ) argument
136 ldap_create_page_control( LDAP *ld, ber_int_t pagesize, struct berval *cookie, int iscritical, LDAPControl **ctrlp ) argument
240 struct berval cookie; local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/hash/
H A Dhash_conv.c24 __ham_pgin(dbp, pg, pp, cookie)
28 DBT *cookie;
34 pginfo = (DB_PGINFO *)cookie->data;
62 __ham_pgout(dbp, pg, pp, cookie)
66 DBT *cookie;
71 pginfo = (DB_PGINFO *)cookie->data;
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/include/
H A Drewrite.h178 * Same as above; the cookie relates the rewrite to a session
185 const void *cookie,
195 const void *cookie
204 const void *cookie,
210 #define rewrite_session_var_set(info, cookie, name, value) \
211 rewrite_session_var_set_f((info), (cookie), (name), (value), \
220 const void *cookie
/macosx-10.9.5/Librpcsvc-23/
H A Dnlm_prot.x53 netobj cookie;
58 netobj cookie;
72 netobj cookie;
81 netobj cookie;
88 netobj cookie;
94 netobj cookie;
128 netobj cookie;
134 netobj cookie;
197 netobj cookie;
202 netobj cookie;
[all...]

Completed in 360 milliseconds

1234567891011>>