/external/opencv/cxcore/src/ |
cxmeansdv.cpp | 270 #define ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) \ 271 int remaining = block_size; \ 275 worktype, sqworktype, block_size ) \ 280 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) 283 worktype, sqworktype, block_size ) \ 288 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) 291 worktype, sqworktype, block_size ) \ 296 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) 299 worktype, sqworktype, block_size ) \ 304 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) [all...] |
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...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
find.h | 232 difference_type block_size = __s.find_initial_block_size; local 234 fetch_and_add<difference_type>(&next_block_start, block_size); 238 std::min<difference_type>(length, start + block_size); 267 block_size = 268 std::min<difference_type>(block_size * __s.find_increasing_factor, 273 fetch_and_add<difference_type>(&next_block_start, block_size); 274 stop = ((length < (start + block_size)) 275 ? length : (start + block_size)); 351 difference_type block_size = __s.find_initial_block_size; local 357 difference_type start = iteration_start + iam * block_size; [all...] |
/system/extras/ext4_utils/ |
output_file.c | 157 if (skip_len % info.block_size) { 159 skip_len, info.block_size); 166 chunk_header.chunk_sz = skip_len / info.block_size; 205 if (off % info.block_size) { 207 off, info.block_size); 217 rnd_up_len = (len + (info.block_size - 1)) & (~(info.block_size -1)); 222 chunk_header.chunk_sz = rnd_up_len / info.block_size; 234 for (i = 0; i < (info.block_size / sizeof(u32)); i++) { 240 out->crc32 = sparse_crc32(out->crc32, fill_buf, info.block_size); [all...] |
ext4_utils.c | 88 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 97 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 107 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 160 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1; 161 aux_info.len_blocks = info.len / info.block_size; 163 info.block_size); 166 aux_info.blocks_per_ind = info.block_size / sizeof(u32); 172 info.block_size); 186 aux_info.sb = calloc(info.block_size, 1); 193 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks) [all...] |
extent.c | 43 len = min(region_len * info.block_size, backing_len); 65 len = min(region_len * info.block_size, backing_len); 76 u32 block_len = DIV_ROUND_UP(len, info.block_size); 122 u8 *data = calloc(info.block_size, 1); 126 queue_data_block(data, info.block_size, extent_block); 128 if (((int)(info.block_size - sizeof(struct ext4_extent_header) / 138 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) / 162 blocks = (u64)block_len * info.block_size / 512;
|
backed_block.c | 139 last_block = db->block + DIV_ROUND_UP(db->len, info.block_size) - 1; 142 file_func(priv, (u64)db->block * info.block_size, db->filename, db->offset, db->len); 144 fill_func(priv, (u64)db->block * info.block_size, db->fill_val, db->len); 146 data_func(priv, (u64)db->block * info.block_size, db->data, db->len);
|
/external/bluetooth/glib/tests/ |
base64-test.c | 11 #define BLOCK_SIZE 32 20 gsize len, decoded_len, max, input_len, block_size; local 35 block_size = MIN (BLOCK_SIZE, length - input_len); 36 len += g_base64_encode_step (data + input_len, block_size, 38 input_len += block_size; 59 int chunk_len = MIN (BLOCK_SIZE, len);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.h | 64 // the stream is destroyed. If a block_size is given, calls to Next() 66 // first call to Next() returns the entire array. block_size is mainly 69 ArrayInputStream(const void* data, int size, int block_size = -1); 98 // the stream is destroyed. If a block_size is given, calls to Next() 100 // first call to Next() returns the entire array. block_size is mainly 103 ArrayOutputStream(void* data, int size, int block_size = -1); 197 // If a block_size is given, it specifies the number of bytes that 202 int block_size = -1); 281 // If a block_size is given, it specifies the size of the buffers 285 int block_size = -1) [all...] |
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/qemu/memcheck/ |
memcheck_malloc_map.h | 81 * block_size - Size of the block, beginning with 'address'. 88 uint32_t block_size);
|
/external/dbus/dbus/ |
dbus-mempool.c | 100 int block_size; /**< size of most recently allocated block */ member in struct:DBusMemPool 170 pool->block_size = pool->element_size * 8; 172 _dbus_assert ((pool->block_size % 269 pool->blocks->used_so_far == pool->block_size) 278 if (pool->block_size <= _DBUS_INT_MAX / 4) /* avoid overflow */ 281 pool->block_size *= 2; 282 _dbus_assert ((pool->block_size % 286 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + pool->block_size;
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_fast_common.c | 107 int block_size; local 109 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 110 if (block_size < 0) 113 out = os_malloc(block_size + len); 117 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 119 os_memmove(out, out + block_size, len); 138 keys.server_random_len, out, block_size + len)) 141 os_memmove(out, out + block_size, len);
|
/external/wpa_supplicant_8/src/crypto/ |
sha256-internal.c | 165 #define block_size 64 macro 171 if (md->curlen == 0 && inlen >= block_size) { 174 md->length += block_size * 8; 175 in += block_size; 176 inlen -= block_size; 178 n = MIN(inlen, (block_size - md->curlen)); 183 if (md->curlen == block_size) { 186 md->length += 8 * block_size;
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_fast_common.c | 107 int block_size; local 109 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 110 if (block_size < 0) 113 out = os_malloc(block_size + len); 117 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 119 os_memmove(out, out + block_size, len); 138 keys.server_random_len, out, block_size + len)) 141 os_memmove(out, out + block_size, len);
|
/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/e2fsprogs/lib/ext2fs/ |
unix_io.c | 167 size = (count < 0) ? -count : count * channel->block_size; 169 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 206 size = (count < 0) ? -count : count * channel->block_size; 208 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 211 count, size, block, channel->block_size, (long long)location); 257 size = channel->block_size; 262 size = count * channel->block_size; 266 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 305 if ((retval = ext2fs_get_mem(channel->block_size, 441 io->block_size = 1024 [all...] |
openfs.c | 62 unsigned int block_size, io_manager manager, 65 return ext2fs_open2(name, 0, flags, superblock, block_size, 71 * Superblock and block_size can be zero to use the default size. 82 unsigned int block_size, io_manager manager, 148 block_size = fs->image_header->fs_blocksize; 161 if (!block_size) { 165 io_channel_set_blksize(fs->io, block_size); 250 if (block_size) { 251 if (block_size != fs->blocksize) {
|
/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/wpa_supplicant/ |
crypto_internal.c | 240 size_t block_size; member in struct:crypto_cipher::__anon13652::__anon13654 289 ctx->u.aes.block_size = key_len; 290 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size); 323 if (len % ctx->u.aes.block_size) 325 blocks = len / ctx->u.aes.block_size; 327 for (j = 0; j < ctx->u.aes.block_size; j++) 332 ctx->u.aes.block_size); 333 plain += ctx->u.aes.block_size; 334 crypt += ctx->u.aes.block_size; 374 if (len % ctx->u.aes.block_size) [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 341 #define HASH_PROCESS(func_name, compress_name, state_var, block_size) \ 352 if (md-> state_var .curlen == 0 && inlen >= block_size) { \ 356 md-> state_var .length += block_size * 8; \ 357 in += block_size; \ 358 inlen -= block_size; \ 360 n = MIN(inlen, (block_size - md-> state_var .curlen)); \ 365 if (md-> state_var .curlen == block_size) { \ 369 md-> state_var .length += 8*block_size; \
|