Searched refs:bytes (Results 1 - 25 of 683) sorted by last modified time

1234567891011>>

/freebsd-11-stable/contrib/apr/random/unix/
H A Dsha2.c49 typedef apr_uint32_t sha2_word32; /* Exactly 4 bytes */
50 typedef apr_uint64_t sha2_word64; /* Exactly 8 bytes */
471 apr_byte_t bytes[8]; member in union:dummy
474 MEMCPY_BCOPY(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], bitcount.bytes, 8);
/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_main.c662 * Decode 1-4 bytes depending on the value of the first byte.
669 /* Invalid sequence or there are not plenty bytes. */
678 case 2: /* 2 bytes sequence. */
682 case 3: /* 3 bytes sequence. */
691 case 4: /* 4 bytes sequence. */
712 /* Correctly gets a Unicode, returns used bytes. */
767 logprintf(",unknown %zu bytes", len);
858 * any bytes in p that differ from ref will be highlighted with '_'
917 /* Dump 48 bytes (3 lines) so that the first difference is
959 logprintf(" Only %d bytes wer
3179 int bytes; local
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_7zip.c504 ssize_t bytes; local
506 bytes = compress_out(a, p, (size_t)file->size, ARCHIVE_Z_RUN);
507 if (bytes < 0)
508 return ((int)bytes);
509 zip->entry_crc32 = crc32(zip->entry_crc32, p, (unsigned)bytes);
510 zip->entry_bytes_remaining -= bytes;
592 uint64_t bytes = sizeof(zip->wbuff) - zip->stream.avail_out; local
593 if (write_to_temp(a, zip->wbuff, (size_t)bytes) != ARCHIVE_OK)
595 if ((zip->crc32flg & ENCODED_CRC32) && bytes)
597 zip->wbuff, (unsigned)bytes);
607 ssize_t bytes; local
1648 size_t bytes; local
[all...]
H A Darchive_write_disk_posix.c270 /* Total bytes actually written to files. */
967 /* Skip leading zero bytes. */
1040 * | Magic(LE 4 bytes) |
1042 * | Type(LE 4 bytes) |
1044 * | Uncompressed size(LE 8 bytes)|
1083 * | Header(260 bytes) |
1085 * | Block count(LE 4 bytes) |
1087 * +-- | Offset (LE 4 bytes) | |
1090 * | | Compressed size(LE 4 bytes) | |
1096 * | | Offset (LE 4 bytes) | |
1116 hfs_write_resource_fork(struct archive_write_disk *a, unsigned char *buff, size_t bytes, uint32_t position) argument
[all...]
H A Darchive_write.c167 archive_write_set_bytes_in_last_block(struct archive *_a, int bytes) argument
172 a->bytes_in_last_block = bytes;
H A Darchive_read_support_format_zip.c162 /* These count the number of bytes actually read for the entry. */
264 * many compressed bytes were read. */
484 * triplets. id and size are 2 bytes each.
499 /* Some ZIP files may have trailing 0 bytes. Let's check they
511 "Need at least 4 bytes, "
512 "but only found %d bytes",
529 "Need %d bytes but only found %d bytes",
688 * n bytes - feature bitmap: first byte has low-order
1345 * descriptor is 16 bytes an
1592 uint8_t bytes[5]; member in struct:_alone_header
3149 ssize_t bytes; local
[all...]
H A Darchive_read_support_format_tar.c312 * omits terminator bytes to squeeze one or two more digits)
319 * null bytes, pads size with spaces and other numeric fields with zeroes
696 ssize_t bytes; local
709 h = __archive_read_ahead(a, 512, &bytes);
710 if (bytes < 0)
711 return ((int)bytes);
712 if (bytes == 0) { /* EOF at a block boundary. */
716 if (bytes < 512) { /* Short block at EOF; this is bad. */
889 const unsigned char *bytes; local
895 bytes
[all...]
H A Darchive_read_support_format_rar5.c228 int64_t last_unstore_ptr; /* Counter of bytes extracted during
340 * be used to calculate bytes that are missing in archive or are
915 * the number of bytes that `pvalue_len` value contains. If the `pvalue_len`
931 /* We will read maximum of 8 bytes. We don't have to handle the
954 * store the number of consumed bytes in it and do NOT
955 * consume those bytes, since the caller has all the
963 * because it will not know how many bytes it
976 /* The decoded value takes the maximum number of 8 bytes.
977 * It's a maximum number of bytes, so end decoding process here
2137 "Too small block encountered (%zu bytes)",
2713 int i, bytes; local
[all...]
H A Darchive_read_support_format_rar.c718 /* Remaining bytes are less than window. */
742 ssize_t bytes, window; local
747 h = __archive_read_ahead(a, window, &bytes);
749 /* Remaining bytes are less than window. */
755 if (bytes < 0x40)
758 q = p + bytes;
H A Darchive_read_support_format_cpio.c127 * afio utility uses this header, if a file size is larger than 2G bytes
538 ssize_t bytes; local
541 h = __archive_read_ahead(a, newc_header_size, &bytes);
545 q = p + bytes;
569 "Skipped %d bytes before "
707 ssize_t bytes; local
710 h = __archive_read_ahead(a, odc_header_size, &bytes);
714 q = p + bytes;
719 if (memcmp("070727", p, 6) == 0 && is_afio_large(p, bytes)) {
744 "Skipped %d bytes befor
[all...]
H A Darchive_read_support_format_cab.c67 /* The length how many bytes we can copy decoded code from
196 /* To know how many bytes we have decompressed. */
243 /* Total bytes of all file size in a Cabinet. */
267 /* entry_bytes_remaining is the number of bytes we expect. */
321 static uint32_t cab_checksum_cfdata_4(const void *, size_t bytes, uint32_t);
322 static uint32_t cab_checksum_cfdata(const void *, size_t bytes, uint32_t);
395 * following four bytes which are reserved and must be set
438 /* Remaining bytes are less than window. */
491 ssize_t bytes, window; local
495 const char *h = __archive_read_ahead(a, window, &bytes);
622 size_t bytes, used; local
1062 cab_checksum_cfdata_4(const void *p, size_t bytes, uint32_t seed) argument
1079 cab_checksum_cfdata(const void *p, size_t bytes, uint32_t seed) argument
1108 cab_checksum_update(struct archive_read *a, size_t bytes) argument
[all...]
H A Darchive_read_support_format_7zip.c142 /* Unoperated bytes. */
229 /* entry_bytes_remaining is the number of bytes we expect. */
478 /* If first six bytes are the 7-Zip signature,
484 * It may a 7-Zip SFX archive file. If first two bytes are
485 * 'M' and 'Z' available on Windows or first four bytes are
499 /* Remaining bytes are less than window. */
550 ssize_t bytes, window; local
565 h = __archive_read_ahead(a, window, &bytes);
567 /* Remaining bytes are less than window. */
573 if (bytes <
789 ssize_t bytes; local
1352 ssize_t bytes; local
1383 size_t bytes = local
1574 ssize_t bytes; local
2797 ssize_t bytes; local
3401 ssize_t bytes; local
3580 size_t bytes = skip_bytes; local
[all...]
H A Darchive_read_support_filter_rpm.c48 * first 16 bytes. */
168 uint32_t bytes; local
229 bytes = archive_be32dec(rpm->header+12);
230 rpm->hlen = 16 + section * 16 + bytes;
H A Darchive_read_disk_posix.c655 /* Increase a buffer size up to 64K bytes in
696 ssize_t bytes; local
801 bytes = read(t->entry_fd, t->entry_buff, buffbytes);
802 if (bytes < 0) {
809 bytes = 0;
814 if (bytes == 0 && !empty_sparse_region) {
821 *size = bytes;
823 t->entry_total += bytes;
824 t->entry_remaining_bytes -= bytes;
831 t->current_sparse->offset += bytes;
[all...]
/freebsd-11-stable/sys/conf/
H A Dkern.mk91 # stack to 16-byte boundaries -- thus wasting approximately 12 bytes of stack
/freebsd-11-stable/contrib/unbound/
H A Dconfigure7570 # (any single argument exceeding 2000 bytes causes a buffer overrun
18819 unsigned char digest[64]; /* its a 256-bit digest, so uses 32 bytes */
/freebsd-11-stable/sys/dev/ena/
H A Dena.h272 counter_u64_t bytes; member in struct:ena_stats_tx
287 counter_u64_t bytes; member in struct:ena_stats_rx
/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dx509_cmp.c265 && EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length)
/freebsd-11-stable/contrib/subversion/subversion/libsvn_wc/
H A Dwc-metadata.sql96 /* The size in bytes of the file in which the pristine text is stored.
432 /* The size in bytes of the working file when it had no local text
/freebsd-11-stable/contrib/subversion/
H A Dconfigure8141 # (any single argument exceeding 2000 bytes causes a buffer overrun
20896 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_pool.c756 /* bytes(I) - length of packet */
761 ipf_pool_search(softc, tptr, ipversion, dptr, bytes)
766 u_int bytes;
806 m->ipn_bytes += bytes;
H A Dip_htable.c1129 /* bytes(I) - packet length */
1134 ipf_iphmfindip(softc, tptr, ipversion, aptr, bytes)
1138 u_int bytes;
1165 ipe->ipe_bytes += bytes;
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipfsyncd.c523 int bytes; local
529 bytes = inbuf;
533 for (complete = 0; bytes > 0; complete++) {
555 if (bytes < sizeof(*sh) + len) {
556 debug(3, "Not enough bytes %d < %d\n", bytes,
568 bytes -= sendlen;
587 if (bytes > 0) {
588 bcopy(buf + bytes, buf, bytes);
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_pf_main.c2567 if (rxr->bytes == 0)
2571 rx_bytes = rxr->bytes/rxr->itr;
2619 rxr->bytes = 0;
2642 if (txr->bytes == 0)
2646 tx_bytes = txr->bytes/txr->itr;
2694 txr->bytes = 0;
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c885 rx_bytes += rq_stats->bytes;
2585 #define MLX5E_RSS_KEY_SIZE (10 * 4) /* bytes */

Completed in 411 milliseconds

1234567891011>>