/freebsd-11-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | xdelta.c | 42 /* Size of the blocks we compute checksums for. This was chosen out of 121 /* A hash table, using open addressing, of the blocks of the source. */ struct 122 struct blocks 144 /* The vector of blocks. A pos value of NO_POSITION represents an unused 170 data into the table BLOCKS. Ignore true duplicates, i.e. blocks with 173 add_block(struct blocks *blocks, apr_uint32_t adlersum, apr_uint32_t pos) 175 apr_uint32_t h = hash_func(adlersum) & blocks->max; 178 for (; blocks->slots[h].pos != NO_POSITION; h = (h + 1) & blocks 172 add_block(struct blocks *blocks, apr_uint32_t adlersum, apr_uint32_t pos) argument 192 find_block(const struct blocks *blocks, apr_uint32_t adlersum, const char* data) argument 211 init_blocks_table(const char *data, apr_size_t datalen, struct blocks *blocks, apr_pool_t *pool) argument 270 find_match(const struct blocks *blocks, const apr_uint32_t rolling, const char *a, apr_size_t asize, const char *b, apr_size_t bsize, apr_size_t *bposp, apr_size_t *aposp, apr_size_t pending_insert_start) argument 378 struct blocks blocks; local [all...] |
/freebsd-11-stable/contrib/xz/src/liblzma/common/ |
H A D | index_hash.c | 49 lzma_index_hash_info blocks; member in struct:lzma_index_hash_s 83 index_hash->blocks.blocks_size = 0; 84 index_hash->blocks.uncompressed_size = 0; 85 index_hash->blocks.count = 0; 86 index_hash->blocks.index_list_size = 0; 97 (void)lzma_check_init(&index_hash->blocks.check, LZMA_CHECK_BEST); 116 // Get the size of the Index from ->blocks instead of ->records for 119 return index_size(index_hash->blocks.count, 120 index_hash->blocks.index_list_size); 155 return_if_error(hash_append(&index_hash->blocks, [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | bit_array.c | 28 /* We allocate our data buffer in blocks of this size (in bytes). 48 * blocks are implicitly empty. Only if a bit will be set to 1, will the 56 /* Data buffer of BLOCK_COUNT blocks, BLOCK_SIZE_BITS each. Never NULL. 58 unsigned char **blocks; member in struct:svn_bit_array__t 68 * return the number of blocks entries to allocate for the data buffer. */ 72 /* We allocate a power of two of bytes but at least 16 blocks. */ 93 array->blocks = apr_pcalloc(pool, 94 array->block_count * sizeof(*array->blocks)); 136 memcpy(new_blocks, array->blocks, 138 array->blocks [all...] |
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | aes-cbc.c | 29 int i, j, blocks; local 39 blocks = data_len / AES_BLOCK_SIZE; 40 for (i = 0; i < blocks; i++) { 65 int i, j, blocks; local 75 blocks = data_len / AES_BLOCK_SIZE; 76 for (i = 0; i < blocks; i++) {
|
H A D | crypto_internal-cipher.c | 106 size_t i, j, blocks; local 119 blocks = len / AES_BLOCK_SIZE; 120 for (i = 0; i < blocks; i++) { 133 blocks = len / 8; 134 for (i = 0; i < blocks; i++) { 147 blocks = len / 8; 148 for (i = 0; i < blocks; i++) { 169 size_t i, j, blocks; local 183 blocks = len / AES_BLOCK_SIZE; 184 for (i = 0; i < blocks; [all...] |
/freebsd-11-stable/crypto/openssl/crypto/modes/ |
H A D | ctr128.c | 219 size_t blocks = len / 16; local 225 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) 226 blocks = (1U << 28); 231 * amount of blocks to the exact overflow point... 233 ctr32 += (u32)blocks; 234 if (ctr32 < blocks) { 235 blocks -= ctr32; 238 (*func) (in, out, blocks, key, ivec); 244 blocks *= 16; 245 len -= blocks; [all...] |
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | e_rc4_hmac_md5.c | 81 MD5_CTX *ctx, const void *inp, size_t blocks); 122 md5_off = MD5_CBLOCK - key->md.num, blocks; local 139 if (plen > md5_off && (blocks = (plen - md5_off) / MD5_CBLOCK) && 145 &key->md, in + md5_off, blocks); 146 blocks *= MD5_CBLOCK; 147 rc4_off += blocks; 148 md5_off += blocks; 149 key->md.Nh += blocks >> 29; 150 key->md.Nl += blocks <<= 3; 151 if (key->md.Nl < (unsigned int)blocks) [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 111 void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks, 115 void aesni256_cbc_sha1_dec(const void *inp, void *out, size_t blocks, 194 int blocks; member in struct:__anon4584 202 int blocks; member in struct:__anon4585 220 } blocks[8]; local 231 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) 263 memcpy(blocks[0].c, key->md.data, 8); 264 seqnum = BSWAP8(blocks[0].q[0]); 280 blocks[i].q[0] = BSWAP8(seqnum + i); 283 blocks[ 465 size_t aes_off = 0, blocks; local [all...] |
H A D | e_aes_cbc_hmac_sha256.c | 111 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks, 190 int blocks; member in struct:__anon4592 198 int blocks; member in struct:__anon4593 216 } blocks[8]; local 227 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) 260 memcpy(blocks[0].c, key->md.data, 8); 261 seqnum = BSWAP8(blocks[0].q[0]); 280 blocks[i].q[0] = BSWAP8(seqnum + i); 283 blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry; 284 carry = (blocks[ 481 size_t aes_off = 0, blocks; local [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt_api.h | 47 u8 *blocks[MAX_TID_BLOCKS]; /* 4K */ member in struct:ecore_tid_mem
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_msctest.h | 47 uint8_t iface_index, uint32_t lba, uint32_t blocks, 50 uint8_t iface_index, uint32_t lba, uint32_t blocks,
|
/freebsd-11-stable/crypto/openssh/ |
H A D | hash.c | 15 #define blocks crypto_hashblocks_sha512 macro 39 blocks(h,in,inlen); 58 blocks(h,padded,128); 70 blocks(h,padded,256);
|
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost89.h | 22 /* Internal representation of GOST substitution blocks */ 41 * Note: encrypt and decrypt expect full blocks--padding blocks is caller's 45 /* Encrypt several full blocks in ECB mode */ 46 void gost_enc(gost_ctx * ctx, const byte * clear, byte * cipher, int blocks); 47 /* Decrypt several full blocks in ECB mode */ 48 void gost_dec(gost_ctx * ctx, const byte * cipher, byte * clear, int blocks); 49 /* Encrypts several full blocks in CFB mode using 8byte IV */ 51 byte * cipher, int blocks); 52 /* Decrypts several full blocks i [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | radeon_mem.c | 140 struct mem_block *blocks = drm_alloc(sizeof(*blocks), DRM_MEM_BUFS); local 142 if (!blocks) 147 drm_free(blocks, sizeof(*blocks), DRM_MEM_BUFS); 151 blocks->start = start; 152 blocks->size = size; 153 blocks->file_priv = NULL; 154 blocks->next = blocks [all...] |
H A D | i915_mem.c | 190 struct mem_block *blocks = drm_alloc(sizeof(*blocks), DRM_MEM_BUFLISTS); local 192 if (!blocks) 197 drm_free(blocks, sizeof(*blocks), DRM_MEM_BUFLISTS); 201 blocks->start = start; 202 blocks->size = size; 203 blocks->file_priv = NULL; 204 blocks->next = blocks [all...] |
H A D | sis_ds.c | 166 PMemBlock blocks; local 171 blocks = (TMemBlock *) drm_calloc(1, sizeof(TMemBlock), DRM_MEM_DRIVER); 172 if (blocks != NULL) { 173 blocks->ofs = ofs; 174 blocks->size = size; 175 blocks->free = 1; 176 return (memHeap_t *) blocks;
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_mem.c | 139 struct mem_block *blocks = malloc(sizeof(*blocks), local 142 if (!blocks) 147 free(blocks, DRM_MEM_DRIVER); 151 blocks->start = start; 152 blocks->size = size; 153 blocks->file_priv = NULL; 154 blocks->next = blocks->prev = *heap; 157 (*heap)->next = (*heap)->prev = blocks; [all...] |
/freebsd-11-stable/contrib/apr-util/buckets/ |
H A D | apr_buckets_alloc.c | 42 apr_memnode_t *blocks; member in struct:apr_bucket_alloc_t 49 apr_allocator_free(list->allocator, list->blocks); 104 list->blocks = block; 116 apr_allocator_free(list->allocator, list->blocks); 160 apr_memnode_t *active = list->blocks; 172 list->blocks = apr_allocator_alloc(list->allocator, ALLOC_AMT); 173 if (!list->blocks) { 174 list->blocks = active; 177 list->blocks->next = active; 178 active = list->blocks; [all...] |
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_main.h | 50 /** Swap 8B blocks */ 52 lio_swap_8B_data(uint64_t *data, uint32_t blocks) argument 55 while (blocks) { 57 blocks--;
|
/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmc_ioctl.h | 40 u_int blocks; member in struct:mmc_ioc_cmd
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyUtilities.h | 41 for (MachineBasicBlock *MBB : Unit->blocks())
|
/freebsd-11-stable/contrib/gcc/ |
H A D | gcov.c | 24 /* ??? Print a list of the ten blocks with the highest execution counts, 25 and list the line numbers corresponding to those blocks. Also, perhaps 29 /* ??? Should have an option to print the number of basic blocks, and the 74 /* Describes an arc between two basic blocks. */ 78 /* source and destination blocks. */ 113 predecessor blocks. */ 149 } line; /* Valid until blocks are linked onto lines */ 152 /* Single line graph cycle workspace. Used for all-blocks 156 } cycle; /* Used in all-blocks mode, after blocks ar 176 block_t *blocks; member in struct:function_info 223 block_t *blocks; /* blocks which start on this line. Used member in union:line_info::__anon1321 [all...] |
H A D | tracer.c | 155 Return number of basic blocks recorded. */ 196 /* Look for basic blocks in frequency order, construct traces and tail duplicate 202 fibnode_t *blocks = XCNEWVEC (fibnode_t, last_basic_block); local 225 blocks[bb->index] = fibheap_insert (heap, -bb->frequency, 249 blocks[bb->index] = NULL; 259 if (blocks[bb->index]) 261 fibheap_delete_node (heap, blocks[bb->index]); 262 blocks[bb->index] = NULL; 269 if (blocks[bb2->index]) 271 fibheap_delete_node (heap, blocks[bb [all...] |
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | tsd.c | 175 ql_foreach(iter, &head->blocks, link) { 184 ql_tail_insert(&head->blocks, block, link); 194 ql_remove(&head->blocks, block, link);
|
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_pkey.h | 86 cl_ptr_vector_t blocks; member in struct:osm_pkeybl 102 * blocks 103 * The IBA defined blocks of pkey values, updated from the subnet 106 * The blocks of pkey values, will be used for updates by SM 116 * Tracks the number of blocks having non-zero pkeys 119 * The maximal number of blocks this partition table might hold 134 * 'blocks' vector should be used to store pkey values obtained from 138 * The only pkey values stored in 'blocks' vector will be mapped with 237 * Obtain the number of blocks in IB PKey table 244 return ((uint16_t) (cl_ptr_vector_get_size(&p_pkey_tbl->blocks))); [all...] |