Lines Matching defs:to
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 * copies of the Software, and permit persons to whom the Software is
16 * furnished to do so, under the terms of the COPYING file.
135 curl_off_t from, to;
145 to=curlx_strtoofft(ptr, &ptr2, 0);
148 to=-1;
150 if((-1 == to) && (from>=0)) {
153 DEBUGF(infof(data, "RANGE %" CURL_FORMAT_CURL_OFF_T " to end of file\n",
165 totalsize = to-from;
173 " to %" CURL_FORMAT_CURL_OFF_T ", totally %"
175 from, to, data->req.maxdownload));
183 * file_connect() gets called from Curl_protocol_connect() to allow us to
185 * connect-then-transfer protocol and "connect" to the file here
208 relative to the current directory which isn't how
214 On other platforms, we need the slash to indicate an
227 /* change path separators from '/' to '\\' for DOS, Windows and OS/2 */
315 * Since FILE: doesn't do the full init, we need to provide some extra
344 /* known size of data to "upload" */
385 /* write the data to the target */
412 * the do-phase, to have it done in the main transfer loop but since some
414 * opposed to sockets) we instead perform the whole do-operation in this
425 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the
426 Windows version to have a different struct without
427 having to redefine the simple word 'stat' */
502 /* if we fstat()ed the file, set the file size to make it available post-
512 /* Adjust the start offset in case we want to get the N last bytes
526 failf(data, "failed to resume file:// transfer");
538 this is both more efficient than the former call to download() and