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

1 2 3 4 5 6 7

  /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/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...]
zero_copy_stream_impl_lite.cc 53 int block_size)
56 block_size_(block_size > 0 ? block_size : size),
106 ArrayOutputStream::ArrayOutputStream(void* data, int size, int block_size)
109 block_size_(block_size > 0 ? block_size : size),
205 CopyingInputStream* copying_stream, int block_size)
210 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize),
311 CopyingOutputStream* copying_stream, int 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;
hmm_shrink.c 25 if (dummy_end_block->block_size != 0)
71 last_block->block_size = bs;
78 dummy_end_block->block_size = 0;
94 last_block->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;
  /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...]
  /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,
  /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...]
  /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...]
  /system/extras/ext4_utils/
contents.c 37 if (len % info.block_size + dentry_len > info.block_size)
38 len += info.block_size - (len % info.block_size);
43 if (len % info.block_size + 8 > info.block_size)
44 len += info.block_size - (len % info.block_size);
58 u32 start_block = *offset / info.block_size;
59 u32 end_block = (*offset + rec_len - 1) / info.block_size;
    [all...]
ext2simg.c 67 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET);
71 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks);
74 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks)
80 printf(" Block size: %d\n", info.block_size);
114 block_bitmap = malloc(info.block_size);
120 info.block_size * aux_info.first_data_block, 0);
126 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap,
131 ret = read(fd, block_bitmap, info.block_size);
134 if (ret != (int)info.block_size)
144 queue_data_file(filename, (u64)info.block_size * start_block
    [all...]
make_ext4fs.c 146 dentries[i].link = calloc(info.block_size, 1);
147 readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1);
195 u32 journal_blocks = DIV_ROUND_UP(info.len, info.block_size) / 64;
205 return info.block_size * 8;
210 return DIV_ROUND_UP(info.len, info.block_size) / 4;
215 u32 blocks = DIV_ROUND_UP(info.len, info.block_size);
218 inodes = ALIGN(inodes, (info.block_size / info.inode_size));
230 u32 blocks = DIV_ROUND_UP(info.len, info.block_size);
233 info.block_size);
237 info.block_size) - bg_desc_blocks
    [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...]
ext4fixup.c 224 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET);
228 ret = read(fd, aux_info.bg_desc, info.block_size * aux_info.bg_desc_blocks);
231 if (ret != (int)info.block_size * (int)aux_info.bg_desc_blocks)
237 printf(" Block size: %d\n", info.block_size);
264 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) +
284 off = block_num * info.block_size;
290 len=read(fd, block, info.block_size);
291 if (len != info.block_size) {
307 off = block_num * info.block_size;
313 len=write(fd, block, info.block_size);
    [all...]
  /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...]
  /external/qemu/block/
cloop.c 30 uint32_t block_size; member in struct:BDRVCloopState
61 if (bdrv_pread(bs->file, 128, &s->block_size, 4) < 4) {
64 s->block_size = be32_to_cpu(s->block_size);
89 s->uncompressed_block = qemu_malloc(s->block_size);
94 s->sectors_per_block = s->block_size/512;
118 s->zstream.avail_out = s->block_size;
123 if(ret != Z_STREAM_END || s->zstream.total_out != s->block_size)
  /external/libvpx/vp8/encoder/
temporal_filter.h 21 unsigned int block_size, \
  /external/wpa_supplicant_8/src/crypto/
crypto_internal-cipher.c 33 size_t block_size; member in struct:crypto_cipher::__anon14033::__anon14035
87 ctx->u.aes.block_size = key_len;
88 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size);
129 if (len % ctx->u.aes.block_size)
131 blocks = len / ctx->u.aes.block_size;
133 for (j = 0; j < ctx->u.aes.block_size; j++)
138 ctx->u.aes.block_size);
139 plain += ctx->u.aes.block_size;
140 crypt += ctx->u.aes.block_size;
194 if (len % ctx->u.aes.block_size)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
ConnectionState.java 41 protected int block_size; field in class:ConnectionState
97 int mask = block_size - 1;
98 return (block_size - (content_size & mask));
  /external/e2fsprogs/lib/ext2fs/
undo_io.c 136 int block_size ; local
140 block_size = channel->block_size;
170 io_channel_set_blksize(channel, block_size);
174 static errcode_t write_block_size(TDB_CONTEXT *tdb, int block_size)
181 tdb_data.dptr = (unsigned char *)&(block_size);
182 tdb_data.dsize = sizeof(block_size);
215 size = channel->block_size;
220 size = count * channel->block_size;
228 offset = (block * channel->block_size) + data->offset
    [all...]
  /external/libvpx/vpx_mem/memory_manager/include/
hmm_intrnl.h 50 HMM_UNIQUE(size_bau) previous_block_size, block_size; member in struct:head_struct
79 (((head_record *) (HEAD_PTR))->block_size & ~HIGH_BIT_BAU_SIZE)
104 (((((head_record *) (HEAD_PTR))->block_size | \
110 h_ptr->block_size &= ~HIGH_BIT_BAU_SIZE; \
117 h_ptr->block_size |= HIGH_BIT_BAU_SIZE; }

Completed in 597 milliseconds

1 2 3 4 5 6 7