Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 25 of 120) sorted by relevance

12345

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java70 public static final int BLOCK_SIZE = 52; field in BlockRealMatrix
106 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
107 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
156 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
157 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
211 final int blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in toBlocksLayout()
212 final int blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in toBlocksLayout()
228 final int pStart = iBlock * BLOCK_SIZE; in toBlocksLayout()
229 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows); in toBlocksLayout()
232 final int qStart = jBlock * BLOCK_SIZE; in toBlocksLayout()
[all …]
DBlockFieldMatrix.java72 public static final int BLOCK_SIZE = 36; field in BlockFieldMatrix
109 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
110 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
159 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
160 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
216 final int blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE; in toBlocksLayout()
217 final int blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in toBlocksLayout()
234 final int pStart = iBlock * BLOCK_SIZE; in toBlocksLayout()
235 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows); in toBlocksLayout()
238 final int qStart = jBlock * BLOCK_SIZE; in toBlocksLayout()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java26 private static final int BLOCK_SIZE = 16; field in GCMBlockCipher
67 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher()
70 "cipher required with a block size of " + BLOCK_SIZE + "."); in GCMBlockCipher()
136 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init()
173 this.H = new byte[BLOCK_SIZE]; in init()
185 this.J0 = new byte[BLOCK_SIZE]; in init()
190 this.J0[BLOCK_SIZE - 1] = 0x01; in init()
195 byte[] X = new byte[BLOCK_SIZE]; in init()
200 this.S = new byte[BLOCK_SIZE]; in init()
201 this.S_at = new byte[BLOCK_SIZE]; in init()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.h30 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
31 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize);
33 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
35 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
37 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
39 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
42 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
44 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane,
Dvp9_speed_features.h230 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;
309 BLOCK_SIZE default_min_partition_size;
310 BLOCK_SIZE default_max_partition_size;
420 BLOCK_SIZE max_intra_bsize;
Dvp9_rd.h152 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);
Dvp9_rdopt.h29 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
35 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
40 struct RD_COST *rd_cost, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx,
51 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
Dvp9_pickmode.h21 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx);
25 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx);
28 int mi_col, RD_COST *rd_cost, BLOCK_SIZE bsize,
Dvp9_tokenize.c318 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in set_entropy_context_b()
349 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in tokenize_b()
426 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) { in is_skippable()
438 int vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in vp9_is_skippable_in_plane()
447 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in has_high_freq_coeff()
458 int vp9_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in vp9_has_high_freq_in_plane()
467 int seg_skip, BLOCK_SIZE bsize) { in vp9_tokenize_sb()
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate02.c53 #define BLOCK_SIZE 1024 macro
122 char buf[BLOCK_SIZE]; in setup()
123 memset(buf, 'A', BLOCK_SIZE); in setup()
125 SAFE_WRITE(cleanup, 1, fdw, buf, BLOCK_SIZE); in setup()
131 test_data[i].offset * BLOCK_SIZE, in fallocate_verify()
132 test_data[i].len * BLOCK_SIZE)); in fallocate_verify()
143 test_data[i].offset * BLOCK_SIZE, in fallocate_verify()
144 test_data[i].len * BLOCK_SIZE, test_data[i].error); in fallocate_verify()
149 test_data[i].mode, test_data[i].offset * BLOCK_SIZE, in fallocate_verify()
150 test_data[i].len * BLOCK_SIZE, TEST_ERRNO); in fallocate_verify()
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h68 BLOCK_SIZE sb_type;
202 static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, in get_subsize()
240 static INLINE BLOCK_SIZE
241 get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { in get_plane_block_size()
245 static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) { in reset_skip_context()
249 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context()
268 BLOCK_SIZE plane_bsize,
272 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
276 BLOCK_SIZE bsize,
281 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
Dvp9_common_data.h31 extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES];
33 extern const BLOCK_SIZE txsize_to_bsize[TX_SIZES];
35 extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];
Dvp9_reconinter.h52 BLOCK_SIZE bsize);
55 BLOCK_SIZE bsize, int plane);
58 BLOCK_SIZE bsize);
61 BLOCK_SIZE bsize);
Dvp9_blockd.c38 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane()
46 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_foreach_transformed_block_in_plane()
78 BLOCK_SIZE bsize, in vp9_foreach_transformed_block()
88 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, in vp9_set_contexts()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeEngine.java14 protected static final int BLOCK_SIZE = 8; field in DESedeEngine
82 return BLOCK_SIZE; in getBlockSize()
96 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
101 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
106 byte[] temp = new byte[BLOCK_SIZE]; in processBlock()
121 return BLOCK_SIZE; in processBlock()
DBlowfishEngine.java300 private static final int BLOCK_SIZE = 8; // bytes = 64 bits field in BlowfishEngine
360 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
365 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
379 return BLOCK_SIZE; in processBlock()
388 return BLOCK_SIZE; in getBlockSize()
DDESEngine.java15 protected static final int BLOCK_SIZE = 8; field in DESEngine
61 return BLOCK_SIZE; in getBlockSize()
75 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
80 if ((outOff + BLOCK_SIZE) > out.length) in processBlock()
87 return BLOCK_SIZE; in processBlock()
/external/autotest/client/cros/chameleon/
Dedid.py41 BLOCK_SIZE = 128 variable in Edid
64 if data_len % Edid.BLOCK_SIZE != 0:
68 for start in xrange(0, data_len, Edid.BLOCK_SIZE):
71 map(ord, data[start:start+Edid.BLOCK_SIZE]))
74 start / Edid.BLOCK_SIZE)
/external/autotest/server/site_tests/power_DeferForFlashrom/
Dpower_DeferForFlashrom.py83 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/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc4.c69 #define BLOCK_SIZE 512 macro
186 char readbuf[BLOCK_SIZE + 1]; /* buffer to store bytes read */ in read_raw_device()
213 if (read(fd, readbuf, BLOCK_SIZE) != BLOCK_SIZE) in read_raw_device()
/external/syslinux/core/fs/iso9660/
Diso9660.c125 if (de_len < 33 || offset > BLOCK_SIZE(fs)) { in iso_find_entry()
178 inode->blocks = (inode->size + BLOCK_SIZE(fs) - 1) >> BLOCK_SHIFT(fs); in iso_get_inode()
217 size_t offset = file->offset & (BLOCK_SIZE(fs) - 1); in iso_readdir()
227 if (de->length < 33 || offset + de->length > BLOCK_SIZE(fs)) { in iso_readdir()
228 file->offset = (file->offset + BLOCK_SIZE(fs)) in iso_readdir()
229 & ~(BLOCK_SIZE(fs) - 1); /* Start of the next block */ in iso_readdir()
/external/fio/tools/
Dgenfio23 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/ltp/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/
Dext4_subdir_limit_test.sh138 BLOCK_SIZE=( 1024 2048 4096 )
147 ${BLOCK_SIZE[$i]} -eq 1024 ]; then
151 ${BLOCK_SIZE[$i]}
/external/syslinux/core/fs/ext2/
Dext2.c103 maxoffset = min(BLOCK_SIZE(fs), i-inode->size); in ext2_find_entry()
116 i += BLOCK_SIZE(fs); in ext2_find_entry()
200 size_t block_size = BLOCK_SIZE(fs); in cache_get_file()
227 if (inode->size > BLOCK_SIZE(fs)) in ext2_readlink()
255 (data + (file->offset & (BLOCK_SIZE(fs) - 1))); in ext2_readdir()
305 sbi->s_inodes_per_block = BLOCK_SIZE(fs) / sb.s_inode_size; in ext2_fs_init()
308 sbi->s_desc_per_block = BLOCK_SIZE(fs) / sb.s_desc_size; in ext2_fs_init()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DStatFsTest.java24 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStats()
35 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStatsWithFile()
44 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldResetStateBetweenTests()

12345