/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/update_engine/payload_generator/ |
D | inplace_generator.cc | 76 vector<Extent> CompressExtents(const vector<uint64_t>& blocks) { in CompressExtents() argument 78 for (uint64_t block : blocks) { in CompressExtents() 206 void InplaceGenerator::CreateEdges(Graph* graph, const vector<Block>& blocks) { in CreateEdges() argument 207 for (vector<Block>::size_type i = 0; i < blocks.size(); i++) { in CreateEdges() 209 if (blocks[i].reader == Vertex::kInvalidIndex || in CreateEdges() 210 blocks[i].writer == Vertex::kInvalidIndex) in CreateEdges() 213 if (blocks[i].reader == blocks[i].writer) in CreateEdges() 217 (*graph)[blocks[i].writer].out_edges.find(blocks[i].reader); in CreateEdges() 218 if (edge_it == (*graph)[blocks[i].writer].out_edges.end()) { in CreateEdges() 220 (*graph)[blocks[i].writer].out_edges.insert( in CreateEdges() [all …]
|
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 | inplace_generator.h | 100 static void CreateEdges(Graph* graph, const std::vector<Block>& blocks); 184 std::vector<Block>* blocks); 193 std::vector<Block>* blocks,
|
D | inplace_generator_unittest.cc | 187 vector<Block> blocks(9); in TEST_F() local 199 blocks[3].reader = graph.size() - 1; in TEST_F() 200 blocks[5].reader = graph.size() - 1; in TEST_F() 201 blocks[7].reader = graph.size() - 1; in TEST_F() 209 blocks[1].writer = graph.size() - 1; in TEST_F() 210 blocks[2].writer = graph.size() - 1; in TEST_F() 211 blocks[4].writer = graph.size() - 1; in TEST_F() 222 blocks[1].reader = graph.size() - 1; in TEST_F() 223 blocks[2].reader = graph.size() - 1; in TEST_F() 224 blocks[4].reader = graph.size() - 1; in TEST_F() [all …]
|
D | extent_ranges_unittest.cc | 38 uint64_t blocks = 0; in ExpectRangeEq() local 40 blocks += expected[i]; in ExpectRangeEq() 42 EXPECT_EQ(blocks, ranges.blocks()) << "line: " << line; in ExpectRangeEq() 233 EXPECT_EQ(40U, ranges.blocks()); in TEST()
|
/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/bt/embdrv/sbc/decoder/srce/ |
D | decoder-oina.c | 40 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc, in OI_CODEC_SBC_DecoderConfigureRaw() argument 64 if (blocks > SBC_BLOCKS_16) { in OI_CODEC_SBC_DecoderConfigureRaw() 80 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw()
|
D | decoder-sbc.c | 389 uint8_t blocks; in OI_CODEC_SBC_FrameCount() local 405 subbands = mode = blocks = frameData[1]; in OI_CODEC_SBC_FrameCount() 408 blocks = block_values[(blocks & (BIT5 | BIT4)) >> 4]; in OI_CODEC_SBC_FrameCount() 412 frameLen = blocks * frameData[2]; in OI_CODEC_SBC_FrameCount()
|
/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/core/adb/client/ |
D | incremental_utils.cpp | 130 static void appendBlocks(int32_t start, int count, std::vector<int32_t>* blocks) { in appendBlocks() argument 132 blocks->push_back(start); in appendBlocks() 134 auto oldSize = blocks->size(); in appendBlocks() 135 blocks->resize(oldSize + count); in appendBlocks() 136 std::iota(blocks->begin() + oldSize, blocks->end(), start); in appendBlocks()
|
/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/core/libsparse/ |
D | sparse_read.cpp | 175 SparseFileSource* source, unsigned int blocks, unsigned int block, in process_raw_chunk() argument 178 int64_t len = blocks * s->block_size; in process_raw_chunk() 184 if (chunk_size / s->block_size != blocks) { in process_raw_chunk() 206 SparseFileSource* source, unsigned int blocks, unsigned int block, in process_fill_chunk() argument 210 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() 247 SparseFileSource* source __unused, unsigned int blocks, in process_skip_chunk() argument 254 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk()
|
/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/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/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator_test.cpp | 234 void BlocksToExtents(const std::vector<uint64_t>& blocks, in BlocksToExtents() argument 236 for (uint64_t block : blocks) { in BlocksToExtents() 243 std::vector<uint64_t> blocks; in ExtentsToBlocks() local 246 blocks.push_back(extent.start_block() + offset); in ExtentsToBlocks() 249 return blocks; in ExtentsToBlocks()
|
/system/incremental_delivery/libdataloader/include/ |
D | dataloader_inline.h | 121 inline int FilesystemConnector::writeBlocks(DataBlocks blocks) { in writeBlocks() argument 122 return DataLoader_FilesystemConnector_writeBlocks(this, blocks.data(), blocks.size()); in writeBlocks()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | update_verifier.te | 12 # Read all blocks in dm wrapped system partition.
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | update_verifier.te | 12 # Read all blocks in dm wrapped system partition.
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 1079 static int writeBlocks(int fd, const incfs_fill_block blocks[], int blocksCount) { in writeBlocks() argument 1087 auto ptr = blocks; in writeBlocks() 1088 const auto end = blocks + blocksCount; in writeBlocks() 1099 if (ptr == blocks) { in writeBlocks() 1108 return ptr - blocks; in writeBlocks() 1111 IncFsErrorCode IncFs_WriteBlocks(const IncFsDataBlock blocks[], size_t blocksCount) { in IncFs_WriteBlocks() argument 1117 if (lastBlockFd != blocks[i].fileFd || incfsBlocksUsed == std::size(incfsBlocks)) { in IncFs_WriteBlocks() 1125 lastBlockFd = blocks[i].fileFd; in IncFs_WriteBlocks() 1129 .block_index = (uint32_t)blocks[i].pageIndex, in IncFs_WriteBlocks() 1130 .data_len = blocks[i].dataSize, in IncFs_WriteBlocks() [all …]
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc.h | 167 uint8_t blocks; member 328 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc,
|