Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 592) sorted by relevance

12345678910>>...24

/external/perfetto/test/trace_processor/graphics/
Dframe_timeline_events.py50 trace.add_expected_display_frame_start_event(ts=20, cookie=1, token=2, pid=666)
51 trace.add_frame_end_event(ts=26, cookie=1)
52 trace.add_actual_display_frame_start_event(ts=20, cookie=2, token=2, pid=666, present_type=PresentT…
53 trace.add_frame_end_event(ts=26, cookie=2)
56 trace.add_expected_display_frame_start_event(ts=40, cookie=3, token=4, pid=666)
57 trace.add_frame_end_event(ts=46, cookie=3)
58 trace.add_actual_display_frame_start_event(ts=42, cookie=4, token=4, pid=666, present_type=PresentT…
59 trace.add_frame_end_event(ts=47, cookie=4)
60 trace.add_expected_surface_frame_start_event(ts=21, cookie=5, token=1, display_frame_token=4, pid=1…
61 trace.add_frame_end_event(ts=36, cookie=5)
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2965DomainAttributeHandler.java32 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.ClientCookie;
37 import org.apache.http.cookie.Cookie;
38 import org.apache.http.cookie.CookieAttributeHandler;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.MalformedCookieException;
41 import org.apache.http.cookie.SetCookie;
64 public void parse(final SetCookie cookie, String domain) in parse() argument
66 if (cookie == null) { in parse()
86 cookie.setDomain(domain); in parse()
[all …]
DRFC2965PortAttributeHandler.java32 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.ClientCookie;
37 import org.apache.http.cookie.Cookie;
38 import org.apache.http.cookie.CookieAttributeHandler;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.MalformedCookieException;
41 import org.apache.http.cookie.SetCookie;
42 import org.apache.http.cookie.SetCookie2;
110 public void parse(final SetCookie cookie, final String portValue) in parse() argument
112 if (cookie == null) { in parse()
[all …]
DRFC2965VersionAttributeHandler.java32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.ClientCookie;
35 import org.apache.http.cookie.Cookie;
36 import org.apache.http.cookie.CookieAttributeHandler;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
39 import org.apache.http.cookie.SetCookie;
40 import org.apache.http.cookie.SetCookie2;
59 public void parse(final SetCookie cookie, final String value) in parse() argument
61 if (cookie == null) { in parse()
[all …]
DRFC2109Spec.java32 package org.apache.http.impl.cookie;
40 import org.apache.http.cookie.ClientCookie;
41 import org.apache.http.cookie.Cookie;
42 import org.apache.http.cookie.CookieOrigin;
43 import org.apache.http.cookie.CookiePathComparator;
44 import org.apache.http.cookie.MalformedCookieException;
45 import org.apache.http.cookie.SM;
121 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
123 if (cookie == null) { in validate()
126 String name = cookie.getName(); in validate()
[all …]
DRFC2965Spec.java31 package org.apache.http.impl.cookie;
42 import org.apache.http.cookie.ClientCookie;
43 import org.apache.http.cookie.Cookie;
44 import org.apache.http.cookie.CookieAttributeHandler;
45 import org.apache.http.cookie.CookieOrigin;
46 import org.apache.http.cookie.MalformedCookieException;
47 import org.apache.http.cookie.SM;
85 BasicClientCookie cookie = new BasicClientCookie(name, value); in createCookie() local
86 cookie.setPath(getDefaultPath(origin)); in createCookie()
87 cookie.setDomain(getDefaultDomain(origin)); in createCookie()
[all …]
DBasicPathHandler.java31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
37 import org.apache.http.cookie.SetCookie;
51 public void parse(final SetCookie cookie, String value) in parse() argument
53 if (cookie == null) { in parse()
59 cookie.setPath(value); in parse()
62 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
[all …]
DBasicDomainHandler.java31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieAttributeHandler;
35 import org.apache.http.cookie.CookieOrigin;
36 import org.apache.http.cookie.MalformedCookieException;
37 import org.apache.http.cookie.SetCookie;
51 public void parse(final SetCookie cookie, final String value) in parse() argument
53 if (cookie == null) { in parse()
62 cookie.setDomain(value); in parse()
65 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
[all …]
DBestMatchSpec.java32 package org.apache.http.impl.cookie;
38 import org.apache.http.cookie.Cookie;
39 import org.apache.http.cookie.CookieOrigin;
40 import org.apache.http.cookie.CookieSpec;
41 import org.apache.http.cookie.MalformedCookieException;
137 final Cookie cookie, in validate() argument
139 if (cookie == null) { in validate()
145 if (cookie.getVersion() > 0) { in validate()
146 getStrict().validate(cookie, origin); in validate()
148 getCompat().validate(cookie, origin); in validate()
[all …]
DCookieSpecBase.java32 package org.apache.http.impl.cookie;
40 import org.apache.http.cookie.Cookie;
41 import org.apache.http.cookie.CookieAttributeHandler;
42 import org.apache.http.cookie.CookieOrigin;
43 import org.apache.http.cookie.MalformedCookieException;
86 BasicClientCookie cookie = new BasicClientCookie(name, value); in parse() local
87 cookie.setPath(getDefaultPath(origin)); in parse()
88 cookie.setDomain(getDefaultDomain(origin)); in parse()
96 cookie.setAttribute(s, attrib.getValue()); in parse()
100 handler.parse(cookie, attrib.getValue()); in parse()
[all …]
DRFC2965DiscardAttributeHandler.java32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
55 public void parse(final SetCookie cookie, final String commenturl) in parse() argument
57 if (cookie instanceof SetCookie2) { in parse()
58 SetCookie2 cookie2 = (SetCookie2) cookie; in parse()
[all …]
DRFC2965CommentUrlAttributeHandler.java32 package org.apache.http.impl.cookie;
34 import org.apache.http.cookie.Cookie;
35 import org.apache.http.cookie.CookieAttributeHandler;
36 import org.apache.http.cookie.CookieOrigin;
37 import org.apache.http.cookie.MalformedCookieException;
38 import org.apache.http.cookie.SetCookie;
39 import org.apache.http.cookie.SetCookie2;
55 public void parse(final SetCookie cookie, final String commenturl) in parse() argument
57 if (cookie instanceof SetCookie2) { in parse()
58 SetCookie2 cookie2 = (SetCookie2) cookie; in parse()
[all …]
DRFC2109DomainHandler.java31 package org.apache.http.impl.cookie;
35 import org.apache.http.cookie.Cookie;
36 import org.apache.http.cookie.CookieAttributeHandler;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
39 import org.apache.http.cookie.SetCookie;
53 public void parse(final SetCookie cookie, final String value) in parse() argument
55 if (cookie == null) { in parse()
64 cookie.setDomain(value); in parse()
67 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
[all …]
DBasicSecureHandler.java31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
50 public void parse(final SetCookie cookie, final String value) in parse() argument
52 if (cookie == null) { in parse()
55 cookie.setSecure(true); in parse()
59 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() argument
60 if (cookie == null) { in match()
[all …]
DRFC2109VersionHandler.java31 package org.apache.http.impl.cookie;
33 import org.apache.http.cookie.Cookie;
34 import org.apache.http.cookie.CookieOrigin;
35 import org.apache.http.cookie.MalformedCookieException;
36 import org.apache.http.cookie.SetCookie;
50 public void parse(final SetCookie cookie, final String value) in parse() argument
52 if (cookie == null) { in parse()
62 cookie.setVersion(Integer.parseInt(value)); in parse()
70 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument
72 if (cookie == null) { in validate()
[all …]
/external/virglrenderer/tests/fuzzer/
Dvirgl_fuzzer.c74 void *cookie, int scanout_idx, struct virgl_renderer_gl_ctx_param *param) in fuzzer_create_gl_context() argument
76 struct fuzzer_cookie *cookie_data = cookie; in fuzzer_create_gl_context()
89 static void fuzzer_destroy_gl_context(void *cookie, in fuzzer_destroy_gl_context() argument
92 struct fuzzer_cookie *cookie_data = cookie; in fuzzer_destroy_gl_context()
96 static int fuzzer_make_current(void *cookie, int scanout_idx, virgl_renderer_gl_context ctx) in fuzzer_make_current() argument
104 static struct fuzzer_cookie cookie; variable
122 cookie.display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize_environment()
123 assert(cookie.display != EGL_NO_DISPLAY); in initialize_environment()
125 assert(eglInitialize(cookie.display, NULL, NULL)); in initialize_environment()
130 assert(eglChooseConfig(cookie.display, config_attribs, in initialize_environment()
[all …]
/external/curl/tests/data/
Dtest50623 run 1: set cookie 1, 2 and 3
34 run 2: set cookie 4 and 5
49 run 3: overwrite cookie 1 and 4, set cookie 6 with and without tailmatch
64 HTTP with shared cookie list (and dns cache)
68 # which causes the cookie expiry times to be different.
94 lock: cookie [Pigs in space]: 2
95 unlock: cookie [Pigs in space]: 3
97 lock: cookie [Pigs in space]: 4
98 unlock: cookie [Pigs in space]: 5
100 lock: cookie [Pigs in space]: 6
[all …]
/external/python/cpython3/Lib/http/
Dcookiejar.py843 def set_ok(self, cookie, request): argument
852 def return_ok(self, cookie, request): argument
942 def set_ok(self, cookie, request): argument
949 _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
951 assert cookie.name is not None
956 if not fn(cookie, request):
961 def set_ok_version(self, cookie, request): argument
962 if cookie.version is None:
966 cookie.name, cookie.value)
968 if cookie.version > 0 and not self.rfc2965:
[all …]
/external/python/cpython2/Lib/
D_LWPCookieJar.py20 def lwp_cookie_str(cookie): argument
26 h = [(cookie.name, cookie.value),
27 ("path", cookie.path),
28 ("domain", cookie.domain)]
29 if cookie.port is not None: h.append(("port", cookie.port))
30 if cookie.path_specified: h.append(("path_spec", None))
31 if cookie.port_specified: h.append(("port_spec", None))
32 if cookie.domain_initial_dot: h.append(("domain_dot", None))
33 if cookie.secure: h.append(("secure", None))
34 if cookie.expires: h.append(("expires",
[all …]
Dcookielib.py830 def set_ok(self, cookie, request): argument
839 def return_ok(self, cookie, request): argument
927 def set_ok(self, cookie, request): argument
934 _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
936 assert cookie.name is not None
941 if not fn(cookie, request):
946 def set_ok_version(self, cookie, request): argument
947 if cookie.version is None:
951 cookie.name, cookie.value)
953 if cookie.version > 0 and not self.rfc2965:
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DCookiesTest.java78 HttpCookie cookie = cookies.get(0); in testNetscapeResponse() local
79 assertEquals("a", cookie.getName()); in testNetscapeResponse()
80 assertEquals("android", cookie.getValue()); in testNetscapeResponse()
81 assertEquals(null, cookie.getComment()); in testNetscapeResponse()
82 assertEquals(null, cookie.getCommentURL()); in testNetscapeResponse()
83 assertEquals(false, cookie.getDiscard()); in testNetscapeResponse()
84 assertTrue(server.getCookieDomain().equalsIgnoreCase(cookie.getDomain())); in testNetscapeResponse()
85 assertTrue(cookie.getMaxAge() > 100000000000L); in testNetscapeResponse()
86 assertEquals("/path", cookie.getPath()); in testNetscapeResponse()
87 assertEquals(true, cookie.getSecure()); in testNetscapeResponse()
[all …]
/external/llvm-project/flang/runtime/
Dio-api.cpp367 void IONAME(EnableHandlers)(Cookie cookie, bool hasIoStat, bool hasErr, in IONAME()
369 IoErrorHandler &handler{cookie->GetIoErrorHandler()}; in IONAME()
403 Cookie cookie, const char *keyword, std::size_t length) { in IONAME()
404 IoStatementState &io{*cookie}; in IONAME()
415 bool IONAME(SetBlank)(Cookie cookie, const char *keyword, std::size_t length) { in IONAME()
416 IoStatementState &io{*cookie}; in IONAME()
434 Cookie cookie, const char *keyword, std::size_t length) { in IONAME()
435 IoStatementState &io{*cookie}; in IONAME()
452 bool IONAME(SetDelim)(Cookie cookie, const char *keyword, std::size_t length) { in IONAME()
453 IoStatementState &io{*cookie}; in IONAME()
[all …]
/external/apache-http/src/org/apache/http/client/protocol/
DResponseProcessCookies.java45 import org.apache.http.cookie.Cookie;
46 import org.apache.http.cookie.CookieOrigin;
47 import org.apache.http.cookie.CookieSpec;
48 import org.apache.http.cookie.MalformedCookieException;
49 import org.apache.http.cookie.SM;
126 for (Cookie cookie : cookies) { in processCookies()
128 cookieSpec.validate(cookie, cookieOrigin); in processCookies()
129 cookieStore.addCookie(cookie); in processCookies()
134 + cookieToString(cookie) + "\". "); in processCookies()
141 + cookieToString(cookie) + "\". " + ex.getMessage()); in processCookies()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAsyncQueryHandlerTest.java50 assertThat(asyncQueryHandler.cookie).isEqualTo(COOKIE); in startQuery_callbackIsCalled()
61 assertThat(asyncQueryHandler.cookie).isEqualTo(COOKIE); in startInsert_callbackIsCalled()
80 assertThat(asyncQueryHandler.cookie).isEqualTo(COOKIE); in startUpdate_callbackIsCalled()
93 assertThat(asyncQueryHandler.cookie).isEqualTo(COOKIE); in startDelete_callbackIsCalled()
100 Object cookie; field in ShadowAsyncQueryHandlerTest.FakeAsyncQueryHandler
110 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
112 this.cookie = cookie; in onQueryComplete()
117 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument
119 this.cookie = cookie; in onInsertComplete()
124 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
[all …]
/external/compiler-rt/test/msan/Linux/
Dfopencookie.cc16 static ssize_t cookie_read(void *cookie, char *buf, size_t size) { in cookie_read() argument
17 assert((uintptr_t)cookie == kMagicCookie); in cookie_read()
22 static ssize_t cookie_write(void *cookie, const char *buf, size_t size) { in cookie_write() argument
23 assert((uintptr_t)cookie == kMagicCookie); in cookie_write()
28 static int cookie_seek(void *cookie, off64_t *offset, int whence) { in cookie_seek() argument
29 assert((uintptr_t)cookie == kMagicCookie); in cookie_seek()
34 static int cookie_close(void *cookie) { in cookie_close() argument
35 assert((uintptr_t)cookie == kMagicCookie); in cookie_close()
49 void *cookie = (void *)kMagicCookie; in main() local
50 FILE *f = fopencookie(cookie, "rw", in main()
[all …]

12345678910>>...24