Home
last modified time | relevance | path

Searched refs:psnd (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/
Dsendf.c137 struct postponed_data * const psnd = &(conn->postponed[sockindex]); in Curl_recv_has_postponed_data() local
138 return psnd->buffer && psnd->allocated_size && in Curl_recv_has_postponed_data()
139 psnd->recv_size > psnd->recv_processed; in Curl_recv_has_postponed_data()
145 struct postponed_data * const psnd = &(conn->postponed[num]); in pre_receive_plain() local
146 size_t bytestorecv = psnd->allocated_size - psnd->recv_size; in pre_receive_plain()
154 (!psnd->buffer || bytestorecv)) { in pre_receive_plain()
159 if(!psnd->buffer) { in pre_receive_plain()
161 psnd->allocated_size = 2 * conn->data->set.buffer_size; in pre_receive_plain()
162 psnd->buffer = malloc(psnd->allocated_size); in pre_receive_plain()
163 psnd->recv_size = 0; in pre_receive_plain()
[all …]
Durl.c635 struct postponed_data * const psnd = &(conn->postponed[num]); in conn_reset_postponed_data() local
636 if(psnd->buffer) { in conn_reset_postponed_data()
637 DEBUGASSERT(psnd->allocated_size > 0); in conn_reset_postponed_data()
638 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in conn_reset_postponed_data()
639 DEBUGASSERT(psnd->recv_size ? in conn_reset_postponed_data()
640 (psnd->recv_processed < psnd->recv_size) : in conn_reset_postponed_data()
641 (psnd->recv_processed == 0)); in conn_reset_postponed_data()
642 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data()
643 free(psnd->buffer); in conn_reset_postponed_data()
644 psnd->buffer = NULL; in conn_reset_postponed_data()
[all …]