Home
last modified time | relevance | path

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

12345

/external/curl/src/
Dtool_progress.c34 static char *max5data(curl_off_t bytes, char *max5) in max5data()
92 curl_off_t dltotal, in xferinfo_cb()
93 curl_off_t dlnow, in xferinfo_cb()
94 curl_off_t ultotal, in xferinfo_cb()
95 curl_off_t ulnow) in xferinfo_cb()
114 static void time2str(char *r, curl_off_t seconds) in time2str()
116 curl_off_t h; in time2str()
123 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str()
124 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str()
131 curl_off_t d = seconds / CURL_OFF_T_C(86400); in time2str()
[all …]
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_filetime.c32 curl_off_t getfiletime(const char *filename, FILE *error_stream) in getfiletime()
34 curl_off_t result = -1; in getfiletime()
51 curl_off_t converted = (curl_off_t)ft.dwLowDateTime in getfiletime()
52 | ((curl_off_t)ft.dwHighDateTime) << 32; in getfiletime()
79 result = (curl_off_t)statbuf.st_mtime; in getfiletime()
91 void setfiletime(curl_off_t filetime, const char *filename, in setfiletime()
118 curl_off_t converted = ((curl_off_t)filetime * 10000000) + in setfiletime()
Dtool_progress.h27 curl_off_t dltotal,
28 curl_off_t dlnow,
29 curl_off_t ultotal,
30 curl_off_t ulnow);
37 extern curl_off_t all_xfers; /* total number */
Dtool_cb_rea.h37 curl_off_t dltotal, curl_off_t dlnow,
38 curl_off_t ultotal, curl_off_t ulnow);
Dtool_formparse.h53 curl_off_t origin; /* Stdin read origin offset. */
54 curl_off_t size; /* Stdin data size. */
55 curl_off_t curpos; /* Stdin current read position. */
61 int tool_mime_stdin_seek(void *instream, curl_off_t offset, int whence);
Dtool_cb_rea.c62 curl_off_t dltotal, curl_off_t dlnow, in tool_readbusy_cb()
63 curl_off_t ultotal, curl_off_t ulnow) in tool_readbusy_cb()
Dtool_operate.h64 curl_off_t dltotal;
65 curl_off_t dlnow;
66 curl_off_t ultotal;
67 curl_off_t ulnow;
Dtool_cfgable.h75 curl_off_t resume_from;
77 curl_off_t postfieldsize;
82 curl_off_t max_filesize;
196 curl_off_t condtime;
208 curl_off_t sendpersecond; /* send to peer */
209 curl_off_t recvpersecond; /* receive from peer */
Dtool_cb_prg.c125 curl_off_t dltotal, curl_off_t dlnow, in tool_progress_cb()
126 curl_off_t ultotal, curl_off_t ulnow) in tool_progress_cb()
135 curl_off_t total; in tool_progress_cb()
136 curl_off_t point; in tool_progress_cb()
/external/curl/lib/
Dprogress.c38 static void time2str(char *r, curl_off_t seconds) in time2str()
40 curl_off_t h; in time2str()
47 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str()
48 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str()
55 curl_off_t d = seconds / CURL_OFF_T_C(86400); in time2str()
68 static char *max5data(curl_off_t bytes, char *max5) in max5data()
272 timediff_t Curl_pgrsLimitWaitTime(curl_off_t cursize, in Curl_pgrsLimitWaitTime()
273 curl_off_t startsize, in Curl_pgrsLimitWaitTime()
274 curl_off_t limit, in Curl_pgrsLimitWaitTime()
278 curl_off_t size = cursize - startsize; in Curl_pgrsLimitWaitTime()
[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);
53 timediff_t Curl_pgrsLimitWaitTime(curl_off_t cursize,
54 curl_off_t startsize,
55 curl_off_t limit,
Durldata.h593 curl_off_t size; /* -1 if unknown at this point */
594 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch,
596 curl_off_t bytecount; /* total number of bytes read */
597 curl_off_t writebytecount; /* number of bytes written */
599 curl_off_t headerbytecount; /* only count received headers */
600 curl_off_t deductheadercount; /* this amount of bytes doesn't count when we
619 curl_off_t offset; /* possible resume offset read from the
806 curl_off_t cl; /* size of content to read and ignore */
1110 curl_off_t header_size; /* size of read header(s) in bytes */
1111 curl_off_t request_size; /* the amount of bytes sent in the request(s) */
[all …]
Dsmb.h170 curl_off_t allocation_size;
189 curl_off_t create_time;
190 curl_off_t last_access_time;
191 curl_off_t last_write_time;
192 curl_off_t last_change_time;
194 curl_off_t allocation_size;
195 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()
Dmime.h76 curl_off_t (*sizefunc)(curl_mimepart *part); /* Encoded size. */
91 curl_off_t offset; /* State-dependent offset. */
124 curl_off_t datasize; /* Expected data size. */
149 curl_off_t Curl_mime_size(struct curl_mimepart *part);
163 #define Curl_mime_size(x) (curl_off_t) -1
/external/curl/docs/examples/
Dprogressfunc.c36 #define TIMETYPE curl_off_t
54 curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
55 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
93 (curl_off_t)dltotal, in older_progress()
94 (curl_off_t)dlnow, in older_progress()
95 (curl_off_t)ultotal, in older_progress()
96 (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()
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request.h164 static int ProgressCallback(void* this_object, curl_off_t dltotal,
165 curl_off_t dlnow, curl_off_t ultotal,
166 curl_off_t ulnow);
208 curl_off_t last_progress_bytes_ = 0;
257 int (*param)(void* clientp, curl_off_t dltotal, curl_off_t dlnow,
258 curl_off_t ultotal,
259 curl_off_t ulnow)) TF_MUST_USE_RESULT = 0;
/external/curl/tests/libtest/
Dlib1523.c30 static int dload_progress_cb(void *a, curl_off_t b, curl_off_t c, in dload_progress_cb()
31 curl_off_t d, curl_off_t e) in dload_progress_cb()
Dlib500.c99 curl_off_t time_namelookup; in test()
100 curl_off_t time_connect; in test()
101 curl_off_t time_pretransfer; in test()
102 curl_off_t time_starttransfer; in test()
103 curl_off_t time_total; in test()
Dlib1553.c31 curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
32 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
Dlib670.c68 static int xferinfo(void *clientp, curl_off_t dltotal, curl_off_t dlnow, in xferinfo()
69 curl_off_t ultotal, curl_off_t ulnow) in xferinfo()
144 res = curl_mime_data_cb(part, (curl_off_t) 2, read_callback, in test()
162 CURLFORM_CONTENTLEN, (curl_off_t) 2, in test()
Dlib668.c36 curl_off_t sizeleft;
86 pooh1.sizeleft = (curl_off_t) strlen(data); in test()
94 curl_mime_data_cb(part, (curl_off_t) strlen(data), in test()
100 curl_mime_data_cb(part, (curl_off_t) -1, read_callback, NULL, NULL, &pooh2); in test()
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()

12345