| /freebsd-13.1/contrib/subversion/subversion/libsvn_delta/ |
| H A D | xdelta.c | 121 struct blocks struct 177 for (; blocks->slots[h].pos != NO_POSITION; h = (h + 1) & blocks->max) in add_block() 179 if (memcmp(blocks->data + blocks->slots[h].pos, blocks->data + pos, in add_block() 192 find_block(const struct blocks *blocks, in find_block() argument 198 for (; blocks->slots[h].pos != NO_POSITION; h = (h + 1) & blocks->max) in find_block() 200 if (memcmp(blocks->data + blocks->slots[h].pos, data, in find_block() 213 struct blocks *blocks, in init_blocks_table() argument 242 blocks->slots = apr_palloc(pool, nslots * sizeof(*(blocks->slots))); in init_blocks_table() 251 memset(blocks->flags, 0, sizeof(blocks->flags)); in init_blocks_table() 270 find_match(const struct blocks *blocks, in find_match() argument [all …]
|
| /freebsd-13.1/contrib/xz/src/liblzma/common/ |
| H A D | index_hash.c | 49 lzma_index_hash_info blocks; member 83 index_hash->blocks.blocks_size = 0; in lzma_index_hash_init() 84 index_hash->blocks.uncompressed_size = 0; in lzma_index_hash_init() 85 index_hash->blocks.count = 0; in lzma_index_hash_init() 86 index_hash->blocks.index_list_size = 0; in lzma_index_hash_init() 120 index_hash->blocks.index_list_size); in lzma_index_hash_size() 162 index_hash->blocks.index_list_size) in lzma_index_hash_append() 165 index_hash->blocks.count, in lzma_index_hash_append() 166 index_hash->blocks.index_list_size) in lzma_index_hash_append() 252 if (index_hash->blocks.blocks_size in lzma_index_hash_decode() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | e_aes_cbc_hmac_sha1.c | 140 int blocks; member 148 int blocks; member 166 } blocks[8]; in tls1_1_multi_block_encrypt() local 245 edges[i].blocks = 1; in tls1_1_multi_block_encrypt() 287 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt() 319 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt() 332 blocks[i].c[20] = 0x80; in tls1_1_multi_block_encrypt() 349 edges[i].blocks = 1; in tls1_1_multi_block_encrypt() 395 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_1_multi_block_encrypt() 440 aes_off += blocks; in aesni_cbc_hmac_sha1_cipher() [all …]
|
| H A D | e_aes_cbc_hmac_sha256.c | 136 int blocks; member 144 int blocks; member 162 } blocks[8]; in tls1_1_multi_block_encrypt() local 245 edges[i].blocks = 1; in tls1_1_multi_block_encrypt() 287 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt() 319 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt() 338 blocks[i].c[32] = 0x80; in tls1_1_multi_block_encrypt() 361 edges[i].blocks = 1; in tls1_1_multi_block_encrypt() 410 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_1_multi_block_encrypt() 470 aes_off += blocks; in aesni_cbc_hmac_sha256_cipher() [all …]
|
| H A D | e_rc4_hmac_md5.c | 72 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher() local 96 blocks *= MD5_CBLOCK; in rc4_hmac_md5_cipher() 97 rc4_off += blocks; in rc4_hmac_md5_cipher() 98 md5_off += blocks; in rc4_hmac_md5_cipher() 99 key->md.Nh += blocks >> 29; in rc4_hmac_md5_cipher() 100 key->md.Nl += blocks <<= 3; in rc4_hmac_md5_cipher() 101 if (key->md.Nl < (unsigned int)blocks) in rc4_hmac_md5_cipher() 140 blocks *= MD5_CBLOCK; in rc4_hmac_md5_cipher() 141 rc4_off += blocks; in rc4_hmac_md5_cipher() 142 md5_off += blocks; in rc4_hmac_md5_cipher() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_property/ |
| H A D | zfs_written_property_001_pos.ksh | 74 count=$blocks 81 ((blocks = blocks + 50)) 85 blocks=0 98 ((blocks = blocks + 50)) 106 blocks=50 113 ((blocks = blocks + 50)) 138 blocks=20 140 count=$blocks 196 blocks=10 208 ((blocks = blocks + 10)) [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/modes/ |
| H A D | ctr128.c | 172 size_t blocks = len / 16; in CRYPTO_ctr128_encrypt_ctr32() local 178 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in CRYPTO_ctr128_encrypt_ctr32() 179 blocks = (1U << 28); in CRYPTO_ctr128_encrypt_ctr32() 186 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32() 187 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32() 188 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32() 191 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32() 197 blocks *= 16; in CRYPTO_ctr128_encrypt_ctr32() 198 len -= blocks; in CRYPTO_ctr128_encrypt_ctr32() 199 out += blocks; in CRYPTO_ctr128_encrypt_ctr32() [all …]
|
| /freebsd-13.1/sys/net/route/ |
| H A D | nhop_utils.c | 58 bh->blocks = _ITEMS_TO_BLOCKS(num_items); in bitmask_init() 65 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536) in bitmask_get_resize_items() 66 return (_BLOCKS_TO_ITEMS(bh->blocks) * 2); in bitmask_get_resize_items() 122 if (bi->blocks < new_blocks) { in bitmask_copy() 124 if (bi->blocks > 0) in bitmask_copy() 125 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks)); in bitmask_copy() 129 for (int i = new_blocks; i < bi->blocks; i++) { in bitmask_copy() 144 bh->blocks = _ITEMS_TO_BLOCKS(new_items); in bitmask_swap() 163 for (i = off; i < bi->blocks; i++, mask++) { in bitmask_alloc_idx() 198 if (i >= bi->blocks) in bitmask_free_idx()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | bit_array.c | 58 unsigned char **blocks; member 93 array->blocks = apr_pcalloc(pool, in svn_bit_array__create() 94 array->block_count * sizeof(*array->blocks)); in svn_bit_array__create() 136 memcpy(new_blocks, array->blocks, in svn_bit_array__set() 138 array->blocks = new_blocks; in svn_bit_array__set() 145 block = array->blocks[block_idx]; in svn_bit_array__set() 157 array->blocks[block_idx] = block; in svn_bit_array__set() 187 block = array->blocks[block_idx]; in svn_bit_array__get()
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/sifive/ |
| H A D | sifive-blocks-ip-versioning.txt | 1 DT compatible string versioning for SiFive open-source IP blocks 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 7 https://github.com/sifive/sifive-blocks 14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 16 Until these IP blocks (or IP integration) support version 17 auto-discovery, the maintainers of these IP blocks intend to increment 19 interface to these IP blocks changes, or when the functionality of the 20 underlying IP blocks changes in a way that software should be aware of. 25 upstream sifive-blocks commits. It is expected that most drivers will
|
| /freebsd-13.1/contrib/wpa/src/crypto/ |
| H A D | crypto_internal-cipher.c | 106 size_t i, j, blocks; in crypto_cipher_encrypt() local 119 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_encrypt() 120 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 133 blocks = len / 8; in crypto_cipher_encrypt() 134 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 147 blocks = len / 8; in crypto_cipher_encrypt() 148 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 169 size_t i, j, blocks; in crypto_cipher_decrypt() local 183 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_decrypt() 197 blocks = len / 8; in crypto_cipher_decrypt() [all …]
|
| H A D | aes-cbc.c | 29 int i, j, blocks; in aes_128_cbc_encrypt() local 39 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_encrypt() 40 for (i = 0; i < blocks; i++) { in aes_128_cbc_encrypt() 65 int i, j, blocks; in aes_128_cbc_decrypt() local 75 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_decrypt() 76 for (i = 0; i < blocks; i++) { in aes_128_cbc_decrypt()
|
| /freebsd-13.1/contrib/apr-util/buckets/ |
| H A D | apr_buckets_alloc.c | 42 apr_memnode_t *blocks; member 49 apr_allocator_free(list->allocator, list->blocks); in alloc_cleanup() 104 list->blocks = block; in apr_bucket_alloc_create_ex() 116 apr_allocator_free(list->allocator, list->blocks); in apr_bucket_alloc_destroy() 160 apr_memnode_t *active = list->blocks; in apr_bucket_alloc() 172 list->blocks = apr_allocator_alloc(list->allocator, ALLOC_AMT); in apr_bucket_alloc() 173 if (!list->blocks) { in apr_bucket_alloc() 174 list->blocks = active; in apr_bucket_alloc() 177 list->blocks->next = active; in apr_bucket_alloc() 178 active = list->blocks; in apr_bucket_alloc()
|
| /freebsd-13.1/tools/diag/prtblknos/ |
| H A D | README | 4 of blocks used by a requested list of inodes. 6 For example, to list the blocks referenced by your kernel: 9 Filesystem 1K-blocks Used Avail Capacity Mounted on 25 Each contiguous range of blocks is printed on a line. 27 previous set of blocks to the beginning of the next set of blocks. 31 size blocks which by today's default is 32Kb. 36 physical block numbers reference 4Kb blocks. The distances listed 44 half the block size (say 32Kb blocks with 16Kb fragments) then the
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 160 if (srcNo >= fn->blocks.size()) { in readGCNO() 294 if (fn->blocks.size() >= 2) { in readGCDA() 297 version < GCOV::V408 ? *fn->blocks.back() : *fn->blocks[1]; in readGCDA() 358 return blocks.front()->getCount(); in getEntryCount() 362 return file.getVersion() < GCOV::V408 ? *blocks.back() : *blocks[1]; in getExitBlock() 392 for (const auto &Block : blocks) in print() 494 for (auto b : blocks) { in getCyclesCount() 499 for (auto block : blocks) { in getCyclesCount() 510 for (auto b : blocks) { in getCyclesCount() 680 line.blocks.push_back(&b); in collectFunction() [all …]
|
| /freebsd-13.1/contrib/libxo/doc/ |
| H A D | formatting.rst | 92 xo_emit("{:blocks/%d}\t{:path/%s}\n", num_blocks, path); 107 <blocks>36</blocks> 111 <blocks>40</blocks> 115 <blocks>90</blocks> 133 { "blocks": 36, "path" : "./src" }, 134 { "blocks": 40, "path" : "./bin" }, 135 { "blocks": 90, "path" : "./" } 152 <div class="data" data-tag="blocks">36</div> 157 <div class="data" data-tag="blocks">40</div> 162 <div class="data" data-tag="blocks">90</div>
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | hash.h | 84 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32() local 88 uint32_t k1 = hash_get_block_32(blocks, i); in hash_x86_32() 140 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128() local 144 uint32_t k1 = hash_get_block_32(blocks, i*4 + 0); in hash_x86_128() 145 uint32_t k2 = hash_get_block_32(blocks, i*4 + 1); in hash_x86_128() 146 uint32_t k3 = hash_get_block_32(blocks, i*4 + 2); in hash_x86_128() 147 uint32_t k4 = hash_get_block_32(blocks, i*4 + 3); in hash_x86_128() 238 const uint64_t *blocks = (const uint64_t *) (data); in hash_x64_128() local 242 uint64_t k1 = hash_get_block_64(blocks, i*2 + 0); in hash_x64_128() 243 uint64_t k2 = hash_get_block_64(blocks, i*2 + 1); in hash_x64_128()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/alloc_class/ |
| H A D | alloc_class_012_pos.ksh | 79 typeset -l blocks=25 85 bs=1M count=$blocks 86 ((blocks = blocks + 25))
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_pool.c | 38 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local 49 zfs_nicenum(dds->dds_blocks, blocks, sizeof (blocks)); in dump_ddt_stat() 60 blocks, lsize, psize, dsize, in dump_ddt_stat()
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/display/mediatek/ |
| H A D | mediatek,disp.txt | 4 The Mediatek display subsystem consists of various DISP function blocks in the 7 of frame signal are distributed to the other function blocks by a DISP_MUTEX 14 DISP function blocks 19 interface, or writes pixels back to memory. All DISP function blocks have 20 their own register space, interrupt, and clock gate. The blocks that can 24 For a description of the display interface sink function blocks, see 28 Required properties (all function blocks): 49 merge and split function blocks). 52 For most function blocks this is just a single clock input. Only the DSI and 57 Required properties (DMA function blocks):
|
| /freebsd-13.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_pkey.c | 62 cl_ptr_vector_construct(&p_pkey_tbl->blocks); in osm_pkey_tbl_construct() 72 num_blocks = (uint16_t) (cl_ptr_vector_get_size(&p_pkey_tbl->blocks)); in osm_pkey_tbl_destroy() 74 if ((p_block = cl_ptr_vector_get(&p_pkey_tbl->blocks, i))) in osm_pkey_tbl_destroy() 76 cl_ptr_vector_destroy(&p_pkey_tbl->blocks); in osm_pkey_tbl_destroy() 95 cl_ptr_vector_init(&p_pkey_tbl->blocks, 0, 1); in osm_pkey_tbl_init() 127 if (cl_ptr_vector_get_size(&p_pkey_tbl->blocks) > block) in osm_pkey_tbl_set() 129 (ib_pkey_table_t *) cl_ptr_vector_get(&p_pkey_tbl->blocks, in osm_pkey_tbl_set() 140 cl_ptr_vector_set(&p_pkey_tbl->blocks, block, p_pkey_block); in osm_pkey_tbl_set() 155 for (b = 0; b < cl_ptr_vector_get_size(&p_pkey_tbl->blocks); b++) { in osm_pkey_tbl_set() 157 p_pkey_block = cl_ptr_vector_get(&p_pkey_tbl->blocks, b); in osm_pkey_tbl_set() [all …]
|
| /freebsd-13.1/contrib/serf/buckets/ |
| H A D | allocator.c | 99 apr_memnode_t *blocks; /* blocks we allocated for subdividing */ member 112 if (allocator->blocks) { in allocator_cleanup() 113 apr_allocator_free(allocator->allocator, allocator->blocks); in allocator_cleanup() 194 apr_memnode_t *active = allocator->blocks; in serf_bucket_mem_alloc() 198 apr_memnode_t *head = allocator->blocks; in serf_bucket_mem_alloc() 208 allocator->blocks = active; in serf_bucket_mem_alloc()
|
| /freebsd-13.1/tools/lua/ |
| H A D | template.lua | 257 context.blocks = context.blocks or {} 259 layout.blocks = context.blocks or {} 265 context.blocks = context.blocks or {} 267 layout.blocks = context.blocks or {} 274 context.blocks = context.blocks or {} 280 context.blocks = context.blocks or {}
|
| /freebsd-13.1/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_pkey.h | 86 cl_ptr_vector_t blocks; member 244 return ((uint16_t) (cl_ptr_vector_get_size(&p_pkey_tbl->blocks))); in osm_pkey_tbl_get_num_blocks() 271 return ((block < cl_ptr_vector_get_size(&p_pkey_tbl->blocks)) ? in osm_pkey_tbl_block_get() 273 &p_pkey_tbl->blocks, block) : NULL); in osm_pkey_tbl_block_get()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblySortRegion.h | 39 virtual iterator_range<block_iterator> blocks() const = 0; 53 iterator_range<block_iterator> blocks() const override { in blocks() function 54 return Unit->blocks(); in blocks()
|