Home | History | Annotate | Download | only in dropbear

Lines Matching full:bytes

63 static int bytes_per_second;	/* current speed in bytes per second */
77 format_rate(char *buf, int size, off_t bytes)
81 bytes *= 100;
82 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
83 bytes = (bytes + 512) / 1024;
86 bytes = (bytes + 512) / 1024;
89 (long long) (bytes + 5) / 100,
90 (long long) (bytes + 5) / 10 % 10,
96 format_size(char *buf, int size, off_t bytes)
100 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
101 bytes = (bytes + 512) / 1024;
103 (long long) bytes,