• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/wget-1.12/src/

Lines Matching defs:to

26 grants you additional permission to convey the resulting work.
58 /* Total size of downloaded files. Used to enforce quota. */
64 /* If non-NULL, the stream to which output should be written. This
98 should take. If in reality it took less time, sleep to
121 /* Due to scheduling, we probably slept slightly longer (or
126 /* If sleep_adjust is very large, it's likely due to suspension
142 /* Write data in BUF to OUT. However, if *SKIP is non-zero, skip that
177 shouldn't do, it might make more sense to test it. Even better, it
178 might be nice to explain what possible benefit it could offer, as
179 it appears to be a clear invitation to poor performance with no
190 up to 16K and written to OUT as it arrives. If opt.verbose is set,
193 TOREAD is the amount of data expected to arrive, normally only used
197 the progress gauge. If QTYREAD is non-NULL, the value it points to
199 QTYWRITTEN is non-NULL, the value it points to is incremented by
200 the amount of data written to disk. The time it took to download
201 the data is stored to ELAPSED.
219 /* The progress gauge, set according to the user preferences. */
241 argument to progress_create because the indicator doesn't
261 with --limit-rate=2k, it doesn't make sense to slurp in 16K of
262 data and then sleep for 8s. With buffer size equal to the limit,
263 we never have to sleep for more than one second. */
267 /* Read from FD while there is data to read. Normally toread==0
268 means that it is unknown how much data is to arrive. However, if
358 newlines, it can be used to read the head of an HTTP response.
359 Upon determining the boundary, the function returns the data (up to
363 data read, NULL is returned and errno set to 0. In case of having
371 Depending on its needs, the function is free to choose whether to
374 Otherwise it should return a pointer to the charactre immediately
377 The idea is to be able to read a line of input, or otherwise a hunk
379 boundary, so that the next call to fd_read etc. reads the data
392 The function is careful to assume as little as possible about the
397 SIZEHINT is the buffer size sufficient to hold all the data in the
399 the maximum amount of memory this function is allowed to allocate,
400 or 0 if no upper limit is to be enforced.
431 to the end of the terminator. */
436 /* No more data needs to be read. */
486 /* Double the buffer size, but refuse to allocate more than
512 /* The maximum size of the single line we agree to accept. This is
513 not meant to impose an arbitrary limit, but to protect the user
515 or buggy server output. Define it to 0 to remove the limit. */
610 /* Retrieve the given URL. Decides which loop to call -- HTTP, FTP,
710 /* There is a possibility of having HTTP being redirected to
712 according to the suffix. The HTML suffixes are `.html',
738 /* The HTTP specs only allow absolute URLs to appear in
801 /* If we're being redirected from POST, we don't want to POST
802 again. Many requests answer POST with a redirection to an
812 /* Try to not encode in UTF-8 if fetching failed */
823 DEBUGP (("[IRI fallbacking to non-utf8 for %s\n", quote (url)));
829 DEBUGP (("[Couldn't fallback to non-utf8 for %s\n", quote (url)));
963 /* Need to reparse the url, since it didn't have iri information. */
993 Removing file due to --delete-after in retrieve_from_file():\n"));
1058 seconds. The sleeping amount ranges from 0.5*opt.wait to
1089 char *to = (char *)alloca (maxlen);
1100 sprintf (to, "%s.%d", fname, i);
1101 rename (from, to);
1104 sprintf (to, "%s.%d", fname, 1);
1105 rename(fname, to);
1143 /* Handle shorthands. `rewritten_storage' is a kludge to allow
1144 getproxy() to return static storage. */
1178 /* Set the file parameter to point to the local file string. */