HomeSort by relevance Sort by last modified time
    Searched full:block_size (Results 51 - 75 of 1104) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libvpx/libvpx/vp9/encoder/
vp9_rd.h 152 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, int raster_block,
155 int16_t *vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, int raster_block,
163 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
186 int ref_y_stride, int ref_frame, BLOCK_SIZE block_size);
199 BLOCK_SIZE bs);
203 BLOCK_SIZE bs, int bd);
  /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...]
  /external/e2fsprogs/misc/
badblocks.c 97 "Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n"
358 static int do_read (int dev, unsigned char * buffer, int try, int block_size,
369 set_o_direct(dev, buffer, try * block_size,
370 ((ext2_loff_t) current_block) * block_size);
376 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size,
377 SEEK_SET) != (ext2_loff_t) current_block * block_size)
383 got = read (dev, buffer, try * block_size);
390 got /= block_size;
434 static int do_write(int dev, unsigned char * buffer, int try, int block_size,
442 set_o_direct(dev, buffer, try * block_size,
1047 int block_size = 1024; local
    [all...]
  /bootable/recovery/
fuse_sideload.cpp 82 uint32_t block_size; // block size that the adb host is using to send the file to us member in struct:fuse_data
83 uint32_t file_blocks; // file size in block_size blocks
245 memset(fd->block_data, 0, fd->block_size);
250 size_t fetch_size = fd->block_size;
251 if (block * fd->block_size + fetch_size > fd->file_size) {
255 fetch_size = fd->file_size - (block * fd->block_size);
256 memset(fd->block_data + fetch_size, 0, fd->block_size - fetch_size);
274 SHA256(fd->block_data, fd->block_size, hash);
321 uint32_t block = offset / fd->block_size;
331 // since we mount the filesystem with max_read=block_size,
    [all...]
fuse_sdcard_provider.cpp 34 uint32_t block_size; member in struct:file_data
40 off64_t offset = ((off64_t) block) * fd->block_size;
73 fd.block_size = 65536;
84 return run_fuse_sideload(&vtab, &fd, fd.file_size, fd.block_size) == 0;
  /system/update_engine/scripts/update_payload/
checker_unittest.py 397 fail_mismatched_block_size: Simulate a missing block_size field.
489 block_size = payload_checker.block_size
493 int(3.5 * block_size), 4, 'foo', 'bar'))
497 int(3.5 * block_size), 3, 'foo', 'bar')
501 int(3.5 * block_size), 5, 'foo', 'bar')
506 block_size = payload_checker.block_size
512 payload_checker._CheckExtents(extents, (1024 + 16) * block_size,
520 payload_checker._CheckExtents(extents, (1024 + 16) * block_size,
    [all...]
applier.py 72 def _ReadExtents(file_obj, extents, block_size, max_length=-1):
80 block_size: size of each block
92 read_length = min(max_length, ex.num_blocks * block_size)
98 file_obj.seek(ex.start_block * block_size)
106 def _WriteExtents(file_obj, data, extents, block_size, base_name):
115 block_size: size of each block
126 write_length = min(data_length, ex.num_blocks * block_size)
130 file_obj.seek(ex.start_block * block_size)
141 def _ExtentsToBspatchArg(extents, block_size, base_name, data_length=-1):
146 block_size: size of each bloc
    [all...]
  /external/e2fsprogs/lib/ext2fs/
unix_io.c 139 size = (count < 0) ? -count : count * channel->block_size;
141 location = ((ext2_loff_t) block * channel->block_size) + data->offset;
192 actual = read(data->dev, data->bounce, channel->block_size);
193 if (actual != channel->block_size)
196 if (size > channel->block_size)
197 actual = channel->block_size;
224 size = channel->block_size;
229 size = count * channel->block_size;
233 location = ((ext2_loff_t) block * channel->block_size) + data->offset;
282 if (size < channel->block_size) {
    [all...]
  /external/vboot_reference/host/lib/
host_keyblock.c 21 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + local
30 h = (VbKeyBlockHeader*)malloc(block_size);
40 h->key_block_size = block_size;
82 uint64_t block_size = (signed_size + SHA512_DIGEST_SIZE + local
90 h = (VbKeyBlockHeader*)malloc(block_size);
103 h->key_block_size = block_size;
  /system/update_engine/payload_consumer/
extent_writer.h 44 uint32_t block_size) = 0;
70 uint32_t block_size) override {
72 block_size_ = block_size;
104 uint32_t block_size) override {
105 block_size_ = block_size;
106 return underlying_extent_writer_->Init(fd, extents, block_size);
  /system/update_engine/payload_generator/
full_update_generator_unittest.cc 40 config_.block_size = 4096;
90 static_cast<uint64_t>(i * config_.hard_chunk_size / config_.block_size),
93 EXPECT_EQ(config_.hard_chunk_size / config_.block_size,
118 EXPECT_EQ(config_.hard_chunk_size / config_.block_size,
120 EXPECT_EQ((new_part.size() - config_.hard_chunk_size) / config_.block_size,
140 EXPECT_EQ(new_part.size() / config_.block_size,
block_mapping.cc 119 const size_t block_size = other_block.size(); local
120 brillo::Blob blob(block_size);
122 if (!utils::PReadAll(fd, blob.data(), block_size, byte_offset, &bytes_read))
124 if (static_cast<size_t>(bytes_read) != block_size)
143 size_t block_size,
146 BlockMapping mapping(block_size);
147 if (mapping.AddBlock(brillo::Blob(block_size, '\0')) != 0)
155 old_fd, 0, old_size / block_size, old_block_ids));
157 new_fd, 0, new_size / block_size, new_block_ids));
  /external/autotest/server/site_tests/brillo_StorageWriteSpeedTest/
brillo_StorageWriteSpeedTest.py 23 def run_once(self, host=None, block_size=_DEFAULT_BLOCK_SIZE,
28 @param block_size: The size of blocks to write in bytes.
39 (tmp_file, block_size, num_blocks))
control 19 block_size: The block size in bytes to use when writing to storage.
24 TEST_ARG_NAMES = ('block_size', 'num_blocks', 'min_speed')
control.EmulatorTest 19 block_size: The block size in bytes to use when writing to storage.
24 TEST_ARG_NAMES = ('block_size', 'num_blocks', 'min_speed')
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
StatFsTest.java 24 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE));
35 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE));
44 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE));
  /bootable/recovery/minadbd/
