Searched refs:restart_point (Results 1 - 16 of 16) sorted by relevance
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | progressbar.h | 54 GLOBAL off_t restart_point; /* offset to restart transfer */ variable
|
H A D | progressbar.c | 170 lastsize = restart_point; 174 cursize = bytes + restart_point; 276 ((filesize - restart_point) / (bytes / elapsed) - 363 && bytes + restart_point <= filesize) { 364 remaining = (int)((filesize - restart_point) /
|
H A D | fetch.c | 569 restart_point = 0; 575 restart_point = sb.st_size; 588 if (restart_point) { 589 if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) { 597 if (restart_point) 599 (LLT)restart_point); 658 if (restart_point) { 798 if (restart_point) { 801 (LLT)restart_point); 803 (LLT)restart_point); [all...] |
H A D | ftp.c | 741 if (restart_point && 748 rc = fseeko(fin, restart_point, SEEK_SET); 752 rc = lseek(fileno(fin), restart_point, SEEK_SET); 759 if (command("REST " LLF, (LLT)restart_point) != CONTINUE) 884 restart_point = 0; 996 if (is_retr && restart_point && 997 command("REST " LLF, (LLT) restart_point) != CONTINUE) 1050 if (is_retr && restart_point && 1051 lseek(fileno(fout), restart_point, SEEK_SET) < 0) { 1067 if (is_retr && restart_point) { [all...] |
H A D | cmds.c | 573 (void)getit(argc, argv, 0, restart_point ? "r+" : "w" ); 625 restart_point = stbuf.st_size; 643 restart_point = 0; 700 restart_point = 0; 733 restart_point = stbuf.st_size; 737 recvrequest("RETR", tp, cp, restart_point ? "r+" : "w", 739 restart_point = 0; 777 gmode = restart_point ? "r+" : "w"; 2393 restart_point = rp; 2395 if (restart_point [all...] |
/freebsd-11-stable/libexec/ftpd/ |
H A D | extern.h | 91 extern off_t restart_point;
|
H A D | ftpd.c | 1732 if (restart_point) { 1737 n = restart_point; 1747 } else if (lseek(fileno(fin), restart_point, L_SET) < 0) { 1757 restart_point == 0 && cmd == 0 && S_ISREG(st.st_mode)); 1786 restart_point = 0; /* not affected by preceding REST */ 1789 restart_point = 0; 1791 if (restart_point) { /* guest STOR w/REST */ 1798 if (restart_point) 1812 if (restart_point) { 1817 n = restart_point; [all...] |
H A D | ftpcmd.y | 77 off_t restart_point; 136 restart_point = 0; 760 restart_point = 0; 779 restart_point = $4.o; 781 (intmax_t)restart_point,
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | extern.h | 163 extern off_t restart_point;
|
H A D | ftp.c | 48 off_t restart_point = 0; variable 754 if (restart_point && 760 rc = fseek (fin, (long) restart_point, SEEK_SET); 764 rc = lseek (fileno (fin), restart_point, SEEK_SET); 771 restart_point = 0; 776 if (command ("REST %ld", (long) restart_point) 778 restart_point = 0; 783 restart_point = 0; 992 if (is_retr && restart_point && 993 command ("REST %ld", (long) restart_point) ! [all...] |
H A D | cmds.c | 579 if (restart_point) { 655 restart_point = stbuf.st_size; 701 restart_point = 0; 1996 restart_point = atol(argv[1]); 1997 printf("restarting at %ld. %s\n", (long)restart_point,
|
/freebsd-11-stable/contrib/opie/ |
H A D | opieftpd.c | 173 extern off_t restart_point; 691 if (restart_point) { 695 n = restart_point; 706 if (lseek(fileno(fin), restart_point, SEEK_SET /* L_SET */ ) < 0) { 736 if (restart_point) 744 if (restart_point) { 748 n = restart_point; 765 if (lseek(fileno(fout), restart_point, SEEK_SET /* L_SET */ ) < 0) {
|
H A D | ftpcmd.y | 141 off_t restart_point; 190 restart_point = (off_t) 0; 593 restart_point = (off_t) 0; 606 restart_point = $3; 607 reply(350, "Restarting at %ld. %s", restart_point,
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ftpd.c | 45 extern off_t restart_point; 1038 if (restart_point) { 1043 n = restart_point; 1053 } else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) { 1119 if (restart_point) 1129 if (restart_point) { 1134 n = restart_point; 1153 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) { 1387 cnt = st.st_size - restart_point; 1388 sec_write(fileno(outstr), chunk + restart_point, cn [all...] |
H A D | ftpcmd.y | 48 off_t restart_point; 134 restart_point = (off_t) 0; 655 restart_point = (off_t) 0; 667 restart_point = $3; /* XXX $3 is only "int" */ 669 (long)restart_point,
|
H A D | ftpcmd.c | 247 off_t restart_point; variable 1776 restart_point = (off_t) 0; 2441 restart_point = (off_t) 0; 2456 restart_point = (yyvsp[(3) - (5)].i); /* XXX $3 is only "int" */ 2458 (long)restart_point,
|
Completed in 241 milliseconds