/external/u-boot/drivers/fpga/ |
D | virtex2.c | 159 static int virtex2_slave_pre(xilinx_virtex2_slave_fns *fn, int cookie) in virtex2_slave_pre() argument 194 printf("Initializing FPGA Device %d...\n", cookie); in virtex2_slave_pre() 200 (*fn->pre)(cookie); in virtex2_slave_pre() 208 (*fn->pgm)(true, true, cookie); in virtex2_slave_pre() 215 (*fn->abort)(cookie); in virtex2_slave_pre() 218 } while (!(*fn->init)(cookie)); in virtex2_slave_pre() 220 (*fn->pgm)(false, true, cookie); in virtex2_slave_pre() 223 (*fn->clk)(true, true, cookie); in virtex2_slave_pre() 234 (*fn->abort)(cookie); in virtex2_slave_pre() 237 } while ((*fn->init)(cookie) && (*fn->busy)(cookie)); in virtex2_slave_pre() [all …]
|
D | spartan3.c | 114 int cookie = desc->cookie; /* make a local copy */ in spartan3_sp_load() local 142 printf ("Loading FPGA Device %d...\n", cookie); in spartan3_sp_load() 148 (*fn->pre) (cookie); in spartan3_sp_load() 152 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan3_sp_load() 156 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan3_sp_load() 164 (*fn->abort) (cookie); /* abort the burn */ in spartan3_sp_load() 167 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan3_sp_load() 169 (*fn->wr) (true, true, cookie); /* Assert write, commit */ in spartan3_sp_load() 170 (*fn->cs) (true, true, cookie); /* Assert chip select, commit */ in spartan3_sp_load() 171 (*fn->clk) (true, true, cookie); /* Assert the clock pin */ in spartan3_sp_load() [all …]
|
D | spartan2.c | 110 int cookie = desc->cookie; /* make a local copy */ in spartan2_sp_load() local 138 printf ("Loading FPGA Device %d...\n", cookie); in spartan2_sp_load() 144 (*fn->pre) (cookie); in spartan2_sp_load() 148 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan2_sp_load() 152 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan2_sp_load() 160 (*fn->abort) (cookie); /* abort the burn */ in spartan2_sp_load() 163 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan2_sp_load() 165 (*fn->wr) (true, true, cookie); /* Assert write, commit */ in spartan2_sp_load() 166 (*fn->cs) (true, true, cookie); /* Assert chip select, commit */ in spartan2_sp_load() 167 (*fn->clk) (true, true, cookie); /* Assert the clock pin */ in spartan2_sp_load() [all …]
|
D | ACEX1K.c | 101 int cookie = desc->cookie; /* make a local copy */ in ACEX1K_ps_load() local 115 printf ("Loading FPGA Device %d...", cookie); in ACEX1K_ps_load() 122 (*fn->pre) (cookie); in ACEX1K_ps_load() 126 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in ACEX1K_ps_load() 131 (*fn->done) (cookie); in ACEX1K_ps_load() 132 if ( !(*fn->status) (cookie) ) { in ACEX1K_ps_load() 134 (*fn->abort) (cookie); in ACEX1K_ps_load() 138 (*fn->config) (false, true, cookie); /* Deassert nCONFIG */ in ACEX1K_ps_load() 147 (*fn->abort) (cookie); in ACEX1K_ps_load() 150 (*fn->done) (cookie); in ACEX1K_ps_load() [all …]
|
D | stratixII.c | 72 int cookie; in StratixII_ps_fpp_load() local 97 cookie = desc->cookie; in StratixII_ps_fpp_load() 110 if ((ret_val = fns->pre (cookie)) < 0) { in StratixII_ps_fpp_load() 118 fns->config (0, 1, cookie); in StratixII_ps_fpp_load() 120 fns->config (1, 1, cookie); in StratixII_ps_fpp_load() 125 fns->clk (0, 1, cookie); in StratixII_ps_fpp_load() 130 if (fns->status (cookie) != 1) { in StratixII_ps_fpp_load() 134 fns->abort (cookie); in StratixII_ps_fpp_load() 142 fns->data ((data >> i) & 1, 1, cookie); in StratixII_ps_fpp_load() 145 fns->clk (1, 1, cookie); in StratixII_ps_fpp_load() [all …]
|
/external/u-boot/include/ |
D | spartan3.h | 77 #define XILINX_XC3S50_DESC(iface, fn_table, cookie) \ argument 78 { xilinx_spartan3, iface, XILINX_XC3S50_SIZE, fn_table, cookie, \ 81 #define XILINX_XC3S200_DESC(iface, fn_table, cookie) \ argument 82 { xilinx_spartan3, iface, XILINX_XC3S200_SIZE, fn_table, cookie, \ 85 #define XILINX_XC3S400_DESC(iface, fn_table, cookie) \ argument 86 { xilinx_spartan3, iface, XILINX_XC3S400_SIZE, fn_table, cookie, \ 89 #define XILINX_XC3S1000_DESC(iface, fn_table, cookie) \ argument 90 { xilinx_spartan3, iface, XILINX_XC3S1000_SIZE, fn_table, cookie, \ 93 #define XILINX_XC3S1500_DESC(iface, fn_table, cookie) \ argument 94 { xilinx_spartan3, iface, XILINX_XC3S1500_SIZE, fn_table, cookie, \ [all …]
|
D | virtex2.h | 57 #define XILINX_XC2V40_DESC(iface, fn_table, cookie) \ argument 58 { xilinx_virtex2, iface, XILINX_XC2V40_SIZE, fn_table, cookie, \ 61 #define XILINX_XC2V80_DESC(iface, fn_table, cookie) \ argument 62 { xilinx_virtex2, iface, XILINX_XC2V80_SIZE, fn_table, cookie, \ 65 #define XILINX_XC2V250_DESC(iface, fn_table, cookie) \ argument 66 { xilinx_virtex2, iface, XILINX_XC2V250_SIZE, fn_table, cookie, \ 69 #define XILINX_XC2V500_DESC(iface, fn_table, cookie) \ argument 70 { xilinx_virtex2, iface, XILINX_XC2V500_SIZE, fn_table, cookie, \ 73 #define XILINX_XC2V1000_DESC(iface, fn_table, cookie) \ argument 74 { xilinx_virtex2, iface, XILINX_XC2V1000_SIZE, fn_table, cookie, \ [all …]
|
D | spartan2.h | 67 #define XILINX_XC2S15_DESC(iface, fn_table, cookie) \ argument 68 { xilinx_spartan2, iface, XILINX_XC2S15_SIZE, fn_table, cookie, \ 71 #define XILINX_XC2S30_DESC(iface, fn_table, cookie) \ argument 72 { xilinx_spartan2, iface, XILINX_XC2S30_SIZE, fn_table, cookie, \ 75 #define XILINX_XC2S50_DESC(iface, fn_table, cookie) \ argument 76 { xilinx_spartan2, iface, XILINX_XC2S50_SIZE, fn_table, cookie, \ 79 #define XILINX_XC2S100_DESC(iface, fn_table, cookie) \ argument 80 { xilinx_spartan2, iface, XILINX_XC2S100_SIZE, fn_table, cookie, \ 83 #define XILINX_XC2S150_DESC(iface, fn_table, cookie) \ argument 84 { xilinx_spartan2, iface, XILINX_XC2S150_SIZE, fn_table, cookie, \ [all …]
|
D | xilinx.h | 45 int cookie; /* implementation specific cookie */ member 72 typedef int (*xilinx_pgm_fn)(int assert_pgm, int flush, int cookie); 73 typedef int (*xilinx_init_fn)(int cookie); 74 typedef int (*xilinx_err_fn)(int cookie); 75 typedef int (*xilinx_done_fn)(int cookie); 76 typedef int (*xilinx_clk_fn)(int assert_clk, int flush, int cookie); 77 typedef int (*xilinx_cs_fn)(int assert_cs, int flush, int cookie); 78 typedef int (*xilinx_wr_fn)(int assert_write, int flush, int cookie); 79 typedef int (*xilinx_rdata_fn)(unsigned char *data, int cookie); 80 typedef int (*xilinx_wdata_fn)(unsigned char data, int flush, int cookie); [all …]
|
/external/virglrenderer/tests/fuzzer/ |
D | virgl_fuzzer.c | 74 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/apache-http/src/org/apache/http/impl/cookie/ |
D | RFC2965DomainAttributeHandler.java | 32 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 …]
|
D | RFC2965PortAttributeHandler.java | 32 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 …]
|
D | RFC2965VersionAttributeHandler.java | 32 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 …]
|
D | RFC2109Spec.java | 32 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 …]
|
D | RFC2965Spec.java | 31 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 …]
|
D | BasicPathHandler.java | 31 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 …]
|
D | BestMatchSpec.java | 32 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 …]
|
D | BasicDomainHandler.java | 31 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 …]
|
/external/curl/tests/data/ |
D | test506 | 23 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/ |
D | cookiejar.py | 843 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 | cookielib.py | 830 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 …]
|
D | _LWPCookieJar.py | 20 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 …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | CookiesTest.java | 78 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/u-boot/api/ |
D | api_net.c | 27 static int dev_valid_net(void *cookie) in dev_valid_net() argument 29 return ((void *)eth_get_dev() == cookie) ? 1 : 0; in dev_valid_net() 32 int dev_open_net(void *cookie) in dev_open_net() argument 34 if (!dev_valid_net(cookie)) in dev_open_net() 43 int dev_close_net(void *cookie) in dev_close_net() argument 45 if (!dev_valid_net(cookie)) in dev_close_net() 61 di->cookie = (void *)eth_current; in dev_enum_net() 62 if (di->cookie == NULL) in dev_enum_net() 68 (u_int32_t)di->cookie); in dev_enum_net() 73 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net() argument [all …]
|
/external/u-boot/board/armadeus/apf27/ |
D | fpga.h | 13 extern int fpga_pre_fn(int cookie); 14 extern int fpga_pgm_fn(int assert_pgm, int flush, int cookie); 15 extern int fpga_cs_fn(int assert_cs, int flush, int cookie); 16 extern int fpga_init_fn(int cookie); 17 extern int fpga_done_fn(int cookie); 18 extern int fpga_clk_fn(int assert_clk, int flush, int cookie); 19 extern int fpga_wr_fn(int assert_write, int flush, int cookie); 20 extern int fpga_rdata_fn(unsigned char *data, int cookie); 21 extern int fpga_wdata_fn(unsigned char data, int flush, int cookie); 22 extern int fpga_abort_fn(int cookie); [all …]
|