Searched refs:rbytes (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c87 DWORD mode, rbytes; local
112 success = ReadFile(hStdin, buf, (DWORD)bufsiz - 1, &rbytes, NULL);
116 buf[rbytes] = '\0';
118 if (rbytes > 2 && buf[rbytes - 2] == '\r' && buf[rbytes - 1] == '\n')
119 buf[rbytes - 2] = '\0';
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dutil.c52 char rops[6], wops[6], rbytes[6], wbytes[6], rerr[6], werr[6], cerr[6]; local
86 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes,
87 sizeof (rbytes));
101 rops, wops, rbytes, wbytes, rerr, werr, cerr);
/freebsd-12-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c82 unsigned char rbytes[4]; member in struct:lzx_dec
1765 int64_t cbytes, rbytes; local
1768 rbytes = cab_minimum_consume_cfdata(a, consumed_bytes);
1769 if (rbytes < 0)
1773 while (rbytes > 0) {
1783 if (cbytes > rbytes)
1784 cbytes = rbytes;
1785 rbytes -= cbytes;
1807 rbytes = 0;
1858 int64_t cbytes, rbytes; local
[all...]
H A Darchive_read_support_format_7zip.c2775 header_bytes(struct archive_read *a, size_t rbytes) argument
2780 if (zip->header_bytes_remaining < rbytes)
2786 p = __archive_read_ahead(a, rbytes, NULL);
2789 zip->header_bytes_remaining -= rbytes;
2790 zip->pack_stream_bytes_unconsumed = rbytes;
2795 bytes = read_stream(a, &buff, rbytes, rbytes);
2803 zip->header_crc32 = crc32(zip->header_crc32, p, (unsigned)rbytes);
H A Darchive_string.c2062 size_t rbytes; local
2064 rbytes = sizeof(utf8_replacement_char);
2066 rbytes = 2;
2068 if (avail < rbytes) {
2071 (remaining * to_size) + rbytes;
2085 outp += rbytes;
2086 avail -= rbytes;
/freebsd-12-stable/usr.bin/gzip/
H A Dgzip.c1445 ssize_t rbytes; local
1480 rbytes = read(fd, fourbytes, sizeof fourbytes);
1481 if (rbytes != sizeof fourbytes) {
1487 if (rbytes == -1)
1493 infile_newdata(rbytes);
1520 rbytes = pread(fd, name, sizeof(name) - 1, GZIP_ORIGNAME);
1521 if (rbytes < 0) {
1529 name[rbytes] = '\0';
1546 file, (int) rbytes, nf);
/freebsd-12-stable/contrib/libarchive/libarchive/test/
H A Dmain.c2382 size_t rbytes; local
2393 while ((rbytes = fread(buff, 1, sizeof(buff), in)) > 0) {
2394 if (fwrite(buff, 1, rbytes, out) != rbytes) {
/freebsd-12-stable/contrib/libarchive/test_utils/
H A Dtest_main.c3219 size_t rbytes; local
3230 while ((rbytes = fread(buff, 1, sizeof(buff), in)) > 0) {
3231 if (fwrite(buff, 1, rbytes, out) != rbytes) {

Completed in 222 milliseconds