Lines Matching refs:datasize
407 return part->datasize; in encoder_nop_size()
519 curl_off_t size = part->datasize; in encoder_base64_size()
656 return part->datasize ? -1 : 0; in encoder_qp_size()
666 size_t sz = curlx_sotouz(part->datasize - part->state.offset); in mime_mem_read()
690 offset += part->datasize; in mime_mem_seek()
694 if(offset < 0 || offset > part->datasize) in mime_mem_seek()
808 if(part->datasize != (curl_off_t) -1 && in read_part_content()
809 part->state.offset >= part->datasize) { in read_part_content()
1139 part->datasize = (curl_off_t) 0; /* No size yet. */ in cleanup_part_content()
1217 res = curl_mime_data(dst, src->data, (size_t) src->datasize); in Curl_mime_duppart()
1226 res = curl_mime_data_cb(dst, src->datasize, src->readfunc, in Curl_mime_duppart()
1378 const char *ptr, size_t datasize) in curl_mime_data() argument
1386 if(datasize == CURL_ZERO_TERMINATED) in curl_mime_data()
1387 datasize = strlen(ptr); in curl_mime_data()
1389 part->data = Curl_memdup0(ptr, datasize); in curl_mime_data()
1393 part->datasize = datasize; in curl_mime_data()
1425 part->datasize = -1; in curl_mime_filedata()
1427 part->datasize = filesize(filename, sbuf); in curl_mime_filedata()
1511 CURLcode curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, in curl_mime_data_cb() argument
1526 part->datasize = datasize; in curl_mime_data_cb()
1570 part->datasize = -1; in Curl_mime_set_subparts()
1660 part->datasize = multipart_size(part->arg); in mime_size()
1662 size = part->datasize; in mime_size()
2226 const char *data, size_t datasize) in curl_mime_data() argument
2230 (void) datasize; in curl_mime_data()
2242 curl_off_t datasize, in curl_mime_data_cb() argument
2249 (void) datasize; in curl_mime_data_cb()