/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));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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...] |
/external/chromium_org/third_party/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/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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex_format.c | 59 GLuint block_size; local 61 block_size = _mesa_get_format_bytes(mesaFormat); 64 return block_size / bw;
|
/external/chromium_org/v8/test/cctest/ |
test-platform-win32.cc | 46 size_t block_size = 4 * KB; local 47 CHECK(vm->Commit(block_addr, block_size, false)); 51 CHECK(vm->Uncommit(block_addr, block_size));
|
/external/libvpx/libvpx/vpx_mem/memory_manager/ |
hmm_grow.c | 26 if (HEAD_PTR->block_size != 0) 33 HEAD_PTR->block_size = n_baus; 39 dummy->block_size = 0;
|
hmm_shrink.c | 24 if (dummy_end_block->block_size != 0) 65 last_block->block_size = bs; 72 dummy_end_block->block_size = 0; 86 last_block->block_size = 0;
|
hmm_base.c | 123 BAUS_FORWARD(head_ptr, head_ptr->block_size), rem_baus) 125 head_ptr->block_size = n_baus; 128 rem_head_ptr->block_size = rem_baus; 189 (head_record *) BAUS_FORWARD(free_head_ptr, free_head_ptr->block_size); 213 bkwd_head_ptr->block_size += free_head_ptr->block_size; 219 if (fwd_head_ptr->block_size == 0) { 247 free_head_ptr->block_size += fwd_head_ptr->block_size; 255 if (fwd_head_ptr->block_size == 0) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_format.c | 59 GLuint block_size; local 61 block_size = _mesa_get_format_bytes(mesaFormat); 64 return block_size / bw;
|
/external/ceres-solver/internal/ceres/ |
schur_jacobi_preconditioner.cc | 125 const int block_size = block_size_[i]; local 126 ConstMatrixRef block(lhs_values, block_size, block_size); 128 VectorRef(y, block_size) = 132 .solve(ConstVectorRef(x, block_size)); 134 x += block_size; 135 y += block_size; 136 lhs_values += block_size * 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...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
options.cc | 22 block_size(4096),
|
/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...] |
/external/chromium_org/third_party/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/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;
|
/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/ |
kernel.cpp | 168 kern->block_size()); 193 const size_t *grid_size, const size_t *block_size, 226 if (block_size) { 229 }, block_size, block_size + dims, 235 }, block_size, block_size + dims, grid_size)) 239 block_size, block_size + dims) > 252 const std::vector<size_t> &block_size) { [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
kernel.cpp | 168 kern->block_size()); 193 const size_t *grid_size, const size_t *block_size, 226 if (block_size) { 229 }, block_size, block_size + dims, 235 }, block_size, block_size + dims, grid_size)) 239 block_size, block_size + dims) > 252 const std::vector<size_t> &block_size) { [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)
|