Searched defs:num_blocks (Results 1 - 25 of 74) sorted by relevance

123

/external/e2fsprogs/lib/ext2fs/
H A Di_block.c30 blk64_t num_blocks)
40 num_blocks *= fs->blocksize / 512;
41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
43 b += num_blocks;
54 blk64_t num_blocks)
64 num_blocks *= fs->blocksize / 512;
65 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
67 if (num_blocks > b)
70 b -= num_blocks;
29 ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode, blk64_t num_blocks) argument
53 ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode, blk64_t num_blocks) argument
H A Dalloc_sb.c49 int old_desc_blocks, num_blocks; local
69 num_blocks = old_desc_blocks;
70 if (old_desc_blk + num_blocks >= ext2fs_blocks_count(fs->super))
71 num_blocks = ext2fs_blocks_count(fs->super) -
73 ext2fs_mark_block_bitmap_range2(bmap, old_desc_blk, num_blocks);
78 num_blocks = ext2fs_group_blocks_count(fs, group);
79 num_blocks -= 2 + fs->inode_blocks_per_group + used_blks;
81 return num_blocks ;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
H A Dblock.c38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) argument
44 if (num_blocks == 0)
50 blocks->num_blocks = num_blocks;
51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks);
68 Status XvMCCreateMacroBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCMacroBlockArray *blocks) argument
74 if (num_blocks == 0)
80 blocks->num_blocks = num_blocks;
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks);
[all...]
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dblock.c38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) argument
44 if (num_blocks == 0)
50 blocks->num_blocks = num_blocks;
51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks);
68 Status XvMCCreateMacroBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCMacroBlockArray *blocks) argument
74 if (num_blocks == 0)
80 blocks->num_blocks = num_blocks;
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks);
[all...]
/external/ceres-solver/internal/ceres/
H A Dblock_random_access_dense_matrix.cc43 const int num_blocks = blocks.size(); local
44 block_layout_.resize(num_blocks, 0);
46 for (int i = 0; i < num_blocks; ++i) {
53 cell_infos_.reset(new CellInfo[num_blocks * num_blocks]);
54 for (int i = 0; i < num_blocks * num_blocks; ++i) {
H A Dcompressed_col_sparse_matrix_utils.cc97 const int num_blocks = blocks.size(); local
100 vector<int> block_starts(num_blocks);
101 for (int i = 0, cursor = 0; i < num_blocks ; ++i) {
108 for (int i = 0; i < num_blocks; ++i) {
H A Dschur_jacobi_preconditioner.cc53 const int num_blocks = bs.cols.size() - options_.elimination_groups[0]; local
54 CHECK_GT(num_blocks, 0)
58 block_size_.resize(num_blocks);
59 for (int i = 0; i < num_blocks; ++i) {
/external/chromium_org/net/disk_cache/blockfile/
H A Daddr.cc16 int Addr::num_blocks() const { function in class:disk_cache::Addr
76 if (num_blocks() != 1)
86 if (is_separate_file() || file_type() != RANKINGS || num_blocks() != 1)
/external/ceres-solver/include/ceres/
H A Dgradient_checker.h123 const int num_blocks = block_sizes.size(); local
125 CHECK_LE(num_blocks, 5) << "Unable to test functions that take more "
129 CHECK_GE(num_blocks, 1);
131 CHECK_LT(num_blocks, 1);
135 CHECK_GE(num_blocks, 2);
137 CHECK_LT(num_blocks, 2);
141 CHECK_GE(num_blocks, 3);
143 CHECK_LT(num_blocks, 3);
147 CHECK_GE(num_blocks, 4);
149 CHECK_LT(num_blocks,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_slab.h67 unsigned num_blocks; member in struct:util_slab_mempool
76 unsigned num_blocks,
H A Du_slab.c64 for (i = 0; i < pool->num_blocks-1; i++) {
70 block = util_slab_get_block(pool, page, pool->num_blocks-1);
139 unsigned num_blocks,
145 pool->num_blocks = num_blocks;
149 num_blocks * pool->block_size;
137 util_slab_create(struct util_slab_mempool *pool, unsigned item_size, unsigned num_blocks, enum util_slab_threading threading) argument
/external/e2fsprogs/debugfs/
H A Dicheck.c29 e2_blkcnt_t num_blocks; member in struct:block_walk_struct
43 for (i=0; i < bw->num_blocks; i++) {
92 bw.num_blocks = bw.blocks_left = argc-1;
158 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) {
H A Dlsdel.c29 e2_blkcnt_t num_blocks; member in struct:deleted_info
35 e2_blkcnt_t num_blocks; member in struct:lsdel_struct
59 lsd->num_blocks++;
139 lsd.num_blocks = 0;
169 delarray[num_delarray].num_blocks = lsd.num_blocks;
196 delarray[i].free_blocks, delarray[i].num_blocks,
/external/e2fsprogs/e2fsck/
H A Ddx_dirinfo.c16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) argument
69 dir->numblocks = num_blocks;
71 dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_slab.h67 unsigned num_blocks; member in struct:util_slab_mempool
76 unsigned num_blocks,
H A Du_slab.c64 for (i = 0; i < pool->num_blocks-1; i++) {
70 block = util_slab_get_block(pool, page, pool->num_blocks-1);
139 unsigned num_blocks,
145 pool->num_blocks = num_blocks;
149 num_blocks * pool->block_size;
137 util_slab_create(struct util_slab_mempool *pool, unsigned item_size, unsigned num_blocks, enum util_slab_threading threading) argument
/external/chromium_org/third_party/libjpeg_turbo/
H A Djutils.c146 JDIMENSION num_blocks)
150 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
157 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
145 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_cfg.h100 int num_blocks; member in class:fs_cfg
/external/jpeg/
H A Djutils.c152 JDIMENSION num_blocks)
156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
151 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_cfg.h100 int num_blocks; member in class:fs_cfg
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jutils.c147 JDIMENSION num_blocks)
151 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
158 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
146 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/qemu/distrib/jpeg-6b/
H A Djutils.c152 JDIMENSION num_blocks)
156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
151 jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks) argument
/external/chromium_org/crypto/
H A Dghash.cc222 void GaloisHash::UpdateBlocks(const uint8* bytes, size_t num_blocks) { argument
223 for (size_t i = 0; i < num_blocks; i++) {
/external/chromium_org/third_party/libpng/
H A Dpngmem.c175 int num_blocks; local
188 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14));
190 num_blocks = 1;
192 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7));
194 num_blocks++;
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16;
225 png_ptr->offset_table_ptr = farmalloc(num_blocks *
245 for (i = 0; i < num_blocks; i++)
251 png_ptr->offset_table_number = num_blocks;
/external/qemu/distrib/libpng-1.2.46/
H A Dpngmem.c175 int num_blocks; local
188 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14));
190 num_blocks = 1;
192 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7));
194 num_blocks++;
196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16;
225 png_ptr->offset_table_ptr = farmalloc(num_blocks *
245 for (i = 0; i < num_blocks; i++)
251 png_ptr->offset_table_number = num_blocks;

Completed in 565 milliseconds

123