Home
last modified time | relevance | path

Searched refs:curl_off_t (Results 1 – 25 of 90) sorted by relevance

1234

/external/curl/docs/examples/
Dprogressfunc.c35 curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
36 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
68 (curl_off_t)dltotal, in older_progress()
69 (curl_off_t)dlnow, in older_progress()
70 (curl_off_t)ultotal, in older_progress()
71 (curl_off_t)ulnow); in older_progress()
Dftpupload.c54 curl_off_t nread; in read_callback()
60 nread = (curl_off_t)retcode; in read_callback()
73 curl_off_t fsize; in main()
84 fsize = (curl_off_t)file_info.st_size; in main()
121 (curl_off_t)fsize); in main()
Dhttpput.c40 curl_off_t nread; in read_callback()
47 nread = (curl_off_t)retcode; in read_callback()
104 (curl_off_t)file_info.st_size); in main()
Danyauthput.c99 curl_off_t nread; in read_callback()
105 nread = (curl_off_t)retcode; in read_callback()
161 (curl_off_t)file_info.st_size); in main()
Dsendrecv.c67 curl_off_t nread; in main()
126 nread = (curl_off_t)iolen; in main()
/external/curl/src/
Dtool_cb_prg.h31 curl_off_t prev;
35 curl_off_t initial_size;
46 curl_off_t dltotal, curl_off_t dlnow,
47 curl_off_t ultotal, curl_off_t ulnow);
Dtool_cb_prg.c41 curl_off_t dltotal, curl_off_t dlnow, in tool_progress_cb()
42 curl_off_t ultotal, curl_off_t ulnow) in tool_progress_cb()
55 curl_off_t total; in tool_progress_cb()
56 curl_off_t point; in tool_progress_cb()
77 curl_off_t prevblock = bar->prev / 1024; in tool_progress_cb()
78 curl_off_t thisblock = point / 1024; in tool_progress_cb()
Dtool_cfgable.h54 curl_off_t resume_from;
56 curl_off_t postfieldsize;
61 curl_off_t max_filesize;
156 curl_off_t sendpersecond; /* send to peer */
157 curl_off_t recvpersecond; /* receive from peer */
Dtool_cb_see.c47 int tool_seek_cb(void *userdata, curl_off_t offset, int whence) in tool_seek_cb()
61 curl_off_t left = offset; in tool_seek_cb()
119 int tool_ftruncate64(int fd, curl_off_t where) in tool_ftruncate64()
Dtool_cb_see.h28 int tool_ftruncate64(int fd, curl_off_t where);
43 int tool_seek_cb(void *userdata, curl_off_t offset, int whence);
Dtool_sdecls.h73 curl_off_t bytes;
74 curl_off_t init;
/external/curl/lib/
Dprogress.c32 static void time2str(char *r, curl_off_t seconds) in time2str()
34 curl_off_t d, h, m, s; in time2str()
62 static char *max5data(curl_off_t bytes, char *max5) in max5data()
223 void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size) in Curl_pgrsSetDownloadCounter()
228 void Curl_pgrsSetUploadCounter(struct SessionHandle *data, curl_off_t size) in Curl_pgrsSetUploadCounter()
233 void Curl_pgrsSetDownloadSize(struct SessionHandle *data, curl_off_t size) in Curl_pgrsSetDownloadSize()
245 void Curl_pgrsSetUploadSize(struct SessionHandle *data, curl_off_t size) in Curl_pgrsSetUploadSize()
266 curl_off_t dlpercen=0; in Curl_pgrsUpdate()
267 curl_off_t ulpercen=0; in Curl_pgrsUpdate()
268 curl_off_t total_percen=0; in Curl_pgrsUpdate()
[all …]
Durldata.h612 curl_off_t size; /* -1 if unknown at this point */
613 curl_off_t *bytecountp; /* return number of bytes read or NULL */
615 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
617 curl_off_t *writebytecountp; /* return number of bytes written or NULL */
619 curl_off_t bytecount; /* total number of bytes read */
620 curl_off_t writebytecount; /* number of bytes written */
648 curl_off_t offset; /* possible resume offset read from the
1110 curl_off_t size_dl; /* total expected size */
1111 curl_off_t size_ul; /* total expected size */
1112 curl_off_t downloaded; /* transferred so far */
[all …]
Dtransfer.h58 curl_off_t size, /* -1 if unknown at this point */
60 curl_off_t *bytecountp, /* return number of bytes read */
64 curl_off_t *writecountp /* return number of bytes written */
67 long Curl_sleep_time(curl_off_t rate_bps, curl_off_t cur_rate_bps,
Dprogress.h45 void Curl_pgrsSetDownloadSize(struct SessionHandle *data, curl_off_t size);
46 void Curl_pgrsSetUploadSize(struct SessionHandle *data, curl_off_t size);
47 void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size);
48 void Curl_pgrsSetUploadCounter(struct SessionHandle *data, curl_off_t size);
Dftp.h105 curl_off_t *bytecountp;
112 curl_off_t downloadsize;
145 curl_off_t retr_size_saved; /* Size of retrieved file saved */
147 curl_off_t known_filesize; /* file size is different from -1, if wildcard
Dhttp.h129 curl_off_t postsize; /* off_t to handle large file sizes */
134 curl_off_t readbytecount;
135 curl_off_t writebytecount;
144 curl_off_t postsize;
178 curl_off_t upload_left; /* number of bytes left to upload */
Dstrtoofft.c54 curl_off_t
61 curl_off_t value = 0; in curlx_strtoll()
62 curl_off_t newval; in curlx_strtoll()
Dfile.c135 curl_off_t from, to; in file_range()
136 curl_off_t totalsize=-1; in file_range()
309 curl_off_t bytecount = 0; in file_upload()
355 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload()
371 if((curl_off_t)nread <= data->state.resume_from ) { in file_upload()
428 curl_off_t expected_size=0; in file_do()
433 curl_off_t bytecount = 0; in file_do()
520 data->state.resume_from += (curl_off_t)statbuf.st_size; in file_do()
Dwarnless.c118 curl_off_t curlx_uztoso(size_t uznum) in curlx_uztoso()
126 return (curl_off_t)(uznum & (size_t) CURL_MASK_SCOFFT); in curlx_uztoso()
281 size_t curlx_sotouz(curl_off_t sonum) in curlx_sotouz()
289 return (size_t)(sonum & (curl_off_t) SIZE_MAX); in curlx_sotouz()
Dmultiif.h63 curl_off_t Curl_multi_content_length_penalty_size(struct Curl_multi *multi);
66 curl_off_t Curl_multi_chunk_length_penalty_size(struct Curl_multi *multi);
Dpipeline.c65 curl_off_t penalty_size = in Curl_pipeline_penalized()
67 curl_off_t chunk_penalty_size = in Curl_pipeline_penalized()
69 curl_off_t recv_size = -2; /* Make it easy to spot in the log */ in Curl_pipeline_penalized()
82 (curl_off_t)conn->chunk.datasize > chunk_penalty_size) in Curl_pipeline_penalized()
/external/curl/include/curl/
Dcurlbuild.h.cmake173 /* Signed integral data type used for curl_off_t. */
176 /* Data type definition of curl_off_t. */
177 typedef CURL_TYPEOF_CURL_OFF_T curl_off_t;
179 /* curl_off_t formatting string directive without "%" conversion specifier. */
182 /* unsigned curl_off_t formatting string without "%" conversion specifier. */
185 /* curl_off_t formatting string directive with "%" conversion specifier. */
188 /* The size of `curl_off_t', as computed by sizeof. */
191 /* curl_off_t constant suffix. */
194 /* unsigned curl_off_t constant suffix. */
Dcurlbuild.h.in170 /* Signed integral data type used for curl_off_t. */
173 /* Data type definition of curl_off_t. */
174 typedef CURL_TYPEOF_CURL_OFF_T curl_off_t; typedef
176 /* curl_off_t formatting string directive without "%" conversion specifier. */
179 /* unsigned curl_off_t formatting string without "%" conversion specifier. */
182 /* curl_off_t formatting string directive with "%" conversion specifier. */
185 /* The size of `curl_off_t', as computed by sizeof. */
188 /* curl_off_t constant suffix. */
191 /* unsigned curl_off_t constant suffix. */
/external/google-breakpad/src/third_party/curl/
Dcurlrules.h154 [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)];
164 [CurlchkszGE(curl_off_t, long)];

1234