Searched refs:rbytes (Results 1 – 8 of 8) sorted by relevance
/dragonfly/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 87 DWORD mode, rbytes; in readpassphrase() local 112 success = ReadFile(hStdin, buf, (DWORD)bufsiz - 1, &rbytes, NULL); in readpassphrase() 116 buf[rbytes] = '\0'; in readpassphrase() 118 if (rbytes > 2 && buf[rbytes - 2] == '\r' && buf[rbytes - 1] == '\n') in readpassphrase() 119 buf[rbytes - 2] = '\0'; in readpassphrase()
|
/dragonfly/contrib/tre/lib/ |
H A D | tre-match-parallel.c | 162 int rbytes, pbytes, total_bytes; in tre_tnfa_run_parallel() local 166 rbytes = sizeof(*reach_next) * (tnfa->num_states + 1); in tre_tnfa_run_parallel() 170 + (rbytes + tbytes * tnfa->num_states) * 2 + tbytes + pbytes; in tre_tnfa_run_parallel() 188 tmp_buf += rbytes; in tre_tnfa_run_parallel() 191 tmp_buf += rbytes; in tre_tnfa_run_parallel()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cab.c | 82 unsigned char rbytes[4]; member 1765 int64_t cbytes, rbytes; in cab_consume_cfdata() local 1769 if (rbytes < 0) in cab_consume_cfdata() 1773 while (rbytes > 0) { in cab_consume_cfdata() 1783 if (cbytes > rbytes) in cab_consume_cfdata() 1784 cbytes = rbytes; in cab_consume_cfdata() 1785 rbytes -= cbytes; in cab_consume_cfdata() 1807 rbytes = 0; in cab_consume_cfdata() 1868 rbytes -= cbytes; in cab_minimum_consume_cfdata() 1877 rbytes -= cbytes; in cab_minimum_consume_cfdata() [all …]
|
H A D | archive_read_support_format_7zip.c | 2796 header_bytes(struct archive_read *a, size_t rbytes) in header_bytes() argument 2801 if (zip->header_bytes_remaining < rbytes) in header_bytes() 2807 p = __archive_read_ahead(a, rbytes, NULL); in header_bytes() 2810 zip->header_bytes_remaining -= rbytes; in header_bytes() 2811 zip->pack_stream_bytes_unconsumed = rbytes; in header_bytes() 2816 bytes = read_stream(a, &buff, rbytes, rbytes); in header_bytes() 2824 zip->header_crc32 = crc32(zip->header_crc32, p, (unsigned)rbytes); in header_bytes()
|
H A D | archive_string.c | 2062 size_t rbytes; in iconv_strncat_in_locale() local 2064 rbytes = sizeof(utf8_replacement_char); in iconv_strncat_in_locale() 2066 rbytes = 2; in iconv_strncat_in_locale() 2068 if (avail < rbytes) { in iconv_strncat_in_locale() 2071 (remaining * to_size) + rbytes; in iconv_strncat_in_locale() 2085 outp += rbytes; in iconv_strncat_in_locale() 2086 avail -= rbytes; in iconv_strncat_in_locale()
|
/dragonfly/sys/dev/smbus/atmel_mxt/ |
H A D | test_atmel.c | 114 mxt_read_object(int fd, struct mxt_object *obj, void *rbuf, int rbytes) in mxt_read_object() argument 119 if (bytes > rbytes) in mxt_read_object() 120 bytes = rbytes; in mxt_read_object()
|
H A D | atmel_mxt.c | 300 void *rbuf, int rbytes); 1111 int rbytes; in mxt_read_reg() local 1124 rbuf, bytes, &rbytes); in mxt_read_reg() 1127 if (bytes != rbytes) { in mxt_read_reg() 1130 reg, bytes, rbytes); in mxt_read_reg() 1170 void *rbuf, int rbytes) in mxt_read_object() argument 1175 if (bytes > rbytes) in mxt_read_object() 1176 bytes = rbytes; in mxt_read_object()
|
/dragonfly/usr.bin/gzip/ |
H A D | gzip.c | 1286 ssize_t rbytes; in file_uncompress() local 1311 rbytes = read(fd, header1, sizeof header1); in file_uncompress() 1312 if (rbytes != sizeof header1) { in file_uncompress() 1318 if (rbytes == -1) in file_uncompress() 1350 rbytes = pread(fd, name, sizeof name, GZIP_ORIGNAME); in file_uncompress() 1351 if (rbytes < 0) { in file_uncompress() 1364 file, (int) rbytes, name); in file_uncompress()
|