HomeSort by relevance Sort by last modified time
    Searched refs:block_size (Results 26 - 50 of 203) sorted by null

12 3 4 5 6 7 8 9

  /external/libvpx/libvpx/vpx_mem/memory_manager/include/
hmm_intrnl.h 50 HMM_UNIQUE(size_bau) previous_block_size, block_size; member in struct:head_struct
79 (((head_record *) (HEAD_PTR))->block_size & ~HIGH_BIT_BAU_SIZE)
104 (((((head_record *) (HEAD_PTR))->block_size | \
110 h_ptr->block_size &= ~HIGH_BIT_BAU_SIZE; \
117 h_ptr->block_size |= HIGH_BIT_BAU_SIZE; }
  /system/extras/ext4_utils/
ext4fixup.c 226 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET);
230 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks);
233 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks)
239 printf(" Block size: %d\n", info.block_size);
266 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) +
286 off = block_num * info.block_size;
292 len=read(fd, block, info.block_size);
293 if (len != info.block_size) {
309 off = block_num * info.block_size;
315 len=write(fd, block, info.block_size);
    [all...]
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/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...]
  /prebuilts/gcc/linux-x86/host/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/tests/ext4/
corrupt_gdt_free_blocks.c 16 int block_size; local
55 block_size = 1 << (10 + sb.s_log_block_size);
67 if (lseek(fd, block_size, SEEK_SET) == -1) {
  /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);
zero_copy_stream_impl.cc 77 FileInputStream::FileInputStream(int file_descriptor, int block_size)
79 impl_(&copying_input_, block_size) {
173 FileOutputStream::FileOutputStream(int file_descriptor, int block_size)
175 impl_(&copying_output_, block_size) {
271 IstreamInputStream::IstreamInputStream(istream* input, int block_size)
273 impl_(&copying_input_, block_size) {
313 OstreamOutputStream::OstreamOutputStream(ostream* output, int block_size)
315 impl_(&copying_output_, block_size) {
  /external/qemu/memcheck/
memcheck_malloc_map.h 81 * block_size - Size of the block, beginning with 'address'.
88 uint32_t block_size);
  /system/core/libsparse/
output_file.c 93 unsigned int block_size; member in struct:output_file
353 if (skip_len % out->block_size) {
355 skip_len, out->block_size);
362 chunk_header.chunk_sz = skip_len / out->block_size;
383 rnd_up_len = ALIGN(len, out->block_size);
388 chunk_header.chunk_sz = rnd_up_len / out->block_size;
399 count = out->block_size / sizeof(uint32_t);
418 rnd_up_len = ALIGN(len, out->block_size);
424 chunk_header.chunk_sz = rnd_up_len / out->block_size;
488 unsigned int rnd_up_len = ALIGN(len, out->block_size);
    [all...]
  /external/ceres-solver/internal/ceres/
schur_eliminator_test.cc 118 const int block_size = bs->cols[i].size; local
119 P.block(row, row, block_size, block_size) =
121 .block(row, row, block_size, block_size)
123 .solve(Matrix::Identity(block_size, block_size));
124 row += block_size;
  /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);
  /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 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...]
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,
150 block_size = fs->image_header->fs_blocksize;
163 if (!block_size) {
167 io_channel_set_blksize(fs->io, block_size);
252 if (block_size) {
253 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/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; \

Completed in 809 milliseconds

12 3 4 5 6 7 8 9