/external/opencv/cv/src/ |
cvtemplmatch.cpp | 61 CvSize dftsize, blocksize; local 112 blocksize.width = cvRound(templ->cols*block_scale); 113 blocksize.width = MAX( blocksize.width, min_block_size - templ->cols + 1 ); 114 blocksize.width = MIN( blocksize.width, corr->cols ); 115 blocksize.height = cvRound(templ->rows*block_scale); 116 blocksize.height = MAX( blocksize.height, min_block_size - templ->rows + 1 ); 117 blocksize.height = MIN( blocksize.height, corr->rows ) [all...] |
/external/liblzf/ |
lzf.c | 53 #define BLOCKSIZE (1024 * 64 - 1) 54 #define MAX_BLOCKSIZE BLOCKSIZE 64 static long blocksize = BLOCKSIZE; variable 75 {"blocksize", 1, 0, 'b'}, 83 "-h --help give this help\n" "-v --verbose verbose mode\n" "-b # --blocksize # set blocksize\n" "\n"; 93 "-b # set blocksize\n" 185 while ((us = rread (from, &buf1[MAX_HDR_SIZE], blocksize)) > 0) 459 blocksize = strtoul (p, 0, 0) [all...] |
/external/e2fsprogs/e2fsck/ |
util.c | 454 int blocksize; local 462 ctx->blocksize = fs->blocksize; 468 if (ctx->blocksize) { 469 ret_sb = ctx->blocksize * 8; 470 if (ctx->blocksize == 1024) 476 ctx->blocksize = 1024; 489 for (blocksize = EXT2_MIN_BLOCK_SIZE; 490 blocksize <= EXT2_MAX_BLOCK_SIZE ; blocksize *= 2) [all...] |
jfs_user.h | 126 struct buffer_head *getblk(kdev_t ctx, blk_t blocknr, int blocksize); 138 #define __getblk(dev, blocknr, blocksize) getblk(dev, blocknr, blocksize)
|
rehash.c | 14 * directory supported using a 4k blocksize is roughly a gigabyte, and 97 offset = blockcnt * fs->blocksize; 98 if (offset + fs->blocksize > fd->inode->i_size) { 104 memset(dir, 0, fs->blocksize); 106 (void) ext2fs_set_rec_len(fs, fs->blocksize, dirent); 118 while (dir_offset < fs->blocksize) { 121 if (((dir_offset + rec_len) > fs->blocksize) || 229 new_mem = realloc(outdir->buf, blocks * fs->blocksize); 239 outdir->buf = malloc(blocks * fs->blocksize); 265 *ret = outdir->buf + (outdir->num++ * fs->blocksize); [all...] |
/system/core/toolbox/ |
du.c | 67 long blocksize; variable 115 blocksize = 1024 * 1024 * 1024; 119 blocksize = 1024; 123 blocksize = 1024 * 1024; 178 blocksize = 512; 179 blocksize /= 512; 236 (long long)howmany(blocks, (int64_t)blocksize),
|
/external/e2fsprogs/lib/ext2fs/ |
fileio.c | 33 #define BMAP_BUFFER (file->buf + fs->blocksize) 68 retval = ext2fs_get_array(3, fs->blocksize, &file->buf); 145 b = file->pos / file->fs->blocksize; 184 memset(file->buf, 0, fs->blocksize); 228 start = file->pos % fs->blocksize; 229 c = fs->blocksize - start; 269 start = file->pos % fs->blocksize; 270 c = fs->blocksize - start; 278 retval = load_buffer(file, (c == fs->blocksize));
|
expanddir.c | 58 retval = ext2fs_get_mem(fs->blocksize, &block); 63 memset(block, 0, fs->blocksize); 118 inode.i_size += fs->blocksize;
|
ext2fsP.h | 55 int blocksize,
|
dupfs.c | 62 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, 67 (size_t) fs->desc_blocks * fs->blocksize);
|
initialize.c | 151 set_field(s_log_block_size, 0); /* default blocksize: 1024 bytes */ 193 fs->blocksize = EXT2_BLOCK_SIZE(super); 195 frags_per_block = fs->blocksize / fs->fragsize; 197 /* default: (fs->blocksize*8) blocks/group, up to 2^16 (GDT limit) */ 198 set_field(s_blocks_per_group, fs->blocksize * 8); 232 i = fs->blocksize >= 4096 ? 1 : 4096 / fs->blocksize; 249 if (ipg > fs->blocksize * 8) { 376 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, 381 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); [all...] |
res_gdt.c | 75 retval = ext2fs_get_array(2, fs->blocksize, &dindir_buf); 78 gdt_buf = (__u32 *)((char *)dindir_buf + fs->blocksize); 105 memset(dindir_buf, 0, fs->blocksize); 111 inode_size *= fs->blocksize; 143 memset(gdt_buf, 0, fs->blocksize);
|
openfs.c | 242 fs->blocksize = EXT2_BLOCK_SIZE(fs->super); 253 if (block_size != fs->blocksize) { 259 * Set the blocksize to the filesystem's blocksize. 261 io_channel_set_blksize(fs->io, fs->blocksize); 301 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, 323 dest += fs->blocksize*first_meta_bg; 335 dest += fs->blocksize;
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
BlockCipherFactory.java | 22 int blocksize; field in class:BlockCipherFactory.CipherEntry 26 public CipherEntry(String type, int blockSize, int keySize, String cipherClass) 29 this.blocksize = blockSize; 122 return ce.blocksize;
|
/external/flac/libFLAC/ |
stream_encoder.c | 178 unsigned blocksize, 187 unsigned blocksize, 198 unsigned blocksize, 219 unsigned blocksize, 237 unsigned blocksize, 382 FLAC__bool use_wide_by_partition; /* use slow 64-bit versions of some functions because of the min partition order and blocksize */ 506 * always try to read blocksize+1 samples before encoding a block, so that 508 * of the blocksize, we will still notice when we are encoding the last 679 if(encoder->protected_->blocksize == 0) { 681 encoder->protected_->blocksize = 1152 1237 unsigned blocksize = FLAC__stream_encoder_get_blocksize(encoder); local 1982 const unsigned channels = encoder->protected_->channels, blocksize = encoder->protected_->blocksize; local 2035 const unsigned channels = encoder->protected_->channels, blocksize = encoder->protected_->blocksize; local 2463 const unsigned blocksize = FLAC__stream_encoder_get_blocksize(encoder); local 3695 const unsigned blocksize = residual_samples + predictor_order; local 3864 const unsigned blocksize = residual_samples + predictor_order; local 4206 const unsigned blocksize = frame->header.blocksize; local [all...] |
format.c | 522 unsigned FLAC__format_get_max_rice_partition_order(unsigned blocksize, unsigned predictor_order) 526 FLAC__format_get_max_rice_partition_order_from_blocksize(blocksize), 527 blocksize, 532 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize(unsigned blocksize) 535 while(!(blocksize & 1)) { 537 blocksize >>= 1; 542 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(unsigned limit, unsigned blocksize, unsigned predictor_order) 546 while(max_rice_partition_order > 0 && (blocksize >> max_rice_partition_order) <= predictor_order) 550 (max_rice_partition_order == 0 && blocksize >= predictor_order) || 551 (max_rice_partition_order > 0 && blocksize >> max_rice_partition_order > predictor_order [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
rbug_texture.h | 106 uint32_t blocksize; member in struct:rbug_proto_texture_info_reply 119 uint32_t blocksize; member in struct:rbug_proto_texture_read_reply 175 uint32_t blocksize, 186 uint32_t blocksize,
|
/external/dropbear/ |
algo.h | 56 unsigned char blocksize; member in struct:dropbear_cipher
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
f9_init.c | 57 f9->blocksize = cipher_descriptor[cipher].block_length;
|
/external/flac/libFLAC/include/protected/ |
stream_encoder.h | 88 unsigned blocksize; member in struct:FLAC__StreamEncoderProtected
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_texture.h | 106 uint32_t blocksize; member in struct:rbug_proto_texture_info_reply 119 uint32_t blocksize; member in struct:rbug_proto_texture_read_reply 175 uint32_t blocksize, 186 uint32_t blocksize,
|
/external/e2fsprogs/misc/ |
e2freefrag.c | 55 info->blocksize_bits = ul_log2((unsigned long)fs->blocksize); 115 * there is a segfault when blocksize = 1024 in which case 170 info->min = (info->min * fs->blocksize) >> 10; 171 info->max = (info->max * fs->blocksize) >> 10; 173 fs->blocksize) >> 10; 224 printf("Blocksize: %u bytes\n", fs->blocksize); 303 if (chunk_info.chunkbytes && (chunk_info.chunkbytes < fs->blocksize)) { 305 "to filesystem blocksize.\n", progname);
|
/external/dnsmasq/src/ |
tftp.c | 157 transfer->blocksize = 512; 207 transfer->blocksize = atoi(opt); 208 if (transfer->blocksize < 1) 209 transfer->blocksize = 1; 210 if (transfer->blocksize > (unsigned)daemon->packet_buff_sz - 4) 211 transfer->blocksize = (unsigned)daemon->packet_buff_sz - 4; 213 if (mtu != 0 && transfer->blocksize > (unsigned)mtu - 32) 214 transfer->blocksize = (unsigned)mtu - 32; 398 transfer->offset += transfer->blocksize - transfer->expansion; 533 p += (sprintf(p, "%d", transfer->blocksize) + 1) [all...] |
/external/e2fsprogs/resize/ |
main.c | 377 retval = ext2fs_get_device_size2(device_name, fs->blocksize, 405 if (sys_page_size > fs->blocksize) 406 new_size &= ~((sys_page_size / fs->blocksize)-1); 430 new_file_size = ((__u64) new_size) * fs->blocksize; 444 fs->blocksize / 1024, new_size); 465 device_name, new_size, fs->blocksize / 1024);
|
/external/grub/stage2/ |
fsys_reiserfs.c | 326 /* SECTOR_SIZE << blocksize_shift == blocksize. */ 328 /* 1 << full_blocksize_shift == blocksize. */ 331 __u16 blocksize; member in struct:fsys_reiser_info 611 INFO->blocksize = super.s_blocksize; 618 printf ("reiserfs_mount: version=%d, blocksize=%d\n", 619 INFO->version, INFO->blocksize); 646 if (! block_read (super.s_root_block, 0, INFO->blocksize, (char*) ROOT)) 662 memcpy (LEAF, ROOT, INFO->blocksize); 711 if (! block_read (blockNr, 0, INFO->blocksize, cache)) 888 unsigned int blocksize; local [all...] |