/curl/docs/examples/ |
H A D | ftpupload.c | 75 unsigned long fsize; in main() local 86 fsize = (unsigned long)file_info.st_size; in main() 88 printf("Local file size: %lu bytes.\n", fsize); in main() 123 (curl_off_t)fsize); in main()
|
/curl/tests/ |
H A D | directories.pm | 225 my $fsize = ""; 227 $fsize = $file{'size'} ? sprintf("%7s", $file{'size'}) : sprintf("%7d", 4096); 230 $fsize = sprintf("%7d", exists($file{'content'}) ? length $file{'content'} : 0); 234 push(@contentlist, "$ftype$fperm $fhlink $fuser $fgroup $fsize $ftime $file{'name'}$eol");
|
/curl/tests/http/ |
H A D | test_18_methods.py | 45 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024) 46 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024) 47 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024)
|
H A D | test_09_push.py | 44 env.make_data_file(indir=push_dir, fname="data1", fsize=1*1024) 45 env.make_data_file(indir=push_dir, fname="data2", fsize=1*1024) 46 env.make_data_file(indir=push_dir, fname="data3", fsize=1*1024)
|
H A D | test_16_info.py | 49 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024) 50 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024) 51 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024) 91 fsize = 100 * 1024 103 self.check_stat(idx, s, r, dl_size=fsize, ul_size=fsize)
|
H A D | test_30_vsftpd.py | 50 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 55 while flen < fsize: 66 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-1k', fsize=1024) 67 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-10k', fsize=10*1024) 68 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-1m', fsize=1024*1024) 69 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-10m', fsize=10*1024*1024) 70 env.make_data_file(indir=env.gen_dir, fname="upload-1k", fsize=1024) 71 env.make_data_file(indir=env.gen_dir, fname="upload-100k", fsize=100*1024) 72 env.make_data_file(indir=env.gen_dir, fname="upload-1m", fsize=1024*1024)
|
H A D | test_31_vsftpds.py | 57 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 62 while flen < fsize: 73 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-1k', fsize=1024) 74 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-10k', fsize=10*1024) 75 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-1m', fsize=1024*1024) 76 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-10m', fsize=10*1024*1024) 77 env.make_data_file(indir=env.gen_dir, fname="upload-1k", fsize=1024) 78 env.make_data_file(indir=env.gen_dir, fname="upload-100k", fsize=100*1024) 79 env.make_data_file(indir=env.gen_dir, fname="upload-1m", fsize=1024*1024) 180 env.make_data_file(indir=env.gen_dir, fname=docname, fsize=100*1024,
|
H A D | test_08_caddy.py | 51 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 56 while flen < fsize: 63 self._make_docs_file(docs_dir=caddy.docs_dir, fname='data10k.data', fsize=10*1024) 64 self._make_docs_file(docs_dir=caddy.docs_dir, fname='data1.data', fsize=1024*1024) 65 self._make_docs_file(docs_dir=caddy.docs_dir, fname='data5.data', fsize=5*1024*1024) 66 self._make_docs_file(docs_dir=caddy.docs_dir, fname='data10.data', fsize=10*1024*1024) 67 self._make_docs_file(docs_dir=caddy.docs_dir, fname='data100.data', fsize=100*1024*1024) 68 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
|
H A D | test_19_shutdown.py | 49 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024) 50 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024) 51 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024)
|
H A D | scorecard.py | 104 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): 109 while flen < fsize: 116 for fsize in downloads: 117 label = self.fmt_size(fsize) 120 fname=fname, fsize=fsize) 122 fname='reqs10.data', fsize=10*1024) 241 for fsize in fsizes: 242 label = self.fmt_size(fsize) 365 for fsize in fsizes: 366 label = self.fmt_size(fsize) [all …]
|
H A D | test_02_download.py | 54 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024) 55 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024) 56 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024) 57 env.make_data_file(indir=indir, fname="data-10m", fsize=10*1024*1024) 58 env.make_data_file(indir=indir, fname="data-50m", fsize=50*1024*1024)
|
H A D | test_07_upload.py | 47 env.make_data_file(indir=env.gen_dir, fname="data-10k", fsize=10*1024) 48 env.make_data_file(indir=env.gen_dir, fname="data-63k", fsize=63*1024) 49 env.make_data_file(indir=env.gen_dir, fname="data-64k", fsize=64*1024) 50 env.make_data_file(indir=env.gen_dir, fname="data-100k", fsize=100*1024) 51 env.make_data_file(indir=env.gen_dir, fname="data-1m+", fsize=(1024*1024)+1) 52 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
|
H A D | test_14_auth.py | 43 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
|
H A D | test_10_proxy.py | 48 env.make_data_file(indir=env.gen_dir, fname="data-100k", fsize=100*1024) 49 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
|
H A D | test_17_ssl_use.py | 43 env.make_data_file(indir=httpd.docs_dir, fname="data-10k", fsize=10*1024)
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_PUT.md | 61 curl_off_t fsize; /* set this to the size of the input file */ 76 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)fsize);
|
H A D | CURLOPT_UPLOAD.md | 69 curl_off_t fsize; /* set this to the size of the input file */ 84 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)fsize);
|
/curl/tests/http/testenv/ |
H A D | env.py | 605 def make_data_file(self, indir: str, fname: str, fsize: int, 614 for i in range(int(fsize / line_length)): 616 remain = int(fsize % line_length) 618 i = int(fsize / line_length) + 1
|
/curl/lib/ |
H A D | ftplistparser.c | 629 curl_off_t fsize; in Curl_ftp_parselist() local 632 &p, 10, &fsize)) { in Curl_ftp_parselist() 633 if(p[0] == '\0' && fsize != CURL_OFF_T_MAX && in Curl_ftp_parselist() 634 fsize != CURL_OFF_T_MIN) { in Curl_ftp_parselist() 636 parser->file_data->info.size = fsize; in Curl_ftp_parselist()
|