Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/node/deps/undici/src/lib/cookies/
H A Dutil.js57 throw new Error('Invalid cookie name')
63 cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )
64 cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
96 throw new Error('Invalid cookie path')
112 throw new Error('Invalid cookie domain')
192 throw new Error('Invalid cookie max-age')
198 * @param {import('./index').Cookie} cookie
200 function stringify (cookie) {
[all...]
H A Dindex.js31 const cookie = headers.get('cookie')
34 if (!cookie) {
38 for (const piece of cookie.split(';')) {
62 // https://github.com/denoland/deno_std/blob/63827b16330b82489a04614027c33b7904e08be5/http/cookie.ts#L278
92 * @param {Cookie} cookie
95 function setCookie (headers, cookie) {
100 cookie = webidl.converters.Cookie(cookie)
102 const str = stringify(cookie)
[all...]
/third_party/python/Lib/http/
H A Dcookiejar.py1 r"""HTTP cookie handling for web clients.
7 attributes of the HTTP cookie system as cookie-attributes, to distinguish
467 """Ad-hoc parser for Netscape protocol cookie-attributes.
469 The old Netscape cookie format for Set-Cookie can for instance contain
516 # This is an RFC 2109 cookie.
749 possible to construct Cookie instances that don't comply with the cookie
751 objects -- it deals with cookie parsing, supplying defaults, and
788 # cookie-attribute had an initial dot, in order to follow RFC 2965
850 def set_ok(self, cookie, reques
[all...]
/third_party/musl/src/stdio/
H A Dfopencookie.c10 void *cookie; member
22 struct fcookie *fc = f->cookie; in cookieread()
30 ret = fc->iofuncs.read(fc->cookie, (char *) buf, len2); in cookieread()
40 ret = fc->iofuncs.read(fc->cookie, (char *) f->rpos, f->buf_size); in cookieread()
56 struct fcookie *fc = f->cookie; in cookiewrite()
64 ret = fc->iofuncs.write(fc->cookie, (const char *) buf, len); in cookiewrite()
75 struct fcookie *fc = f->cookie; in cookieseek()
85 res = fc->iofuncs.seek(fc->cookie, &off, whence); in cookieseek()
93 struct fcookie *fc = f->cookie; in cookieclose()
94 if (fc->iofuncs.close) return fc->iofuncs.close(fc->cookie); in cookieclose()
98 fopencookie(void *cookie, const char *mode, cookie_io_functions_t iofuncs) fopencookie() argument
[all...]
H A Dfmemopen.c9 struct cookie { struct
17 struct cookie c;
24 struct cookie *c = f->cookie; in mseek()
37 struct cookie *c = f->cookie; in mread()
58 struct cookie *c = f->cookie; in mreadx()
72 struct cookie *c = f->cookie; in mwrite()
[all...]
H A Dopen_memstream.c8 struct cookie { struct
19 struct cookie c;
26 struct cookie *c = f->cookie; in ms_seek()
39 struct cookie *c = f->cookie; in ms_write()
78 f->f.cookie = &f->c; in open_memstream()
H A Dvsnprintf.c7 struct cookie { struct
16 struct cookie *c = f->cookie; in sn_write()
30 struct cookie c = { .s = n ? s : dummy, .n = n ? n-1 : 0 }; in vsnprintf()
37 .cookie = &c, in vsnprintf()
H A Dopen_wmemstream.c10 struct cookie { struct
22 struct cookie c;
29 struct cookie *c = f->cookie; in wms_seek()
43 struct cookie *c = f->cookie; in wms_write()
86 f->f.cookie = &f->c; in open_wmemstream()
H A Dvswprintf.c8 struct cookie { struct
17 struct cookie *c = f->cookie; in sw_write()
42 struct cookie c = { s, n-1 }; in vswprintf()
49 .cookie = &c, in vswprintf()
/third_party/python/Lib/test/
H A Dtest_http_cookiejar.py468 # Should accept unquoted cookie-attribute values? check errata draft.
470 # Should always return quoted cookie-attribute values?
487 ## commas and equals are commonly appear in the cookie value). This also
494 ## parse it, just ignore it and pretend it's a session cookie.
539 cookie = c._cookies["www.acme.com"]["/"]["eggs"]
540 self.assertIsNone(cookie.value)
541 self.assertEqual(cookie.name, "eggs")
542 cookie = c._cookies["www.acme.com"]['/foo/']['"spam"']
543 self.assertIsNone(cookie.value)
544 self.assertEqual(cookie
[all...]
/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
H A DuSynergy.h147 @param cookie Cookie supplied in the Synergy context
149 typedef uSynergyBool (*uSynergyConnectFunc)(uSynergyCookie cookie);
160 @param cookie Cookie supplied in the Synergy context
164 typedef uSynergyBool (*uSynergySendFunc)(uSynergyCookie cookie, const uint8_t *buffer, int length);
176 @param cookie Cookie supplied in the Synergy context
181 typedef uSynergyBool (*uSynergyReceiveFunc)(uSynergyCookie cookie, uint8_t *buffer, int maxLength, int* outLength);
192 @param cookie Cookie supplied in the Synergy context
195 typedef void (*uSynergySleepFunc)(uSynergyCookie cookie, int timeMs);
218 @param cookie Cookie supplied in the Synergy context
221 typedef void (*uSynergyTraceFunc)(uSynergyCookie cookie, cons
[all...]
/third_party/pulseaudio/src/utils/
H A Dpax11publish.c61 " -i Import PulseAudio data from X11 display to local environment variables and cookie file.\n" in main()
131 uint8_t cookie[PA_NATIVE_COOKIE_LENGTH]; in main() local
133 if ((l = pa_parsehex(t, cookie, sizeof(cookie))) != sizeof(cookie)) { in main()
134 fprintf(stderr, _("Failed to parse cookie data\n")); in main()
138 if (pa_authkey_save(cookie_file, cookie, l) < 0) { in main()
139 fprintf(stderr, _("Failed to save cookie data\n")); in main()
149 uint8_t cookie[PA_NATIVE_COOKIE_LENGTH]; in main() local
187 if (pa_authkey_load(cookie_file, true, cookie, sizeo in main()
[all...]
/third_party/mesa3d/include/android_stub/cutils/
H A Dtrace.h182 * the event, and the cookie provides a unique identifier for distinguishing
183 * simultaneous events. The name and cookie used to begin an event must be
186 #define ATRACE_ASYNC_BEGIN(name, cookie) \
187 atrace_async_begin(ATRACE_TAG, name, cookie)
189 int32_t cookie) in atrace_async_begin()
193 atrace_async_begin_body(name, cookie); in atrace_async_begin()
201 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie)
202 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
206 atrace_async_end_body(name, cookie); in atrace_async_end()
188 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) atrace_async_begin() argument
[all...]
/third_party/pulseaudio/src/pulse/
H A Dclient-conf.c142 { "cookie-file", pa_config_parse_string, &c->cookie_file_from_client_conf, NULL }, in pa_client_conf_load()
169 int pa_client_conf_load_cookie(pa_client_conf *c, uint8_t *cookie, size_t cookie_length) { in pa_client_conf_load_cookie() argument
174 pa_assert(cookie); in pa_client_conf_load_cookie()
178 r = pa_authkey_load(c->cookie_file_from_env, true, cookie, cookie_length); in pa_client_conf_load_cookie()
182 pa_log_warn("Failed to load cookie from %s (configured with environment variable PULSE_COOKIE): %s", in pa_client_conf_load_cookie()
188 memcpy(cookie, c->cookie_from_x11, cookie_length); in pa_client_conf_load_cookie()
192 pa_log_warn("Failed to load cookie from X11 root window property PULSE_COOKIE: size mismatch."); in pa_client_conf_load_cookie()
196 r = pa_authkey_load(c->cookie_file_from_application, true, cookie, cookie_length); in pa_client_conf_load_cookie()
200 pa_log_warn("Failed to load cookie from %s (configured by the application): %s", c->cookie_file_from_application, in pa_client_conf_load_cookie()
205 r = pa_authkey_load(c->cookie_file_from_client_conf, true, cookie, cookie_lengt in pa_client_conf_load_cookie()
[all...]
/third_party/musl/porting/linux/user/src/stdio/
H A Dfmemopen.c9 struct cookie { struct
17 struct cookie c;
24 struct cookie *c = f->cookie; in mseek()
37 struct cookie *c = f->cookie; in mread()
57 struct cookie *c = f->cookie; in mwrite()
100 f->f.cookie = &f->c; in fmemopen()
H A Dvsnprintf.c7 struct cookie { struct
16 struct cookie *c = f->cookie; in sn_write()
30 struct cookie c = { .s = n ? s : dummy, .n = n ? n-1 : 0 }; in vsnprintf()
37 .cookie = &c, in vsnprintf()
/third_party/musl/porting/liteos_a/user/src/stdio/
H A Dopen_wmemstream.c10 struct cookie { struct
22 struct cookie c;
29 struct cookie *c = f->cookie; in wms_seek()
43 struct cookie *c = f->cookie; in wms_write()
82 f->f.cookie = &f->c; in open_wmemstream()
/third_party/python/Modules/_io/
H A Dtextio.c2294 To speed up cookie packing/unpacking, we store the fields in a temporary
2304 significant byte of the cookie, which means that in big-endian mode we
2315 naturally end up the least significant byte of the cookie. */
2326 textiowrapper_parse_cookie(cookie_type *cookie, PyObject *cookieObj) in textiowrapper_parse_cookie() argument
2340 memcpy(&cookie->start_pos, buffer + OFF_START_POS, sizeof(cookie->start_pos)); in textiowrapper_parse_cookie()
2341 memcpy(&cookie->dec_flags, buffer + OFF_DEC_FLAGS, sizeof(cookie->dec_flags)); in textiowrapper_parse_cookie()
2342 memcpy(&cookie->bytes_to_feed, buffer + OFF_BYTES_TO_FEED, sizeof(cookie in textiowrapper_parse_cookie()
2350 textiowrapper_build_cookie(cookie_type *cookie) textiowrapper_build_cookie() argument
2365 _textiowrapper_decoder_setstate(textio *self, cookie_type *cookie) _textiowrapper_decoder_setstate() argument
2408 _textiowrapper_encoder_setstate(textio *self, cookie_type *cookie) _textiowrapper_encoder_setstate() argument
2427 cookie_type cookie; _io_TextIOWrapper_seek_impl() local
2622 cookie_type cookie = {0,0,0,0,0}; _io_TextIOWrapper_tell_impl() local
[all...]
/third_party/musl/libc-test/src/functional/
H A Dfopencookie_test.c25 struct cookie struct
35 struct cookie *c = f; in mread()
49 struct cookie *c = f; in mwrite()
76 struct cookie *c = f; in mseek()
99 struct cookie *c = f; in mclose()
109 struct cookie myc; in main()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dvsnprintf.c8 struct cookie { struct
17 struct cookie *c = f->cookie; in sn_write()
40 struct cookie c = { .s = n ? s : dummy, .n = n ? n-1 : 0 }; in vsnprintf()
47 .cookie = &c, in vsnprintf()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dvsnprintf.c8 struct cookie { struct
17 struct cookie *c = f->cookie; in sn_write()
41 struct cookie c = { .s = n ? s : dummy, .n = n ? n-1 : 0 }; in vsnprintf()
48 .cookie = &c, in vsnprintf()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dvsnprintf.c8 struct cookie { struct
17 struct cookie *c = f->cookie; in sn_write()
40 struct cookie c = { .s = n ? s : dummy, .n = n ? n-1 : 0 }; in vsnprintf()
47 .cookie = &c, in vsnprintf()
/third_party/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify02.c138 "wd=%d mask=%08x cookie=%-5u len=%-2u " in verify_inotify()
140 event->cookie, event->len, event->len, in verify_inotify()
151 if (event->cookie == 0) in verify_inotify()
154 stored_cookie = event->cookie; in verify_inotify()
156 if (event->cookie != stored_cookie) in verify_inotify()
161 if (event->cookie != 0) in verify_inotify()
167 "cookie=%-5u len=%-2u name=\"%.*s\"", in verify_inotify()
169 event->cookie, event->len, in verify_inotify()
174 "cookie=%-5u (wrong) len=%-2u " in verify_inotify()
177 event->cookie, even in verify_inotify()
[all...]
H A Dinotify01.c105 "cookie=%u len=%u", in verify_inotify()
107 event->cookie, event->len); in verify_inotify()
109 if (event->cookie != 0) { in verify_inotify()
112 "cookie=%u (expected 0) len=%u", in verify_inotify()
114 event->cookie, event->len); in verify_inotify()
117 "mask=%02x cookie=%u len=%u", in verify_inotify()
119 event->cookie, event->len); in verify_inotify()
124 "(expected %x) cookie=%u len=%u", in verify_inotify()
127 event->cookie, event->len); in verify_inotify()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_udp.c48 u8 cookie[COOKIE_LEN]; member
54 u8 cookie[COOKIE_LEN]; member
210 priv->cookie, COOKIE_LEN);
236 u8 cookie[COOKIE_LEN]; local
277 * Require that the client includes a prefix with the 'cookie' value
284 wpa_printf(MSG_DEBUG, "CTLR: No cookie in the request - "
289 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
290 wpa_printf(MSG_DEBUG, "CTLR: Invalid cookie format in the "
295 if (os_memcmp(cookie, priv->cookie, COOKIE_LE
614 u8 cookie[COOKIE_LEN]; global() local
[all...]

Completed in 15 milliseconds

12345678910>>...12