Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 19 of 19) sorted by relevance

/curl/docs/examples/
H A Dftpupload.c75 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 Ddirectories.pm225 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 Dtest_18_methods.py45 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 Dtest_09_push.py44 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 Dtest_16_info.py49 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 Dtest_30_vsftpd.py50 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 Dtest_31_vsftpds.py57 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 Dtest_08_caddy.py51 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 Dtest_19_shutdown.py49 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 Dscorecard.py104 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 Dtest_02_download.py54 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 Dtest_07_upload.py47 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 Dtest_14_auth.py43 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
H A Dtest_10_proxy.py48 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 Dtest_17_ssl_use.py43 env.make_data_file(indir=httpd.docs_dir, fname="data-10k", fsize=10*1024)
/curl/docs/libcurl/opts/
H A DCURLOPT_PUT.md61 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 DCURLOPT_UPLOAD.md69 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 Denv.py605 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 Dftplistparser.c629 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()

Completed in 35 milliseconds