Searched refs:file_size (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | textbox.c | 30 static int hscroll, fd, file_size, bytes_read; variable 51 if ((file_size = lseek(fd, 0, SEEK_END)) == -1) { in dialog_textbox() 169 if (fpos < file_size) { /* Yes, we have to read it in */ in dialog_textbox() 480 if (fpos < file_size) { /* Not end of file yet */ in get_line() 527 percent = !file_size ? in print_position() 528 100 : ((fpos - bytes_read + page - buf) * 100) / file_size; in print_position()
|
/busybox-1.35.0/networking/ |
D | httpd.c | 481 off_t file_size; /* -1 - unknown */ 528 #define file_size (G.file_size ) macro 556 file_size = -1; \ 1181 if (file_size != -1) { /* file */ in send_headers() 1191 file_size in send_headers() 1193 file_size = range_end - range_start + 1; in send_headers() 1249 file_size in send_headers() 1293 file_size = -1; /* no Last-Modified:, ETag:, Content-Length: */ in send_headers_and_exit() 1753 file_size = sb.st_size; in send_file_and_exit() 1774 sprintf(G.etag, "\"%llx-%llx\"", (unsigned long long)last_mod, (unsigned long long)file_size); in send_file_and_exit() [all …]
|