Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 1655) sorted by relevance

12345678910>>...67

/external/curl/lib/
Dcfilters.c48 void Curl_cf_def_destroy_this(struct Curl_cfilter *cf, struct Curl_easy *data) in Curl_cf_def_destroy_this() argument
50 (void)cf; in Curl_cf_def_destroy_this()
54 void Curl_cf_def_close(struct Curl_cfilter *cf, struct Curl_easy *data) in Curl_cf_def_close() argument
56 cf->connected = FALSE; in Curl_cf_def_close()
57 if(cf->next) in Curl_cf_def_close()
58 cf->next->cft->close(cf->next, data); in Curl_cf_def_close()
61 CURLcode Curl_cf_def_connect(struct Curl_cfilter *cf, in Curl_cf_def_connect() argument
67 if(cf->connected) { in Curl_cf_def_connect()
71 if(cf->next) { in Curl_cf_def_connect()
72 result = cf->next->cft->connect(cf->next, data, blocking, done); in Curl_cf_def_connect()
[all …]
Dcf-https-connect.c54 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 …]
Dconnect.c353 struct Curl_cfilter *cf; /* current sub-cfilter connecting */ member
421 if(baller && baller->cf) { in baller_close()
422 Curl_conn_cf_discard_chain(&baller->cf, data); in baller_close()
446 static void baller_initiate(struct Curl_cfilter *cf, in baller_initiate() argument
450 struct cf_he_ctx *ctx = cf->ctx; in baller_initiate()
451 struct Curl_cfilter *cf_prev = baller->cf; in baller_initiate()
460 result = baller->cf_create(&baller->cf, data, cf->conn, baller->addr, in baller_initiate()
466 for(wcf = baller->cf; wcf; wcf = wcf->next) { in baller_initiate()
467 wcf->conn = cf->conn; in baller_initiate()
468 wcf->sockindex = cf->sockindex; in baller_initiate()
[all …]
Dhttp2.c125 #define CF_CTX_CALL_DATA(cf) \ argument
126 ((struct cf_h2_ctx *)(cf)->ctx)->call_data
150 static int h2_client_new(struct Curl_cfilter *cf, in h2_client_new() argument
153 struct cf_h2_ctx *ctx = cf->ctx; in h2_client_new()
157 return nghttp2_session_client_new(&ctx->h2, cbs, cf); in h2_client_new()
166 rc = nghttp2_session_client_new2(&ctx->h2, cbs, cf, o); in h2_client_new()
204 static CURLcode http2_data_setup(struct Curl_cfilter *cf, in http2_data_setup() argument
209 (void)cf; in http2_data_setup()
238 static CURLcode cf_h2_ctx_init(struct Curl_cfilter *cf, in cf_h2_ctx_init() argument
242 struct cf_h2_ctx *ctx = cf->ctx; in cf_h2_ctx_init()
[all …]
Dcfilters.h36 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 …]
Dcf-socket.c778 static void cf_socket_close(struct Curl_cfilter *cf, struct Curl_easy *data) in cf_socket_close() argument
780 struct cf_socket_ctx *ctx = cf->ctx; in cf_socket_close()
788 if(ctx->sock == cf->conn->sock[cf->sockindex]) { in cf_socket_close()
789 DEBUGF(LOG_CF(data, cf, "cf_socket_close(%d, active)", in cf_socket_close()
791 socket_close(data, cf->conn, !ctx->accepted, ctx->sock); in cf_socket_close()
792 cf->conn->sock[cf->sockindex] = CURL_SOCKET_BAD; in cf_socket_close()
795 DEBUGF(LOG_CF(data, cf, "cf_socket_close(%d) no longer at " in cf_socket_close()
801 if(cf->sockindex == FIRSTSOCKET) in cf_socket_close()
802 cf->conn->remote_addr = NULL; in cf_socket_close()
806 DEBUGF(LOG_CF(data, cf, "cf_socket_close(%d, not active)", in cf_socket_close()
[all …]
Dhttp_proxy.c159 static void tunnel_go_state(struct Curl_cfilter *cf, in tunnel_go_state() argument
177 DEBUGF(LOG_CF(data, cf, "new tunnel state 'init'")); in tunnel_go_state()
178 tunnel_reinit(ts, cf->conn, data); in tunnel_go_state()
182 DEBUGF(LOG_CF(data, cf, "new tunnel state 'connect'")); in tunnel_go_state()
189 DEBUGF(LOG_CF(data, cf, "new tunnel state 'receive'")); in tunnel_go_state()
194 DEBUGF(LOG_CF(data, cf, "new tunnel state 'response'")); in tunnel_go_state()
199 DEBUGF(LOG_CF(data, cf, "new tunnel state 'established'")); in tunnel_go_state()
205 DEBUGF(LOG_CF(data, cf, "new tunnel state 'failed'")); in tunnel_go_state()
224 static void tunnel_free(struct Curl_cfilter *cf, in tunnel_free() argument
227 struct tunnel_state *ts = cf->ctx; in tunnel_free()
[all …]
Dsocks.c92 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 …]
/external/python/cpython3/Lib/test/
Dtest_configparser.py65 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 …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/charconv/charconv.syn/
Dchars_format.pass.cpp28 using cf = std::chars_format; in test() typedef
29 using ut = std::underlying_type<cf>::type; in test()
32 cf x = cf::scientific; in test()
33 x |= cf::fixed; in test()
34 assert(x == cf::general); in test()
37 cf x = cf::general; in test()
38 x &= cf::fixed; in test()
39 assert(x == cf::fixed); in test()
42 cf x = cf::general; in test()
43 x ^= cf::fixed; in test()
[all …]
/external/python/cpython2/Lib/test/
Dtest_cfgparser.py37 self.cf = self.config_class(allow_no_value=self.allow_no_value)
39 self.cf = self.config_class(defaults,
41 return self.cf
44 cf = self.newconfig(defaults)
46 cf.readfp(sio)
47 return cf
76 cf = self.fromstring(config_string)
77 L = cf.sections()
96 eq(cf.get('Foo Bar', 'foo'), 'bar')
97 eq(cf.get('Spacey Bar', 'foo'), 'bar')
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c31 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 …]
/external/curl/lib/vtls/
Dvtls.c320 static CURLcode ssl_connect(struct Curl_cfilter *cf, struct Curl_easy *data) in ssl_connect() argument
322 struct ssl_connect_data *connssl = cf->ctx; in ssl_connect()
331 result = Curl_ssl->connect_blocking(cf, data); in ssl_connect()
341 ssl_connect_nonblocking(struct Curl_cfilter *cf, struct Curl_easy *data, in ssl_connect_nonblocking() argument
348 return Curl_ssl->connect_nonblocking(cf, data, done); in ssl_connect_nonblocking()
373 bool Curl_ssl_getsessionid(struct Curl_cfilter *cf, in Curl_ssl_getsessionid() argument
378 struct ssl_connect_data *connssl = cf->ctx; in Curl_ssl_getsessionid()
379 struct ssl_primary_config *conn_config = Curl_ssl_cf_get_primary_config(cf); in Curl_ssl_getsessionid()
380 struct ssl_config_data *ssl_config = Curl_ssl_cf_get_config(cf, data); in Curl_ssl_getsessionid()
409 ((!cf->conn->bits.conn_to_host && !check->conn_to_host) || in Curl_ssl_getsessionid()
[all …]
Dvtls_int.h46 #define CF_CTX_CALL_DATA(cf) \ argument
47 ((struct ssl_connect_data *)(cf)->ctx)->call_data
65 int (*check_cxn)(struct Curl_cfilter *cf, struct Curl_easy *data);
66 int (*shut_down)(struct Curl_cfilter *cf,
68 bool (*data_pending)(struct Curl_cfilter *cf,
76 CURLcode (*connect_blocking)(struct Curl_cfilter *cf,
78 CURLcode (*connect_nonblocking)(struct Curl_cfilter *cf,
87 int (*get_select_socks)(struct Curl_cfilter *cf, struct Curl_easy *data,
91 void (*close)(struct Curl_cfilter *cf, struct Curl_easy *data);
103 bool (*attach_data)(struct Curl_cfilter *cf, struct Curl_easy *data);
[all …]
Dwolfssl.c248 struct Curl_cfilter *cf = BIO_get_data(bio); in bio_cf_ctrl() local
251 (void)cf; in bio_cf_ctrl()
271 return (!cf->next || !cf->next->connected); in bio_cf_ctrl()
282 struct Curl_cfilter *cf = wolfSSL_BIO_get_data(bio); in bio_cf_out_write() local
283 struct ssl_connect_data *connssl = cf->ctx; in bio_cf_out_write()
284 struct Curl_easy *data = CF_DATA_CURRENT(cf); in bio_cf_out_write()
289 nwritten = Curl_conn_cf_send(cf->next, data, buf, blen, &result); in bio_cf_out_write()
291 DEBUGF(LOG_CF(data, cf, "bio_write(len=%d) -> %zd, %d", in bio_cf_out_write()
301 struct Curl_cfilter *cf = wolfSSL_BIO_get_data(bio); in bio_cf_in_read() local
302 struct ssl_connect_data *connssl = cf->ctx; in bio_cf_in_read()
[all …]
/external/curl/lib/vquic/
Dcurl_quiche.c195 static void notify_drain(struct Curl_cfilter *cf, in notify_drain() argument
198 (void)cf; in notify_drain()
203 static CURLcode h3_add_event(struct Curl_cfilter *cf, in h3_add_event() argument
218 DEBUGF(LOG_CF(data, cf, "[h3sid=%"PRId64"] event discarded, easy handle " in h3_add_event()
236 notify_drain(cf, mdata); in h3_add_event()
273 static ssize_t cf_recv_body(struct Curl_cfilter *cf, in cf_recv_body() argument
278 struct cf_quiche_ctx *ctx = cf->ctx; in cf_recv_body()
290 DEBUGF(LOG_CF(data, cf, "[h3sid=%"PRId64"][DATA] len=%zd", in cf_recv_body()
308 streamclose(cf->conn, "Reset of stream"); in cf_recv_body()
338 static ssize_t h3_process_event(struct Curl_cfilter *cf, in h3_process_event() argument
[all …]
Dcurl_ngtcp2.c159 #define CF_CTX_CALL_DATA(cf) \ argument
160 ((struct cf_ngtcp2_ctx *)(cf)->ctx)->call_data
167 static CURLcode cf_process_ingress(struct Curl_cfilter *cf,
169 static CURLcode cf_flush_egress(struct Curl_cfilter *cf,
177 struct Curl_cfilter *cf = conn_ref->user_data; in get_conn() local
178 struct cf_ngtcp2_ctx *ctx = cf->ctx; in get_conn()
191 struct Curl_cfilter *cf = user_data; in quic_printf() local
192 struct cf_ngtcp2_ctx *ctx = cf->ctx; in quic_printf()
206 struct Curl_cfilter *cf = user_data; in qlog_callback() local
207 struct cf_ngtcp2_ctx *ctx = cf->ctx; in qlog_callback()
[all …]
Dcurl_msh3.c176 static CURLcode msh3_data_setup(struct Curl_cfilter *cf, in msh3_data_setup() argument
180 (void)cf; in msh3_data_setup()
184 DEBUGF(LOG_CF(data, cf, "req: setup")); in msh3_data_setup()
365 static ssize_t cf_msh3_recv(struct Curl_cfilter *cf, struct Curl_easy *data, in cf_msh3_recv() argument
371 (void)cf; in cf_msh3_recv()
372 DEBUGF(LOG_CF(data, cf, "req: recv with %zu byte buffer", len)); in cf_msh3_recv()
395 DEBUGF(LOG_CF(data, cf, "req: returned %zu bytes of header", outsize)); in cf_msh3_recv()
408 DEBUGF(LOG_CF(data, cf, "req: returned %zu bytes of data", outsize)); in cf_msh3_recv()
413 DEBUGF(LOG_CF(data, cf, "req: receive complete")); in cf_msh3_recv()
417 DEBUGF(LOG_CF(data, cf, "req: nothing here, call again")); in cf_msh3_recv()
[all …]
/external/mesa3d/src/freedreno/ir2/
Ddisasm-a2xx.c440 void (*fxn)(instr_fetch_t *cf);
478 static int cf_exec(instr_cf_t *cf) in cf_exec() argument
480 return (cf->opc == EXEC) || in cf_exec()
481 (cf->opc == EXEC_END) || in cf_exec()
482 (cf->opc == COND_EXEC) || in cf_exec()
483 (cf->opc == COND_EXEC_END) || in cf_exec()
484 (cf->opc == COND_PRED_EXEC) || in cf_exec()
485 (cf->opc == COND_PRED_EXEC_END) || in cf_exec()
486 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_exec()
487 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_exec()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java364 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate()
365 test_generateCertificate(cf); in test_generateCertificate()
366 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate()
367 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate()
368 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate()
369 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate()
370 test_generateCertificate_PartialInput(cf); in test_generateCertificate()
372 test_generateCrl(cf); in test_generateCertificate()
377 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument
381 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java368 CertificateFactory cf = CertificateFactory.getInstance("X509", p); in test_generateCertificate()
369 test_generateCertificate(cf); in test_generateCertificate()
370 test_generateCertificate_InputStream_Offset_Correct(cf); in test_generateCertificate()
371 test_generateCertificate_InputStream_Empty(cf); in test_generateCertificate()
372 test_generateCertificate_InputStream_InvalidStart_Failure(cf); in test_generateCertificate()
373 test_generateCertificate_AnyLineLength_Success(cf); in test_generateCertificate()
374 test_generateCertificate_PartialInput(cf); in test_generateCertificate()
376 test_generateCrl(cf); in test_generateCertificate()
381 private void test_generateCertificate(CertificateFactory cf) throws Exception { in test_generateCertificate() argument
385 Certificate c = cf.generateCertificate(new ByteArrayInputStream(valid)); in test_generateCertificate()
[all …]
/external/one-true-awk/testdir/
Dchem.awk102 if ($cf ~ /(\+|-)?[0-9]+|up|down|right|left|ne|se|nw|sw/)
104 else if ($cf ~ /^leng/) {
107 } else if ($cf == "to") {
111 } else if ($cf == "from") {
114 } else if ($cf ~ /^#/) {
138 n = $cf
213 for (cf = 2; cf <= NF; ) {
214 if ($cf == "pointing")
216 else if ($cf == "double" || $cf == "triple")
218 else if ($cf ~ /arom/) {
[all …]
/external/compiler-rt/lib/asan/
Dasan_activation.cc32 void RegisterActivationFlags(FlagParser *parser, Flags *f, CommonFlags *cf) { in RegisterActivationFlags()
36 RegisterFlag(parser, #Name, "", &cf->Name); in RegisterActivationFlags()
41 RegisterIncludeFlags(parser, cf); in RegisterActivationFlags()
46 CommonFlags cf; in OverrideFromActivationFlags() local
48 RegisterActivationFlags(&parser, &f, &cf); in OverrideFromActivationFlags()
50 cf.SetDefaults(); in OverrideFromActivationFlags()
52 allocator_options.CopyTo(&f, &cf); in OverrideFromActivationFlags()
53 cf.malloc_context_size = malloc_context_size; in OverrideFromActivationFlags()
55 cf.coverage = coverage; in OverrideFromActivationFlags()
56 cf.coverage_dir = coverage_dir; in OverrideFromActivationFlags()
[all …]
/external/ipsec-tools/src/racoon/
Dgenlist.c139 struct conf *cf;
143 cf = calloc(sizeof(struct conf), 1);
144 cf->l1 = genlist_init();
145 cf->l2 = genlist_init();
147 genlist_insert(cf->l1, "Ahoj");
148 genlist_insert(cf->l1, "Cau");
149 genlist_insert(cf->l1, "Nazdar");
150 genlist_insert(cf->l1, "Te buch");
152 genlist_append(cf->l2, "Curak");
153 genlist_append(cf->l2, "Kozy");
[all …]
/external/libaom/av1/encoder/x86/
Dencodetxb_avx2.c40 const tran_low_t *cf = coeff; in av1_txb_init_levels_avx2() local
43 const __m256i c0 = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
44 const __m256i c1 = yy_loadu_256(cf + 8); in av1_txb_init_levels_avx2()
51 cf += 16; in av1_txb_init_levels_avx2()
56 const __m256i coeffA = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
57 const __m256i coeffB = yy_loadu_256(cf + 8); in av1_txb_init_levels_avx2()
58 const __m256i coeffC = yy_loadu_256(cf + 16); in av1_txb_init_levels_avx2()
59 const __m256i coeffD = yy_loadu_256(cf + 24); in av1_txb_init_levels_avx2()
77 cf += 32; in av1_txb_init_levels_avx2()
83 const __m256i coeffA = yy_loadu_256(cf); in av1_txb_init_levels_avx2()
[all …]

12345678910>>...67