/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | GCMBlockCipher.java | 24 private static final int BLOCK_SIZE = 16; field in GCMBlockCipher 58 if (c.getBlockSize() != BLOCK_SIZE) in GCMBlockCipher() 61 "cipher required with a block size of " + BLOCK_SIZE + "."); in GCMBlockCipher() 122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); in init() 140 this.H = new byte[BLOCK_SIZE]; in init() 148 this.J0 = new byte[BLOCK_SIZE]; in init() 153 this.J0[BLOCK_SIZE - 1] = 0x01; in init() 158 byte[] X = new byte[BLOCK_SIZE]; in init() 163 this.S = new byte[BLOCK_SIZE]; in init() 164 this.S_at = new byte[BLOCK_SIZE]; in init() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemb.h | 40 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize); 41 void vp9_encode_sby(MACROBLOCK *x, BLOCK_SIZE bsize); 43 void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, 46 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize); 47 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize); 48 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize); 50 void vp9_encode_intra_block_y(MACROBLOCK *x, BLOCK_SIZE bsize); 51 void vp9_encode_intra_block_uv(MACROBLOCK *x, BLOCK_SIZE bsize);
|
D | vp9_tokenize.h | 31 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE bsize); 32 int vp9_is_skippable_in_plane(MACROBLOCKD *xd, BLOCK_SIZE bsize, 37 BLOCK_SIZE bsize);
|
D | vp9_rdopt.h | 30 int *r, int64_t *d, BLOCK_SIZE bsize, 38 BLOCK_SIZE bsize, 47 BLOCK_SIZE bsize,
|
D | vp9_block.h | 191 BLOCK_SIZE b_partitioning[4][4][4]; 192 BLOCK_SIZE mb_partitioning[4][4]; 193 BLOCK_SIZE sb_partitioning[4]; 194 BLOCK_SIZE sb64_partitioning; 202 static PICK_MODE_CONTEXT *get_block_context(MACROBLOCK *x, BLOCK_SIZE bsize) { in get_block_context()
|
D | vp9_tokenize.c | 87 static void set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, in set_entropy_context_b() 97 static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, in tokenize_b() 171 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in is_skippable() 177 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE bsize) { in vp9_sb_is_skippable() 184 int vp9_is_skippable_in_plane(MACROBLOCKD *xd, BLOCK_SIZE bsize, in vp9_is_skippable_in_plane() 193 BLOCK_SIZE bsize) { in vp9_tokenize_sb()
|
D | vp9_encodemb.c | 44 static void subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in subtract_plane() 56 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sby() 60 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sbuv() 67 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize) { in vp9_subtract_sb() 116 int plane, int block, BLOCK_SIZE plane_bsize, in optimize_b() 319 void vp9_optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, in vp9_optimize_b() 327 static void optimize_init_b(int plane, BLOCK_SIZE bsize, in optimize_init_b() 331 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in optimize_init_b() 342 void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, in vp9_xform_quant() 415 static void encode_block(int plane, int block, BLOCK_SIZE plane_bsize, in encode_block() [all …]
|
D | vp9_encodeframe.c | 53 static INLINE uint8_t *get_sb_index(MACROBLOCK *x, BLOCK_SIZE subsize) { in get_sb_index() 79 int mi_row, int mi_col, BLOCK_SIZE bsize); 110 BLOCK_SIZE bs) { in get_sby_perpixel_variance() 365 BLOCK_SIZE bsize, int output_enabled) { in update_state() 506 int mi_row, int mi_col, BLOCK_SIZE bsize) { in set_offsets() 594 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, in pick_sb_modes() 719 static BLOCK_SIZE *get_sb_partitioning(MACROBLOCK *x, BLOCK_SIZE bsize) { in get_sb_partitioning() 739 BLOCK_SIZE bsize) { in restore_context() 769 BLOCK_SIZE bsize) { in save_context() 800 int output_enabled, BLOCK_SIZE bsize, int sub_index) { in encode_b() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
D | OpenSSLDigest.java | 128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.MD5 129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); } in MD5() 135 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA1 136 public SHA1() { super("SHA-1", EVP_MD, SIZE, BLOCK_SIZE); } in SHA1() 142 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA256 143 public SHA256() { super("SHA-256", EVP_MD, SIZE, BLOCK_SIZE); } in SHA256() 149 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA384 150 public SHA384() { super("SHA-384", EVP_MD, SIZE, BLOCK_SIZE); } in SHA384() 156 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); field in OpenSSLDigest.SHA512 157 public SHA512() { super("SHA-512", EVP_MD, SIZE, BLOCK_SIZE); } in SHA512()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 106 static INLINE int b_width_log2(BLOCK_SIZE sb_type) { in b_width_log2() 109 static INLINE int b_height_log2(BLOCK_SIZE sb_type) { in b_height_log2() 113 static INLINE int mi_width_log2(BLOCK_SIZE sb_type) { in mi_width_log2() 117 static INLINE int mi_height_log2(BLOCK_SIZE sb_type) { in mi_height_log2() 140 BLOCK_SIZE sb_type; 228 static BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, PARTITION_TYPE partition) { in get_subsize() 229 const BLOCK_SIZE subsize = subsize_lookup[partition][bsize]; in get_subsize() 282 static BLOCK_SIZE get_plane_block_size(BLOCK_SIZE bsize, in get_plane_block_size() 284 BLOCK_SIZE bs = ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size() 289 static INLINE int plane_block_width(BLOCK_SIZE bsize, in plane_block_width() [all …]
|
D | vp9_common_data.h | 27 extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES]; 31 extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];
|
D | vp9_enums.h | 25 typedef enum BLOCK_SIZE { enum 41 } BLOCK_SIZE; typedef
|
D | vp9_reconinter.h | 19 BLOCK_SIZE bsize); 22 BLOCK_SIZE bsize); 25 BLOCK_SIZE bsize);
|
D | vp9_reconinter.c | 125 BLOCK_SIZE bsize, int pred_w, int pred_h, in build_inter_predictors() 190 static void build_inter_predictors_for_planes(MACROBLOCKD *xd, BLOCK_SIZE bsize, in build_inter_predictors_for_planes() 213 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sby() 217 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sbuv() 222 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sb()
|
/external/grub/stage2/ |
D | fsys_minix.c | 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro 46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ 72 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode))) 73 #define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode))) 141 ((struct minix_inode *)((int) SUPERBLOCK + BLOCK_SIZE)) 145 ((int)((int)DATABLOCK1 + BLOCK_SIZE)) 195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0, in minix_rdfsb() 196 BLOCK_SIZE, (char *) buffer); in minix_rdfsb() 258 offset = filepos & (BLOCK_SIZE - 1); in minix_read() 266 size = BLOCK_SIZE; in minix_read() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESedeEngine.java | 14 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()
|
D | BlowfishEngine.java | 300 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()
|
D | DESEngine.java | 15 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()
|
D | RC2Engine.java | 56 private static final int BLOCK_SIZE = 8; field in RC2Engine 157 return BLOCK_SIZE; in getBlockSize() 171 if ((inOff + BLOCK_SIZE) > in.length) in processBlock() 176 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 190 return BLOCK_SIZE; in processBlock()
|
D | TwofishEngine.java | 194 private static final int BLOCK_SIZE = 16; // bytes = 128 bits field in 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) in processBlock() 305 if ((outOff + BLOCK_SIZE) > out.length) in processBlock() 319 return BLOCK_SIZE; in processBlock() 332 return BLOCK_SIZE; in getBlockSize()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | StatFsTest.java | 24 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()
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem2k.h | 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro 39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
|
D | yaffs_fileem2k.c | 70 static char dummyBuffer[BLOCK_SIZE]; 85 requiredSize = BLOCKS_PER_HANDLE * BLOCK_SIZE; in GetBlockFileHandle() 88 if(write(h,dummyBuffer,BLOCK_SIZE) != BLOCK_SIZE) in GetBlockFileHandle()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowStatFs.java | 14 public static final int BLOCK_SIZE = 4096; field in ShadowStatFs 25 return BLOCK_SIZE; in getBlockSize()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | test_rendering.c | 36 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT) macro 227 blocks += BLOCK_SIZE; in main() 244 blocks += BLOCK_SIZE; in main() 255 blocks += BLOCK_SIZE; in main()
|