Searched defs:BLOCK_SIZE (Results 1 - 25 of 49) sorted by relevance

12

/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/
H A DDeviceConstants.java21 static final int BLOCK_SIZE = 512; // how many bytes to send at once field in class:DeviceConstants
/external/autotest/client/cros/chameleon/
H A Dedid.py41 BLOCK_SIZE = 128 variable in class: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/jemalloc/test/unit/
H A DSFMT.c38 #define BLOCK_SIZE 10000 macro
39 #define BLOCK_SIZE64 (BLOCK_SIZE / 2)
1454 uint32_t array32[BLOCK_SIZE] JEMALLOC_ATTR(aligned(16));
1455 uint32_t array32_2[BLOCK_SIZE] JEMALLOC_ATTR(aligned(16));
1460 assert_d_le(get_min_array_size32(), BLOCK_SIZE, local
1463 fill_array32(ctx, array32, BLOCK_SIZE);
1464 fill_array32(ctx, array32_2, BLOCK_SIZE);
1468 for (i = 0; i < BLOCK_SIZE; i++) {
1489 uint32_t array32[BLOCK_SIZE] JEMALLOC_ATTR(aligned(16));
1490 uint32_t array32_2[BLOCK_SIZE] JEMALLOC_ATT
1496 assert_d_le(get_min_array_size32(), BLOCK_SIZE, local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeEngine.java14 protected static final int BLOCK_SIZE = 8; field in class:DESedeEngine
82 return BLOCK_SIZE;
96 if ((inOff + BLOCK_SIZE) > in.length)
101 if ((outOff + BLOCK_SIZE) > out.length)
106 byte[] temp = new byte[BLOCK_SIZE];
121 return BLOCK_SIZE;
H A DRC2Engine.java56 private static final int BLOCK_SIZE = 8; field in class:RC2Engine
157 return BLOCK_SIZE;
171 if ((inOff + BLOCK_SIZE) > in.length)
176 if ((outOff + BLOCK_SIZE) > out.length)
190 return BLOCK_SIZE;
H A DDESEngine.java15 protected static final int BLOCK_SIZE = 8; field in class:DESEngine
61 return BLOCK_SIZE;
75 if ((inOff + BLOCK_SIZE) > in.length)
80 if ((outOff + BLOCK_SIZE) > out.length)
87 return BLOCK_SIZE;
H A DAESEngine.java421 private static final int BLOCK_SIZE = 16; field in class:AESEngine
467 return BLOCK_SIZE;
504 return BLOCK_SIZE;
H A DAESFastEngine.java748 private static final int BLOCK_SIZE = 16; field in class:AESFastEngine
786 return BLOCK_SIZE;
823 return BLOCK_SIZE;
H A DBlowfishEngine.java300 private static final int BLOCK_SIZE = 8; // bytes = 64 bits field in class:BlowfishEngine
360 if ((inOff + BLOCK_SIZE) > in.length)
365 if ((outOff + BLOCK_SIZE) > out.length)
379 return BLOCK_SIZE;
388 return BLOCK_SIZE;
H A DTwofishEngine.java194 private static final int BLOCK_SIZE = 16; // bytes = 128 bits field in class:TwofishEngine
198 private static final int OUTPUT_WHITEN=INPUT_WHITEN+BLOCK_SIZE/4; // 4
199 private static final int ROUND_SUBKEYS=OUTPUT_WHITEN+BLOCK_SIZE/4;// 8
300 if ((inOff + BLOCK_SIZE) > in.length)
305 if ((outOff + BLOCK_SIZE) > out.length)
319 return BLOCK_SIZE;
332 return BLOCK_SIZE;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowStatFs.java14 public static final int BLOCK_SIZE = 4096; field in class:ShadowStatFs
25 return BLOCK_SIZE;
/external/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc4.c62 * BLOCK_SIZE: block size (in bytes) for raw I/O
69 #define BLOCK_SIZE 512 macro
179 | o reads block of size BLOCK_SIZE n times |
186 char readbuf[BLOCK_SIZE + 1]; /* buffer to store bytes read */
213 if (read(fd, readbuf, BLOCK_SIZE) != BLOCK_SIZE)
H A Dsched_tc6.c68 * BLOCK_SIZE: block size (in bytes) for raw I/O
75 #define BLOCK_SIZE 512 macro
323 char buf[BLOCK_SIZE];
330 while ((bytes_read = read(fd, buf, BLOCK_SIZE)) > 0) {
/external/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate02.c53 #define BLOCK_SIZE 1024 macro
122 char buf[BLOCK_SIZE];
123 memset(buf, 'A', BLOCK_SIZE);
125 SAFE_WRITE(cleanup, 1, fdw, buf, BLOCK_SIZE);
131 test_data[i].offset * BLOCK_SIZE,
132 test_data[i].len * BLOCK_SIZE));
143 test_data[i].offset * BLOCK_SIZE,
144 test_data[i].len * BLOCK_SIZE, test_data[i].error);
149 test_data[i].mode, test_data[i].offset * BLOCK_SIZE,
150 test_data[i].len * BLOCK_SIZE, TEST_ERRN
[all...]
/external/autotest/client/cros/
H A Dverity_utils.py25 BLOCK_SIZE = 4096 variable
280 BLOCK_SIZE,
/external/deqp/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp192 const int BLOCK_SIZE = 16; local
193 const deUint8 block[BLOCK_SIZE] = { 252, 253, 255, 255, 255, 255, 255, 255, 223, 251, 28, 206, 54, 251, 160, 174 };
195 DE_ASSERT(blockByteSize == BLOCK_SIZE);
197 deMemcpy((deUint8*)dst.getData() + ndx * BLOCK_SIZE, block, BLOCK_SIZE);
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
H A Dtest_rendering.c38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT) macro
230 blocks += BLOCK_SIZE;
247 blocks += BLOCK_SIZE;
258 blocks += BLOCK_SIZE;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DGCMBlockCipher.java26 private static final int BLOCK_SIZE = 16; field in class:GCMBlockCipher
68 if (c.getBlockSize() != BLOCK_SIZE)
71 "cipher required with a block size of " + BLOCK_SIZE + ".");
138 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
175 this.H = new byte[BLOCK_SIZE];
187 this.J0 = new byte[BLOCK_SIZE];
192 this.J0[BLOCK_SIZE - 1] = 0x01;
197 byte[] X = new byte[BLOCK_SIZE];
202 this.S = new byte[BLOCK_SIZE];
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DBlockFieldMatrix.java45 * The regular blocks represent {@link #BLOCK_SIZE} x {@link #BLOCK_SIZE} squares. Blocks
48 * {@link #BLOCK_SIZE}<sup>2</sup> elements long for regular blocks. The blocks are themselves
72 public static final int BLOCK_SIZE = 36; field in class:BlockFieldMatrix
109 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;
110 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE;
159 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;
[all...]
H A DBlockRealMatrix.java46 * The regular blocks represent {@link #BLOCK_SIZE} x {@link #BLOCK_SIZE} squares. Blocks
49 * {@link #BLOCK_SIZE}<sup>2</sup> elements long for regular blocks. The blocks are themselves
70 public static final int BLOCK_SIZE = 52; field in class:BlockRealMatrix
106 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;
107 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE;
156 blockRows = (rows + BLOCK_SIZE - 1) / BLOCK_SIZE;
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp232 static const int BLOCK_SIZE = 16; local
233 static const deUint8 blocks[][BLOCK_SIZE] =
253 DE_ASSERT(dataSize % BLOCK_SIZE == 0);
255 for (int i = 0; i < dataSize/BLOCK_SIZE; i++)
256 deMemcpy(&data[i*BLOCK_SIZE], &blocks[rnd.getInt(0, DE_LENGTH_OF_ARRAY(blocks)-1)][0], BLOCK_SIZE);
/external/libvpx/libvpx/vp9/common/
H A Dvp9_enums.h59 typedef uint8_t BLOCK_SIZE; typedef
/external/syslinux/core/include/
H A Dfs.h26 #define BLOCK_SIZE(fs) ((fs)->block_size) macro
/external/mesa3d/src/mesa/main/
H A Dtexcompress_bptc.c38 #define BLOCK_SIZE 4 macro
607 BLOCK_SIZE * BLOCK_SIZE * mode->n_index_bits -
1127 write_bits(writer, BLOCK_SIZE * BLOCK_SIZE * 2 - 1, 0);
1150 if (src_width < BLOCK_SIZE)
1151 write_bits(writer, 2 * (BLOCK_SIZE - src_width), 0);
1157 if (src_height < BLOCK_SIZE)
1158 write_bits(writer, 2 * BLOCK_SIZE * (BLOCK_SIZE
[all...]
/external/python/cpython2/Lib/plat-irix5/
H A DCL_old.py147 BLOCK_SIZE = 11 variable

Completed in 806 milliseconds

12