/curl/lib/ |
H A D | pingpong.c | 109 else if(pp->overflow) in Curl_pp_statemach() 145 pp->nread_resp = 0; in Curl_pp_init() 219 pp->sendthis = s; in Curl_pp_vsendf() 225 pp->sendleft = pp->sendsize = 0; in Curl_pp_vsendf() 297 if(pp->nfinal) { in Curl_pp_readresp() 303 Curl_dyn_tail(&pp->recvbuf, full - pp->nfinal); in Curl_pp_readresp() 359 pp->overflow = Curl_dyn_len(&pp->recvbuf) - length; in Curl_pp_readresp() 394 if(pp->sendleft) { in Curl_pp_getsock() 421 pp->sendthis + pp->sendsize - pp->sendleft, in Curl_pp_flushsend() 436 pp->sendleft = pp->sendsize = 0; in Curl_pp_flushsend() [all …]
|
H A D | pingpong.h | 75 #define PINGPONG_SETUP(pp,s,e) \ argument 77 pp->response_time = RESP_TIMEOUT; \ 78 pp->statemachine = s; \ 79 pp->endofresp = e; \ 92 void Curl_pp_init(struct pingpong *pp); 111 struct pingpong *pp, 125 struct pingpong *pp, 136 struct pingpong *pp, 141 struct pingpong *pp); 144 struct pingpong *pp); [all …]
|
H A D | curl_fnmatch.c | 143 static void setcharorrange(unsigned char **pp, unsigned char *charset) in setcharorrange() argument 145 unsigned char *p = (*pp)++; in setcharorrange() 159 *pp = p; in setcharorrange() 188 unsigned char *pp = *p + 1; in setcharset() local 190 if(*pp++ == ':' && parsekeyword(&pp, charset)) in setcharset() 191 *p = pp; in setcharset() 265 unsigned char *pp; in loop() local 304 pp = p + 1; /* Copy in case of syntax error in set. */ in loop() 305 if(setcharset(&pp, charset)) { in loop() 337 p = pp + 1; in loop()
|
H A D | pop3.c | 976 struct pingpong *pp = &pop3c->pp; in pop3_state_command_resp() local 999 if(pp->overflow) { in pop3_state_command_resp() 1005 Curl_dyn_tail(&pp->recvbuf, pp->overflow); in pop3_state_command_resp() 1006 pp->nfinal = 0; /* done */ in pop3_state_command_resp() 1017 pp->overflow = 0; in pop3_state_command_resp() 1021 pp->overflow = 0; in pop3_state_command_resp() 1035 struct pingpong *pp = &pop3c->pp; in pop3_statemachine() local 1044 if(pp->sendleft) in pop3_statemachine() 1176 struct pingpong *pp = &pop3c->pp; in pop3_connect() local 1190 Curl_pp_init(pp); in pop3_connect() [all …]
|
H A D | ftp.c | 430 struct pingpong *pp = &ftpc->pp; in ftp_check_ctrl_on_data_wait() local 467 DEBUGASSERT((pp->overflow + pp->nfinal) <= in ftp_check_ctrl_on_data_wait() 632 struct pingpong *pp = &ftpc->pp; in Curl_GetFTPResponse() local 1786 struct pingpong *pp = &ftpc->pp; in ftp_state_pasv_resp() local 2066 struct pingpong *pp = &ftpc->pp; in ftp_state_mdtm_resp() local 2653 struct pingpong *pp = &ftpc->pp; in ftp_statemachine() local 3122 struct pingpong *pp = &ftpc->pp; in ftp_block_statemach() local 3148 struct pingpong *pp = &ftpc->pp; in ftp_connect() local 3191 struct pingpong *pp = &ftpc->pp; in ftp_done() local 3417 struct pingpong *pp = &ftpc->pp; in ftp_sendquote() local [all …]
|
H A D | imap.c | 1145 struct pingpong *pp = &imapc->pp; in imap_state_fetch_resp() local 1173 if(pp->overflow) { in imap_state_fetch_resp() 1181 pp->nfinal = 0; /* done */ in imap_state_fetch_resp() 1201 if(pp->overflow > chunk) { in imap_state_fetch_resp() 1203 pp->overflow -= chunk; in imap_state_fetch_resp() 1204 Curl_dyn_tail(&pp->recvbuf, pp->overflow); in imap_state_fetch_resp() 1303 struct pingpong *pp = &imapc->pp; in imap_statemachine() local 1312 if(pp->sendleft) in imap_statemachine() 1457 struct pingpong *pp = &imapc->pp; in imap_connect() local 1471 Curl_pp_init(pp); in imap_connect() [all …]
|
H A D | smtp.c | 257 size_t len = data->conn->proto.smtpc.pp.nfinal; in smtp_get_message() 465 return Curl_pp_sendf(data, &smtpc->pp, in smtp_continue_auth() 481 return Curl_pp_sendf(data, &smtpc->pp, "*"); in smtp_cancel_auth() 864 if(data->conn->proto.smtpc.pp.overflow) in smtp_state_starttls_resp() 889 size_t len = smtpc->pp.nfinal; in smtp_state_ehlo_resp() 1200 struct pingpong *pp = &smtpc->pp; in smtp_statemachine() local 1209 if(pp->sendleft) in smtp_statemachine() 1210 return Curl_pp_flushsend(data, pp); in smtp_statemachine() 1352 struct pingpong *pp = &smtpc->pp; in smtp_connect() local 1365 Curl_pp_init(pp); in smtp_connect() [all …]
|
H A D | krb5.c | 240 struct pingpong *pp = &conn->proto.ftpc.pp; in krb5_auth() local 241 char *line = Curl_dyn_ptr(&pp->recvbuf); in krb5_auth() 329 struct pingpong *pp = &conn->proto.ftpc.pp; in krb5_auth() local 330 size_t len = Curl_dyn_len(&pp->recvbuf); in krb5_auth() 331 p = Curl_dyn_ptr(&pp->recvbuf); in krb5_auth() 779 struct pingpong *pp = &conn->proto.ftpc.pp; in sec_set_protection_level() local 792 line = Curl_dyn_ptr(&pp->recvbuf); in sec_set_protection_level()
|
H A D | smtp.h | 71 struct pingpong pp; member
|
H A D | pop3.h | 63 struct pingpong pp; member
|
H A D | imap.h | 74 struct pingpong pp; member
|
H A D | ftp.h | 122 struct pingpong pp; member
|
/curl/tests/ |
H A D | sshserver.pl | 111 sub pp { subroutine 402 if((! -e pp($hstprvkeyf)) || (! -s pp($hstprvkeyf)) || 403 (! -e pp($hstpubkeyf)) || (! -s pp($hstpubkeyf)) || 404 (! -e pp($hstpubmd5f)) || (! -s pp($hstpubmd5f)) || 406 (! -e pp($cliprvkeyf)) || (! -s pp($cliprvkeyf)) || 407 (! -e pp($clipubkeyf)) || (! -s pp($clipubkeyf))) { 409 unlink(pp($hstprvkeyf), pp($hstpubkeyf), pp($hstpubmd5f), 410 pp($hstpubsha256f), pp($cliprvkeyf), pp($clipubkeyf)); 831 if((! -e pp($knownhosts)) || (! -s pp($knownhosts))) { 1218 unlink(pp($hstprvkeyf), pp($hstpubkeyf), pp($hstpubmd5f), pp($hstpubsha256f), [all …]
|
H A D | runtests.pl | 2686 my @pp = prepro(0, @input); 2687 for my $t (@pp) {
|