Lines Matching refs:datasize

367   return part->datasize;  in encoder_nop_size()
470 curl_off_t size = part->datasize; in encoder_base64_size()
605 return part->datasize? -1: 0; in encoder_qp_size()
615 size_t sz = (size_t) part->datasize - part->state.offset; in mime_mem_read()
637 offset += part->datasize; in mime_mem_seek()
641 if(offset < 0 || offset > part->datasize) in mime_mem_seek()
1071 part->datasize = (curl_off_t) 0; /* No size yet. */ in cleanup_part_content()
1141 res = curl_mime_data(dst, src->data, (size_t) src->datasize); in Curl_mime_duppart()
1150 res = curl_mime_data_cb(dst, src->datasize, src->readfunc, in Curl_mime_duppart()
1305 const char *data, size_t datasize) in curl_mime_data() argument
1313 if(datasize == CURL_ZERO_TERMINATED) in curl_mime_data()
1314 datasize = strlen(data); in curl_mime_data()
1316 part->data = malloc(datasize + 1); in curl_mime_data()
1320 part->datasize = datasize; in curl_mime_data()
1322 if(datasize) in curl_mime_data()
1323 memcpy(part->data, data, datasize); in curl_mime_data()
1324 part->data[datasize] = '\0'; /* Set a nul terminator as sentinel. */ in curl_mime_data()
1356 part->datasize = -1; in curl_mime_filedata()
1358 part->datasize = filesize(filename, sbuf); in curl_mime_filedata()
1444 CURLcode curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, in curl_mime_data_cb() argument
1459 part->datasize = datasize; in curl_mime_data_cb()
1507 part->datasize = -1; in Curl_mime_set_subparts()
1582 part->datasize = multipart_size(part->arg); in Curl_mime_size()
1584 size = part->datasize; in Curl_mime_size()
1855 const char *data, size_t datasize) in curl_mime_data() argument
1859 (void) datasize; in curl_mime_data()
1871 curl_off_t datasize, in curl_mime_data_cb() argument
1878 (void) datasize; in curl_mime_data_cb()