/external/ceres-solver/include/ceres/ |
D | gradient_checker.h | 123 const int num_blocks = block_sizes.size(); in Probe() local 125 CHECK_LE(num_blocks, 5) << "Unable to test functions that take more " in Probe() 129 CHECK_GE(num_blocks, 1); in Probe() 131 CHECK_LT(num_blocks, 1); in Probe() 135 CHECK_GE(num_blocks, 2); in Probe() 137 CHECK_LT(num_blocks, 2); in Probe() 141 CHECK_GE(num_blocks, 3); in Probe() 143 CHECK_LT(num_blocks, 3); in Probe() 147 CHECK_GE(num_blocks, 4); in Probe() 149 CHECK_LT(num_blocks, 4); in Probe() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | i_block.c | 30 blk64_t num_blocks) in ext2fs_iblk_add_blocks() argument 37 num_blocks *= fs->blocksize / 512; in ext2fs_iblk_add_blocks() 39 b += num_blocks; in ext2fs_iblk_add_blocks() 52 blk64_t num_blocks) in ext2fs_iblk_sub_blocks() argument 59 num_blocks *= fs->blocksize / 512; in ext2fs_iblk_sub_blocks() 61 if (num_blocks > b) in ext2fs_iblk_sub_blocks() 64 b -= num_blocks; in ext2fs_iblk_sub_blocks()
|
D | alloc_sb.c | 48 int j, old_desc_blocks, num_blocks; in ext2fs_reserve_super_and_bgd() local 50 num_blocks = ext2fs_super_and_bgd_loc(fs, group, &super_blk, in ext2fs_reserve_super_and_bgd() 73 return num_blocks; in ext2fs_reserve_super_and_bgd()
|
D | inode.c | 272 blk_t *num_blocks) in check_for_inode_bad_blocks() argument 307 *num_blocks = 1; in check_for_inode_bad_blocks() 319 if ((blk + *num_blocks) > bb->list[scan->bad_block_ptr]) in check_for_inode_bad_blocks() 320 *num_blocks = (int) (bb->list[scan->bad_block_ptr] - blk); in check_for_inode_bad_blocks() 331 blk_t num_blocks; in get_next_blocks() local 339 num_blocks = scan->inode_buffer_blocks; in get_next_blocks() 340 if (num_blocks > scan->blocks_left) in get_next_blocks() 341 num_blocks = scan->blocks_left; in get_next_blocks() 357 retval = check_for_inode_bad_blocks(scan, &num_blocks); in get_next_blocks() 365 (size_t) num_blocks * scan->fs->blocksize); in get_next_blocks() [all …]
|
/external/genext2fs/ |
D | 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/e2fsprogs/debugfs/ |
D | lsdel.c | 29 e2_blkcnt_t num_blocks; member 35 e2_blkcnt_t num_blocks; member 59 lsd->num_blocks++; in lsdel_proc() 139 lsd.num_blocks = 0; in do_lsdel() 172 delarray[num_delarray].num_blocks = lsd.num_blocks; in do_lsdel() 199 delarray[i].free_blocks, delarray[i].num_blocks, in do_lsdel()
|
D | icheck.c | 29 e2_blkcnt_t num_blocks; member 43 for (i=0; i < bw->num_blocks; i++) { in icheck_proc() 92 bw.num_blocks = bw.blocks_left = argc-1; in do_icheck() 154 for (i=0, binfo = bw.barray; i < bw.num_blocks; i++, binfo++) { in do_icheck()
|
/external/libnfc-nci/src/nfa/rw/ |
D | nfa_rw_api.c | 717 tNFA_STATUS NFA_RwT3tRead (UINT8 num_blocks, tNFA_T3T_BLOCK_DESC *t3t_blocks) in NFA_RwT3tRead() argument 722 NFA_TRACE_API1 ("NFA_RwT3tRead (): num_blocks to read: %i", num_blocks); in NFA_RwT3tRead() 725 if ((num_blocks == 0) || (t3t_blocks == NULL)) in NFA_RwT3tRead() 728 …FA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION) + (num_blocks * sizeof (tNFA_T… in NFA_RwT3tRead() 737 p_msg->params.t3t_read.num_blocks = num_blocks; in NFA_RwT3tRead() 741 memcpy (p_block_desc, t3t_blocks, (num_blocks * sizeof (tNFA_T3T_BLOCK_DESC))); in NFA_RwT3tRead() 766 tNFA_STATUS NFA_RwT3tWrite (UINT8 num_blocks, tNFA_T3T_BLOCK_DESC *t3t_blocks, UINT8 *p_data) in NFA_RwT3tWrite() argument 771 NFA_TRACE_API1 ("NFA_RwT3tWrite (): num_blocks to write: %i", num_blocks); in NFA_RwT3tWrite() 774 if ((num_blocks == 0) || (t3t_blocks == NULL) | (p_data == NULL)) in NFA_RwT3tWrite() 777 …FA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION) + (num_blocks * (sizeof (tNFA_… in NFA_RwT3tWrite() [all …]
|
/external/libnfc-nci/src/nfc/tags/ |
D | ce_t3t.c | 232 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++) in ce_t3t_handle_update_cmd() 261 if (p_cb->cur_cmd.num_blocks > p_cb->ndef_info.nbw) in ce_t3t_handle_update_cmd() 263 …ted too many blocks to update (requested: %i, max: %i)", p_cb->cur_cmd.num_blocks, p_cb->ndef_info… in ce_t3t_handle_update_cmd() 425 UINT8_TO_STREAM (p_dst, p_cb->cur_cmd.num_blocks); in ce_t3t_handle_check_cmd() 427 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++) in ce_t3t_handle_check_cmd() 448 if (p_cb->cur_cmd.num_blocks > p_cb->ndef_info.nbr) in ce_t3t_handle_check_cmd() 451 …sted too many blocks to check (requested: %i, max: %i)", p_cb->cur_cmd.num_blocks, p_cb->ndef_info… in ce_t3t_handle_check_cmd() 754 STREAM_TO_UINT8 (p_cb->cur_cmd.num_blocks, p); in ce_t3t_data_cback() 757 for (i = 0; i < p_cb->cur_cmd.num_blocks; i++) in ce_t3t_data_cback() 810 if (remaining < p_cb->cur_cmd.num_blocks*T3T_MSG_BLOCKSIZE) in ce_t3t_data_cback() [all …]
|
D | rw_t3t.c | 962 void rw_t3t_message_set_block_list (tRW_T3T_CB *p_cb, UINT8 **p, UINT8 num_blocks, tT3T_BLOCK_DESC … in rw_t3t_message_set_block_list() argument 980 for (i = 0; i < num_blocks; i++) in rw_t3t_message_set_block_list() 1006 UINT8_TO_STREAM ((*p), num_blocks); in rw_t3t_message_set_block_list() 1009 for (i = 0; i < num_blocks; i++) in rw_t3t_message_set_block_list() 1044 tNFC_STATUS rw_t3t_send_check_cmd (tRW_T3T_CB *p_cb, UINT8 num_blocks, tT3T_BLOCK_DESC *p_t3t_block… in rw_t3t_send_check_cmd() argument 1055 rw_t3t_message_set_block_list (p_cb, &p, num_blocks, p_t3t_blocks); in rw_t3t_send_check_cmd() 1061 …nd_cmd (p_cb, RW_T3T_CMD_CHECK, p_cmd_buf, RW_T3T_DEFAULT_CMD_TIMEOUT_TICKS * (UINT32) num_blocks); in rw_t3t_send_check_cmd() 1080 tNFC_STATUS rw_t3t_send_update_cmd (tRW_T3T_CB *p_cb, UINT8 num_blocks, tT3T_BLOCK_DESC *p_t3t_bloc… in rw_t3t_send_update_cmd() argument 1091 rw_t3t_message_set_block_list (p_cb, &p, num_blocks, p_t3t_blocks); in rw_t3t_send_update_cmd() 1094 ARRAY_TO_STREAM (p, p_data, num_blocks*16); in rw_t3t_send_update_cmd() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pax_common.c | 39 size_t num_blocks, left; in eap_pax_kdf() local 41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; in eap_pax_kdf() 42 if (identifier == NULL || num_blocks >= 255) in eap_pax_kdf() 58 for (counter = 1; counter <= (u8) num_blocks; counter++) { in eap_pax_kdf()
|
/external/libpng/ |
D | pngmem.c | 175 int num_blocks; in png_malloc_default() local 188 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14)); in png_malloc_default() 190 num_blocks = 1; in png_malloc_default() 192 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7)); in png_malloc_default() 194 num_blocks++; in png_malloc_default() 196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default() 225 png_ptr->offset_table_ptr = farmalloc(num_blocks * in png_malloc_default() 245 for (i = 0; i < num_blocks; i++) in png_malloc_default() 251 png_ptr->offset_table_number = num_blocks; in png_malloc_default()
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngmem.c | 162 int num_blocks; in png_malloc_default() local 175 num_blocks = (int)(1 << (png_ptr->zlib_window_bits - 14)); in png_malloc_default() 177 num_blocks = 1; in png_malloc_default() 179 num_blocks += (int)(1 << (png_ptr->zlib_mem_level - 7)); in png_malloc_default() 181 num_blocks++; in png_malloc_default() 183 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default() 212 png_ptr->offset_table_ptr = farmalloc(num_blocks * in png_malloc_default() 232 for (i = 0; i < num_blocks; i++) in png_malloc_default() 238 png_ptr->offset_table_number = num_blocks; in png_malloc_default()
|
/external/chromium/net/disk_cache/ |
D | storage_block-inl.h | 20 if (address.num_blocks() > 1) in StorageBlock() 38 return address_.num_blocks() * sizeof(*data_); in size() 53 if (address.num_blocks() > 1) in LazyInit() 141 void* buffer = new char[address_.num_blocks() * sizeof(*data_)]; in AllocateData()
|
D | addr_unittest.cc | 22 EXPECT_EQ(3, addr2.num_blocks()); in TEST_F() 31 EXPECT_EQ(4, addr3.num_blocks()); in TEST_F()
|
/external/jpeg/ |
D | jutils.c | 152 JDIMENSION num_blocks) in jcopy_block_row() argument 156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row() 163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) { in jcopy_block_row()
|
D | jcdctmgr.c | 183 JDIMENSION num_blocks) in forward_DCT() argument 195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT() 273 JDIMENSION num_blocks) in forward_DCT_float() argument 285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT_float()
|
/external/qemu/distrib/jpeg-6b/ |
D | jutils.c | 152 JDIMENSION num_blocks) in jcopy_block_row() argument 156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row() 163 for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) { in jcopy_block_row()
|
D | jcdctmgr.c | 183 JDIMENSION num_blocks) in forward_DCT() argument 195 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT() 273 JDIMENSION num_blocks) in forward_DCT_float() argument 285 for (bi = 0; bi < num_blocks; bi++, start_col += DCTSIZE) { in forward_DCT_float()
|
/external/valgrind/main/memcheck/ |
D | mc_leakcheck.c | 869 if (lr_a->num_blocks < lr_b->num_blocks) return -1; in cmp_LossRecords() 870 if (lr_a->num_blocks > lr_b->num_blocks) return 1; in cmp_LossRecords() 922 delta_considered = lr->num_blocks > 0; in get_printing_rules() 928 || lr->num_blocks > lr->old_num_blocks; in get_printing_rules() 933 || lr->num_blocks != lr->old_num_blocks; in get_printing_rules() 987 if (lr_array[i]->num_blocks == 0) { in print_results() 996 lr_array[i]->old_num_blocks = lr_array[i]->num_blocks; in print_results() 999 lr_array[i]->num_blocks = 0; in print_results() 1024 old_lr->num_blocks++; in print_results() 1035 lr->num_blocks = 1; in print_results() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) in e2fsck_add_dx_dir() argument 69 dir->numblocks = num_blocks; in e2fsck_add_dx_dir() 71 dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks in e2fsck_add_dx_dir()
|
/external/webp/src/dsp/ |
D | upsampling_sse2.c | 137 const int num_blocks = (uv_len - 1) >> 4; \ 138 const int leftover = uv_len - num_blocks * 16; \ 139 const int last_pos = 1 + 32 * num_blocks; \ 157 for (block = 0; block < num_blocks; ++block) { \
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 106 static blk_t num_blocks = 0; variable 204 (unsigned long) num_blocks), in print_status() 220 if (!num_blocks) in alarm_intr() 480 num_blocks = last_block - 1; in test_ro() 534 num_blocks = 0; in test_ro() 589 num_blocks = last_block - 1; in test_rw() 627 num_blocks = 0; in test_rw() 634 num_blocks = last_block; in test_rw() 674 num_blocks = 0; in test_rw() 780 num_blocks = last_block - 1; in test_nd() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | suitesparse.cc | 253 const int num_blocks = blocks.size(); in BlockOrderingToScalarOrdering() local 256 vector<int> block_starts(num_blocks); in BlockOrderingToScalarOrdering() 257 for (int i = 0, cursor = 0; i < num_blocks ; ++i) { in BlockOrderingToScalarOrdering() 264 for (int i = 0; i < num_blocks; ++i) { in BlockOrderingToScalarOrdering()
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_rw_api.h | 435 NFC_API extern tNFA_STATUS NFA_RwT3tRead (UINT8 num_blocks, 454 NFC_API extern tNFA_STATUS NFA_RwT3tWrite (UINT8 num_blocks,
|