/external/ceres-solver/internal/ceres/ |
block_random_access_dense_matrix.cc | 43 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) {
|
compressed_col_sparse_matrix_utils.cc | 97 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) {
|
schur_jacobi_preconditioner.cc | 54 const int num_blocks = bs.cols.size() - options_.elimination_groups[0]; local 55 CHECK_GT(num_blocks, 0) 59 block_size_.resize(num_blocks); 63 for (int i = 0; i < num_blocks; ++i) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
block.c | 38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) 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) 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/ |
block.c | 38 Status XvMCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) 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) 74 if (num_blocks == 0) 80 blocks->num_blocks = num_blocks; 81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); [all...] |
/external/ceres-solver/include/ceres/ |
gradient_checker.h | 123 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, 4) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
i_block.c | 30 blk64_t num_blocks) 37 num_blocks *= fs->blocksize / 512; 39 b += num_blocks; 52 blk64_t num_blocks) 59 num_blocks *= fs->blocksize / 512; 61 if (num_blocks > b) 64 b -= num_blocks;
|
alloc_sb.c | 48 int j, old_desc_blocks, num_blocks; local 50 num_blocks = ext2fs_super_and_bgd_loc(fs, group, &super_blk, 73 return num_blocks;
|
/external/chromium_org/net/disk_cache/ |
addr.cc | 16 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)
|
addr_unittest.cc | 22 EXPECT_EQ(3, addr2.num_blocks()); 31 EXPECT_EQ(4, addr3.num_blocks());
|
/external/genext2fs/ |
mkbootimg_ext2.sh | 94 num_blocks=`du -sk $TMPDIR | tail -n1 | awk '{print $1;}'` 97 extra=`expr $num_blocks / 100` 101 num_blocks=`expr $num_blocks + $extra` 104 $GENEXT2FS -d $TMPDIR -b $num_blocks -N $num_inodes -m 0 $OUTPUT
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_slab.h | 67 unsigned num_blocks; member in struct:util_slab_mempool 76 unsigned num_blocks,
|
u_slab.c | 64 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;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_slab.h | 67 unsigned num_blocks; member in struct:util_slab_mempool 76 unsigned num_blocks,
|
u_slab.c | 64 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;
|
/external/chromium/net/disk_cache/ |
addr.cc | 16 int Addr::num_blocks() const { function in class:disk_cache::Addr
|
storage_block-inl.h | 20 if (address.num_blocks() > 1) 38 return address_.num_blocks() * sizeof(*data_); 53 if (address.num_blocks() > 1) 141 void* buffer = new char[address_.num_blocks() * sizeof(*data_)];
|
addr_unittest.cc | 22 EXPECT_EQ(3, addr2.num_blocks()); 31 EXPECT_EQ(4, addr3.num_blocks());
|
/sdk/emulator/qtools/ |
bb2sym.cpp | 20 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks); 104 MyStaticRec **assign_inner_blocks(int num_blocks, MyStaticRec *blocks) 110 MyStaticRec **sorted = new MyStaticRec*[num_blocks]; 111 for (ii = 0; ii < num_blocks; ++ii) { 116 qsort(sorted, num_blocks, sizeof(MyStaticRec*), cmp_inc_addr); 120 for (ii = 0; ii < num_blocks - 1; ++ii) {
|
/external/jpeg/ |
jutils.c | 152 JDIMENSION num_blocks) 156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); 163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
|
/external/qemu/distrib/jpeg-6b/ |
jutils.c | 152 JDIMENSION num_blocks) 156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); 163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 39 size_t num_blocks, left; local 41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; 42 if (identifier == NULL || num_blocks >= 255) 58 for (counter = 1; counter <= (u8) num_blocks; counter++) {
|
/external/chromium_org/net/tools/balsa/ |
balsa_headers_test.cc | 56 ASSERT_EQ(1u, buffer_->num_blocks()); 64 ASSERT_EQ(2u, buffer_->num_blocks()); 83 ASSERT_EQ(3u, buffer_->num_blocks()); 103 ASSERT_EQ(1u, buffer_->num_blocks()); 114 ASSERT_EQ(2u, buffer_->num_blocks()); 125 ASSERT_EQ(2u, buffer_->num_blocks()); 127 ASSERT_EQ(1u, buffer_->num_blocks()); 133 ASSERT_EQ(2u, buffer_->num_blocks()); 134 ASSERT_EQ(1u, anotherBuffer_->num_blocks()); 138 ASSERT_EQ(1u, buffer_->num_blocks()); [all...] |
/external/e2fsprogs/debugfs/ |
lsdel.c | 29 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; 172 delarray[num_delarray].num_blocks = lsd.num_blocks; 199 delarray[i].free_blocks, delarray[i].num_blocks,
|
/external/e2fsprogs/e2fsck/ |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 69 dir->numblocks = num_blocks; 71 dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks
|