Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 8 of 8) sorted by relevance

/curl/docs/examples/
H A Dpost-callback.c49 size_t buffer_size = size*nmemb; in read_callback() local
54 if(copy_this_much > buffer_size) in read_callback()
55 copy_this_much = buffer_size; in read_callback()
/curl/lib/
H A Dkrb5.c674 ssize_t tx = 0, len = conn->buffer_size; in sec_write()
778 unsigned int buffer_size = 1 << 20; /* 1048576 */ in sec_set_protection_level() local
782 code = ftp_send_command(data, "PBSZ %u", buffer_size); in sec_set_protection_level()
790 conn->buffer_size = buffer_size; in sec_set_protection_level()
797 buffer_size = (unsigned int)atoi(&pbsz[5]); in sec_set_protection_level()
798 if(buffer_size < conn->buffer_size) in sec_set_protection_level()
799 conn->buffer_size = buffer_size; in sec_set_protection_level()
H A Dtransfer.c967 DEBUGASSERT(data->set.buffer_size > 0); in Curl_xfer_recv()
971 if((size_t)data->set.buffer_size < blen) in Curl_xfer_recv()
972 blen = (size_t)data->set.buffer_size; in Curl_xfer_recv()
H A Deasy.c936 outcurl->set.buffer_size = data->set.buffer_size; in curl_easy_duphandle()
H A Durldata.h882 size_t buffer_size; member
1667 unsigned int buffer_size; /* size of receive buffer to use */ member
H A Dmulti.c4156 if(!data->set.buffer_size) {
4166 data->set.buffer_size > data->multi->xfer_buf_len) {
4174 data->multi->xfer_buf = malloc((size_t)data->set.buffer_size);
4177 (size_t)data->set.buffer_size);
4180 data->multi->xfer_buf_len = data->set.buffer_size;
H A Dsetopt.c1019 data->set.buffer_size = (unsigned int)arg; in setopt_long()
H A Durl.c475 set->buffer_size = READBUFFER_SIZE; in Curl_init_userdefined()

Completed in 65 milliseconds