/frameworks/base/tools/aapt2/util/ |
BigBuffer.h | 67 * of block_size. 69 explicit BigBuffer(size_t block_size); 115 size_t block_size() const; 136 inline BigBuffer::BigBuffer(size_t block_size) 137 : block_size_(block_size), size_(0) {} 146 inline size_t BigBuffer::block_size() const { return block_size_; } function in class:aapt::BigBuffer
|
/system/update_engine/payload_generator/ |
full_update_generator.cc | 139 TEST_AND_RETURN_FALSE(full_chunk_size % config.block_size == 0); 141 size_t chunk_blocks = full_chunk_size / config.block_size; 145 << chunk_blocks << " blocks (" << config.block_size 154 size_t partition_blocks = new_part.size / config.block_size; 179 static_cast<off_t>(start_block) * config.block_size, 180 num_blocks * config.block_size,
|
payload_generation_config.cc | 189 TEST_AND_RETURN_FALSE(part.size % block_size == 0); 206 TEST_AND_RETURN_FALSE(part.size % block_size == 0); 215 hard_chunk_size % block_size == 0); 216 TEST_AND_RETURN_FALSE(soft_chunk_size % block_size == 0); 218 TEST_AND_RETURN_FALSE(rootfs_partition_size % block_size == 0);
|
/external/squashfs-tools/squashfs-tools/ |
xz_wrapper.c | 158 * In this case block_size may not be known until after -Xdict-size has 164 static int xz_options_post(int block_size) 174 if(dictionary_size > block_size) { 176 " block_size\n"); 180 dictionary_size = block_size * dictionary_percent / 100; 207 dictionary_size = block_size; 226 static void *xz_dump_options(int block_size, int *size) 238 * datablock dictionary size: block_size 241 if(dictionary_size == block_size && filter_count == 1) 277 static int xz_extract_options(int block_size, void *buffer, int size [all...] |
/system/extras/ext4_utils/ |
contents.c | 56 if (len % info.block_size + dentry_len > info.block_size) 57 len += info.block_size - (len % info.block_size); 72 u32 start_block = *offset / info.block_size; 73 u32 end_block = (*offset + rec_len - 1) / info.block_size; 79 prev->rec_len += end_block * info.block_size - *offset; 80 *offset = end_block * info.block_size; 112 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); 113 len = blocks * info.block_size; [all...] |
/external/fio/t/ |
genzipf.c | 47 static unsigned long block_size = 4096; variable 108 block_size = strtoul(optarg, NULL, 10); 185 printf("Generating %s distribution with %f input and %lu GB size and %lu block_size.\n", dist_types[dist_type], dist_val, gb_size, block_size); 188 nranges /= block_size; 273 i * block_size / (1024 * 1024); 298 double gb = (double)os->nranges * block_size / 1024.0;
|
/external/syslinux/core/fs/iso9660/ |
iso9660.c | 125 if (de_len < 33 || offset > BLOCK_SIZE(fs)) { 178 inode->blocks = (inode->size + BLOCK_SIZE(fs) - 1) >> BLOCK_SHIFT(fs); 217 size_t offset = file->offset & (BLOCK_SIZE(fs) - 1); 227 if (de->length < 33 || offset + de->length > BLOCK_SIZE(fs)) { 228 file->offset = (file->offset + BLOCK_SIZE(fs)) 229 & ~(BLOCK_SIZE(fs) - 1); /* Start of the next block */ 299 fs->block_size = 1 << fs->block_shift;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/ |
FirmwareUpdate.c | 375 CountOfBlocks = (UINTN) (BufferSize / BLOCK_SIZE);
418 (BufferSize > BLOCK_SIZE ? BLOCK_SIZE : BufferSize)
430 Address += BLOCK_SIZE;
431 Buffer += BLOCK_SIZE;
432 if (BufferSize > BLOCK_SIZE) {
433 BufferSize -= BLOCK_SIZE;
518 NumBytes = BLOCK_SIZE;
536 BlockSize = BLOCK_SIZE;
556 NumBytes = BLOCK_SIZE;
[all...] |
/external/syslinux/core/fs/ufs/ |
ufs.c | 106 return data + (frag_offset & (fs->block_size - 1)); 122 for (i = 0; i < inode->size; i += fs->block_size) { 125 maxoffset = min(inode->size-i, fs->block_size); 314 size_t block_size = BLOCK_SIZE(fs); local 324 chunk = min(bytes, block_size); 340 if (inode->size > BLOCK_SIZE(fs)) 387 (data + (file->offset & (BLOCK_SIZE(fs) - 1))); 426 sbi->inodes_per_block = sb->block_size / sbi->inode_size; 451 ufs_debug("Block size: %u\n", sb.block_size); [all...] |
/system/core/libsparse/ |
sparse_read.c | 107 unsigned int len = blocks * s->block_size; 109 if (chunk_size % s->block_size != 0) { 113 if (chunk_size / s->block_size != blocks) { 144 int64_t len = (int64_t)blocks * s->block_size; 189 int64_t len = (int64_t)blocks * s->block_size; 360 uint32_t *buf = malloc(s->block_size); 373 to_read = min(remain, s->block_size); 381 if (to_read == s->block_size) { 383 for (i = 1; i < s->block_size / sizeof(uint32_t); i++) {
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
temporal_filter_apply_sse2.asm | 18 ; unsigned int block_size, | 3 34 %define block_size 0 45 mov [rsp + block_size], rdx 73 cmp dword ptr [rsp + block_size], 8 181 cmp dword ptr [rsp + block_size], 16
|
/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;
|
/external/vboot_reference/firmware/lib20/ |
misc.c | 28 uint32_t block_size; local 59 block_size = kb->keyblock_size; 67 kb = vb2_workbuf_realloc(&wb, sizeof(*kb), block_size); 71 rv = vb2ex_read_resource(ctx, VB2_RES_FW_VBLOCK, 0, kb, block_size); 76 rv = vb2_verify_keyblock(kb, block_size, &root_key, &wb);
|
/external/autotest/client/cros/audio/ |
audio_quality_measurement.py | 258 def hilbert_analysis(signal, rate, block_size): 263 @param block_size: The size of block to transform. 271 # block_size and we will only take middle part of it. 275 # The whole size of taken part will be half of block_size 279 hilbert_block = block_size // 2 305 def find_block_average_value(arr, side_block_size, block_size): 311 [max(0, index - block_size / 2), min(length - 1, index + block_size / 2)] 319 @param block_size: the size of the block. 351 while left_border < index - block_size / 2 [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
highbd_variance_sse2.c | 29 high_variance_fn_t var_fn, int block_size) { 35 for (i = 0; i < h; i += block_size) { 36 for (j = 0; j < w; j += block_size) { 50 high_variance_fn_t var_fn, int block_size) { 55 for (i = 0; i < h; i += block_size) { 56 for (j = 0; j < w; j += block_size) { 72 high_variance_fn_t var_fn, int block_size) { 77 for (i = 0; i < h; i += block_size) { 78 for (j = 0; j < w; j += block_size) { 128 #define VAR_FN(w, h, block_size, shift) [all...] |
/bionic/linker/ |
linker_block_allocator.cpp | 52 LinkerBlockAllocator::LinkerBlockAllocator(size_t block_size) 54 round_up(block_size < sizeof(FreeBlockInfo) ? sizeof(FreeBlockInfo) : block_size, 16)),
|
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
FileIo.c | 56 #define BLOCK_SIZE 0x200
61 UINT8 BootSector[BLOCK_SIZE];
88 BLOCK_SIZE,
|
/external/fio/os/ |
os-mac.h | 119 uint32_t block_size; local 124 if (ioctl(f->fd, DKIOCGETBLOCKSIZE, &block_size) == -1) 127 *bytes = block_size;
|
/external/libvpx/config/arm-neon/ |
vp9_rtcd.h | 33 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 36 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 37 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
|
/external/libvpx/config/arm64/ |
vp9_rtcd.h | 33 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 36 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 37 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
|
/external/libvpx/config/mips32-msa/ |
vp9_rtcd.h | 33 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 34 int64_t vp9_block_error_msa(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 37 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
|
/external/libvpx/config/mips64-msa/ |
vp9_rtcd.h | 33 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 34 int64_t vp9_block_error_msa(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 37 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
|
/external/libvpx/libvpx/test/ |
test_intra_pred_speed.cc | 43 void Init(int block_size, int bd) { 54 ASSERT_LE(block_size, kBPS); 55 for (int i = block_size; i < 2 * kBPS; ++i) { 56 above[i] = above[block_size - 1]; 79 const char *const signatures[], int block_size) { 81 2.e10 / (block_size * block_size * kNumVp9IntraPredFuncs)); 85 intra_pred_test_mem.Init(block_size, 8); 352 const char *const signatures[], int block_size) { 354 2.e10 / (block_size * block_size * kNumVp9IntraPredFuncs)) [all...] |
vp9_denoiser_test.cc | 36 int increase_denoising, BLOCK_SIZE bs, 38 typedef std::tr1::tuple<Vp9DenoiserFilterFunc, BLOCK_SIZE> VP9DenoiserTestParam; 51 BLOCK_SIZE bs_;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_tokenize.h | 46 int vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 47 int vp9_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 54 BLOCK_SIZE bsize);
|