/external/ceres-solver/internal/ceres/ |
schur_eliminator_test.cc | 111 const int block_size = bs->cols[i].size; local 112 P.block(row, row, block_size, block_size) = 114 .block(row, row, block_size, block_size) 116 .solve(Matrix::Identity(block_size, block_size)); 117 row += block_size;
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
OpenSSL_AES.py | 34 self.IV = ciphertext[-self.block_size:] 48 self.IV = ciphertext[-self.block_size:]
|
OpenSSL_TripleDES.py | 29 self.IV = ciphertext[-self.block_size:] 43 self.IV = ciphertext[-self.block_size:]
|
AES.py | 12 self.block_size = 16
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_fast_common.c | 101 int block_size; local 103 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 104 if (block_size < 0) 107 out = os_malloc(block_size + len); 111 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 113 os_memmove(out, out + block_size, len); 132 keys.server_random_len, out, block_size + len)) 135 os_memmove(out, out + block_size, len);
|
eap_eke_common.c | 617 size_t block_size, icv_len, pad; local 621 block_size = AES_BLOCK_SIZE; 632 pad = data_len % block_size; 634 pad = block_size - pad; 636 if (*prot_len < block_size + data_len + pad + icv_len) { 641 if (random_get_bytes(pos, block_size)) 644 wpa_hexdump(MSG_DEBUG, "EAP-EKE: IV for Prot()", iv, block_size); 645 pos += block_size; 672 size_t block_size, icv_len; local 676 block_size = AES_BLOCK_SIZE [all...] |
/system/extras/ext4_utils/ |
extent.c | 44 len = min(region_len * info.block_size, backing_len); 66 len = min(region_len * info.block_size, backing_len); 78 u32 block_len = DIV_ROUND_UP(len, info.block_size); 124 u8 *data = calloc(info.block_size, 1); 128 sparse_file_add_data(info.sparse_file, data, info.block_size, 131 if (((int)(info.block_size - sizeof(struct ext4_extent_header) / 141 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) / 165 blocks = (u64)block_len * info.block_size / 512;
|
contents.c | 51 if (len % info.block_size + dentry_len > info.block_size) 52 len += info.block_size - (len % info.block_size); 67 u32 start_block = *offset / info.block_size; 68 u32 end_block = (*offset + rec_len - 1) / info.block_size; 74 prev->rec_len += end_block * info.block_size - *offset; 75 *offset = end_block * info.block_size; 107 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); 108 len = blocks * info.block_size; [all...] |
make_ext4fs.c | 209 dentries[i].link = calloc(info.block_size, 1); 210 readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1); 309 u32 journal_blocks = DIV_ROUND_UP(info.len, info.block_size) / 64; 319 return info.block_size * 8; 324 return DIV_ROUND_UP(info.len, info.block_size) / 4; 329 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); 332 inodes = ALIGN(inodes, (info.block_size / info.inode_size)); 344 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); 347 info.block_size); 351 info.block_size) - bg_desc_blocks [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_slab.c | 51 (pool->block_size * index)); 146 pool->block_size = sizeof(struct util_slab_block) + item_size; 147 pool->block_size = align(pool->block_size, sizeof(intptr_t)); 149 num_blocks * pool->block_size;
|
u_slab.h | 65 unsigned block_size; member in struct:util_slab_mempool
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_slab.c | 51 (pool->block_size * index)); 146 pool->block_size = sizeof(struct util_slab_block) + item_size; 147 pool->block_size = align(pool->block_size, sizeof(intptr_t)); 149 num_blocks * pool->block_size;
|
u_slab.h | 65 unsigned block_size; member in struct:util_slab_mempool
|
/external/qemu/block/ |
vpc.c | 93 uint32_t block_size; member in struct:vhd_dyndisk_header 122 uint32_t block_size; member in struct:BDRVVPCState 191 s->block_size = be32_to_cpu(dyndisk_header->block_size); 192 s->bitmap_size = ((s->block_size / (8 * 512)) + 511) & ~511; 209 s->bitmap_size + s->block_size; 245 pagetable_index = offset / s->block_size; 246 pageentry_index = (offset % s->block_size) / 512; 341 index = (sector_num * 512) / s->block_size; 353 s->free_data_block_offset += s->block_size + s->bitmap_size 501 size_t block_size, num_bat_entries; local [all...] |
/external/opencv/cxcore/src/ |
cxnorm.cpp | 130 below accumulates the norm by blocks of size "block_size". 139 post_func, arrtype, normtype, worktype, block_size ) \ 143 int remaining = block_size; \ 159 remaining = block_size; \ 173 post_func, arrtype, normtype, worktype, block_size ) \ 197 post_func, arrtype, normtype, worktype, block_size ) \ 218 normtype, worktype, block_size ) \ 222 int remaining = block_size; \ 240 remaining = block_size; \ 255 arrtype, normtype, worktype, block_size ) \ [all...] |
cxsumpixels.cpp | 141 #define ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) \ 142 int remaining = block_size; \ 145 #define ICV_SUM_ENTRY_BLOCK_C1( sumtype, worktype, block_size ) \ 148 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 150 #define ICV_SUM_ENTRY_BLOCK_C2( sumtype, worktype, block_size ) \ 153 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 155 #define ICV_SUM_ENTRY_BLOCK_C3( sumtype, worktype, block_size ) \ 158 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 160 #define ICV_SUM_ENTRY_BLOCK_C4( sumtype, worktype, block_size ) \ 163 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 166 size = (count < 0) ? -count : count * channel->block_size; 168 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 196 actual = read(data->dev, data->bounce, channel->block_size); 197 if (actual != channel->block_size) 200 if (size > channel->block_size) 201 actual = channel->block_size; 227 size = channel->block_size; 232 size = count * channel->block_size; 236 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 262 if (size < channel->block_size) { [all...] |
/external/chromium_org/net/disk_cache/ |
addr.h | 152 int block_size = BlockSizeForFileType(file_type); local 153 return (size + block_size - 1) / block_size;
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
evp_locl.h | 65 bl = ctx->cipher->block_size;\ 133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 137 nid##_##nmode, block_size, key_len, iv_len, \ 149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ 176 nid, block_size, key_len, iv_len, cbits, flags, \ 178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ 184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, flags, [all...] |
/external/e2fsprogs/ext2ed/ |
inode_com.c | 39 block_num=device_offset/file_system_info.block_size; 46 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 87 block_num=device_offset/file_system_info.block_size; 94 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 129 block_num=device_offset/file_system_info.block_size; 136 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 295 block_num=device_offset/file_system_info.block_size; 302 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 377 block_num=inode_offset/file_system_info.block_size; 405 block_num=inode_offset/file_system_info.block_size; [all...] |
dir_com.c | 61 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; 66 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; 105 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); 122 next = file_system_info.block_size - info.dir_entry_offset; 128 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */ 132 info.global_block_offset=info.global_block_num*file_system_info.block_size; 133 info.file_offset=info.block_num*file_system_info.block_size; 137 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); 402 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset) [all...] |
/external/openssl/crypto/evp/ |
evp_locl.h | 65 bl = ctx->cipher->block_size;\ 133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 137 nid##_##nmode, block_size, key_len, iv_len, \ 149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ 176 nid, block_size, key_len, iv_len, cbits, flags, \ 178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ 184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, flags, [all...] |
/bootable/recovery/mtdutils/ |
flash_image.c | 121 size_t block_size; local 122 if (mtd_partition_info(partition, NULL, &block_size, NULL)) 128 int left = block_size - headerlen; 129 while (left < 0) left += block_size;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.h | 66 // If a block_size is given, it specifies the number of bytes that 69 explicit FileInputStream(int file_descriptor, int block_size = -1); 144 // If a block_size is given, it specifies the size of the buffers 147 explicit FileOutputStream(int file_descriptor, int block_size = -1); 218 // If a block_size is given, it specifies the number of bytes that 221 explicit IstreamInputStream(istream* stream, int block_size = -1); 262 // If a block_size is given, it specifies the size of the buffers 265 explicit OstreamOutputStream(ostream* stream, int block_size = -1);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.h | 66 // If a block_size is given, it specifies the number of bytes that 69 explicit FileInputStream(int file_descriptor, int block_size = -1); 144 // If a block_size is given, it specifies the size of the buffers 147 explicit FileOutputStream(int file_descriptor, int block_size = -1); 218 // If a block_size is given, it specifies the number of bytes that 221 explicit IstreamInputStream(istream* stream, int block_size = -1); 262 // If a block_size is given, it specifies the size of the buffers 265 explicit OstreamOutputStream(ostream* stream, int block_size = -1);
|