| /freebsd-12.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-12.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 …]
|
| H A D | e_chacha20_poly1305.c | 85 size_t blocks = len / CHACHA_BLK_SIZE; in chacha_cipher() local 91 if (sizeof(size_t)>sizeof(unsigned int) && blocks>(1U<<28)) in chacha_cipher() 92 blocks = (1U<<28); in chacha_cipher() 100 ctr32 += (unsigned int)blocks; in chacha_cipher() 101 if (ctr32 < blocks) { in chacha_cipher() 102 blocks -= ctr32; in chacha_cipher() 105 blocks *= CHACHA_BLK_SIZE; in chacha_cipher() 106 ChaCha20_ctr32(out, inp, blocks, key->key.d, key->counter); in chacha_cipher() 107 len -= blocks; in chacha_cipher() 108 inp += blocks; in chacha_cipher() [all …]
|
| /freebsd-12.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-12.1/crypto/openssl/crypto/modes/ |
| H A D | ctr128.c | 165 size_t blocks = len / 16; in CRYPTO_ctr128_encrypt_ctr32() local 171 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in CRYPTO_ctr128_encrypt_ctr32() 172 blocks = (1U << 28); in CRYPTO_ctr128_encrypt_ctr32() 179 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32() 180 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32() 181 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32() 184 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32() 190 blocks *= 16; in CRYPTO_ctr128_encrypt_ctr32() 191 len -= blocks; in CRYPTO_ctr128_encrypt_ctr32() 192 out += blocks; in CRYPTO_ctr128_encrypt_ctr32() [all …]
|
| /freebsd-12.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-12.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-12.1/contrib/apr-util/buckets/ |
| H A D | apr_buckets_alloc.c | 41 apr_memnode_t *blocks; member 48 apr_allocator_free(list->allocator, list->blocks); in alloc_cleanup() 103 list->blocks = block; in apr_bucket_alloc_create_ex() 115 apr_allocator_free(list->allocator, list->blocks); in apr_bucket_alloc_destroy() 128 apr_memnode_t *active = list->blocks; in apr_bucket_alloc() 140 list->blocks = apr_allocator_alloc(list->allocator, ALLOC_AMT); in apr_bucket_alloc() 141 if (!list->blocks) { in apr_bucket_alloc() 142 list->blocks = active; in apr_bucket_alloc() 145 list->blocks->next = active; in apr_bucket_alloc() 146 active = list->blocks; in apr_bucket_alloc()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gcov.c | 176 block_t *blocks; member 602 free (fn->blocks); in release_structures() 778 if (fn->blocks) in read_graph_file() 819 fn->blocks[src].succ = arc; in read_graph_file() 820 fn->blocks[src].num_succ++; in read_graph_file() 941 fn->blocks[ix].succ = arc_p; in read_graph_file() 949 fn->blocks[ix].pred = arc_p; in read_graph_file() 1083 if (fn->blocks[0].num_pred) in solve_flow_graph() 1534 block_line->u.blocks = block; in add_line_counts() 1588 else if (line->u.blocks) in accumulate_line_counts() [all …]
|
| H A D | tracer.c | 202 fibnode_t *blocks = XCNEWVEC (fibnode_t, last_basic_block); in tail_duplicate() local 225 blocks[bb->index] = fibheap_insert (heap, -bb->frequency, in tail_duplicate() 249 blocks[bb->index] = NULL; in tail_duplicate() 259 if (blocks[bb->index]) in tail_duplicate() 261 fibheap_delete_node (heap, blocks[bb->index]); in tail_duplicate() 262 blocks[bb->index] = NULL; in tail_duplicate() 269 if (blocks[bb2->index]) in tail_duplicate() 271 fibheap_delete_node (heap, blocks[bb2->index]); in tail_duplicate() 272 blocks[bb2->index] = NULL; in tail_duplicate() 289 blocks[old->index] = in tail_duplicate() [all …]
|
| H A D | tree-ssa-sink.c | 218 bitmap blocks = BITMAP_ALLOC (NULL); in nearest_common_dominator_of_uses() local 227 bitmap_clear (blocks); in nearest_common_dominator_of_uses() 249 BITMAP_FREE (blocks); in nearest_common_dominator_of_uses() 252 bitmap_set_bit (blocks, useblock->index); in nearest_common_dominator_of_uses() 255 commondom = BASIC_BLOCK (bitmap_first_set_bit (blocks)); in nearest_common_dominator_of_uses() 256 EXECUTE_IF_SET_IN_BITMAP (blocks, 0, j, bi) in nearest_common_dominator_of_uses() 259 BITMAP_FREE (blocks); in nearest_common_dominator_of_uses()
|
| /freebsd-12.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-12.1/sys/dev/drm2/radeon/ |
| H A D | radeon_mem.c | 139 struct mem_block *blocks = malloc(sizeof(*blocks), in init_heap() local 142 if (!blocks) in init_heap() 147 free(blocks, DRM_MEM_DRIVER); in init_heap() 151 blocks->start = start; in init_heap() 152 blocks->size = size; in init_heap() 153 blocks->file_priv = NULL; in init_heap() 154 blocks->next = blocks->prev = *heap; in init_heap() 157 (*heap)->next = (*heap)->prev = blocks; in init_heap()
|
| /freebsd-12.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-12.1/sbin/newfs_nandfs/ |
| H A D | newfs_nandfs.c | 81 uint32_t *blocks; member 377 user_files[i].blocks[j] = start_block++; in assign_file_blocks() 382 ifile.blocks[j] = start_block++; in assign_file_blocks() 387 cpfile.blocks[j] = start_block++; in assign_file_blocks() 392 sufile.blocks[j] = start_block++; in assign_file_blocks() 397 datfile.blocks[j] = start_block++; in assign_file_blocks() 448 vblock = update_datfile(file->blocks[i]); in update_block_info() 456 file->inode->i_db[i] = datfile.blocks[i]; in update_block_info() 662 block = get_block(root->blocks[0], 0); in save_root_dir() 686 get_block(sufile.blocks[i], 0); in save_sufile() [all …]
|
| /freebsd-12.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() 237 const uint64_t *blocks = (const uint64_t *) (data); in hash_x64_128() local 241 uint64_t k1 = hash_get_block_64(blocks, i*2 + 0); in hash_x64_128() 242 uint64_t k2 = hash_get_block_64(blocks, i*2 + 1); in hash_x64_128()
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | sis_ds.c | 166 PMemBlock blocks; in mmInit() local 171 blocks = (TMemBlock *) drm_calloc(1, sizeof(TMemBlock), DRM_MEM_DRIVER); in mmInit() 172 if (blocks != NULL) { in mmInit() 173 blocks->ofs = ofs; in mmInit() 174 blocks->size = size; in mmInit() 175 blocks->free = 1; in mmInit() 176 return (memHeap_t *) blocks; in mmInit()
|
| /freebsd-12.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-12.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-12.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-12.1/contrib/jemalloc/src/ |
| H A D | tsd.c | 35 ql_head(tsd_init_block_t) blocks; 41 ql_head_initializer(blocks), 331 ql_foreach(iter, &head->blocks, link) { in tsd_init_check_recursion() 340 ql_tail_insert(&head->blocks, block, link); in tsd_init_check_recursion() 348 ql_remove(&head->blocks, block, link); in tsd_init_finish()
|
| /freebsd-12.1/sys/dev/liquidio/ |
| H A D | lio_main.h | 52 lio_swap_8B_data(uint64_t *data, uint32_t blocks) in lio_swap_8B_data() argument 55 while (blocks) { in lio_swap_8B_data() 57 blocks--; in lio_swap_8B_data()
|