/external/compiler-rt/BlocksRuntime/tests/ |
hasdescriptor.c | 21 //printf("size of inner is %ld\n", Block_size(inner)); 22 //printf("size of outer is %ld\n", Block_size(outer)); 23 if (Block_size(inner) != Block_size(outer)) {
|
structmember.c | 31 unsigned nominalsize = Block_size(b) - Block_size(a); 36 if ((Block_size(b) - Block_size(a)) != nominalsize) { 37 printf("sizeof a is %ld, sizeof b is %ld, expected %d\n", Block_size(a), Block_size(b), nominalsize);
|
/external/v8/test/cctest/ |
test-platform-win32.cc | 20 size_t block_size = 4 * KB; local 21 CHECK(vm->Commit(block_addr, block_size, false)); 25 CHECK(vm->Uncommit(block_addr, block_size));
|
test-platform-linux.cc | 74 size_t block_size = 4 * KB; local 75 CHECK(vm->Commit(block_addr, block_size, false)); 79 CHECK(vm->Uncommit(block_addr, block_size));
|
/external/opencv/cxcore/src/ |
cxmean.cpp | 133 #define ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) \ 134 int remaining = block_size; \ 137 #define ICV_MEAN_ENTRY_BLOCK_C1( sumtype, worktype, block_size )\ 140 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) 142 #define ICV_MEAN_ENTRY_BLOCK_C2( sumtype, worktype, block_size )\ 145 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) 147 #define ICV_MEAN_ENTRY_BLOCK_C3( sumtype, worktype, block_size )\ 150 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) 152 #define ICV_MEAN_ENTRY_BLOCK_C4( sumtype, worktype, block_size )\ 155 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) [all...] |
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/bluetooth/glib/tests/ |
slice-color.c | 58 touch_mem (guint64 block_size, 68 mema[j] = g_slice_alloc (block_size); 71 memb[j] = g_slice_alloc (block_size); 74 memc[j] = g_slice_alloc (block_size); 90 g_slice_free1 (block_size, mema[j]); 91 g_slice_free1 (block_size, memb[j]); 92 g_slice_free1 (block_size, memc[j]); 110 guint64 block_size = 512, area_size = 1024 * 1024, n_blocks, repeats = 1000000; local 113 block_size = parse_memsize (argv[1]); 117 block_size = 512 [all...] |
base64-test.c | 11 #define BLOCK_SIZE 32 20 gsize len, decoded_len, max, input_len, block_size; local 35 block_size = MIN (BLOCK_SIZE, length - input_len); 36 len += g_base64_encode_step (data + input_len, block_size, 38 input_len += block_size; 59 int chunk_len = MIN (BLOCK_SIZE, len);
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
GCMBlockCipher.java | 22 private static final int BLOCK_SIZE = 16; 23 private static final byte[] ZEROES = new byte[BLOCK_SIZE]; 54 if (c.getBlockSize() != BLOCK_SIZE) 57 "cipher required with a block size of " + BLOCK_SIZE + "."); 116 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); 134 // (but must be 16 if nonce length not 12) (BLOCK_SIZE?) 137 this.H = new byte[BLOCK_SIZE]; 181 return ((len + bufOff) / BLOCK_SIZE) * BLOCK_SIZE; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
aes_wrap.c | 153 #define BLOCK_SIZE 16 162 for (i = 0; i < BLOCK_SIZE - 1; i++) 164 pad[BLOCK_SIZE - 1] <<= 1; 166 pad[BLOCK_SIZE - 1] ^= 0x87; 187 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE]; 194 os_memset(cbc, 0, BLOCK_SIZE); 205 while (left >= BLOCK_SIZE) { 206 for (i = 0; i < BLOCK_SIZE; i++) { 214 if (left > BLOCK_SIZE) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
OpenSSLDigest.java | 128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); } 135 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 136 public SHA1() { super("SHA-1", EVP_MD, SIZE, BLOCK_SIZE); } 142 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 143 public SHA256() { super("SHA-256", EVP_MD, SIZE, BLOCK_SIZE); } 149 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 150 public SHA384() { super("SHA-384", EVP_MD, SIZE, BLOCK_SIZE); } 156 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 157 public SHA512() { super("SHA-512", EVP_MD, SIZE, BLOCK_SIZE); } [all...] |
/external/protobuf/src/google/protobuf/io/ |
printer_unittest.cc | 55 const int block_size = 100; local 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); 64 for (int block_size = 1; block_size < 512; block_size *= 2) { 65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); 89 for (int block_size = 1; block_size < 512; block_size *= 2) { 90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeEngine.java | 13 protected static final int BLOCK_SIZE = 8; 81 return BLOCK_SIZE; 95 if ((inOff + BLOCK_SIZE) > in.length) 100 if ((outOff + BLOCK_SIZE) > out.length) 105 byte[] temp = new byte[BLOCK_SIZE]; 120 return BLOCK_SIZE;
|
/system/extras/ext4_utils/ |
contents.c | 42 if (len % info.block_size + dentry_len > info.block_size) 43 len += info.block_size - (len % info.block_size); 48 if (len % info.block_size + 8 > info.block_size) 49 len += info.block_size - (len % info.block_size); 63 u32 start_block = *offset / info.block_size; 64 u32 end_block = (*offset + rec_len - 1) / info.block_size; [all...] |
ext2simg.c | 71 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); 75 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks); 78 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks) 84 printf(" Block size: %d\n", info.block_size); 118 block_bitmap = malloc(info.block_size); 124 info.block_size * aux_info.first_data_block, 0); 130 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap, 135 ret = read(fd, block_bitmap, info.block_size); 138 if (ret != (int)info.block_size) 148 queue_data_file(filename, (u64)info.block_size * start_block [all...] |
indirect.c | 32 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS) 46 len = min(region_len * info.block_size, backing_len); 124 u32 *ind_block_data = calloc(info.block_size, 1); 125 queue_data_block((u8*)ind_block_data, info.block_size, ind_block); 153 u32 *dind_block_data = calloc(info.block_size, 1); 154 queue_data_block((u8*)dind_block_data, info.block_size, dind_block); 201 u32 *ind_block_data = calloc(info.block_size, 1); 202 queue_data_block((u8*)ind_block_data, info.block_size, ind_block); 232 u32 *dind_block_data = calloc(info.block_size, 1); 233 queue_data_block((u8*)dind_block_data, info.block_size, dind_block) [all...] |
ext4_utils.c | 93 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 102 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 112 count_chunks->cur_ptr = off + ALIGN(len, info.block_size); 165 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1; 166 aux_info.len_blocks = info.len / info.block_size; 168 info.block_size); 171 aux_info.blocks_per_ind = info.block_size / sizeof(u32); 177 info.block_size); 191 aux_info.sb = calloc(info.block_size, 1); 198 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks) [all...] |
/external/yaffs2/yaffs2/direct/ |
yaffs_fileem2k.h | 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) 39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE))
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal-cipher.c | 27 size_t block_size; member in struct:crypto_cipher::__anon15582::__anon15584 81 ctx->u.aes.block_size = key_len; 82 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size); 123 if (len % ctx->u.aes.block_size) 125 blocks = len / ctx->u.aes.block_size; 127 for (j = 0; j < ctx->u.aes.block_size; j++) 132 ctx->u.aes.block_size); 133 plain += ctx->u.aes.block_size; 134 crypt += ctx->u.aes.block_size; 188 if (len % ctx->u.aes.block_size) [all...] |
/external/e2fsprogs/ext2ed/ |
file_com.c | 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; 36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; 44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 85 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; 86 file_info.file_offset=file_info.block_num*file_system_info.block_size; 88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 106 if (file_info.offset_in_block+offset < file_system_info.block_size) { 133 if (offset < file_system_info.block_size) { 186 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; [all...] |
/external/libvpx/vpx_mem/memory_manager/ |
hmm_grow.c | 27 if (HEAD_PTR->block_size != 0) 34 HEAD_PTR->block_size = n_baus; 40 dummy->block_size = 0;
|
/external/bluetooth/glib/glib/ |
gslice.h | 37 gpointer g_slice_alloc (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); 38 gpointer g_slice_alloc0 (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); 39 gpointer g_slice_copy (gsize block_size, 41 void g_slice_free1 (gsize block_size, 43 void g_slice_free_chain_with_offset (gsize block_size,
|
/frameworks/base/services/java/com/android/server/ |
RandomBlock.java | 36 private static final int BLOCK_SIZE = 4096; 37 private byte[] block = new byte[BLOCK_SIZE]; 55 while(total < BLOCK_SIZE) { 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 79 f.setLength(BLOCK_SIZE);
|
/external/e2fsprogs/misc/ |
badblocks.c | 89 "Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n" 323 static int do_read (int dev, unsigned char * buffer, int try, int block_size, 331 set_o_direct(dev, buffer, try * block_size, current_block); 337 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 338 SEEK_SET) != (ext2_loff_t) current_block * block_size) 344 got = read (dev, buffer, try * block_size); 351 got /= block_size; 395 static int do_write(int dev, unsigned char * buffer, int try, int block_size, 400 set_o_direct(dev, buffer, try * block_size, current_block); 406 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 982 int block_size = 1024; local [all...] |