/system/chre/util/include/chre/util/ |
D | memory_pool_impl.h | 32 blocks()[i].mNextFreeBlockIndex = i + 1; in MemoryPool() 44 mNextFreeBlockIndex = blocks()[blockIndex].mNextFreeBlockIndex; in allocate() 47 return new (&blocks()[blockIndex].mElement) in allocate() 54 uintptr_t baseAddress = reinterpret_cast<uintptr_t>(&blocks()[0].mElement); in deallocate() 57 blocks()[blockIndex].mElement.~ElementType(); in deallocate() 58 blocks()[blockIndex].mNextFreeBlockIndex = mNextFreeBlockIndex; in deallocate() 65 *MemoryPool<ElementType, kSize>::blocks() { in blocks() function
|
D | memory_pool.h | 101 MemoryPoolBlock *blocks();
|
/system/update_engine/payload_generator/ |
D | inplace_generator.cc | 74 vector<Extent> CompressExtents(const vector<uint64_t>& blocks) { in CompressExtents() argument 76 for (uint64_t block : blocks) { in CompressExtents() 209 const vector<Block>& blocks) { in CreateEdges() argument 211 i < blocks.size(); i++) { in CreateEdges() 213 if (blocks[i].reader == Vertex::kInvalidIndex || in CreateEdges() 214 blocks[i].writer == Vertex::kInvalidIndex) in CreateEdges() 217 if (blocks[i].reader == blocks[i].writer) in CreateEdges() 221 (*graph)[blocks[i].writer].out_edges.find(blocks[i].reader); in CreateEdges() 222 if (edge_it == (*graph)[blocks[i].writer].out_edges.end()) { in CreateEdges() 224 (*graph)[blocks[i].writer].out_edges.insert( in CreateEdges() [all …]
|
D | mapfile_filesystem.cc | 99 string blocks = in GetFiles() local 101 size_t dash = blocks.find('-', 0); in GetFiles() 103 if (dash == string::npos && base::StringToUint64(blocks, &block_start)) { in GetFiles() 106 base::StringToUint64(blocks.substr(0, dash), &block_start) && in GetFiles() 107 base::StringToUint64(blocks.substr(dash + 1), &block_end)) { in GetFiles()
|
D | inplace_generator_unittest.cc | 185 vector<Block> blocks(9); in TEST_F() local 197 blocks[3].reader = graph.size() - 1; in TEST_F() 198 blocks[5].reader = graph.size() - 1; in TEST_F() 199 blocks[7].reader = graph.size() - 1; in TEST_F() 207 blocks[1].writer = graph.size() - 1; in TEST_F() 208 blocks[2].writer = graph.size() - 1; in TEST_F() 209 blocks[4].writer = graph.size() - 1; in TEST_F() 220 blocks[1].reader = graph.size() - 1; in TEST_F() 221 blocks[2].reader = graph.size() - 1; in TEST_F() 222 blocks[4].reader = graph.size() - 1; in TEST_F() [all …]
|
D | inplace_generator.h | 101 const std::vector<Block>& blocks); 186 std::vector<Block>* blocks); 195 std::vector<Block>* blocks,
|
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() 253 EXPECT_EQ(40U, ranges.blocks()); in TEST()
|
D | delta_diff_utils_unittest.cc | 487 EXPECT_EQ(0U, old_visited_blocks_.blocks()); in TEST_F() 488 EXPECT_EQ(0U, new_visited_blocks_.blocks()); in TEST_F() 510 EXPECT_EQ(kDefaultBlockCount, old_visited_blocks_.blocks()); in TEST_F() 511 EXPECT_EQ(kDefaultBlockCount, new_visited_blocks_.blocks()); in TEST_F() 639 old_visited_blocks_.blocks())); in TEST_F() 645 new_visited_blocks_.blocks())); in TEST_F() 690 EXPECT_EQ(permutation.size(), old_visited_blocks_.blocks()); in TEST_F() 691 EXPECT_EQ(permutation.size(), new_visited_blocks_.blocks()); in TEST_F()
|
D | ext2_filesystem.cc | 68 set<uint64_t>* blocks = static_cast<set<uint64_t>*>(priv); in AddMetadataBlocks() local 77 blocks->insert(*blocknr); in AddMetadataBlocks() 316 file.extents = ranges.GetExtentsForBlockCount(ranges.blocks()); in GetFiles()
|
/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/ext4_utils/ |
D | allocate.h | 87 int reserve_oob_blocks(struct block_allocation *alloc, int blocks); 88 int advance_blocks(struct block_allocation *alloc, int blocks); 89 int advance_oob_blocks(struct block_allocation *alloc, int blocks);
|
D | extent.c | 83 u64 blocks; in do_inode_allocate_extents() local 185 blocks = (u64)block_len * info.block_size / 512; in do_inode_allocate_extents() 190 inode->i_blocks_lo = blocks; in do_inode_allocate_extents() 191 inode->osd2.linux2.l_i_blocks_high = blocks >> 32; in do_inode_allocate_extents()
|
D | allocate.c | 614 int reserve_oob_blocks(struct block_allocation *alloc, int blocks) in reserve_oob_blocks() argument 616 struct region *oob = split_allocation(alloc, blocks); in reserve_oob_blocks() 632 static int advance_list_ptr(struct region_list *list, int blocks) in advance_list_ptr() argument 636 while (reg != NULL && blocks > 0) { in advance_list_ptr() 637 if (reg->len > list->partial_iter + blocks) { in advance_list_ptr() 638 list->partial_iter += blocks; in advance_list_ptr() 642 blocks -= (reg->len - list->partial_iter); in advance_list_ptr() 647 if (blocks > 0) in advance_list_ptr() 654 int advance_blocks(struct block_allocation *alloc, int blocks) in advance_blocks() argument 656 return advance_list_ptr(&alloc->list, blocks); in advance_blocks() [all …]
|
D | indirect.c | 436 u64 blocks; in inode_attach_resize() local 476 blocks = ((u64)block_len + 1) * info.block_size / 512; in inode_attach_resize() 481 inode->i_blocks_lo = blocks; in inode_attach_resize() 482 inode->osd2.linux2.l_i_blocks_high = blocks >> 32; in inode_attach_resize()
|
/system/core/libsparse/ |
D | sparse_read.cpp | 77 int fd, int64_t offset, unsigned int blocks, unsigned int block, in process_raw_chunk() argument 82 int64_t len = blocks * s->block_size; in process_raw_chunk() 88 if (chunk_size / s->block_size != blocks) { in process_raw_chunk() 115 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk() argument 119 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() 156 int fd __unused, unsigned int blocks, in process_skip_chunk() argument 164 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk()
|
/system/core/init/ |
D | compare-bootcharts.py | 86 blocks = f.read().split('\n\n') 87 for b in blocks:
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 112 cmd->blocks = req->reliable_write_size / MMC_BLOCK_SIZE; in rpmb_send() 134 cmd->blocks = req->write_size / MMC_BLOCK_SIZE; in rpmb_send() 157 cmd->blocks = req->read_size / MMC_BLOCK_SIZE; in rpmb_send()
|
/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()
|
/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/sepolicy/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,
|