Home
last modified time | relevance | path

Searched refs:restart_point (Results 1 – 8 of 8) sorted by relevance

/minix/usr.bin/ftp/
H A Dprogressbar.c160 lastsize = restart_point;
164 cursize = bytes + restart_point;
266 ((filesize - restart_point) / (bytes / elapsed) -
353 && bytes + restart_point <= filesize) {
354 remaining = (int)((filesize - restart_point) /
H A Dfetch.c596 restart_point = 0; in fetch_url()
602 restart_point = sb.st_size; in fetch_url()
615 if (restart_point) { in fetch_url()
624 if (restart_point) in fetch_url()
626 (LLT)restart_point); in fetch_url()
692 if (restart_point) { in fetch_url()
857 if (restart_point) { in fetch_url()
860 (LLT)restart_point); in fetch_url()
862 (LLT)restart_point); in fetch_url()
1000 if (! restart_point) { in fetch_url()
[all …]
H A Dftp.c742 if (restart_point && in sendrequest()
749 rc = fseeko(fin, restart_point, SEEK_SET); in sendrequest()
753 rc = lseek(fileno(fin), restart_point, SEEK_SET); in sendrequest()
886 restart_point = 0; in sendrequest()
998 if (is_retr && restart_point && in recvrequest()
1053 if (is_retr && restart_point && in recvrequest()
1054 lseek(fileno(fout), restart_point, SEEK_SET) < 0) { in recvrequest()
1070 if (is_retr && restart_point) { in recvrequest()
1076 for (i = 0; i++ < restart_point;) { in recvrequest()
1890 if ((restart_point && in proxtrans()
[all …]
H A Dcmds.c620 restart_point = 0; in getit()
623 restart_point = stbuf.st_size; in getit()
641 restart_point = 0; in getit()
698 restart_point = 0; in mget()
731 restart_point = stbuf.st_size; in mget()
737 restart_point = 0; in mget()
2392 restart_point = rp; in restart()
2394 if (restart_point == 0) in restart()
2399 (LLT)restart_point); in restart()
2614 orestart_point = restart_point; in page()
[all …]
H A Dprogressbar.h53 GLOBAL off_t restart_point; /* offset to restart transfer */ variable
/minix/libexec/ftpd/
H A Dftpcmd.y178 restart_point = (off_t) 0;
885 restart_point = (off_t)$4.ll;
888 (LLT)restart_point);
894 restart_point = (off_t) 0;
H A Dextern.h334 GLOBAL off_t restart_point; variable
H A Dftpd.c1767 if (restart_point) { in retrieve()
1772 for (i = 0; i < restart_point; i++) { in retrieve()
1781 } else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) { in retrieve()
1863 if (restart_point) in store()
1874 if (restart_point) { in store()
1879 for (i = 0; i < restart_point; i++) { in store()
1898 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) { in store()