/system/keymaster/ |
hkdf.cpp | 62 const size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; local 63 if (num_blocks >= 256u) 75 for (size_t i = 0; i < num_blocks; i++) {
|
iso18033kdf.cpp | 43 size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; local 48 for (size_t block = 0; block < num_blocks; block++) {
|
/external/e2fsprogs/lib/ext2fs/ |
alloc_sb.c | 49 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 ;
|
blknum.c | 50 int num_blocks; local 53 num_blocks = (ext2fs_blocks_count(fs->super) - 56 if (!num_blocks) 57 num_blocks = fs->super->s_blocks_per_group; 59 num_blocks = fs->super->s_blocks_per_group; 61 return num_blocks;
|
inode.c | 272 blk64_t *num_blocks) 307 *num_blocks = 1; 319 if ((blk + *num_blocks) > bb->list[scan->bad_block_ptr]) 320 *num_blocks = (int) (bb->list[scan->bad_block_ptr] - blk); 331 blk64_t num_blocks; local 339 num_blocks = scan->inode_buffer_blocks; 340 if (num_blocks > scan->blocks_left) 341 num_blocks = scan->blocks_left; 357 retval = check_for_inode_bad_blocks(scan, &num_blocks); 365 (size_t) num_blocks * scan->fs->blocksize) [all...] |
mkjournal.c | 45 __u32 num_blocks, int flags, 51 if (num_blocks < 1024) 65 jsb->s_maxlen = htonl(num_blocks); 93 blk_t num_blocks, int flags) 100 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, 124 for (i = 1; i < num_blocks; i++) { 217 int num_blocks; member in struct:mkjournal_struct 256 es->num_blocks--; 289 if (es->num_blocks == 0) 300 blk_t num_blocks, int flags [all...] |
/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 | 53 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/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/debugfs/ |
icheck.c | 29 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++) {
|
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; 169 delarray[num_delarray].num_blocks = lsd.num_blocks; 196 delarray[i].free_blocks, delarray[i].num_blocks,
|
filefrag.c | 145 blk64_t num_blocks = ext2fs_inode_i_blocks(current_fs, inode); local 150 num_blocks /= current_fs->blocksize / 512; 153 fs->name, num_blocks, EXT2_I_SIZE(inode));
|
/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/mesa3d/src/gallium/auxiliary/util/ |
u_slab.h | 67 unsigned num_blocks; member in struct:util_slab_mempool 76 unsigned num_blocks,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_cfg.h | 100 int num_blocks; member in class:fs_cfg
|
/external/opencv3/3rdparty/libpng/ |
pngmem.c | 187 int num_blocks; local 205 num_blocks = (int)(1 << (window_bits - 14)); 208 num_blocks = 1; 215 num_blocks += (int)(1 << (mem_level - 7)); 218 num_blocks++; 220 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; 251 png_ptr->offset_table_ptr = farmalloc(num_blocks * 273 for (i = 0; i < num_blocks; i++) 279 png_ptr->offset_table_number = num_blocks;
|
/system/tpm/trunks/ftdi/ |
support.c | 98 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, local 111 num_blocks = (size / xfer_size); 113 num_blocks++; 117 total_size = size + (CMD_SIZE * num_blocks); 121 total_size += (CMD_SIZE * 3 * num_blocks); 128 for (j = 0; j < num_blocks; j++) {
|
/system/update_engine/payload_generator/ |
full_update_generator.cc | 164 size_t num_blocks = std::min(chunk_blocks, local 174 dst_extent->set_num_blocks(num_blocks); 180 num_blocks * config.block_size,
|
delta_diff_utils_unittest.cc | 59 uint64_t to_write = std::min(extent.num_blocks() * block_size, 63 offset += extent.num_blocks() * block_size; 89 size_t num_blocks = part.size / block_size; local 91 for (size_t i = 0; i < num_blocks; ++i) { 221 uint64_t num_blocks = BlocksInExtents(old_extents); local 222 EXPECT_EQ(num_blocks, BlocksInExtents(new_extents)); 227 for (uint64_t i = 0; i < num_blocks; ++i) { 261 num_blocks = BlocksInExtents(old_extents); 263 EXPECT_EQ(num_blocks * kBlockSize, op.src_length()); 264 EXPECT_EQ(num_blocks * kBlockSize, op.dst_length()) [all...] |
/external/e2fsprogs/lib/quota/ |
quotaio.c | 106 blk64_t *num_blocks = private; local 108 *num_blocks += 1; 138 blk64_t num_blocks = 0; local 144 &num_blocks); 145 return num_blocks * fs->blocksize;
|
/system/bt/btif/src/ |
btif_debug_btsnoop.c | 135 const size_t num_blocks = (ringbuffer_size(rb_src) + BLOCK_SIZE - 1) / BLOCK_SIZE; local 136 for (size_t i = 0; i < num_blocks; ++i) { 144 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH);
|
/external/boringssl/src/crypto/cipher/ |
tls_cbc.c | 287 unsigned len, max_mac_bytes, num_blocks, num_starting_blocks, k, local 361 /* num_blocks is the maximum number of hash blocks. */ 362 num_blocks = 389 if (num_blocks > kVarianceBlocks) { 390 num_starting_blocks = num_blocks - kVarianceBlocks;
|
/external/libnfc-nci/src/nfc/int/ |
ce_int.h | 68 UINT8 num_blocks; member in struct:__anon15897
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_decoder.h | 51 unsigned num_blocks; member in struct:vl_mpeg12_decoder
|