Lines Matching refs:pp
360 char *message = Curl_dyn_ptr(&data->conn->proto.imapc.pp.recvbuf); in imap_get_message()
361 size_t len = data->conn->proto.imapc.pp.nfinal; in imap_get_message()
579 return Curl_pp_sendf(data, &imapc->pp, in imap_continue_authenticate()
596 return Curl_pp_sendf(data, &imapc->pp, "*"); in imap_cancel_authenticate()
901 const char *line = Curl_dyn_ptr(&imapc->pp.recvbuf); in imap_state_capability_resp()
987 if(data->conn->proto.imapc.pp.overflow) in imap_state_starttls_resp()
1063 char *line = Curl_dyn_ptr(&data->conn->proto.imapc.pp.recvbuf); in imap_state_listsearch_resp()
1064 size_t len = data->conn->proto.imapc.pp.nfinal; in imap_state_listsearch_resp()
1087 const char *line = Curl_dyn_ptr(&data->conn->proto.imapc.pp.recvbuf); in imap_state_select_resp()
1145 struct pingpong *pp = &imapc->pp; in imap_state_fetch_resp() local
1146 const char *ptr = Curl_dyn_ptr(&data->conn->proto.imapc.pp.recvbuf); in imap_state_fetch_resp()
1147 size_t len = data->conn->proto.imapc.pp.nfinal; in imap_state_fetch_resp()
1173 if(pp->overflow) { in imap_state_fetch_resp()
1177 size_t chunk = pp->overflow; in imap_state_fetch_resp()
1180 Curl_dyn_tail(&pp->recvbuf, chunk); in imap_state_fetch_resp()
1181 pp->nfinal = 0; /* done */ in imap_state_fetch_resp()
1193 Curl_dyn_ptr(&pp->recvbuf), chunk); 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()
1207 pp->overflow = 0; /* handled */ in imap_state_fetch_resp()
1209 Curl_dyn_reset(&pp->recvbuf); in imap_state_fetch_resp()
1303 struct pingpong *pp = &imapc->pp; in imap_statemachine() local
1312 if(pp->sendleft) in imap_statemachine()
1313 return Curl_pp_flushsend(data, pp); in imap_statemachine()
1317 result = Curl_pp_readresp(data, FIRSTSOCKET, pp, &imapcode, &nread); in imap_statemachine()
1381 } while(!result && imapc->state != IMAP_STOP && Curl_pp_moredata(pp)); in imap_statemachine()
1401 result = Curl_pp_statemach(data, &imapc->pp, FALSE, FALSE); in imap_multi_statemach()
1415 result = Curl_pp_statemach(data, &imapc->pp, TRUE, disconnecting); in imap_block_statemach()
1439 return Curl_pp_getsock(data, &conn->proto.imapc.pp, socks); in imap_getsock()
1457 struct pingpong *pp = &imapc->pp; in imap_connect() local
1464 PINGPONG_SETUP(pp, imap_statemachine, imap_endofresp); in imap_connect()
1471 Curl_pp_init(pp); in imap_connect()
1523 result = Curl_pp_sendf(data, &conn->proto.imapc.pp, "%s", ""); in imap_done()
1673 Curl_pp_disconnect(&imapc->pp); in imap_disconnect()
1796 result = Curl_pp_vsendf(data, &imapc->pp, Curl_dyn_ptr(&imapc->dyn), ap); in imap_sendf()