| /src/sys/arch/x68k/stand/xxboot/ |
| xxboot.h | 40 uint32_t blocksize; member in struct:__anon2204
|
| /src/usr.bin/hexdump/ |
| hexdump.c | 58 int blocksize; /* data block size */ variable 82 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) { 84 if (blocksize < tfs->bcnt) 85 blocksize = tfs->bcnt;
|
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_write_filter_program.c | 36 int blocksize = 1024; local 43 /* NOTE: Setting blocksize=1024 will cause gunzip failure because 45 * exit code 1. So we should set blocksize=1 in order not to 50 blocksize = 1; 64 assertA(0 == archive_write_set_bytes_per_block(a, blocksize)); 65 assertA(0 == archive_write_set_bytes_in_last_block(a, blocksize)); 66 assertA(blocksize == archive_write_get_bytes_in_last_block(a)); 68 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
|
| test_write_format_tar.c | 36 size_t blocksize; local 39 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) { 47 archive_write_set_bytes_per_block(a, (int)blocksize)); 49 archive_write_set_bytes_in_last_block(a, (int)blocksize)); 50 assertEqualInt(blocksize, 54 assertEqualInt(blocksize, 83 failure("blocksize=%zu", blocksize) [all...] |
| test_write_open_memory.c | 48 size_t blocksize = 94; local 55 archive_write_set_bytes_per_block(a, (int)blocksize)); 60 if (i < (511/blocksize)*blocksize)
|
| test_write_format_tar_sparse.c | 36 size_t blocksize; local 45 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) { 53 archive_write_set_bytes_per_block(a, (int)blocksize)); 55 archive_write_set_bytes_in_last_block(a, (int)blocksize)); 56 assertEqualInt(blocksize, 60 assertEqualInt(blocksize, 96 failure("blocksize=%zu", blocksize) 179 size_t blocksize = 20 * 512; local [all...] |
| /src/lib/libc/gen/ |
| getbsize.c | 57 long n, max, mul, blocksize; local 66 if ((p = getenv("BLOCKSIZE")) != NULL && *p != '\0') { 94 fmterr: warnx("%s: unknown blocksize", p); 101 warnx("maximum blocksize is %ldG", MAXB / GB); 104 if ((blocksize = n * mul) < 512) { 105 underflow: warnx("%s: minimum blocksize is 512", p); 107 blocksize = n = 512; 110 blocksize = n = 512; 116 *blocksizep = blocksize;
|
| /src/sys/opencrypto/ |
| xform.h | 36 u_int16_t blocksize; member in struct:auth_hash 45 u_int16_t blocksize; member in struct:enc_xform
|
| /src/usr.sbin/installboot/ |
| cd9660.c | 68 int rv, blocksize; local 94 blocksize = isonum_723((u_char *)ipd.logical_block_size); 95 if (blocksize != ISO_DEFAULT_BLOCK_SIZE) { 96 warnx("Invalid blocksize %d in `%s'", 97 blocksize, params->filesystem); 101 params->fstype->blocksize = blocksize; 114 int rv, blocksize, found; local 156 blocksize = isonum_723((u_char *)ipd.logical_block_size); 159 loc = (off_t)isonum_733(idr->extent) * blocksize; [all...] |
| /src/lib/libc/hash/ |
| hmac.c | 52 size_t blocksize; member in struct:hmac 131 if (klen > h->blocksize) { 151 (*h->update)(c, ipad, (unsigned int)h->blocksize); 156 (*h->update)(c, opad, (unsigned int)h->blocksize);
|
| /src/sys/external/isc/libsodium/dist/test/default/ |
| sodium_utils.c | 18 size_t blocksize; local 147 blocksize = 1U + randombytes_uniform(100U); 148 bin_padded_maxlen = bin_len + (blocksize - bin_len % blocksize); 153 blocksize, bin_padded_maxlen - 1U) == -1); 155 blocksize, bin_padded_maxlen + 1U) == 0); 157 blocksize, bin_padded_maxlen + 1U) == 0); 161 blocksize, bin_padded_maxlen) == 0); 169 blocksize) == 0);
|
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| crypto-evp.c | 117 size_t i, blocksize; local 126 blocksize = EVP_CIPHER_CTX_block_size(c); 128 if (len < blocksize) { 132 } else if (len == blocksize) { 149 i = ((len - 1) / blocksize) * blocksize; 151 p += i - blocksize; 153 memcpy(ivec2, p, blocksize); 156 tmp[i] = p[i + blocksize] ^ ivec2[i]; 157 for (; i < blocksize; i++ [all...] |
| mit_glue.c | 186 size_t *blocksize) 200 ret = krb5_crypto_getblocksize(context, crypto, blocksize); 222 size_t blocksize; local 224 ret = krb5_crypto_getblocksize(context, crypto, &blocksize); 230 if (blocksize > ivec->length) { 262 size_t blocksize; local 264 ret = krb5_crypto_getblocksize(context, crypto, &blocksize); 270 if (blocksize > ivec->length) {
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| DataObject.cc | 88 blocksize = 32 enumerator in enum:__anon10222 93 if (size > blocksize) 95 if (size == blocksize && (offset % blocksize == 0)) 97 if (offset % blocksize == 0) 99 if ((offset + size) % blocksize == 0) 101 if (offset / blocksize == ((offset + size) / blocksize))
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| DataObject.cc | 88 blocksize = 32 enumerator in enum:__anon11695 93 if (size > blocksize) 95 if (size == blocksize && (offset % blocksize == 0)) 97 if (offset % blocksize == 0) 99 if ((offset + size) % blocksize == 0) 101 if (offset / blocksize == ((offset + size) / blocksize))
|
| /src/sys/arch/x68k/stand/installboot/ |
| installboot.c | 53 size_t blocksize; variable 131 blocksize = label.d_secsize; 132 if (blocksize < 512) 133 blocksize = 512; 134 if (blocksize > MAXBBSIZE) 135 errx(1, "%s: blocksize too large", name); 136 if (read(fd, bootblock, blocksize) != blocksize) 146 if ((label.d_partitions[part].p_offset * blocksize < 32768) && 210 if (merging && blocksize > bboffset && !floppy [all...] |
| /src/sys/dev/dkwedge/ |
| dkwedge_apple.c | 141 uint32_t blocksize, blockcount, offset, rsize; local 164 blocksize = am->sbBlockSize; 166 rsize = 1 << (ilog2(MAX(sizeof(*ae), blocksize) - 1) + 1); 182 offset = blocksize;
|
| /src/usr.bin/systat/ |
| swap.c | 78 void showspace(char *header, int hlen, long blocksize); 80 static long blocksize; variable 153 header = getbsize(&hlen, &blocksize); 166 blk_div = blocksize / 512;
|
| /src/usr.bin/vndcompress/ |
| vnduncompress.c | 87 const uint32_t blocksize = be32toh(header.cl2h_blocksize); local 92 if (blocksize < MIN_BLOCKSIZE) 93 errx(1, "blocksize too small: %"PRIu32 95 blocksize, (uint32_t)MIN_BLOCKSIZE); 97 if (MAX_BLOCKSIZE < blocksize) 98 errx(1, "blocksize too large: %"PRIu32 100 blocksize, (uint32_t)MAX_BLOCKSIZE); 102 if ((blocksize % DEV_BSIZE) != 0) 103 errx(1, "bad blocksize: %"PRIu32 105 blocksize, (uint32_t)DEV_BSIZE) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| target-memory.c | 128 unsigned blocksize; local 133 blocksize = region->attrib.blocksize; 138 *begin = region->lo + offset_in_region / blocksize * blocksize; 140 *end = region->lo + (offset_in_region + blocksize - 1) / blocksize * blocksize;
|
| memattr.h | 80 int blocksize = -1; member in struct:mem_attrib
|
| /src/external/gpl3/gdb/dist/gdb/ |
| memattr.h | 80 int blocksize = -1; member in struct:mem_attrib
|
| target-memory.c | 128 unsigned blocksize; local 133 blocksize = region->attrib.blocksize; 138 *begin = region->lo + offset_in_region / blocksize * blocksize; 140 *end = region->lo + (offset_in_region + blocksize - 1) / blocksize * blocksize;
|
| /src/bin/sh/ |
| memalloc.c | 131 int blocksize; local 134 blocksize = nbytes; 135 if (blocksize < MINSIZE) 136 blocksize = MINSIZE; 138 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize); 141 stacknleft = blocksize;
|
| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| bio_enc.c | 106 int ret = 0, i, blocksize; local 134 blocksize = EVP_CIPHER_CTX_get_block_size(ctx->cipher); 136 if (blocksize == 0) 139 if (blocksize == 1) 140 blocksize = 0; 180 int j = outl - blocksize, buf_len;
|