Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 47) sorted by relevance

12

/curl/lib/
H A Dmd5.c91 static CURLcode my_md5_init(void *ctx) in my_md5_init()
97 static void my_md5_update(void *ctx, in my_md5_update()
113 static CURLcode my_md5_init(void *ctx) in my_md5_init()
121 static void my_md5_update(void *ctx, in my_md5_update()
137 static CURLcode my_md5_init(void *ctx) in my_md5_init()
151 static void my_md5_update(void *ctx, in my_md5_update()
189 static void my_md5_update(void *ctx, in my_md5_update()
211 my_md5_ctx *ctx = (my_md5_ctx *)in; in my_md5_init() local
229 my_md5_ctx *ctx = in; in my_md5_update() local
235 my_md5_ctx *ctx = (my_md5_ctx *)in; in my_md5_final() local
[all …]
H A Dmd4.c100 static int MD4_Init(MD4_CTX *ctx) in MD4_Init()
111 static void MD4_Final(unsigned char *result, MD4_CTX *ctx) in MD4_Final()
123 static int MD4_Init(MD4_CTX *ctx) in MD4_Init()
133 static void MD4_Final(unsigned char *result, MD4_CTX *ctx) in MD4_Final()
146 static int MD4_Init(MD4_CTX *ctx) in MD4_Init()
169 static void MD4_Final(unsigned char *result, MD4_CTX *ctx) in MD4_Final()
192 static int MD4_Init(MD4_CTX *ctx) in MD4_Init()
208 static void MD4_Final(unsigned char *result, MD4_CTX *ctx) in MD4_Final()
322 static const void *my_md4_body(MD4_CTX *ctx, in my_md4_body()
413 static int MD4_Init(MD4_CTX *ctx) in MD4_Init()
[all …]
H A Dsha256.c107 my_sha256_ctx *ctx = (my_sha256_ctx *)in; in my_sha256_init() local
123 my_sha256_ctx *ctx = (my_sha256_ctx *)in; in my_sha256_update() local
129 my_sha256_ctx *ctx = (my_sha256_ctx *)in; in my_sha256_final() local
138 static CURLcode my_sha256_init(void *ctx) in my_sha256_init()
144 static void my_sha256_update(void *ctx, in my_sha256_update()
160 static CURLcode my_sha256_init(void *ctx) in my_sha256_init()
170 static void my_sha256_update(void *ctx, in my_sha256_update()
193 static CURLcode my_sha256_init(void *ctx) in my_sha256_init()
199 static void my_sha256_update(void *ctx, in my_sha256_update()
417 static void my_sha256_update(void *ctx, in my_sha256_update()
[all …]
H A Dcw-out.c128 struct cw_out_ctx *ctx = writer->ctx; in cw_out_init() local
134 static void cw_out_bufs_free(struct cw_out_ctx *ctx) in cw_out_bufs_free()
143 static size_t cw_out_bufs_len(struct cw_out_ctx *ctx) in cw_out_bufs_len()
156 struct cw_out_ctx *ctx = writer->ctx; in cw_out_close() local
194 static CURLcode cw_out_ptr_flush(struct cw_out_ctx *ctx, in cw_out_ptr_flush()
258 static CURLcode cw_out_buf_flush(struct cw_out_ctx *ctx, in cw_out_buf_flush()
328 static CURLcode cw_out_append(struct cw_out_ctx *ctx, in cw_out_append()
349 static CURLcode cw_out_do_write(struct cw_out_ctx *ctx, in cw_out_do_write()
403 struct cw_out_ctx *ctx = writer->ctx; in cw_out_write() local
426 struct cw_out_ctx *ctx; in Curl_cw_out_is_paused() local
[all …]
H A Dcf-h2-proxy.c220 struct cf_h2_proxy_ctx *ctx = cf->ctx; in drain_tunnel() local
278 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_client_new() local
329 struct cf_h2_proxy_ctx *ctx = cf->ctx; in cf_h2_proxy_ctx_init() local
416 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_nw_out_flush() local
447 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_process_pending_input() local
480 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_progress_ingress() local
528 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_progress_egress() local
548 struct cf_h2_proxy_ctx *ctx = cf->ctx; in on_session_send() local
669 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_on_frame_recv() local
748 struct cf_h2_proxy_ctx *ctx = cf->ctx; in proxy_h2_on_header() local
[all …]
H A Dcf-haproxy.c53 static void cf_haproxy_ctx_reset(struct cf_haproxy_ctx *ctx) in cf_haproxy_ctx_reset()
60 static void cf_haproxy_ctx_free(struct cf_haproxy_ctx *ctx) in cf_haproxy_ctx_free()
71 struct cf_haproxy_ctx *ctx = cf->ctx; in cf_haproxy_date_out_set() local
110 struct cf_haproxy_ctx *ctx = cf->ctx; in cf_haproxy_connect() local
215 struct cf_haproxy_ctx *ctx; in cf_haproxy_create() local
H A Dcf-socket.c1002 struct cf_socket_ctx *ctx = cf->ctx; in cf_socket_close() local
1044 struct cf_socket_ctx *ctx = cf->ctx; in cf_socket_destroy() local
1055 struct cf_socket_ctx *ctx = cf->ctx; in set_local_ip() local
1091 struct cf_socket_ctx *ctx = cf->ctx; in set_remote_ip() local
1111 struct cf_socket_ctx *ctx = cf->ctx; in cf_socket_open() local
1246 struct cf_socket_ctx *ctx = cf->ctx; in do_connect() local
1302 struct cf_socket_ctx *ctx = cf->ctx; in cf_tcp_connect() local
1796 struct cf_socket_ctx *ctx = NULL; in Curl_cf_tcp_create() local
1945 struct cf_socket_ctx *ctx = NULL; in Curl_cf_udp_create() local
1997 struct cf_socket_ctx *ctx = NULL; in Curl_cf_unix_create() local
[all …]
H A Dhttp2.c298 struct cf_h2_ctx *ctx = cf->ctx; in cf_h2_update_local_win() local
375 struct cf_h2_ctx *ctx = cf->ctx; in http2_data_setup() local
401 struct cf_h2_ctx *ctx = cf->ctx; in http2_data_done() local
434 struct cf_h2_ctx *ctx = cf->ctx; in h2_client_new() local
510 struct cf_h2_ctx *ctx = cf->ctx; in cf_h2_ctx_open() local
640 struct cf_h2_ctx *ctx = cf->ctx; in h2_process_pending_input() local
686 struct cf_h2_ctx *ctx = cf->ctx; in http2_connisalive() local
724 struct cf_h2_ctx *ctx = cf->ctx; in http2_send_ping() local
2765 struct cf_h2_ctx *ctx; in http2_cfilter_add() local
2793 struct cf_h2_ctx *ctx; in http2_cfilter_insert_after() local
[all …]
H A Dcf-https-connect.c131 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_baller_init() local
159 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_reset() local
175 struct cf_hc_ctx *ctx = cf->ctx; in baller_connected() local
225 struct cf_hc_ctx *ctx = cf->ctx; in time_to_start_h21() local
259 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_connect() local
346 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_shutdown() local
410 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_data_pending() local
424 struct cf_hc_ctx *ctx = cf->ctx; in cf_get_max_baller_time() local
448 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_query() local
483 struct cf_hc_ctx *ctx = cf->ctx; in cf_hc_cntrl() local
[all …]
H A Dhttp_chunks.c407 struct chunked_writer *ctx = writer->ctx; in cw_chunked_init() local
417 struct chunked_writer *ctx = writer->ctx; in cw_chunked_close() local
425 struct chunked_writer *ctx = writer->ctx; in cw_chunked_write() local
487 struct chunked_reader *ctx = reader->ctx; in cr_chunked_init() local
496 struct chunked_reader *ctx = reader->ctx; in cr_chunked_close() local
504 struct chunked_reader *ctx = reader->ctx; in add_last_chunk() local
558 struct chunked_reader *ctx = reader->ctx; in add_chunk() local
613 struct chunked_reader *ctx = reader->ctx; in cr_chunked_read() local
H A Dhttp_proxy.c171 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_connect() local
262 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_destroy() local
272 struct cf_proxy_ctx *ctx = cf->ctx; in http_proxy_cf_close() local
317 struct cf_proxy_ctx *ctx = NULL; in Curl_cf_http_proxy_insert_after() local
H A Dcurl_sha512_256.c119 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_init() local
153 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_update() local
176 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_finish() local
216 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_init() local
240 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_update() local
262 Curl_sha512_256_ctx *const ctx = (Curl_sha512_256_ctx *)context; in Curl_sha512_256_finish() local
431 struct mhdx_sha512_256ctx *const ctx = (struct mhdx_sha512_256ctx *) context; in MHDx_sha512_256_init() local
636 struct mhdx_sha512_256ctx *const ctx = (struct mhdx_sha512_256ctx *)context; in MHDx_sha512_256_update() local
711 struct mhdx_sha512_256ctx *const ctx = (struct mhdx_sha512_256ctx *)context; in MHDx_sha512_256_finish() local
802 Curl_sha512_256_ctx ctx; in Curl_sha512_256it() local
H A Dsendf.c639 struct cr_in_ctx *ctx = reader->ctx; in cr_in_init() local
654 struct cr_in_ctx *ctx = reader->ctx; in cr_in_read() local
750 struct cr_in_ctx *ctx = reader->ctx; in cr_in_needs_rewind() local
758 struct cr_in_ctx *ctx = reader->ctx; in cr_in_total_length() local
767 struct cr_in_ctx *ctx = reader->ctx; in cr_in_resume_from() local
829 struct cr_in_ctx *ctx = reader->ctx; in cr_in_rewind() local
883 struct cr_in_ctx *ctx = reader->ctx; in cr_in_unpause() local
892 struct cr_in_ctx *ctx = reader->ctx; in cr_in_is_paused() local
957 struct cr_lc_ctx *ctx = reader->ctx; in cr_lc_init() local
1127 struct cr_in_ctx *ctx; in Curl_creader_set_fread() local
[all …]
H A Dconnect.c475 struct cf_he_ctx *ctx = cf->ctx; in baller_initiate() local
607 struct cf_he_ctx *ctx = cf->ctx; in is_connected() local
769 struct cf_he_ctx *ctx = cf->ctx; in start_connect() local
860 struct cf_he_ctx *ctx = cf->ctx; in cf_he_ctx_clear() local
876 struct cf_he_ctx *ctx = cf->ctx; in cf_he_shutdown() local
917 struct cf_he_ctx *ctx = cf->ctx; in cf_he_adjust_pollset() local
935 struct cf_he_ctx *ctx = cf->ctx; in cf_he_connect() local
996 struct cf_he_ctx *ctx = cf->ctx; in cf_he_close() local
1012 struct cf_he_ctx *ctx = cf->ctx; in cf_he_data_pending() local
1146 struct cf_he_ctx *ctx = NULL; in cf_happy_eyeballs_create() local
[all …]
H A Dsendf.h129 void *ctx; /* allocated instance pointer */ member
245 void *ctx; member
/curl/lib/vquic/
H A Dcurl_quiche.c202 struct cf_quiche_ctx *ctx = cf->ctx; in check_resumes() local
222 struct cf_quiche_ctx *ctx = cf->ctx; in h3_data_setup() local
247 struct cf_quiche_ctx *ctx = cf->ctx; in h3_data_done() local
274 struct cf_quiche_ctx *ctx = cf->ctx; in h3_drain_stream() local
293 struct cf_quiche_ctx *ctx = cf->ctx; in get_stream_easy() local
345 struct cf_quiche_ctx *ctx = cf->ctx; in write_resp_raw() local
440 struct cf_quiche_ctx *ctx = cf->ctx; in cf_recv_body() local
563 struct cf_quiche_ctx *ctx = cf->ctx; in cf_poll_events() local
669 struct cf_quiche_ctx *ctx = cf->ctx; in cf_process_ingress() local
730 struct cf_quiche_ctx *ctx = cf->ctx; in cf_flush_egress() local
[all …]
H A Dvquic-tls.c79 static CURLcode wssl_init_ctx(struct curl_tls_ctx *ctx, in wssl_init_ctx()
197 static CURLcode wssl_init_ssl(struct curl_tls_ctx *ctx, in wssl_init_ssl()
231 CURLcode Curl_vquic_tls_init(struct curl_tls_ctx *ctx, in Curl_vquic_tls_init()
263 void Curl_vquic_tls_cleanup(struct curl_tls_ctx *ctx) in Curl_vquic_tls_cleanup()
283 CURLcode Curl_vquic_tls_before_recv(struct curl_tls_ctx *ctx, in Curl_vquic_tls_before_recv()
312 CURLcode Curl_vquic_tls_verify_peer(struct curl_tls_ctx *ctx, in Curl_vquic_tls_verify_peer()
H A Dcurl_msh3.c200 struct cf_msh3_ctx *ctx = cf->ctx; in h3_data_setup() local
226 struct cf_msh3_ctx *ctx = cf->ctx; in h3_data_done() local
254 struct cf_msh3_ctx *ctx = cf->ctx; in h3_drain_stream() local
278 struct cf_msh3_ctx *ctx = cf->ctx; in msh3_conn_connected() local
292 struct cf_msh3_ctx *ctx = cf->ctx; in msh3_conn_shutdown_complete() local
517 struct cf_msh3_ctx *ctx = cf->ctx; in recv_closed_stream() local
551 struct cf_msh3_ctx *ctx = cf->ctx; in set_quic_expire() local
569 struct cf_msh3_ctx *ctx = cf->ctx; in cf_msh3_recv() local
621 struct cf_msh3_ctx *ctx = cf->ctx; in cf_msh3_send() local
717 struct cf_msh3_ctx *ctx = cf->ctx; in cf_msh3_adjust_pollset() local
[all …]
H A Dcurl_ngtcp2.c226 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_data_setup() local
258 struct cf_ngtcp2_ctx *ctx = cf->ctx; in cf_ngtcp2_stream_close() local
278 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_data_done() local
294 struct cf_ngtcp2_ctx *ctx = cf->ctx; in get_stream_easy() local
324 struct cf_ngtcp2_ctx *ctx = cf->ctx; in h3_drain_stream() local
352 struct cf_ngtcp2_ctx *ctx = cf->ctx; in pktx_update_time() local
376 struct cf_ngtcp2_ctx *ctx = cf->ctx; in get_conn() local
384 struct cf_ngtcp2_ctx *ctx = cf->ctx; in quic_printf() local
399 struct cf_ngtcp2_ctx *ctx = cf->ctx; in qlog_callback() local
2125 struct cf_ngtcp2_ctx *ctx; in quic_ossl_new_session_cb() local
[all …]
H A Dcurl_osslq.c338 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_shutdown() local
408 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_close() local
429 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_destroy() local
450 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_h3conn_add_stream() local
484 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_ssl_err() local
562 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_verify_peer() local
612 struct cf_osslq_ctx *ctx = cf->ctx; in h3_data_setup() local
647 struct cf_osslq_ctx *ctx = cf->ctx; in h3_data_done() local
670 struct cf_osslq_ctx *ctx = cf->ctx; in cf_osslq_get_qstream() local
704 struct cf_osslq_ctx *ctx = cf->ctx; in h3_drain_stream() local
[all …]
/curl/tests/libtest/
H A Dlib3207.c88 struct Ctx *ctx = (struct Ctx *)ptr; in test_thread() local
145 static void execute(CURLSH *share, struct Ctx *ctx) in execute()
176 static void execute(CURLSH *share, struct Ctx *ctx) in execute()
192 struct Ctx ctx[THREAD_SIZE]; in test() local
/curl/lib/vtls/
H A Dbearssl.c56 br_ssl_client_context ctx; member
89 static void append_dn(void *ctx, const void *buf, size_t len) in append_dn()
103 static void x509_push(void *ctx, const void *buf, size_t len) in x509_push()
271 static void x509_start_chain(const br_x509_class **ctx, in x509_start_chain()
286 static void x509_start_cert(const br_x509_class **ctx, uint32_t length) in x509_start_cert()
314 static void x509_end_cert(const br_x509_class **ctx) in x509_end_cert()
326 static unsigned x509_end_chain(const br_x509_class **ctx) in x509_end_chain()
337 static const br_x509_pkey *x509_get_pkey(const br_x509_class *const *ctx, in x509_get_pkey()
1019 struct ssl_connect_data *ctx = cf->ctx; in bearssl_data_pending() local
1031 static br_hmac_drbg_context ctx; in bearssl_random() local
[all …]
H A Dwolfssl.h42 WOLFSSL_CTX *ctx; member
/curl/src/
H A Dtool_help.c166 void inithelpscan(struct scan_ctx *ctx, in inithelpscan()
184 bool helpscan(unsigned char *buf, size_t len, struct scan_ctx *ctx) in helpscan()
/curl/tests/unit/
H A Dunit2600.c124 struct cf_test_ctx *ctx = cf->ctx; in cf_test_destroy() local
139 struct cf_test_ctx *ctx = cf->ctx; in cf_test_connect() local
193 struct cf_test_ctx *ctx = NULL; in cf_test_create() local

Completed in 83 milliseconds

12