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

1 2 3 4 5 6 7 8 9

  /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));
  /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);
  /system/core/libsparse/
sparse_file.h 23 unsigned int block_size; member in struct:sparse_file
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);
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...]
output_file.h 24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len,
27 void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
  /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/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/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/
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...]
ext4_utils.c 93 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1;
94 aux_info.len_blocks = info.len / info.block_size;
96 info.block_size);
99 aux_info.blocks_per_ind = info.block_size / sizeof(u32);
105 info.block_size);
119 aux_info.sb = calloc(info.block_size, 1);
126 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks);
156 sb->s_log_block_size = log_2(info.block_size / 1024);
157 sb->s_obso_log_frag_size = log_2(info.block_size / 1024);
227 aux_info.backup_sb[i] = calloc(info.block_size, 1)
    [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/regex-re2/util/
arena.cc 16 UnsafeArena::UnsafeArena(const size_t block_size)
17 : block_size_(block_size),
23 assert(block_size > kDefaultAlignment);
71 UnsafeArena::AllocatedBlock* UnsafeArena::AllocNewBlock(const size_t block_size) {
85 block->mem = reinterpret_cast<char*>(malloc(block_size));
86 block->size = block_size;
arena.h 30 UnsafeArena(const size_t block_size);
69 AllocatedBlock *AllocNewBlock(const size_t 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/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)
  /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...]

Completed in 629 milliseconds

1 2 3 4 5 6 7 8 9