/system/update_engine/payload_generator/ |
D | extent_ranges_unittest.cc | 34 void ExpectRangeEq(const ExtentRanges& ranges, in ExpectRangeEq() argument 42 EXPECT_EQ(blocks, ranges.blocks()) << "line: " << line; in ExpectRangeEq() 44 const ExtentRanges::ExtentSet& result = ranges.extent_set(); in ExpectRangeEq() 54 #define EXPECT_RANGE_EQ(ranges, var) \ argument 56 ExpectRangeEq(ranges, var, arraysize(var), __LINE__); \ 125 ExtentRanges ranges; in TEST() local 129 ExpectRangeEq(ranges, expected, 0, __LINE__); in TEST() 131 ranges.SubtractBlock(2); in TEST() 135 ExpectRangeEq(ranges, expected, 0, __LINE__); in TEST() 138 ranges.AddBlock(0); in TEST() [all …]
|
D | extent_ranges.h | 63 void AddRanges(const ExtentRanges& ranges); 64 void SubtractRanges(const ExtentRanges& ranges); 93 const ExtentRanges& ranges);
|
D | extent_ranges.cc | 158 void ExtentRanges::AddRanges(const ExtentRanges& ranges) { in AddRanges() argument 159 for (ExtentSet::const_iterator it = ranges.extent_set_.begin(), in AddRanges() 160 e = ranges.extent_set_.end(); in AddRanges() 167 void ExtentRanges::SubtractRanges(const ExtentRanges& ranges) { in SubtractRanges() argument 168 for (ExtentSet::const_iterator it = ranges.extent_set_.begin(), in SubtractRanges() 169 e = ranges.extent_set_.end(); in SubtractRanges() 277 const ExtentRanges& ranges) { in FilterExtentRanges() argument 279 const ExtentRanges::ExtentSet& extent_set = ranges.extent_set(); in FilterExtentRanges()
|
D | inplace_generator.cc | 388 ExtentRanges ranges; in AssignBlockForAdjoiningCuts() local 389 ranges.AddRepeatedExtents((*graph)[test_node].aop.op.dst_extents()); in AssignBlockForAdjoiningCuts() 390 ranges.SubtractExtent( in AssignBlockForAdjoiningCuts() 392 ranges.SubtractRepeatedExtents((*graph)[test_node].aop.op.src_extents()); in AssignBlockForAdjoiningCuts() 400 ranges.SubtractExtents(edge_i->second.extents); in AssignBlockForAdjoiningCuts() 404 if (ranges.ContainsBlock(0)) { in AssignBlockForAdjoiningCuts() 407 ranges.SubtractBlock(0); in AssignBlockForAdjoiningCuts() 410 if (ranges.blocks() == 0) in AssignBlockForAdjoiningCuts() 413 if (ranges.blocks() + scratch_blocks_found > blocks_needed) { in AssignBlockForAdjoiningCuts() 416 ranges.GetExtentsForBlockCount(blocks_needed - scratch_blocks_found); in AssignBlockForAdjoiningCuts() [all …]
|
D | ext2_filesystem.cc | 322 ExtentRanges ranges; in GetFiles() local 323 ranges.AddExtents(file.extents); in GetFiles() 324 file.extents = ranges.GetExtentsForBlockCount(ranges.blocks()); in GetFiles()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 1125 const vector<pair<off_t, off_t>>& ranges, in MultiTest() argument 1136 for (vector<pair<off_t, off_t>>::const_iterator it = ranges.begin(), in MultiTest() 1137 e = ranges.end(); in MultiTest() 1170 vector<pair<off_t, off_t>> ranges; in TYPED_TEST() local 1171 ranges.push_back(make_pair(0, 25)); in TYPED_TEST() 1172 ranges.push_back(make_pair(99, 17)); in TYPED_TEST() 1176 ranges, in TYPED_TEST() 1190 vector<pair<off_t, off_t>> ranges; in TYPED_TEST() local 1191 ranges.push_back(make_pair(0, 25)); in TYPED_TEST() 1192 ranges.push_back(make_pair(99, 0)); in TYPED_TEST() [all …]
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 183 MemoryRanges* ranges = new MemoryRanges; in CreateMemory() local 184 ranges->Insert( in CreateMemory() 186 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory() 189 return ranges; in CreateMemory()
|
/system/netd/server/ |
D | UidRanges.h | 32 UidRanges(const std::vector<android::net::UidRangeParcel>& ranges);
|
D | UidRanges.cpp | 114 UidRanges::UidRanges(const std::vector<UidRangeParcel>& ranges) { in UidRanges() argument 115 mRanges = ranges; in UidRanges()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | gsid.te | 81 # lp_metadata - LpMetadata blob describing the block ranges on userdata
|
/system/sepolicy/private/ |
D | gsid.te | 81 # lp_metadata - LpMetadata blob describing the block ranges on userdata
|
/system/extras/simpleperf/ |
D | Android.bp | 426 // It's linked to user's program, to get profile counters and samples for specific code ranges.
|