/system/chre/util/include/chre/util/ |
D | memory_pool_impl.h | 33 blocks()[i].mNextFreeBlockIndex = i + 1; in MemoryPool() 45 mNextFreeBlockIndex = blocks()[blockIndex].mNextFreeBlockIndex; in allocate() 48 return new (&blocks()[blockIndex].mElement) in allocate() 55 uintptr_t baseAddress = reinterpret_cast<uintptr_t>(&blocks()[0].mElement); in deallocate() 58 blocks()[blockIndex].mElement.~ElementType(); in deallocate() 59 blocks()[blockIndex].mNextFreeBlockIndex = mNextFreeBlockIndex; in deallocate() 71 MemoryPool<ElementType, kSize>::blocks() { in blocks() function
|
D | memory_pool.h | 106 MemoryPoolBlock *blocks();
|
/system/tools/hidl/host_utils/ |
D | Formatter.cpp | 200 for (const WrappedOutput::Block& subBlock : block.blocks) { in printBlock() 261 CHECK(content.empty() || blocks.empty()); in computeSize() 267 for (auto block = blocks.begin(); block != blocks.end(); ++block) { in computeSize() 268 if (block == blocks.begin()) { in computeSize() 280 CHECK(content.empty() || blocks.empty()); in print() 286 for (auto block = blocks.begin(); block != blocks.end(); ++block) { in print() 287 if (block == blocks.begin()) { in print() 302 std::vector<Block>& blockVec = mCurrentBlock->blocks; in operator <<() 305 if (!last.populated && last.blocks.empty()) { in operator <<() 317 std::vector<Block>& blockVec = mCurrentBlock->blocks; in printUnlessWrapped() [all …]
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | snapuserd_readahead.cpp | 194 std::vector<uint64_t>& blocks) { in PrepareReadAhead() argument 210 blocks.push_back(cow_op->new_block); in PrepareReadAhead() 231 blocks.push_back(op->new_block); in PrepareReadAhead() 330 std::vector<uint64_t> blocks; in ReadAheadIOStart() local 344 PrepareReadAhead(&source_offset, &num_ops, blocks); in ReadAheadIOStart() 345 linear_blocks = blocks.size(); in ReadAheadIOStart() 363 snapuserd_->SetFinalBlockMerged(blocks.back()); in ReadAheadIOStart() 366 uint64_t new_block = blocks.back(); in ReadAheadIOStart() 367 blocks.pop_back(); in ReadAheadIOStart()
|
/system/update_engine/payload_generator/ |
D | mapfile_filesystem.cc | 98 string blocks = in GetFiles() local 100 size_t dash = blocks.find('-', 0); in GetFiles() 102 if (dash == string::npos && base::StringToUint64(blocks, &block_start)) { in GetFiles() 105 base::StringToUint64(blocks.substr(0, dash), &block_start) && in GetFiles() 106 base::StringToUint64(blocks.substr(dash + 1), &block_end)) { in GetFiles()
|
D | erofs_filesystem_unittest.cc | 112 ASSERT_GT(delta_generator.compressed_file_info.blocks.size(), 0UL); in TEST_F() 115 for (const auto& block : delta_generator.compressed_file_info.blocks) { in TEST_F()
|
D | extent_ranges_unittest.cc | 39 uint64_t blocks = 0; in ExpectRangeEq() local 41 blocks += expected[i]; in ExpectRangeEq() 43 ASSERT_EQ(blocks, ranges.blocks()) << "line: " << line; in ExpectRangeEq() 235 ASSERT_EQ(40U, ranges.blocks()); in TEST()
|
D | ext2_filesystem.cc | 72 set<uint64_t>* blocks = static_cast<set<uint64_t>*>(priv); in AddMetadataBlocks() local 81 blocks->insert(*blocknr); in AddMetadataBlocks() 324 file.extents = ranges.GetExtentsForBlockCount(ranges.blocks()); in GetFiles()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_verity.py | 109 io, verity, total, blocks = get_average_and_std_dev(l) 112 return io, verity, total, blocks 116 io, verity, total, blocks = self.dump_list ("total,", self.reads) 117 io_latency_per_1024KB = io[2] / blocks * (1024 / 4) 118 verity_latency_per_1024KB = verity[2] / blocks * (1024 / 4)
|
/system/core/init/ |
D | compare-bootcharts.py | 86 blocks = f.read().split('\n\n') 87 for b in blocks:
|
/system/extras/libfec/ |
D | fec_verity.cpp | 250 uint32_t blocks = hashes[levels - i]; in verify_tree() local 251 debug("%u hash blocks on level %u", blocks, levels - i); in verify_tree() 254 hash_data_blocks = blocks; in verify_tree() 256 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree() 276 uint32_t blocks = hashes[levels - i]; in verify_tree() local 278 for (uint32_t j = 0; j < blocks; ++j) { in verify_tree() 316 if (blocks == hash_data_blocks) { in verify_tree() 323 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree()
|
D | fec_process.cpp | 63 size_t blocks = fec_div_round_up(count, FEC_BLOCKSIZE); in process() local 65 size_t count_per_thread = fec_div_round_up(blocks, threads) * FEC_BLOCKSIZE; in process()
|
D | avb_utils.cpp | 128 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_avb_image() 129 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_avb_image()
|
/system/extras/perf2cfg/ |
D | README.md | 8 - Basic blocks and assembly instructions are annotated with their contribution 10 - Basic blocks are colored according to their contribution to the method 36 The event to be used for basic blocks hotness analysis 37 (default: cpu-cycles). Basic blocks are color 61 Color basic blocks according to cache-misses events:
|
/system/keymaster/km_openssl/ |
D | ckdf.cpp | 46 const uint32_t blocks = div_round_up(output->key_material_size, AES_BLOCK_SIZE); in DEFINE_OPENSSL_OBJECT_POINTER() local 72 for (uint32_t i = 1; i <= blocks; ++i) { in DEFINE_OPENSSL_OBJECT_POINTER()
|
/system/extras/verity/fec/tests/ |
D | fec.py | 36 blocks = int(math.ceil(float(size) / blocksize)) 37 rounds = int(math.ceil(float(blocks) / (255 - roots)))
|
/system/update_engine/lz4diff/ |
D | lz4diff.cc | 45 const auto& block_info = dst_file_info.blocks; in StoreDstCompressedFileInfo() 171 for (const auto& block : src_file_info.blocks) { in StoreSrcCompressedFileInfo() 186 const auto& src_block_info = src_file_info.blocks; in Lz4Diff() 187 const auto& dst_block_info = dst_file_info.blocks; in Lz4Diff()
|
D | lz4diff_format.h | 64 std::vector<CompressedBlock> blocks; member
|
/system/core/libsparse/ |
D | sparse_read.cpp | 213 SparseFileSource* source, unsigned int blocks, unsigned int block, in process_raw_chunk() argument 216 int64_t len = (int64_t)blocks * s->block_size; in process_raw_chunk() 222 if (chunk_size / s->block_size != blocks) { in process_raw_chunk() 247 SparseFileSource* source, unsigned int blocks, unsigned int block, in process_fill_chunk() argument 251 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() 288 SparseFileSource* source __unused, unsigned int blocks, in process_skip_chunk() argument 295 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk()
|
/system/incremental_delivery/libdataloader/include/ |
D | dataloader_inline.h | 134 inline int FilesystemConnector::writeBlocks(DataBlocks blocks) { in writeBlocks() argument 135 return DataLoader_FilesystemConnector_writeBlocks(this, blocks.data(), blocks.size()); in writeBlocks()
|
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator_test.cpp | 317 void BlocksToExtents(const std::vector<uint64_t>& blocks, in BlocksToExtents() argument 319 for (uint64_t block : blocks) { in BlocksToExtents() 326 std::vector<uint64_t> blocks; in ExtentsToBlocks() local 329 blocks.push_back(extent.start_block() + offset); in ExtentsToBlocks() 332 return blocks; in ExtentsToBlocks()
|
/system/update_engine/ |
D | update_metadata.proto | 80 // - DISCARD: Discard the destination dst_extents blocks on the physical medium. 81 // the data read from those blocks is undefined. 97 // Data is packed into blocks on disk, always starting from the beginning 101 // representation of an ordered list of blocks. For example, a file stored 102 // in blocks 9, 10, 11, 2, 18, 12 (in that order) would be stored in 166 DISCARD = 7; // Discard the destination blocks, reading as undefined. 191 // Byte length of src, equal to the number of blocks in src_extents * 193 // pass that external program the number of bytes to read from the blocks we 198 // Byte length of dst, equal to the number of blocks in dst_extents * 216 // Hints to VAB snapshot to skip writing some blocks if these blocks are [all …]
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 80 // - DISCARD: Discard the destination dst_extents blocks on the physical medium. 81 // the data read from those blocks is undefined. 97 // Data is packed into blocks on disk, always starting from the beginning 101 // representation of an ordered list of blocks. For example, a file stored 102 // in blocks 9, 10, 11, 2, 18, 12 (in that order) would be stored in 166 DISCARD = 7; // Discard the destination blocks, reading as undefined. 191 // Byte length of src, equal to the number of blocks in src_extents * 193 // pass that external program the number of bytes to read from the blocks we 198 // Byte length of dst, equal to the number of blocks in dst_extents * 216 // Hints to VAB snapshot to skip writing some blocks if these blocks are [all …]
|
/system/vold/ |
D | EncryptInplace.cpp | 59 void UpdateProgress(size_t blocks, bool done); 116 void InPlaceEncrypter::UpdateProgress(size_t blocks, bool done) { in UpdateProgress() argument 121 blocks_done_ += blocks; in UpdateProgress()
|
/system/core/fs_mgr/libfiemap/ |
D | README.md | 30 It is easy to make block devices out of blocks on `/data` when it is not 53 Since `/data/gsi` has encryption disabled, this means the raw blocks will be 68 underlying blocks are no longer owned by the original file. Thus, when mapping
|