/external/e2fsprogs/lib/ext2fs/ |
rw_bitmaps.c | 57 memset(block_buf, 0xff, fs->blocksize); 65 memset(inode_buf, 0xff, fs->blocksize); 88 for (j = nbits; j < fs->blocksize * 8; j++) 214 if ((block_nbytes > (int) fs->blocksize) || 215 (inode_nbytes > (int) fs->blocksize)) 254 blk = (fs->image_header->offset_inodemap / fs->blocksize); 261 cnt = fs->blocksize << 3; 268 ino_itr += fs->blocksize << 3; 269 ino_cnt -= fs->blocksize << 3; 270 inode_nbytes -= fs->blocksize; [all...] |
fileio.c | 35 #define BMAP_BUFFER (file->buf + fs->blocksize) 70 retval = ext2fs_get_array(3, fs->blocksize, &file->buf); 182 b = file->pos / file->fs->blocksize; 223 memset(file->buf, 0, fs->blocksize); 303 start = file->pos % fs->blocksize; 304 c = fs->blocksize - start; 414 start = file->pos % fs->blocksize; 415 c = fs->blocksize - start; 423 retval = load_buffer(file, (c == fs->blocksize)); 529 ext2_off64_t off = offset % fs->blocksize; [all...] |
dblist_dir.c | 33 int blocksize, 48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf);
|
res_gdt.c | 89 retval = ext2fs_get_array(2, fs->blocksize, &dindir_buf); 92 gdt_buf = (__u32 *)((char *)dindir_buf + fs->blocksize); 99 * File systems with a blocksize of 1024 and bigalloc have 104 if (fs->blocksize == 1024 && sb_blk == 0) 128 memset(dindir_buf, 0, fs->blocksize); 134 inode_size *= fs->blocksize; 163 memset(gdt_buf, 0, fs->blocksize);
|
/external/e2fsprogs/debugfs/ |
logdump.c | 161 inodes_per_block = (current_fs->blocksize 345 unsigned int blocksize = 1024; local 367 blocksize = EXT2_BLOCK_SIZE(sb); 368 blocknr = (blocksize == 1024) ? 2 : 1; 373 fprintf(out_file, "\tblocksize=%d\n", blocksize); 381 ((ext2_loff_t) blocknr) * blocksize, 392 blocksize = be32_to_cpu(jsb->s_blocksize); 409 ((ext2_loff_t) blocknr) * blocksize, 410 buf, blocksize); 444 &blocknr, blocksize, [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ObjectStack.java | 49 * @param blocksize Size of block to allocate 51 public ObjectStack(int blocksize) 53 super(blocksize);
|
/external/autotest/client/tests/ddtest/ |
ddtest.py | 26 def run_once(self, dir=None, blocksize=1024, blocknum=262144, threads=20): 32 args += ' -b %d' % blocksize
|
/external/syslinux/gpxe/src/crypto/ |
crypto_null.c | 46 .blocksize = 1, 77 .blocksize = 1,
|
hmac.c | 65 unsigned char k_ipad[digest->blocksize]; 100 unsigned char k_opad[digest->blocksize];
|
/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/ImageMagick/MagickCore/ |
memory.c | 76 #define BlockSize 4096 317 blocksize; 334 blocksize=BlockThreshold/(4*sizeof(size_t)); 336 blocksize++; 337 assert(blocksize > (BlockThreshold/(4*sizeof(size_t)))); 338 assert(blocksize < (MaxBlocks-1L)); 339 return(blocksize); 416 blocksize; 425 blocksize=SizeOfBlock(block)-size; 426 *BlockHeader(next)=blocksize; 310 blocksize; local 409 blocksize; local 790 blocksize; local [all...] |
/external/flac/libFLAC/ |
format.c | 209 FLAC_API FLAC__bool FLAC__format_blocksize_is_subset(unsigned blocksize, unsigned sample_rate) 211 if(blocksize > 16384) 213 else if(sample_rate <= 48000 && blocksize > 4608) 518 unsigned FLAC__format_get_max_rice_partition_order(unsigned blocksize, unsigned predictor_order) 522 FLAC__format_get_max_rice_partition_order_from_blocksize(blocksize), 523 blocksize, 528 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize(unsigned blocksize) 531 while(!(blocksize & 1)) { 533 blocksize >>= 1; 538 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(unsigned limit, unsigned blocksize, unsigned predictor_order [all...] |
stream_encoder.c | 158 unsigned blocksize, 167 unsigned blocksize, 178 unsigned blocksize, 199 unsigned blocksize, 217 unsigned blocksize, 365 FLAC__bool use_wide_by_partition; /* use slow 64-bit versions of some functions because of the min partition order and blocksize */ 489 * always try to read blocksize+1 samples before encoding a block, so that 491 * of the blocksize, we will still notice when we are encoding the last 664 if(encoder->protected_->blocksize == 0) { 666 encoder->protected_->blocksize = 1152 1369 unsigned blocksize = FLAC__stream_encoder_get_blocksize(encoder); local 2155 const unsigned channels = encoder->protected_->channels, blocksize = encoder->protected_->blocksize; local 2214 const unsigned channels = encoder->protected_->channels, blocksize = encoder->protected_->blocksize; local 2654 const unsigned blocksize = FLAC__stream_encoder_get_blocksize(encoder); local 3886 const unsigned blocksize = residual_samples + predictor_order; local 4035 const unsigned blocksize = residual_samples + predictor_order; local 4404 const unsigned blocksize = frame->header.blocksize; local [all...] |
/external/e2fsprogs/misc/ |
e2image.c | 139 static int check_block(int fd, void *buf, void *cbuf, int blocksize) 142 int count = blocksize, ret; 156 ret = memcmp(buf, cbuf, blocksize); 157 seek_relative(fd, -blocksize); 161 static void generic_write(int fd, void *buf, int blocksize, blk64_t block) 166 if (!blocksize) 171 err = ext2fs_get_arrayzero(1, blocksize, &buf); 181 seek_relative(fd, blocksize); 184 count = write(fd, buf, blocksize); 185 if (count != blocksize) { [all...] |
mke2fs.c | 257 sprintf(buf, "badblocks -b %d -X %s%s%s %llu", fs->blocksize, 516 if ((lpf_size += fs->blocksize) >= 16*1024 && 517 lpf_size >= 2 * fs->blocksize) 587 io_channel_set_blksize(fs->io, fs->blocksize); 660 ext2fs_blocks_count(s), fs->blocksize >> 10, 676 printf(_("Block size=%u (log=%u)\n"), fs->blocksize, 680 fs->blocksize << fs->cluster_ratio_bits, 932 unsigned int gdpb, blocksize; local 959 blocksize = EXT2_BLOCK_SIZE(param); 962 bpg = blocksize * 8 1424 unsigned int blocksize; local 1472 int blocksize = 0; local [all...] |
/build/make/tools/releasetools/ |
sparse_img.py | 46 self.blocksize = blk_sz = header[5] 190 p = filepos + ((s - chunk_start) * self.blocksize) 192 yield f.read(this_read * self.blocksize) 194 yield fill_data * (this_read * (self.blocksize >> 2)) 204 yield f.read(this_read * self.blocksize) 206 yield fill_data * (this_read * (self.blocksize >> 2)) 236 reference = '\0' * self.blocksize 254 filepos += (b-chunk_start) * self.blocksize 256 data = f.read(self.blocksize)
|
/frameworks/av/media/libstagefright/flac/dec/ |
FLACDecoder.cpp | 364 ALOGE("wrong max blocksize %u", getMaxBlockSize()); 458 unsigned blocksize = mWriteHeader.blocksize; local 459 if (blocksize == 0 || blocksize > getMaxBlockSize()) { 460 ALOGE("decodeOneFrame: write invalid blocksize %u", blocksize); 477 size_t bufferSize = blocksize * getChannels() * sizeof(short); 481 blocksize = *outBufferLen / (getChannels() * sizeof(short)); 482 bufferSize = blocksize * getChannels() * sizeof(short) [all...] |
/external/e2fsprogs/e2fsck/ |
rehash.c | 14 * directory supported using a 4k blocksize is roughly a gigabyte, and 121 offset = blockcnt * fs->blocksize; 122 if (offset + fs->blocksize > fd->inode->i_size) { 129 memset(dir, 0, fs->blocksize); 131 (void) ext2fs_set_rec_len(fs, fs->blocksize, dirent); 148 while (dir_offset < fs->blocksize) { 152 if (((dir_offset + rec_len) > fs->blocksize) || 262 new_mem = realloc(outdir->buf, blocks * fs->blocksize); 272 outdir->buf = malloc(blocks * fs->blocksize); 298 *ret = outdir->buf + (outdir->num++ * fs->blocksize); [all...] |
/prebuilts/go/darwin-x86/src/crypto/hmac/ |
hmac.go | 39 blocksize int 59 func (h *hmac) BlockSize() int { return h.blocksize } 72 hm.blocksize = hm.inner.BlockSize() 73 hm.ipad = make([]byte, hm.blocksize) 74 hm.opad = make([]byte, hm.blocksize) 75 if len(key) > hm.blocksize {
|
/prebuilts/go/linux-x86/src/crypto/hmac/ |
hmac.go | 39 blocksize int 59 func (h *hmac) BlockSize() int { return h.blocksize } 72 hm.blocksize = hm.inner.BlockSize() 73 hm.ipad = make([]byte, hm.blocksize) 74 hm.opad = make([]byte, hm.blocksize) 75 if len(key) > hm.blocksize {
|
/external/autotest/client/site_tests/platform_SecureEraseFile/ |
platform_SecureEraseFile.py | 28 def __write_test_file(self, path, blocksize, count): 30 path, blocksize, count) 80 def __test_and_verify_cleared(self, blocksize, count): 81 self.__write_test_file(TEST_PATH, blocksize, count)
|
/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/resize/ |
main.c | 267 unsigned int blocksize; local 486 blocksize = fs->blocksize; 487 retval = ext2fs_get_device_size2(device_name, blocksize, 507 if (sys_page_size > blocksize) 508 new_size &= ~((sys_page_size / blocksize)-1); 547 new_file_size = ((__u64) new_size) * blocksize; 561 blocksize / 1024, new_size); 589 blocksize / 1024); 614 device_name, new_size, blocksize / 1024) [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
cbc.h | 42 memcpy ( cbc_ctx, iv, raw_cipher->blocksize ); 93 .blocksize = _blocksize, \
|