• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/curl-7.23.1/lib/

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.
133 curl_off_t from, to;
143 to=curlx_strtoofft(ptr, &ptr2, 0);
146 to=-1;
148 if((-1 == to) && (from>=0)) {
151 DEBUGF(infof(data, "RANGE %" FORMAT_OFF_T " to end of file\n",
163 totalsize = to-from;
171 " to %" FORMAT_OFF_T ", totally %" FORMAT_OFF_T " bytes\n",
172 from, to, data->req.maxdownload));
180 * file_connect() gets called from Curl_protocol_connect() to allow us to
182 * connect-then-transfer protocol and "connect" to the file here
226 relative to the current directory which isn't how
232 On other platforms, we need the slash to indicate an
244 /* change path separators from '/' to '\\' for DOS, Windows and OS/2 */
325 * Since FILE: doesn't do the full init, we need to provide some extra
364 /* known size of data to "upload" */
405 /* write the data to the target */
432 * the do-phase, to have it done in the main transfer loop but since some
434 * opposed to sockets) we instead perform the whole do-operation in this
445 struct_stat statbuf; /* struct_stat instead of struct stat just to allow the
446 Windows version to have a different struct without
447 having to redefine the simple word 'stat' */
520 /* if we fstat()ed the file, set the file size to make it available post-
530 /* Adjust the start offset in case we want to get the N last bytes
544 failf(data, "failed to resume file:// transfer");
556 this is both more efficient than the former call to download() and