Home
last modified time | relevance | path

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

12345

/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()
258 long Curl_pgrsLimitWaitTime(curl_off_t cursize, in Curl_pgrsLimitWaitTime()
259 curl_off_t startsize, in Curl_pgrsLimitWaitTime()
260 curl_off_t limit, in Curl_pgrsLimitWaitTime()
264 curl_off_t size = cursize - startsize; in Curl_pgrsLimitWaitTime()
286 void Curl_pgrsSetDownloadCounter(struct Curl_easy *data, curl_off_t size) in Curl_pgrsSetDownloadCounter()
304 void Curl_pgrsSetUploadCounter(struct Curl_easy *data, curl_off_t size) in Curl_pgrsSetUploadCounter()
322 void Curl_pgrsSetDownloadSize(struct Curl_easy *data, curl_off_t size) in Curl_pgrsSetDownloadSize()
[all …]
Dprogress.h45 void Curl_pgrsSetDownloadSize(struct Curl_easy *data, curl_off_t size);
46 void Curl_pgrsSetUploadSize(struct Curl_easy *data, curl_off_t size);
47 void Curl_pgrsSetDownloadCounter(struct Curl_easy *data, curl_off_t size);
48 void Curl_pgrsSetUploadCounter(struct Curl_easy *data, curl_off_t size);
52 long Curl_pgrsLimitWaitTime(curl_off_t cursize,
53 curl_off_t startsize,
54 curl_off_t limit,
Durldata.h505 curl_off_t size; /* -1 if unknown at this point */
506 curl_off_t *bytecountp; /* return number of bytes read or NULL */
508 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
510 curl_off_t *writebytecountp; /* return number of bytes written or NULL */
512 curl_off_t bytecount; /* total number of bytes read */
513 curl_off_t writebytecount; /* number of bytes written */
541 curl_off_t offset; /* possible resume offset read from the
751 curl_off_t cl; /* size of content to read and ignore */
1067 curl_off_t size_dl; /* total expected size */
1068 curl_off_t size_ul; /* total expected size */
[all …]
Dsmb.h169 curl_off_t allocation_size;
188 curl_off_t create_time;
189 curl_off_t last_access_time;
190 curl_off_t last_write_time;
191 curl_off_t last_change_time;
193 curl_off_t allocation_size;
194 curl_off_t end_of_file;
Dstrtoofft.c77 static curl_off_t strtooff(const char *nptr, char **endptr, int base) in strtooff()
83 curl_off_t value = 0; in strtooff()
84 curl_off_t newval; in strtooff()
216 curl_off_t *num) in curlx_strtoofft()
219 curl_off_t number; in curlx_strtoofft()
Dftp.h105 curl_off_t *bytecountp;
112 curl_off_t downloadsize;
147 curl_off_t retr_size_saved; /* Size of retrieved file saved */
149 curl_off_t known_filesize; /* file size is different from -1, if wildcard
Dhttp.h132 curl_off_t postsize; /* off_t to handle large file sizes */
137 curl_off_t readbytecount;
138 curl_off_t writebytecount;
147 curl_off_t postsize;
183 curl_off_t upload_left; /* number of bytes left to upload */
Dtransfer.h61 curl_off_t size, /* -1 if unknown at this point */
63 curl_off_t *bytecountp, /* return number of bytes read */
67 curl_off_t *writecountp /* return number of bytes written */
Dmime.c63 static curl_off_t encoder_nop_size(curl_mimepart *part);
68 static curl_off_t encoder_base64_size(curl_mimepart *part);
71 static curl_off_t encoder_qp_size(curl_mimepart *part);
145 curl_off_t VmsRealFileSize(const char *name, in VmsRealFileSize()
149 curl_off_t count; in VmsRealFileSize()
175 static curl_off_t VmsSpecialSize(const char *name, in VmsSpecialSize()
369 static curl_off_t encoder_nop_size(curl_mimepart *part) in encoder_nop_size()
472 static curl_off_t encoder_base64_size(curl_mimepart *part) in encoder_base64_size()
474 curl_off_t size = part->datasize; in encoder_base64_size()
608 static curl_off_t encoder_qp_size(curl_mimepart *part) in encoder_qp_size()
[all …]
Dfile.c135 curl_off_t from, to; in file_range()
136 curl_off_t totalsize = -1; in file_range()
319 curl_off_t bytecount = 0; in file_upload()
363 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload()
379 if((curl_off_t)nread <= data->state.resume_from) { in file_upload()
436 curl_off_t expected_size = 0; in file_do()
442 curl_off_t bytecount = 0; in file_do()
526 data->state.resume_from += (curl_off_t)statbuf.st_size; in file_do()
Dmime.h69 curl_off_t (*sizefunc)(curl_mimepart *part); /* Encoded size. */
114 curl_off_t datasize; /* Expected data size. */
132 curl_off_t Curl_mime_size(curl_mimepart *part);
/external/curl/docs/examples/
Dprogressfunc.c40 curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
41 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
73 (curl_off_t)dltotal, in older_progress()
74 (curl_off_t)dlnow, in older_progress()
75 (curl_off_t)ultotal, in older_progress()
76 (curl_off_t)ulnow); in older_progress()
Dftpupload.c53 curl_off_t nread; in read_callback()
59 nread = (curl_off_t)retcode; in read_callback()
72 curl_off_t fsize; in main()
83 fsize = (curl_off_t)file_info.st_size; in main()
120 (curl_off_t)fsize); in main()
Dhttpput.c44 curl_off_t nread; in read_callback()
51 nread = (curl_off_t)retcode; in read_callback()
108 (curl_off_t)file_info.st_size); in main()
Danyauthput.c81 curl_off_t nread; in read_callback()
88 nread = (curl_off_t)retcode; in read_callback()
144 (curl_off_t)file_info.st_size); in main()
/external/curl/src/
Dtool_cb_prg.h31 curl_off_t prev;
35 curl_off_t initial_size;
49 curl_off_t dltotal, curl_off_t dlnow,
50 curl_off_t ultotal, curl_off_t ulnow);
Dtool_cb_prg.c104 curl_off_t dltotal, curl_off_t dlnow, in tool_progress_cb()
105 curl_off_t ultotal, curl_off_t ulnow) in tool_progress_cb()
118 curl_off_t total; in tool_progress_cb()
119 curl_off_t point; in tool_progress_cb()
Dtool_cfgable.h61 curl_off_t resume_from;
63 curl_off_t postfieldsize;
68 curl_off_t max_filesize;
182 curl_off_t sendpersecond; /* send to peer */
183 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);
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request.h161 static int ProgressCallback(void* this_object, curl_off_t dltotal,
162 curl_off_t dlnow, curl_off_t ultotal,
163 curl_off_t ulnow);
198 curl_off_t last_progress_bytes_ = 0;
245 int (*param)(void* clientp, curl_off_t dltotal, curl_off_t dlnow,
246 curl_off_t ultotal, curl_off_t ulnow)) = 0;
Dcurl_http_request_test.cc42 std::vector<std::tuple<uint64, curl_off_t>> progress_ticks, in FakeLibCurl()
134 int (*param)(void* clientp, curl_off_t dltotal, in curl_easy_setopt()
135 curl_off_t dlnow, curl_off_t ultotal, in curl_easy_setopt()
136 curl_off_t ulnow)) override { in curl_easy_setopt()
250 int (*progress_callback_)(void* clientp, curl_off_t dltotal, curl_off_t dlnow,
251 curl_off_t ultotal, curl_off_t ulnow) = nullptr;
259 std::vector<std::tuple<uint64, curl_off_t>> progress_ticks_;
/external/curl/tests/libtest/
Dlib1553.c31 curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
32 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
Dlib1540.c36 curl_off_t dltotal, in please_continue()
37 curl_off_t dlnow, in please_continue()
38 curl_off_t ultotal, in please_continue()
39 curl_off_t ulnow) in please_continue()
Dlib643.c38 curl_off_t sizeleft;
82 curl_off_t datasize = -1; in once()
86 datasize = (curl_off_t)strlen(data); in once()
141 datasize = (curl_off_t)strlen(data); in once()

12345