/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | crypto-evp.c | 99 size_t i, blocksize; local 107 blocksize = EVP_CIPHER_CTX_block_size(c); 109 if (len < blocksize) { 113 } else if (len == blocksize) { 127 i = ((len - 1) / blocksize) * blocksize; 129 p += i - blocksize; 131 memcpy(ivec2, p, blocksize); 134 tmp[i] = p[i + blocksize] ^ ivec2[i]; 135 for (; i < blocksize; [all...] |
H A D | crypto-aes.c | 112 if (result.checksum.length < crypto->et->blocksize) 121 ret = krb5_data_alloc(out, crypto->et->blocksize); 132 crypto->et->blocksize);
|
/freebsd-10.0-release/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_tar.c | 37 size_t blocksize; local 40 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) { 48 archive_write_set_bytes_per_block(a, (int)blocksize)); 50 archive_write_set_bytes_in_last_block(a, (int)blocksize)); 51 assertEqualInt(blocksize, 55 assertEqualInt(blocksize, 84 failure("blocksize [all...] |
H A D | test_write_open_memory.c | 49 size_t blocksize = 94; local 56 archive_write_set_bytes_per_block(a, (int)blocksize)); 61 if (i < (511/blocksize)*blocksize)
|
H A D | test_write_format_tar_sparse.c | 37 size_t blocksize; local 46 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) { 54 archive_write_set_bytes_per_block(a, (int)blocksize)); 56 archive_write_set_bytes_in_last_block(a, (int)blocksize)); 57 assertEqualInt(blocksize, 61 assertEqualInt(blocksize, 97 failure("blocksize 180 size_t blocksize = 20 * 512; local [all...] |
H A D | test_write_filter_program.c | 37 int blocksize = 1024; local 44 /* NOTE: Setting blocksize=1024 will cause gunzip failure because 46 * exit code 1. So we should set blocksize=1 in order not to 51 blocksize = 1; 65 assertA(0 == archive_write_set_bytes_per_block(a, blocksize)); 66 assertA(0 == archive_write_set_bytes_in_last_block(a, blocksize)); 67 assertA(blocksize == archive_write_get_bytes_in_last_block(a)); 69 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
|
/freebsd-10.0-release/usr.bin/csup/ |
H A D | rsyncfile.c | 57 size_t blocksize; member in struct:rsyncfile 73 rsync_open(char *path, size_t blocksize, int rdonly) argument 99 rf->blocksize = (blocksize == 0 ? rsync_chooseblocksize(rf->fsize) : 100 blocksize); 127 size_t bestrem, blocksize, bs, hisearch, losearch, rem; local 129 blocksize = fsize / MAXBLOCKS; 130 losearch = blocksize - SEARCHREGION; 131 hisearch = blocksize + SEARCHREGION; 146 blocksize 157 size_t blocksize; local [all...] |
/freebsd-10.0-release/usr.bin/hexdump/ |
H A D | hexdump.c | 52 int blocksize; /* data block size */ variable 70 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) { 72 if (blocksize < tfs->bcnt) 73 blocksize = tfs->bcnt;
|
H A D | display.c | 92 * blocksize, and no partial block ever found. 133 blocksize - address % blocksize); 240 if ((curp = calloc(1, blocksize)) == NULL) 242 if ((savp = calloc(1, blocksize)) == NULL) 248 address += blocksize; 251 for (need = blocksize, nread = 0;;) { 260 if (need == blocksize) 295 bcmp(curp, savp, blocksize) != 0) { 303 address += blocksize; [all...] |
/freebsd-10.0-release/lib/libc/gen/ |
H A D | getbsize.c | 47 long n, max, mul, blocksize; local 84 fmterr: warnx("%s: unknown blocksize", p); 91 warnx("maximum blocksize is %ldG", MAXB / GB); 94 if ((blocksize = n * mul) < 512) { 95 underflow: warnx("minimum blocksize is 512"); 97 blocksize = n = 512; 100 blocksize = n = 512; 104 *blocksizep = blocksize;
|
/freebsd-10.0-release/crypto/heimdal/appl/rsh/ |
H A D | common.c | 48 size_t blocksize; local 50 krb5_crypto_getblocksize(context, crypto, &blocksize); 52 ivec_in[0] = malloc(blocksize); 53 memset(ivec_in[0], client, blocksize); 56 ivec_in[1] = malloc(blocksize); 57 memset(ivec_in[1], 2 | client, blocksize); 61 ivec_out[0] = malloc(blocksize); 62 memset(ivec_out[0], !client, blocksize); 65 ivec_out[1] = malloc(blocksize); 66 memset(ivec_out[1], 2 | !client, blocksize); [all...] |
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu_object.c | 32 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, argument 77 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 88 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) 99 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 108 int blocksize, dmu_object_type_t bonustype, int bonuslen) 123 if (dn->dn_type == ot && dn->dn_datablksz == blocksize && 141 if (dn->dn_nblkptr > nblkptr || dn->dn_datablksz != blocksize) { 155 dnode_reallocate(dn, ot, blocksize, bonustype, bonuslen, tx); 87 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument 107 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen) argument
|
/freebsd-10.0-release/sbin/newfs_nandfs/ |
H A D | newfs_nandfs.c | 119 static size_t blocksize = NANDFS_DEF_BLOCKSIZE; variable 135 #define SIZE_TO_BLOCK(size) (((size) + (blocksize - 1)) / blocksize) 226 new_block->data = malloc(blocksize); 230 memset(new_block->data, 0, blocksize); 248 *blk = off / blocksize; 249 *offset = (off % blocksize) / seg_size; 261 if (size > blocksize) 262 err(1, "segsum info bigger that blocksize"); 275 entries = blocksize / sizeo [all...] |
/freebsd-10.0-release/sys/fs/nandfs/ |
H A D | nandfs_dir.c | 60 uint32_t blocksize = dir_node->nn_nandfsdev->nd_blocksize; local 79 while (off < blocksize) { 92 rest = blocksize; 125 dirent->rec_len = blocksize - off; 158 uint32_t blocksize, limit, off; local 177 blocksize = dir_node->nn_nandfsdev->nd_blocksize; 178 blocknr = offset / blocksize; 192 limit = offset % blocksize; 227 filesize = blocknr * blocksize + 267 uint32_t blocksize, of local [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/include/private/ |
H A D | svn_subr_private.h | 45 * blocks that will be written into the spill-buffer ("blocksize"), and 66 * as the caller desires. Generally, N will be the blocksize, and will be 93 svn_spillbuf__create(apr_size_t blocksize, 157 svn_spillbuf__reader_create(apr_size_t blocksize, 198 svn_stream__from_spillbuf(apr_size_t blocksize,
|
/freebsd-10.0-release/bin/ls/ |
H A D | ls.h | 40 extern long blocksize; /* block size units */
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | spillbuf.c | 45 apr_size_t blocksize; member in struct:svn_spillbuf_t 103 svn_spillbuf__create(apr_size_t blocksize, argument 110 buf->blocksize = blocksize; 141 mem->data = apr_palloc(buf->pool, buf->blocksize); 206 if (buf->tail == NULL || buf->tail->size == buf->blocksize) 220 amt = buf->blocksize - mem->size; 293 if ((apr_uint64_t)buf->spill_size < (apr_uint64_t)buf->blocksize) 296 (*mem)->size = buf->blocksize; /* The size of (*mem)->data */ 438 svn_spillbuf__reader_create(apr_size_t blocksize, argument 599 svn_stream__from_spillbuf(apr_size_t blocksize, apr_size_t maxsize, apr_pool_t *result_pool) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/ec/ |
H A D | ec_mult.c | 84 size_t blocksize; /* block size for wNAF splitting */ member in struct:ec_pre_comp_st 112 ret->blocksize = 8; /* default */ 353 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ local 414 blocksize = pre_comp->blocksize; 418 numblocks = (BN_num_bits(scalar) / blocksize) + 1; 530 if (tmp_len < numblocks * blocksize) 533 numblocks = (tmp_len + blocksize - 1) / blocksize; 550 wNAF_len[i] = blocksize; 772 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local [all...] |
/freebsd-10.0-release/sys/dev/sound/usb/ |
H A D | uaudio.h | 46 uint32_t blocksize); 48 uint32_t blocksize, uint32_t blockcount);
|
H A D | uaudio_pcm.c | 70 ua_chan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) argument 72 return (uaudio_chan_set_param_blocksize(data, blocksize)); 76 ua_chan_setfragments(kobj_t obj, void *data, uint32_t blocksize, uint32_t blockcount) argument 78 return (uaudio_chan_set_param_fragments(data, blocksize, blockcount));
|
/freebsd-10.0-release/usr.bin/du/ |
H A D | du.c | 80 static long blocksize, cblocksize; variable 108 blocksize = 0; 161 blocksize = 1073741824; 168 blocksize = 1024; 175 blocksize = 1048576; 236 if (blocksize == 0) 237 (void)getbsize(¬used, &blocksize); 241 blocksize /= DEV_BSIZE; 246 blocksize); 273 cblocksize, blocksize)) { [all...] |
/freebsd-10.0-release/contrib/apr/file_io/unix/ |
H A D | readwrite.c | 33 apr_uint64_t blocksize; local 71 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size; 72 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize); 73 thefile->bufpos += blocksize; 74 pos += blocksize; 75 size -= blocksize; 153 int blocksize; local 174 blocksize = size > thefile->bufsize - thefile->bufpos ? 176 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize); 177 thefile->bufpos += blocksize; [all...] |
/freebsd-10.0-release/usr.bin/systat/ |
H A D | swap.c | 60 static long blocksize; variable 95 #define CONVERT(v) ((int)((int64_t)(v) * pagesize / blocksize)) 124 header = getbsize(&hlen, &blocksize);
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | bpobj.h | 70 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx); 71 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx);
|
/freebsd-10.0-release/sys/opencrypto/ |
H A D | xform.h | 39 u_int16_t blocksize; member in struct:auth_hash 52 u_int16_t blocksize; member in struct:enc_xform
|