HomeSort by relevance Sort by last modified time
    Searched full:block_size (Results 1 - 25 of 385) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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));
test-platform-nullos.cc 73 size_t block_size = 4 * KB; local
74 CHECK(vm->Commit(block_addr, block_size, false));
78 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/bouncycastle/bcprov/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...]
  /system/core/libsparse/
sparse.c 29 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len)
36 s->backed_block_list = backed_block_list_new(block_size);
42 s->block_size = block_size;
94 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
96 if (last_block < DIV_ROUND_UP(s->len, s->block_size)) {
135 write_skip_chunk(out, (int64_t)blocks * s->block_size);
139 DIV_ROUND_UP(backed_block_len(bb), s->block_size);
142 pad = s->len - (int64_t)last_block * s->block_size;
159 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc)
    [all...]
img2simg.c 43 fprintf(stderr, "Usage: img2simg <raw_image_file> <sparse_image_file> [<block_size>]\n");
53 unsigned int block_size = 4096; local
62 block_size = atoi(argv[3]);
65 if (block_size < 1024 || block_size % 4 != 0) {
93 s = sparse_file_new(block_size, len);
  /system/extras/ext4_utils/
ext2simg.c 77 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET);
81 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks);
84 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks)
90 printf(" Block size: %d\n", info.block_size);
124 block_bitmap = malloc(info.block_size);
130 info.block_size * aux_info.first_data_block, 0);
136 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap,
141 ret = read(fd, block_bitmap, info.block_size);
144 if (ret != (int)info.block_size)
155 (u64)info.block_size * start_block
    [all...]
indirect.c 33 if (DIV_ROUND_UP(backing_len, info.block_size) > EXT4_NDIR_BLOCKS)
47 len = min(region_len * info.block_size, backing_len);
125 u32 *ind_block_data = calloc(info.block_size, 1);
126 sparse_file_add_data(info.sparse_file, ind_block_data, info.block_size,
155 u32 *dind_block_data = calloc(info.block_size, 1);
156 sparse_file_add_data(info.sparse_file, dind_block_data, info.block_size,
204 u32 *ind_block_data = calloc(info.block_size, 1);
205 sparse_file_add_data(info.sparse_file, ind_block_data, info.block_size,
236 u32 *dind_block_data = calloc(info.block_size, 1);
237 sparse_file_add_data(info.sparse_file, dind_block_data, info.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/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 24 private static final int BLOCK_SIZE = 16;
58 if (c.getBlockSize() != BLOCK_SIZE)
61 "cipher required with a block size of " + BLOCK_SIZE + ".");
122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
131 // (but must be 16 if nonce length not 12) (BLOCK_SIZE?)
140 this.H = new byte[BLOCK_SIZE];
148 this.J0 = new byte[BLOCK_SIZE];
153 this.J0[BLOCK_SIZE - 1] = 0x01;
158 byte[] X = new byte[BLOCK_SIZE];
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 16 protected static final int BLOCK_SIZE = 8;
84 return BLOCK_SIZE;
98 if ((inOff + BLOCK_SIZE) > in.length)
103 if ((outOff + BLOCK_SIZE) > out.length)
110 byte[] temp = new byte[BLOCK_SIZE];
125 return BLOCK_SIZE;
  /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/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/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;
hmm_base.c 133 BAUS_FORWARD(head_ptr, head_ptr->block_size), rem_baus)
135 head_ptr->block_size = n_baus;
138 rem_head_ptr->block_size = rem_baus;
202 (head_record *) BAUS_FORWARD(free_head_ptr, free_head_ptr->block_size);
231 bkwd_head_ptr->block_size += free_head_ptr->block_size;
237 if (fwd_head_ptr->block_size == 0)
272 free_head_ptr->block_size += fwd_head_ptr->block_size;
280 if (fwd_head_ptr->block_size == 0
    [all...]
hmm_resize.c 46 i = head_ptr->block_size;
49 (head_record *) BAUS_FORWARD(head_ptr, head_ptr->block_size);
99 rem_head_ptr->block_size = (U(size_bau)) i;
115 head_ptr->block_size = (U(size_bau)) n;
  /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);
  /ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.adapt/rand.adapt.disc/
values.pass.cpp 20 // static constexpr size_t block_size = p;
36 static_assert((E::block_size == 223), "");
40 where(E::block_size);
48 static_assert((E::block_size == 389), "");
52 where(E::block_size);
  /external/e2fsprogs/misc/
badblocks.c 89 "Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n"
326 static int do_read (int dev, unsigned char * buffer, int try, int block_size,
334 set_o_direct(dev, buffer, try * block_size, current_block);
340 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size,
341 SEEK_SET) != (ext2_loff_t) current_block * block_size)
347 got = read (dev, buffer, try * block_size);
354 got /= block_size;
398 static int do_write(int dev, unsigned char * buffer, int try, int block_size,
403 set_o_direct(dev, buffer, try * block_size, current_block);
409 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size,
985 int block_size = 1024; local
    [all...]
  /external/robolectric/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));

Completed in 241 milliseconds

1 2 3 4 5 6 7 8 91011>>