/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()
|
D | delta_diff_utils_unittest.cc | 555 EXPECT_EQ(0U, old_visited_blocks_.blocks()); in TEST_F() 556 EXPECT_EQ(0U, new_visited_blocks_.blocks()); in TEST_F() 578 EXPECT_EQ(kDefaultBlockCount, old_visited_blocks_.blocks()); in TEST_F() 579 EXPECT_EQ(kDefaultBlockCount, new_visited_blocks_.blocks()); in TEST_F() 710 old_visited_blocks_.blocks())); in TEST_F() 716 new_visited_blocks_.blocks())); in TEST_F() 761 EXPECT_EQ(permutation.size(), old_visited_blocks_.blocks()); in TEST_F() 762 EXPECT_EQ(permutation.size(), new_visited_blocks_.blocks()); in TEST_F()
|
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()
|
D | extent_ranges.h | 75 uint64_t blocks() const { return blocks_; } in blocks() function
|
/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 | 383 uint8_t blocks; in OI_CODEC_SBC_FrameCount() local 399 subbands = mode = blocks = frameData[1]; in OI_CODEC_SBC_FrameCount() 402 blocks = block_values[(blocks & (BIT5 | BIT4)) >> 4]; in OI_CODEC_SBC_FrameCount() 406 frameLen = blocks * frameData[2]; in OI_CODEC_SBC_FrameCount()
|
D | decoder-private.c | 105 frame->blocks = (d1 & (BIT5 | BIT4)) >> 4; in OI_SBC_ReadHeader() 106 frame->nrof_blocks = block_values[frame->blocks]; in OI_SBC_ReadHeader()
|
/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 | 232 uint32_t blocks = hashes[levels - i]; in verify_tree() local 233 debug("%u hash blocks on level %u", blocks, levels - i); in verify_tree() 236 v->hash_data_blocks = blocks; in verify_tree() 238 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree() 265 uint32_t blocks = hashes[levels - i]; in verify_tree() local 267 for (uint32_t j = 0; j < blocks; ++j) { in verify_tree() 303 if (blocks == v->hash_data_blocks) { in verify_tree() 310 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 | fec_open.cpp | 148 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_ecc_header() 149 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header() 483 data->blocks = f->ecc.blocks; in fec_ecc_get_metadata()
|
/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/trusty/storage/proxy/ |
D | rpmb.c | 86 cmd->blocks = req->reliable_write_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req() 102 cmd->blocks = req->write_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req() 117 cmd->blocks = req->read_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
|
/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/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,
|