/system/update_engine/payload_consumer/ |
xz_extent_writer.h | 44 uint32_t block_size) override;
|
/system/update_engine/payload_generator/ |
block_mapping.h | 31 // BlockMapping allows to map data blocks (brillo::Blobs of block_size size) 40 explicit BlockMapping(size_t block_size) : block_size_(block_size) {} 106 size_t block_size,
|
raw_filesystem.h | 33 const std::string& filename, uint64_t block_size, uint64_t block_count);
|
delta_diff_utils_unittest.cc | 48 off_t block_size, 58 fseek(fp.get(), extent.start_block() * block_size, SEEK_SET) == 0); 60 std::min(static_cast<uint64_t>(extent.num_blocks()) * block_size, 64 offset += extent.num_blocks() * block_size; 72 uint64_t block_size, off_t size) { 77 part->fs_interface.reset(new FakeFilesystem(block_size, size / block_size)); 84 // The |block_size| should be a divisor of the partition size. 87 uint64_t block_size, 89 TEST_AND_RETURN_FALSE(part.size % block_size == 0) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dosio.c | 167 ioch->block_size = 1024; /* The smallest ext2fs block size */ 368 channel->block_size = blksize; 384 size = (size_t)((count < 0) ? -count : count * channel->block_size); 385 loc = (ext2_loff_t) block * channel->block_size; 422 size = (size_t)channel->block_size; 428 size = (size_t)(count * channel->block_size); 431 loc = (ext2_loff_t)block * channel->block_size;
|
openfs.c | 90 unsigned int block_size, io_manager manager, 93 return ext2fs_open2(name, 0, flags, superblock, block_size, 99 * Superblock and block_size can be zero to use the default size. 113 unsigned int block_size, io_manager manager, 183 block_size = fs->image_header->fs_blocksize; 196 if (!block_size) { 200 io_channel_set_blksize(fs->io, block_size); 330 if (block_size) { 331 if (block_size != fs->blocksize) {
|
/external/fio/tools/ |
genfio | 23 BLOCK_SIZE=4k 62 Default is $BLOCK_SIZE 213 BLOCK_SIZE=$OPTARG 276 OUTFILE=${PREFIX}$SHORT_HOSTNAME-$BLOCK_SIZE-all-$MODES-$PRINTABLE_DISKS.fio 280 OUTFILE=${PREFIX}$SHORT_HOSTNAME-$BLOCK_SIZE-sequential-$MODES-$PRINTABLE_DISKS.fio 283 OUTFILE=${PREFIX}$SHORT_HOSTNAME-$BLOCK_SIZE-parallel-$MODES-$PRINTABLE_DISKS.fio 340 for BLK_SIZE in $(echo $BLOCK_SIZE | tr "," " "); do
|
/external/libvpx/libvpx/test/ |
variance_test.cc | 278 block_size = width * height; 284 int block_size; member in struct:__anon24391::TestParams 309 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size() * unit)); 310 ref_ = new uint8_t[block_size() * unit]; 366 int block_size() const { return params_.block_size; } function in class:__anon24391::MainTestClass 379 memset(src_, i, block_size()); 382 for (int k = 0; k < block_size(); ++k) src16[k] = i << byte_shift(); 386 memset(ref_, j, block_size()); 389 for (int k = 0; k < block_size(); ++k) ref16[k] = j << byte_shift() [all...] |
/external/squashfs-tools/squashfs-tools/ |
lzo_wrapper.c | 129 static int lzo_options_post(int block_size) 165 static void *lzo_dump_options(int block_size, int *size) 210 static int lzo_extract_options(int block_size, void *buffer, int size) 316 static int squashfs_lzo_init(void **strm, int block_size, int datablock) 328 stream->buffer = malloc(LZO_MAX_EXPANSION(block_size)); 341 int block_size, int *error) 360 if(compsize > block_size)
|
/system/core/libsparse/ |
backed_block.c | 52 unsigned int block_size; member in struct:backed_block_list 123 struct backed_block_list *backed_block_list_new(unsigned int block_size) 126 b->block_size = block_size; 209 block_len = a->len / bbl->block_size; /* rounds down */ 370 max_len = ALIGN_DOWN(max_len, bbl->block_size); 384 new_bb->block = bb->block + max_len / bbl->block_size;
|
/external/autotest/client/cros/audio/ |
cras_utils.py | 45 def playback_cmd(playback_file, block_size=None, duration=None, 51 @param block_size: the number of frames per callback(dictates latency). 61 if block_size is not None: 62 args += ['--block_size', str(block_size)] 71 capture_file, block_size=None, duration=10, channels=1, rate=48000): 75 @param block_size: the number of frames per callback(dictates latency). 87 if block_size is not None: 88 args += ['--block_size', str(block_size)] [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/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...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/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...] |
/prebuilts/misc/windows/protobuf2.5/include/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...] |
/prebuilts/tools/linux-x86_64/protoc/include/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...] |
/system/update_engine/scripts/update_payload/ |
test_utils.py | 132 block_size: the block size pertaining to update operations 139 self.block_size = 0 162 def SetBlockSize(self, block_size): 164 self.block_size = block_size 165 _SetMsgField(self.manifest, 'block_size', block_size) 343 if not self.block_size: 350 (sigs_len + self.block_size - 1) / self.block_size)]) [all...] |
/build/make/tools/releasetools/ |
test_common.py | 25 def random_string_with_holes(size, block_size, step_size): 28 end = begin + block_size 29 data[begin:end] = os.urandom(block_size) 38 block_size = 4 * kilobytes 41 size, block_size, step_size)
|
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
brillo_RecoverFromBadImage.py | 108 block_size = int( 115 return block_size, device_size / block_size 145 block_size, num_blocks = self.get_device_block_info(host, device) 150 (device, block_size, num_blocks))
|
/external/autotest/server/site_tests/power_DeferForFlashrom/ |
power_DeferForFlashrom.py | 83 BLOCK_SIZE = 4096 88 frequency_hz = int(BLOCK_SIZE * 8 / float(duration_sec)) 93 'power_DeferForFlashrom.zero', '/dev/zero', BLOCK_SIZE) 95 'power_DeferForFlashrom.rand', '/dev/urandom', BLOCK_SIZE) 103 (rand_file, zero_file, frequency_hz, BLOCK_SIZE))
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorReductionCuda.h | 291 const int block_size = 256; local 293 const int num_blocks = divup<int>(num_coeffs, block_size * num_per_thread); 300 LAUNCH_CUDA_KERNEL((FullReductionKernel<block_size, num_per_thread, Self, Op, Index>), 301 num_blocks, block_size, 0, device, reducer, self, num_coeffs, output, semaphore); 318 const int block_size = 256; local 320 const int num_blocks = divup<int>(num_coeffs, block_size * num_per_thread); 330 LAUNCH_CUDA_KERNEL((FullReductionKernelHalfFloat<block_size, num_per_thread, Self, Op, Index>), 331 num_blocks, block_size, 0, device, reducer, self, num_coeffs, output, scratch); 559 const int block_size = 256; local 561 const int dyn_blocks = divup<int>(num_coeffs, block_size * num_per_thread) 605 const int block_size = \/*256*\/128; local 718 const int block_size = 256; local [all...] |
/device/google/marlin/recovery/gpt-utils/ |
gpt-utils.cpp | 1130 uint32_t block_size = 0; local 1152 uint32_t block_size = 0; local 1190 uint32_t block_size = 0; local 1258 uint32_t block_size = 0; local 1304 uint32_t block_size = 0; local [all...] |
/external/opencv/cv/src/ |
cvcorner.cpp | 203 icvCornerEigenValsVecs( const CvMat* src, CvMat* eigenv, int block_size, 232 if( block_size < 3 || !(block_size & 1) ) 277 cvSize(el_size.width,el_size.height + block_size))); 292 max_dy = MAX( max_dy, aperture_size + block_size ); 297 CV_CALL( cov = cvCreateMat( max_dy + block_size + 1, size.width, CV_32FC3 )); 305 CV_CALL(blur_filter.init(size.width, CV_32FC3, CV_32FC3, 0, cvSize(block_size,block_size))); 308 factorx = (double)(1 << (aperture_size - 1)) * block_size; 421 int block_size, int aperture_size [all...] |
/external/avb/ |
avbtool | 500 block_size: The block size, typically 4096. 534 self.block_size = 4096 543 block_size, self._num_total_blocks, self._num_total_chunks, 559 self.block_size = block_size 578 if data_sz != (chunk_sz * self.block_size): 581 format(data_sz, chunk_sz*self.block_size)) 585 chunk_sz*self.block_size, 598 chunk_sz*self.block_size, 608 chunk_sz*self.block_size, [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_loopfilter.c | 655 const BLOCK_SIZE block_size = mi->sb_type; local 657 const TX_SIZE tx_size_uv = uv_txsize_lookup[block_size][tx_size_y][1][1]; 671 const int w = num_8x8_blocks_wide_lookup[block_size]; 672 const int h = num_8x8_blocks_high_lookup[block_size]; 692 *above_y |= above_prediction_mask[block_size] << shift_y; 693 *above_uv |= above_prediction_mask_uv[block_size] << shift_uv; 694 *left_y |= left_prediction_mask[block_size] << shift_y; 695 *left_uv |= left_prediction_mask_uv[block_size] << shift_uv; 705 *above_y |= (size_mask[block_size] & above_64x64_txform_mask[tx_size_y] 732 const BLOCK_SIZE block_size = mi->sb_type; local 1522 const BLOCK_SIZE block_size = mi->sb_type; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_speed_features.h | 230 BLOCK_SIZE comp_inter_joint_search_thresh; 290 BLOCK_SIZE always_this_block_size; 298 BLOCK_SIZE use_square_only_threshold; 305 BLOCK_SIZE rd_auto_partition_min_limit; 307 // Min and max partition size we enable (block_size) as per auto 309 BLOCK_SIZE default_min_partition_size; 310 BLOCK_SIZE default_max_partition_size; 405 // modes are used in order from LSB to MSB for each BLOCK_SIZE. 420 BLOCK_SIZE max_intra_bsize;
|