Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 25 of 27) sorted by relevance

12

/curl/lib/
H A Dcfilters.c93 (void)ps; in Curl_cf_def_adjust_pollset()
571 struct easy_pollset ps; in Curl_conn_cf_poll() local
578 memset(&ps, 0, sizeof(ps)); in Curl_conn_cf_poll()
902 memset(ps, 0, sizeof(*ps)); in Curl_pollset_reset()
929 if(!ps->actions[i]) { in Curl_pollset_change()
931 memmove(&ps->sockets[i], &ps->sockets[i + 1], in Curl_pollset_change()
932 (ps->num - (i + 1)) * sizeof(ps->sockets[0])); in Curl_pollset_change()
933 memmove(&ps->actions[i], &ps->actions[i + 1], in Curl_pollset_change()
934 (ps->num - (i + 1)) * sizeof(ps->actions[0])); in Curl_pollset_change()
936 --ps->num; in Curl_pollset_change()
[all …]
H A Dcfilters.h450 struct easy_pollset *ps);
586 struct easy_pollset *ps);
601 #define Curl_pollset_add_in(data, ps, sock) \ argument
603 #define Curl_pollset_add_out(data, ps, sock) \ argument
605 #define Curl_pollset_add_inout(data, ps, sock) \ argument
606 Curl_pollset_change((data), (ps), (sock), \
608 #define Curl_pollset_set_in_only(data, ps, sock) \ argument
609 Curl_pollset_change((data), (ps), (sock), \
611 #define Curl_pollset_set_out_only(data, ps, sock) \ argument
612 Curl_pollset_change((data), (ps), (sock), \
[all …]
H A Dselect.c471 struct easy_pollset *ps) in Curl_pollfds_add_ps() argument
476 DEBUGASSERT(ps); in Curl_pollfds_add_ps()
477 for(i = 0; i < ps->num; i++) { in Curl_pollfds_add_ps()
479 if(ps->actions[i] & CURL_POLL_IN) in Curl_pollfds_add_ps()
481 if(ps->actions[i] & CURL_POLL_OUT) in Curl_pollfds_add_ps()
525 struct easy_pollset *ps) in Curl_waitfds_add_ps() argument
530 DEBUGASSERT(ps); in Curl_waitfds_add_ps()
531 for(i = 0; i < ps->num; i++) { in Curl_waitfds_add_ps()
533 if(ps->actions[i] & CURL_POLL_IN) in Curl_waitfds_add_ps()
535 if(ps->actions[i] & CURL_POLL_OUT) in Curl_waitfds_add_ps()
[all …]
H A Dselect.h128 struct easy_pollset *ps);
144 struct easy_pollset *ps);
H A Dconncache.c897 struct easy_pollset ps; in cpool_add_pollfds() local
903 memset(&ps, 0, sizeof(ps)); in cpool_add_pollfds()
905 Curl_conn_adjust_pollset(cpool->idata, &ps); in cpool_add_pollfds()
908 result = Curl_pollfds_add_ps(cpfds, &ps); in cpool_add_pollfds()
937 struct easy_pollset ps; in Curl_cpool_add_waitfds() local
943 memset(&ps, 0, sizeof(ps)); in Curl_cpool_add_waitfds()
948 result = Curl_waitfds_add_ps(cwfds, &ps); in Curl_cpool_add_waitfds()
1062 struct easy_pollset ps; in cpool_update_shutdown_ev() local
1069 memset(&ps, 0, sizeof(ps)); in cpool_update_shutdown_ev()
1071 Curl_conn_adjust_pollset(data, &ps); in cpool_update_shutdown_ev()
[all …]
H A Dcf-haproxy.c183 struct easy_pollset *ps) in cf_haproxy_adjust_pollset() argument
188 Curl_pollset_set_out_only(data, ps, Curl_conn_cf_get_socket(cf, data)); in cf_haproxy_adjust_pollset()
H A Dmultiif.h84 struct easy_pollset *ps,
H A Dmulti.c1064 Curl_pollset_reset(data, ps); in multi_getsock()
1087 Curl_conn_adjust_pollset(data, ps); in multi_getsock()
1093 Curl_conn_adjust_pollset(data, ps); in multi_getsock()
1099 Curl_conn_adjust_pollset(data, ps); in multi_getsock()
1104 Curl_conn_adjust_pollset(data, ps); in multi_getsock()
1110 Curl_conn_adjust_pollset(data, ps); in multi_getsock()
1132 if(expect_sockets && !ps->num && in multi_getsock()
3221 for(i = 0; i < ps->num; i++) {
3226 s = ps->sockets[i];
3312 for(j = 0; j < ps->num; j++) {
[all …]
H A Dcf-https-connect.c388 struct easy_pollset *ps) in cf_hc_adjust_pollset() argument
401 Curl_conn_cf_adjust_pollset(b->cf, data, ps); in cf_hc_adjust_pollset()
403 CURL_TRC_CF(data, cf, "adjust_pollset -> %d socks", ps->num); in cf_hc_adjust_pollset()
H A Dcf-h1-proxy.c1026 struct easy_pollset *ps) in cf_h1_proxy_adjust_pollset() argument
1040 Curl_pollset_set_out_only(data, ps, sock); in cf_h1_proxy_adjust_pollset()
1042 Curl_pollset_set_in_only(data, ps, sock); in cf_h1_proxy_adjust_pollset()
1045 Curl_pollset_set_out_only(data, ps, sock); in cf_h1_proxy_adjust_pollset()
H A Dsocks.c1188 struct easy_pollset *ps) in socks_cf_adjust_pollset() argument
1202 Curl_pollset_set_in_only(data, ps, sock); in socks_cf_adjust_pollset()
1205 Curl_pollset_set_out_only(data, ps, sock); in socks_cf_adjust_pollset()
H A Dcf-h2-proxy.c1229 struct easy_pollset *ps) in cf_h2_proxy_adjust_pollset() argument
1243 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_proxy_adjust_pollset()
1259 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset()
1271 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_proxy_adjust_pollset()
H A Dconnect.c915 struct easy_pollset *ps) in cf_he_adjust_pollset() argument
925 Curl_conn_cf_adjust_pollset(baller->cf, data, ps); in cf_he_adjust_pollset()
927 CURL_TRC_CF(data, cf, "adjust_pollset -> %d socks", ps->num); in cf_he_adjust_pollset()
H A Dcf-socket.c1411 struct easy_pollset *ps) in cf_socket_adjust_pollset() argument
1421 Curl_pollset_set_in_only(data, ps, ctx->sock); in cf_socket_adjust_pollset()
1426 Curl_pollset_set_out_only(data, ps, ctx->sock); in cf_socket_adjust_pollset()
1431 Curl_pollset_add_in(data, ps, ctx->sock); in cf_socket_adjust_pollset()
H A Dhttp2.c2418 struct easy_pollset *ps) in cf_h2_adjust_pollset() argument
2429 Curl_pollset_check(data, ps, sock, &want_recv, &want_send); in cf_h2_adjust_pollset()
2444 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_adjust_pollset()
2453 Curl_pollset_set(data, ps, sock, want_recv, want_send); in cf_h2_adjust_pollset()
/curl/tests/data/
H A Dtest56830 u=http://www.curl.example.com/fakesdp.ps
69 u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
93 u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
H A Dtest310031 u=http://www.curl.example.com/fakesdp.ps
49 u=http://www.curl.example.com/fakesdp.ps
/curl/lib/vtls/
H A Dvtls_int.h165 struct easy_pollset *ps);
209 struct easy_pollset *ps);
H A Dvtls.c806 struct easy_pollset *ps) in Curl_ssl_adjust_pollset() argument
814 Curl_pollset_set_out_only(data, ps, sock); in Curl_ssl_adjust_pollset()
819 Curl_pollset_set_in_only(data, ps, sock); in Curl_ssl_adjust_pollset()
1307 struct easy_pollset *ps) in multissl_adjust_pollset() argument
1311 Curl_ssl->adjust_pollset(cf, data, ps); in multissl_adjust_pollset()
1834 struct easy_pollset *ps) in ssl_cf_adjust_pollset() argument
1839 Curl_ssl->adjust_pollset(cf, data, ps); in ssl_cf_adjust_pollset()
/curl/tests/unit/
H A Dunit2600.c161 struct easy_pollset *ps) in cf_test_adjust_pollset() argument
165 Curl_pollset_set(data, ps, 1, TRUE, TRUE); in cf_test_adjust_pollset()
/curl/lib/vquic/
H A Dcurl_ngtcp2.c346 ngtcp2_path_storage ps; member
365 ngtcp2_path_storage_zero(&pktx->ps); in pktx_init()
843 struct easy_pollset *ps) in cf_ngtcp2_adjust_pollset() argument
851 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_ngtcp2_adjust_pollset()
869 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_ngtcp2_adjust_pollset()
1729 n = ngtcp2_conn_writev_stream(ctx->qconn, &x->ps.path, in read_pkt_to_send()
1813 ngtcp2_path_storage_zero(&pktx->ps); in cf_progress_egress()
H A Dcurl_msh3.c715 struct easy_pollset *ps) in cf_msh3_adjust_pollset() argument
724 Curl_pollset_add_in(data, ps, ctx->sock[SP_LOCAL]); in cf_msh3_adjust_pollset()
728 Curl_pollset_add_out(data, ps, ctx->sock[SP_LOCAL]); in cf_msh3_adjust_pollset()
H A Dcurl_osslq.c2228 struct easy_pollset *ps) in cf_osslq_adjust_pollset() argument
2238 Curl_pollset_set(data, ps, ctx->q.sockfd, in cf_osslq_adjust_pollset()
2246 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_osslq_adjust_pollset()
2248 Curl_pollset_set(data, ps, ctx->q.sockfd, in cf_osslq_adjust_pollset()
2253 Curl_pollset_set(data, ps, ctx->q.sockfd, in cf_osslq_adjust_pollset()
H A Dcurl_quiche.c1165 struct easy_pollset *ps) in cf_quiche_adjust_pollset() argument
1173 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_quiche_adjust_pollset()
1186 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_quiche_adjust_pollset()
/curl/
H A Dappveyor.yml198 - ps: $env:PATH = "C:/msys64/usr/bin;$env:PATH"

Completed in 304 milliseconds

12