/third_party/curl/lib/ |
D | cfilters.c | 49 void Curl_cf_def_close(struct Curl_cfilter *cf, struct Curl_easy *data) in Curl_cf_def_close() argument 51 cf->connected = FALSE; in Curl_cf_def_close() 52 if(cf->next) in Curl_cf_def_close() 53 cf->next->cft->do_close(cf->next, data); in Curl_cf_def_close() 60 void Curl_cf_def_get_host(struct Curl_cfilter *cf, struct Curl_easy *data, in Curl_cf_def_get_host() argument 64 if(cf->next) in Curl_cf_def_get_host() 65 cf->next->cft->get_host(cf->next, data, phost, pdisplay_host, pport); in Curl_cf_def_get_host() 67 *phost = cf->conn->host.name; in Curl_cf_def_get_host() 68 *pdisplay_host = cf->conn->host.dispname; in Curl_cf_def_get_host() 69 *pport = cf->conn->port; in Curl_cf_def_get_host() [all …]
|
D | cf-https-connect.c | 54 struct Curl_cfilter *cf; member 64 if(b->cf) { in cf_hc_baller_reset() 65 Curl_conn_cf_close(b->cf, data); in cf_hc_baller_reset() 66 Curl_conn_cf_discard_chain(&b->cf, data); in cf_hc_baller_reset() 67 b->cf = NULL; in cf_hc_baller_reset() 75 return b->enabled && b->cf && !b->result; in cf_hc_baller_is_active() 80 return !!b->cf; in cf_hc_baller_has_started() 87 b->cf->cft->query(b->cf, data, CF_QUERY_CONNECT_REPLY_MS, in cf_hc_baller_reply_ms() 95 return b->cf && !b->result && b->cf->cft->has_data_pending(b->cf, data); in cf_hc_baller_data_pending() 110 struct Curl_cfilter *cf, in cf_hc_baller_init() argument [all …]
|
D | http_proxy.c | 55 CURLcode Curl_http_proxy_get_destination(struct Curl_cfilter *cf, in Curl_http_proxy_get_destination() argument 59 DEBUGASSERT(cf); in Curl_http_proxy_get_destination() 60 DEBUGASSERT(cf->conn); in Curl_http_proxy_get_destination() 62 if(cf->conn->bits.conn_to_host) in Curl_http_proxy_get_destination() 63 *phostname = cf->conn->conn_to_host.name; in Curl_http_proxy_get_destination() 64 else if(cf->sockindex == SECONDARYSOCKET) in Curl_http_proxy_get_destination() 65 *phostname = cf->conn->secondaryhostname; in Curl_http_proxy_get_destination() 67 *phostname = cf->conn->host.name; in Curl_http_proxy_get_destination() 69 if(cf->sockindex == SECONDARYSOCKET) in Curl_http_proxy_get_destination() 70 *pport = cf->conn->secondary_port; in Curl_http_proxy_get_destination() [all …]
|
D | connect.c | 354 struct Curl_cfilter *cf; /* current sub-cfilter connecting */ member 427 if(baller && baller->cf) { in baller_close() 428 Curl_conn_cf_discard_chain(&baller->cf, data); in baller_close() 452 static void baller_initiate(struct Curl_cfilter *cf, in baller_initiate() argument 456 struct cf_he_ctx *ctx = cf->ctx; in baller_initiate() 457 struct Curl_cfilter *cf_prev = baller->cf; in baller_initiate() 466 result = baller->cf_create(&baller->cf, data, cf->conn, baller->addr, in baller_initiate() 472 for(wcf = baller->cf; wcf; wcf = wcf->next) { in baller_initiate() 473 wcf->conn = cf->conn; in baller_initiate() 474 wcf->sockindex = cf->sockindex; in baller_initiate() [all …]
|
D | cf-h2-proxy.c | 82 static CURLcode tunnel_stream_init(struct Curl_cfilter *cf, in tunnel_stream_init() argument 96 result = Curl_http_proxy_get_destination(cf, &hostname, &port, &ipv6_ip); in tunnel_stream_init() 118 static void h2_tunnel_go_state(struct Curl_cfilter *cf, in h2_tunnel_go_state() argument 123 (void)cf; in h2_tunnel_go_state() 138 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'init'", ts->stream_id); in h2_tunnel_go_state() 143 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'connect'", ts->stream_id); in h2_tunnel_go_state() 148 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'response'", ts->stream_id); in h2_tunnel_go_state() 153 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'established'", in h2_tunnel_go_state() 161 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'failed'", ts->stream_id); in h2_tunnel_go_state() 189 #define CF_CTX_CALL_DATA(cf) \ argument [all …]
|
D | cfilters.h | 36 typedef void Curl_cft_destroy_this(struct Curl_cfilter *cf, 39 typedef void Curl_cft_close(struct Curl_cfilter *cf, 42 typedef CURLcode Curl_cft_connect(struct Curl_cfilter *cf, 57 typedef void Curl_cft_get_host(struct Curl_cfilter *cf, 68 typedef int Curl_cft_get_select_socks(struct Curl_cfilter *cf, 72 typedef bool Curl_cft_data_pending(struct Curl_cfilter *cf, 75 typedef ssize_t Curl_cft_send(struct Curl_cfilter *cf, 81 typedef ssize_t Curl_cft_recv(struct Curl_cfilter *cf, 87 typedef bool Curl_cft_conn_is_alive(struct Curl_cfilter *cf, 91 typedef CURLcode Curl_cft_conn_keep_alive(struct Curl_cfilter *cf, [all …]
|
D | http2.c | 143 #define CF_CTX_CALL_DATA(cf) \ argument 144 ((struct cf_h2_ctx *)(cf)->ctx)->call_data 168 static CURLcode h2_progress_egress(struct Curl_cfilter *cf, 211 static void drain_stream(struct Curl_cfilter *cf, in drain_stream() argument 217 (void)cf; in drain_stream() 223 CURL_TRC_CF(data, cf, "[%d] DRAIN dselect_bits=%x", in drain_stream() 230 static CURLcode http2_data_setup(struct Curl_cfilter *cf, in http2_data_setup() argument 234 struct cf_h2_ctx *ctx = cf->ctx; in http2_data_setup() 237 (void)cf; in http2_data_setup() 274 static void http2_data_done(struct Curl_cfilter *cf, in http2_data_done() argument [all …]
|
D | cf-socket.c | 833 struct Curl_cfilter *cf; member 842 struct cf_socket_ctx *ctx = rctx->cf->ctx; in nw_in_read() 876 CURL_TRC_CF(rctx->data, rctx->cf, "nw_in_read(len=%zu) -> %d, err=%d", in nw_in_read() 881 static void cf_socket_close(struct Curl_cfilter *cf, struct Curl_easy *data) in cf_socket_close() argument 883 struct cf_socket_ctx *ctx = cf->ctx; in cf_socket_close() 891 if(ctx->sock == cf->conn->sock[cf->sockindex]) { in cf_socket_close() 892 CURL_TRC_CF(data, cf, "cf_socket_close(%" CURL_FORMAT_SOCKET_T in cf_socket_close() 894 socket_close(data, cf->conn, !ctx->accepted, ctx->sock); in cf_socket_close() 895 cf->conn->sock[cf->sockindex] = CURL_SOCKET_BAD; in cf_socket_close() 898 CURL_TRC_CF(data, cf, "cf_socket_close(%" CURL_FORMAT_SOCKET_T in cf_socket_close() [all …]
|
D | cf-haproxy.c | 68 static CURLcode cf_haproxy_date_out_set(struct Curl_cfilter*cf, in cf_haproxy_date_out_set() argument 71 struct cf_haproxy_ctx *ctx = cf->ctx; in cf_haproxy_date_out_set() 79 if(cf->conn->unix_domain_socket) in cf_haproxy_date_out_set() 85 tcp_version = cf->conn->bits.ipv6 ? "TCP6" : "TCP4"; in cf_haproxy_date_out_set() 104 static CURLcode cf_haproxy_connect(struct Curl_cfilter *cf, in cf_haproxy_connect() argument 108 struct cf_haproxy_ctx *ctx = cf->ctx; in cf_haproxy_connect() 113 if(cf->connected) { in cf_haproxy_connect() 118 result = cf->next->cft->do_connect(cf->next, data, blocking, done); in cf_haproxy_connect() 124 result = cf_haproxy_date_out_set(cf, data); in cf_haproxy_connect() 132 ssize_t written = Curl_conn_send(data, cf->sockindex, in cf_haproxy_connect() [all …]
|
D | cf-h1-proxy.c | 95 static CURLcode tunnel_reinit(struct Curl_cfilter *cf, in tunnel_reinit() argument 100 (void)cf; in tunnel_reinit() 111 static CURLcode tunnel_init(struct Curl_cfilter *cf, in tunnel_init() argument 118 if(cf->conn->handler->flags & PROTOPT_NOTCPPROXY) { in tunnel_init() 119 failf(data, "%s cannot be done over CONNECT", cf->conn->handler->scheme); in tunnel_init() 138 connkeep(cf->conn, "HTTP proxy CONNECT"); in tunnel_init() 139 return tunnel_reinit(cf, data, ts); in tunnel_init() 142 static void h1_tunnel_go_state(struct Curl_cfilter *cf, in h1_tunnel_go_state() argument 160 CURL_TRC_CF(data, cf, "new tunnel state 'init'"); in h1_tunnel_go_state() 161 tunnel_reinit(cf, data, ts); in h1_tunnel_go_state() [all …]
|
D | socks.c | 92 int Curl_blockread_all(struct Curl_cfilter *cf, in Curl_blockread_all() argument 113 if(SOCKET_READABLE(cf->conn->sock[cf->sockindex], timeout_ms) <= 0) { in Curl_blockread_all() 117 nread = Curl_conn_cf_recv(cf->next, data, buf, buffersize, &err); in Curl_blockread_all() 201 static CURLproxycode socks_state_send(struct Curl_cfilter *cf, in socks_state_send() argument 210 nwritten = Curl_conn_cf_send(cf->next, data, (char *)sx->outp, in socks_state_send() 232 static CURLproxycode socks_state_recv(struct Curl_cfilter *cf, in socks_state_recv() argument 241 nread = Curl_conn_cf_recv(cf->next, data, (char *)sx->outp, in socks_state_recv() 274 static CURLproxycode do_SOCKS4(struct Curl_cfilter *cf, in do_SOCKS4() argument 278 struct connectdata *conn = cf->conn; in do_SOCKS4() 444 presult = socks_state_send(cf, sx, data, CURLPX_SEND_CONNECT, in do_SOCKS4() [all …]
|
/third_party/python/Lib/test/ |
D | test_configparser.py | 65 cf = self.newconfig(defaults) 66 cf.read_string(string) 67 return cf 72 def basic_test(self, cf): argument 91 L = cf.sections() 95 L = cf.items('Spacey Bar From The Beginning') 100 L = [section for section in cf] 105 L = cf['Spacey Bar From The Beginning'].items() 108 L = cf.items() 113 eq(cf.defaults(), cf[self.default_section]) [all …]
|
/third_party/curl/lib/vquic/ |
D | curl_msh3.c | 127 #define CF_CTX_CALL_DATA(cf) \ argument 128 ((struct cf_msh3_ctx *)(cf)->ctx)->call_data 159 static CURLcode h3_data_setup(struct Curl_cfilter *cf, in h3_data_setup() argument 176 CURL_TRC_CF(data, cf, "data setup"); in h3_data_setup() 180 static void h3_data_done(struct Curl_cfilter *cf, struct Curl_easy *data) in h3_data_done() argument 184 (void)cf; in h3_data_done() 186 CURL_TRC_CF(data, cf, "easy handle is done"); in h3_data_done() 208 static void drain_stream(struct Curl_cfilter *cf, in drain_stream() argument 214 (void)cf; in drain_stream() 233 struct Curl_cfilter *cf = IfContext; in msh3_conn_connected() local [all …]
|
D | curl_quiche.c | 139 static CURLcode quic_x509_store_setup(struct Curl_cfilter *cf, in quic_x509_store_setup() argument 142 struct cf_quiche_ctx *ctx = cf->ctx; in quic_x509_store_setup() 145 if(cf->conn->ssl_config.verifypeer) { in quic_x509_store_setup() 146 const char * const ssl_cafile = cf->conn->ssl_config.CAfile; in quic_x509_store_setup() 147 const char * const ssl_capath = cf->conn->ssl_config.CApath; in quic_x509_store_setup() 177 static CURLcode quic_ssl_setup(struct Curl_cfilter *cf, struct Curl_easy *data) in quic_ssl_setup() argument 179 struct cf_quiche_ctx *ctx = cf->ctx; in quic_ssl_setup() 210 SSL_set_app_data(ctx->ssl, cf); in quic_ssl_setup() 212 if((0 == Curl_inet_pton(AF_INET, cf->conn->host.name, checkip)) in quic_ssl_setup() 214 && (0 == Curl_inet_pton(AF_INET6, cf->conn->host.name, checkip)) in quic_ssl_setup() [all …]
|
D | curl_ngtcp2.c | 173 #define CF_CTX_CALL_DATA(cf) \ argument 174 ((struct cf_ngtcp2_ctx *)(cf)->ctx)->call_data 203 static CURLcode h3_data_setup(struct Curl_cfilter *cf, in h3_data_setup() argument 206 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_data_setup() 237 static void h3_data_done(struct Curl_cfilter *cf, struct Curl_easy *data) in h3_data_done() argument 241 (void)cf; in h3_data_done() 243 CURL_TRC_CF(data, cf, "[%"PRId64"] easy handle is done", stream->id); in h3_data_done() 257 struct Curl_cfilter *cf; member 271 struct Curl_cfilter *cf, in pktx_init() argument 274 pktx->cf = cf; in pktx_init() [all …]
|
D | vquic.c | 112 static CURLcode send_packet_no_gso(struct Curl_cfilter *cf, 118 static CURLcode do_sendmsg(struct Curl_cfilter *cf, in do_sendmsg() argument 174 return send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in do_sendmsg() 210 (void)cf; in do_sendmsg() 216 static CURLcode send_packet_no_gso(struct Curl_cfilter *cf, in send_packet_no_gso() argument 229 CURLcode curlcode = do_sendmsg(cf, data, qctx, p, len, len, &sent); in send_packet_no_gso() 239 static CURLcode vquic_send_packets(struct Curl_cfilter *cf, in vquic_send_packets() argument 251 CURL_TRC_CF(data, cf, "vquic_flush() simulate EWOULDBLOCK"); in vquic_send_packets() 257 return send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in vquic_send_packets() 260 return do_sendmsg(cf, data, qctx, pkt, pktlen, gsolen, psent); in vquic_send_packets() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | cf.symbols | 1 === tests/cases/compiler/cf.ts === 3 >f : Symbol(f, Decl(cf.ts, 0, 0)) 6 >z : Symbol(z, Decl(cf.ts, 1, 7)) 9 >x : Symbol(x, Decl(cf.ts, 2, 7)) 12 >y : Symbol(y, Decl(cf.ts, 3, 7)) 15 >i : Symbol(i, Decl(cf.ts, 5, 16)) 16 >i : Symbol(i, Decl(cf.ts, 5, 16)) 17 >i : Symbol(i, Decl(cf.ts, 5, 16)) 20 >y : Symbol(y, Decl(cf.ts, 3, 7)) 24 >x : Symbol(x, Decl(cf.ts, 2, 7)) [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | eg_asm.c | 31 int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf) in eg_bytecode_cf_build() argument 33 unsigned id = cf->id; in eg_bytecode_cf_build() 35 if (cf->op == CF_NATIVE) { in eg_bytecode_cf_build() 36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build() 37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build() 39 const struct cf_op_info *cfop = r600_isa_cf(cf->op); in eg_bytecode_cf_build() 40 unsigned opcode = r600_isa_cf_opcode(bc->isa->hw_class, cf->op); in eg_bytecode_cf_build() 44 if (cf->eg_alu_extended) { in eg_bytecode_cf_build() 46 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE0(cf->kcache[0].index_mode) | in eg_bytecode_cf_build() 47 S_SQ_CF_ALU_WORD0_EXT_KCACHE_BANK_INDEX_MODE1(cf->kcache[1].index_mode) | in eg_bytecode_cf_build() [all …]
|
D | r600_asm.c | 53 struct r600_bytecode_cf *cf = CALLOC_STRUCT(r600_bytecode_cf); in r600_bytecode_cf() local 55 if (!cf) in r600_bytecode_cf() 57 list_inithead(&cf->list); in r600_bytecode_cf() 58 list_inithead(&cf->alu); in r600_bytecode_cf() 59 list_inithead(&cf->vtx); in r600_bytecode_cf() 60 list_inithead(&cf->tex); in r600_bytecode_cf() 61 list_inithead(&cf->gds); in r600_bytecode_cf() 62 return cf; in r600_bytecode_cf() 168 list_inithead(&bc->cf); in r600_bytecode_init() 177 struct r600_bytecode_cf *cf = r600_bytecode_cf(); in r600_bytecode_add_cf() local [all …]
|
/third_party/curl/lib/vtls/ |
D | vtls.c | 347 static CURLcode ssl_connect(struct Curl_cfilter *cf, struct Curl_easy *data) in ssl_connect() argument 349 struct ssl_connect_data *connssl = cf->ctx; in ssl_connect() 358 result = Curl_ssl->connect_blocking(cf, data); in ssl_connect() 368 ssl_connect_nonblocking(struct Curl_cfilter *cf, struct Curl_easy *data, in ssl_connect_nonblocking() argument 375 return Curl_ssl->connect_nonblocking(cf, data, done); in ssl_connect_nonblocking() 400 bool Curl_ssl_getsessionid(struct Curl_cfilter *cf, in Curl_ssl_getsessionid() argument 405 struct ssl_connect_data *connssl = cf->ctx; in Curl_ssl_getsessionid() 406 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_ssl_getsessionid() 407 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in Curl_ssl_getsessionid() 436 ((!cf->conn->bits.conn_to_host && !check->conn_to_host) || in Curl_ssl_getsessionid() [all …]
|
D | vtls_int.h | 64 CURLcode Curl_alpn_set_negotiated(struct Curl_cfilter *cf, 85 #define CF_CTX_CALL_DATA(cf) \ argument 86 ((struct ssl_connect_data *)(cf)->ctx)->call_data 104 int (*check_cxn)(struct Curl_cfilter *cf, struct Curl_easy *data); 105 int (*shut_down)(struct Curl_cfilter *cf, 107 bool (*data_pending)(struct Curl_cfilter *cf, 115 CURLcode (*connect_blocking)(struct Curl_cfilter *cf, 117 CURLcode (*connect_nonblocking)(struct Curl_cfilter *cf, 126 int (*get_select_socks)(struct Curl_cfilter *cf, struct Curl_easy *data, 130 void (*close)(struct Curl_cfilter *cf, struct Curl_easy *data); [all …]
|
D | rustls.c | 67 cr_data_pending(struct Curl_cfilter *cf, const struct Curl_easy *data) in cr_data_pending() argument 69 struct ssl_connect_data *ctx = cf->ctx; in cr_data_pending() 79 cr_connect(struct Curl_cfilter *cf UNUSED_PARAM, in cr_connect() 87 struct Curl_cfilter *cf; member 97 ssize_t nread = Curl_conn_cf_recv(io_ctx->cf->next, io_ctx->data, in read_cb() 116 ssize_t nwritten = Curl_conn_cf_send(io_ctx->cf->next, io_ctx->data, in write_cb() 133 static ssize_t tls_recv_more(struct Curl_cfilter *cf, in tls_recv_more() argument 136 struct ssl_connect_data *const connssl = cf->ctx; in tls_recv_more() 144 io_ctx.cf = cf; in tls_recv_more() 189 cr_recv(struct Curl_cfilter *cf, struct Curl_easy *data, in cr_recv() argument [all …]
|
D | wolfssl.c | 249 struct Curl_cfilter *cf = BIO_get_data(bio); in wolfssl_bio_cf_ctrl() local 252 (void)cf; in wolfssl_bio_cf_ctrl() 272 return (!cf->next || !cf->next->connected); in wolfssl_bio_cf_ctrl() 284 struct Curl_cfilter *cf = wolfSSL_BIO_get_data(bio); in wolfssl_bio_cf_out_write() local 285 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_bio_cf_out_write() 288 struct Curl_easy *data = CF_DATA_CURRENT(cf); in wolfssl_bio_cf_out_write() 293 nwritten = Curl_conn_cf_send(cf->next, data, buf, blen, &result); in wolfssl_bio_cf_out_write() 295 CURL_TRC_CF(data, cf, "bio_write(len=%d) -> %zd, %d", in wolfssl_bio_cf_out_write() 305 struct Curl_cfilter *cf = wolfSSL_BIO_get_data(bio); in wolfssl_bio_cf_in_read() local 306 struct ssl_connect_data *connssl = cf->ctx; in wolfssl_bio_cf_in_read() [all …]
|
/third_party/mesa3d/src/freedreno/ir2/ |
D | disasm-a2xx.c | 458 void (*fxn)(instr_fetch_t *cf); 498 cf_exec(instr_cf_t *cf) in cf_exec() argument 500 return (cf->opc == EXEC) || (cf->opc == EXEC_END) || in cf_exec() 501 (cf->opc == COND_EXEC) || (cf->opc == COND_EXEC_END) || in cf_exec() 502 (cf->opc == COND_PRED_EXEC) || (cf->opc == COND_PRED_EXEC_END) || in cf_exec() 503 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_exec() 504 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_exec() 508 cf_cond_exec(instr_cf_t *cf) in cf_cond_exec() argument 510 return (cf->opc == COND_EXEC) || (cf->opc == COND_EXEC_END) || in cf_cond_exec() 511 (cf->opc == COND_PRED_EXEC) || (cf->opc == COND_PRED_EXEC_END) || in cf_cond_exec() [all …]
|
/third_party/skia/tests/ |
D | ColorFilterTest.cpp | 51 auto cf = SkColorFilters::Blend(color, (SkBlendMode)mode); in DEF_TEST() local 54 if (SkBlendMode::kDst == (SkBlendMode)mode && nullptr == cf) { in DEF_TEST() 58 REPORTER_ASSERT(reporter, cf); in DEF_TEST() 68 REPORTER_ASSERT(reporter, cf->asAColorMode(&c, (SkBlendMode*)&m)); in DEF_TEST() 85 auto cf2 = reincarnate_colorfilter(cf.get()); in DEF_TEST() 100 sk_sp<SkColorFilter> cf = SkColorFilters::Matrix({1,0,0,0,0, in DEF_TEST() local 104 REPORTER_ASSERT(r, cf->isAlphaUnchanged()); in DEF_TEST() 108 cf = SkColorFilterPriv::WithWorkingFormat(std::move(cf), in DEF_TEST() 112 REPORTER_ASSERT(r, cf->isAlphaUnchanged()); in DEF_TEST() 117 sk_sp<SkColorFilter> cf = SkColorFilters::Matrix({1,0,0,0,0, in DEF_TEST() local [all …]
|