Home | History | Annotate | Download | only in src

Lines Matching refs:filetime

45     FILETIME ft;
52 "Failed to get filetime: underflow\n");
60 "Failed to get filetime: "
68 "Failed to get filetime: "
79 "Failed to get filetime: %s\n", strerror(errno));
87 void setfiletime(curl_off_t filetime, const char *filename,
90 if(filetime >= 0) {
97 /* 910670515199 is the maximum unix filetime that can be used as a
98 Windows FILETIME without overflow: 30827-12-31T23:59:59. */
99 if(filetime > CURL_OFF_T_C(910670515199)) {
101 "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
102 " on outfile: overflow\n", filetime);
111 curl_off_t converted = ((curl_off_t)filetime * 10000000) +
113 FILETIME ft;
118 "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
120 filetime, (unsigned int)GetLastError());
126 "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
128 filetime, (unsigned int)GetLastError());
133 times[0].tv_sec = times[1].tv_sec = (time_t)filetime;
137 "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
138 " on outfile: %s\n", filetime, strerror(errno));
143 times.actime = (time_t)filetime;
144 times.modtime = (time_t)filetime;
147 "Failed to set filetime %" CURL_FORMAT_CURL_OFF_T
148 " on outfile: %s\n", filetime, strerror(errno));