Home
last modified time | relevance | path

Searched refs:datasize (Results 1 – 14 of 14) sorted by relevance

/curl/tests/libtest/
H A Dlib678.c32 size_t datasize = 0; in loadfile() local
45 datasize = (size_t)cert_tell; in loadfile()
49 data = malloc(datasize + 1); in loadfile()
51 ((int)fread(data, datasize, 1, fInCert) != 1)) in loadfile()
56 datasize = 0; in loadfile()
61 *filesize = datasize; in loadfile()
H A Dlib643.c68 curl_off_t datasize = -1; in test_once() local
72 datasize = (curl_off_t)strlen(testdata); in test_once()
74 pooh.sizeleft = datasize; in test_once()
104 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
113 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
127 datasize = (curl_off_t)strlen(testdata); in test_once()
129 pooh2.sizeleft = datasize; in test_once()
142 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
/curl/lib/
H A Dhttp_chunks.c172 if(curlx_strtoofft(ch->hexbuffer, NULL, 16, &ch->datasize)) { in httpchunk_readwrite()
186 if(0 == ch->datasize) { in httpchunk_readwrite()
192 FMT_OFF_T " bytes", ch->datasize); in httpchunk_readwrite()
206 if(ch->datasize < (curl_off_t)blen) in httpchunk_readwrite()
207 piece = curlx_sotouz(ch->datasize); in httpchunk_readwrite()
225 ch->datasize -= piece; /* decrease amount left to expect */ in httpchunk_readwrite()
230 piece, ch->datasize); in httpchunk_readwrite()
232 if(0 == ch->datasize) in httpchunk_readwrite()
348 ch->datasize = blen; in httpchunk_readwrite()
H A Dmime.c407 return part->datasize; in encoder_nop_size()
656 return part->datasize ? -1 : 0; in encoder_qp_size()
690 offset += part->datasize; in mime_mem_seek()
1387 datasize = strlen(ptr); in curl_mime_data()
1393 part->datasize = datasize; in curl_mime_data()
1425 part->datasize = -1; in curl_mime_filedata()
1526 part->datasize = datasize; in curl_mime_data_cb()
1570 part->datasize = -1; in Curl_mime_set_subparts()
1662 size = part->datasize; in mime_size()
2230 (void) datasize; in curl_mime_data()
[all …]
H A Dhttp_chunks.h94 curl_off_t datasize; member
H A Dmime.h126 curl_off_t datasize; /* Expected data size. */ member
/curl/docs/libcurl/
H A Dcurl_mime_data.md29 size_t datasize);
42 *datasize* is the number of bytes *data* points to. It can be set to
H A Dcurl_mime_data_cb.md34 CURLcode curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize,
H A Dlibcurl-tutorial.md711 CURLFORM_CONTENTLEN, (curl_off_t) datasize,
720 curl_mime_data_cb(part, (curl_off_t) datasize,
/curl/packages/OS400/
H A Dccsidcurl.h86 const char *data, size_t datasize,
H A Dccsidcurl.c1423 const char *data, size_t datasize, unsigned int ccsid) in curl_mime_data_ccsid() argument
1429 return curl_mime_data(part, data, datasize); in curl_mime_data_ccsid()
1430 s = dynconvert(ASCII_CCSID, data, datasize, ccsid); in curl_mime_data_ccsid()
1434 result = curl_mime_data(part, s, datasize); in curl_mime_data_ccsid()
H A Dcurl.inc.in2657 d datasize 10u 0 value size_t
2669 d datasize value like(curl_off_t)
3339 d datasize 10u 0 value size_t
/curl/tests/
H A Dftpserver.pl1313 my $datasize = ($left > $chunksize) ? $chunksize : $left;
1315 if($datasize > 0) {
1316 logmsg "> Appending $datasize bytes to file\n";
1317 print $file substr($line, 0, $datasize) if(!$nosave);
1318 $line = substr($line, $datasize);
1320 $received += $datasize;
/curl/include/curl/
H A Dcurl.h2475 const char *data, size_t datasize);
2495 curl_off_t datasize,

Completed in 52 milliseconds