minadbd_services.cpp 46 int block_size; local
47 if (sscanf(args, "%d:%d", &file_size, &block_size) != 2) {
53 printf("sideload-host file size %d block size %d\n", file_size, block_size);
55 int result = run_adb_fuse(sfd, file_size, block_size);
  /external/valgrind/none/tests/mips32/
Makefile.am 7 block_size.stdout.exp block_size.stderr.exp block_size.vgtest \
41 block_size \
  /system/bt/btif/src/
btif_debug_btsnoop.cc 40 static const size_t BLOCK_SIZE = 16384;
146 uint8_t block_src[BLOCK_SIZE];
147 uint8_t block_dst[BLOCK_SIZE];
150 (ringbuffer_size(rb_src) + BLOCK_SIZE - 1) / BLOCK_SIZE;
153 ringbuffer_peek(rb_src, i * BLOCK_SIZE, block_src, BLOCK_SIZE);
157 zs.avail_out = BLOCK_SIZE;
166 const size_t length = BLOCK_SIZE - zs.avail_out;
  /system/core/libsparse/
output_file.c 86 unsigned int block_size; member in struct:output_file
352 if (skip_len % out->block_size) {
354 skip_len, out->block_size);
361 chunk_header.chunk_sz = skip_len / out->block_size;
381 rnd_up_len = ALIGN(len, out->block_size);
386 chunk_header.chunk_sz = rnd_up_len / out->block_size;
397 count = out->block_size / sizeof(uint32_t);
416 rnd_up_len = ALIGN(len, out->block_size);
422 chunk_header.chunk_sz = rnd_up_len / out->block_size;
486 unsigned int rnd_up_len = ALIGN(len, out->block_size);
    [all...]
  /external/boringssl/src/crypto/cipher/
e_des.c 91 NID_des_cbc, 8 /* block_size */, 8 /* key_size */,
101 if (in_len < ctx->cipher->block_size) {
104 in_len -= ctx->cipher->block_size;
107 for (size_t i = 0; i <= in_len; i += ctx->cipher->block_size) {
115 NID_des_ecb, 8 /* block_size */, 8 /* key_size */,
154 NID_des_ede3_cbc, 8 /* block_size */, 24 /* key_size */,
175 NID_des_ede_cbc, 8 /* block_size */, 16 /* key_size */,
185 if (in_len < ctx->cipher->block_size) {
188 in_len -= ctx->cipher->block_size;
191 for (size_t i = 0; i <= in_len; i += ctx->cipher->block_size) {
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java 14 public static final int BLOCK_SIZE = 4096;
25 return BLOCK_SIZE;
  /external/squashfs-tools/kernel/fs/squashfs/
squashfs_fs_sb.h 34 int block_size; member in struct:squashfs_cache
71 unsigned int block_size; member in struct:squashfs_sb_info
  /external/squashfs-tools/kernel/include/linux/
squashfs_fs_sb.h 43 int block_size; member in struct:squashfs_cache
71 unsigned int block_size; member in struct:squashfs_sb_info

Completed in 1260 milliseconds

1 23 4 5 6 7 8 91011>>