/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 308 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local 309 ASSERT_EQ(2U, Segments.size()); in TEST_P() 311 EXPECT_EQ(CoverageSegment(1, 1, 10, true), Segments[0]); in TEST_P() 312 EXPECT_EQ(CoverageSegment(5, 5, false), Segments[1]); in TEST_P() 315 EXPECT_EQ(CoverageSegment(2, 2, 20, true), Segments[0]); in TEST_P() 316 EXPECT_EQ(CoverageSegment(6, 6, false), Segments[1]); in TEST_P() 349 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_P() local 350 ASSERT_EQ(7U, Segments.size()); in TEST_P() 351 ASSERT_EQ(CoverageSegment(1, 1, 20, true), Segments[0]); in TEST_P() 352 ASSERT_EQ(CoverageSegment(4, 7, 30, false), Segments[1]); in TEST_P() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | LiveIntervalUnion.h | 62 LiveSegments Segments; // union of virtual reg segments variable 65 explicit LiveIntervalUnion(Allocator &a) : Segments(a) {} in LiveIntervalUnion() 69 SegmentIter begin() { return Segments.begin(); } in begin() 70 SegmentIter end() { return Segments.end(); } in end() 71 SegmentIter find(SlotIndex x) { return Segments.find(x); } in find() 72 ConstSegmentIter begin() const { return Segments.begin(); } in begin() 73 ConstSegmentIter end() const { return Segments.end(); } in end() 74 ConstSegmentIter find(SlotIndex x) const { return Segments.find(x); } in find() 76 bool empty() const { return Segments.empty(); } in empty() 77 SlotIndex startIndex() const { return Segments.start(); } in startIndex() [all …]
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageViewHTML.cpp | 288 CoverageSegmentArray Segments, unsigned ExpansionCol, unsigned) { in renderLine() argument 307 Snip(LCol - 1, Segments.empty() ? 0 : (Segments.front()->Col - 1)); in renderLine() 309 for (unsigned I = 1, E = Segments.size(); I < E; ++I) { in renderLine() 310 assert(LCol == Segments[I - 1]->Col && "Snippet start position is wrong"); in renderLine() 311 Snip(LCol - 1, Segments[I]->Col - LCol); in renderLine() 337 CheckIfUncovered(Segments.empty() ? nullptr : Segments.front())) { in renderLine() 343 for (unsigned I = 1, E = Segments.size(); I < E; ++I) { in renderLine() 344 const auto *CurSeg = Segments[I]; in renderLine() 361 for (const auto *S : Segments) in renderLine() 369 for (unsigned I = 0, E = Segments.size(); I < E; ++I) { in renderLine() [all …]
|
D | SourceCoverageViewText.cpp | 93 CoverageSegmentArray Segments, unsigned ExpansionCol, unsigned ViewDepth) { in renderLine() argument 106 for (const auto *S : Segments) { in renderLine() 164 raw_ostream &OS, CoverageSegmentArray Segments, unsigned ViewDepth) { in renderRegionMarkers() argument 169 for (const auto *S : Segments) { in renderRegionMarkers() 183 for (const auto *S : Segments) in renderRegionMarkers() 190 CoverageSegmentArray Segments, unsigned ExpansionCol, unsigned ViewDepth) { in renderExpansionSite() argument 193 renderLine(OS, L, WrappedSegment, Segments, ExpansionCol, ViewDepth); in renderExpansionSite()
|
D | SourceCoverageViewHTML.h | 51 CoverageSegmentArray Segments, unsigned ExpansionCol, 56 CoverageSegmentArray Segments, unsigned ExpansionCol, 70 void renderRegionMarkers(raw_ostream &OS, CoverageSegmentArray Segments,
|
D | SourceCoverageViewText.h | 51 CoverageSegmentArray Segments, unsigned ExpansionCol, 56 CoverageSegmentArray Segments, unsigned ExpansionCol, 70 void renderRegionMarkers(raw_ostream &OS, CoverageSegmentArray Segments,
|
D | SourceCoverageView.h | 209 CoverageSegmentArray Segments, unsigned ExpansionCol, 221 CoverageSegmentArray Segments, 228 CoverageSegmentArray Segments, unsigned ExpansionCol,
|
/external/pdfium/third_party/lcms/src/ |
D | cmsgamma.c | 214 cmsUInt32Number nSegments, const cmsCurveSegment* Segments, in AllocateToneCurveStruct() argument 237 p ->Segments = NULL; in AllocateToneCurveStruct() 241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct() 242 if (p ->Segments == NULL) goto Error; in AllocateToneCurveStruct() 271 if (Segments != NULL && (nSegments > 0)) { in AllocateToneCurveStruct() 281 if (Segments[i].Type == 0) in AllocateToneCurveStruct() 282 …p ->SegInterp[i] = _cmsComputeInterpParams(ContextID, Segments[i].nGridPoints, 1, 1, NULL, CMS_LER… in AllocateToneCurveStruct() 284 memmove(&p ->Segments[i], &Segments[i], sizeof(cmsCurveSegment)); in AllocateToneCurveStruct() 286 if (Segments[i].Type == 0 && Segments[i].SampledPoints != NULL) in AllocateToneCurveStruct() 287 …p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoint… in AllocateToneCurveStruct() [all …]
|
D | cmstypes.c | 1197 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write() 1200 cmsUInt16Number SingleGammaFixed = _cmsDoubleTo8Fixed8(Curve ->Segments[0].Params[0]); in Type_Curve_Write() 1250 if (Curve ->Segments[0].Type < 0) return cmsSigCurveType; // Only non-inverted curves in DecideCurveType() 1251 if (Curve ->Segments[0].Type > 5) return cmsSigCurveType; // Only ICC parametric curves in DecideCurveType() 1298 typen = Curve -> Segments[0].Type; in Type_ParametricCurve_Write() 1313 if (!_cmsWriteUInt16Number(io, (cmsUInt16Number) (Curve ->Segments[0].Type - 1))) return FALSE; in Type_ParametricCurve_Write() 1318 if (!_cmsWrite15Fixed16Number(io, Curve -> Segments[0].Params[i])) return FALSE; in Type_ParametricCurve_Write() 2669 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves() 2672 if (Curves[i] ->Segments[0].Type < 0) in WriteSetOfCurves() 4033 cmsCurveSegment* Segments; in ReadSegmentedCurve() local [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveIntervalUnion.h | 63 LiveSegments Segments; // union of virtual reg segments variable 66 explicit LiveIntervalUnion(Allocator &a) : Tag(0), Segments(a) {} in LiveIntervalUnion() 70 SegmentIter begin() { return Segments.begin(); } in begin() 71 SegmentIter end() { return Segments.end(); } in end() 72 SegmentIter find(SlotIndex x) { return Segments.find(x); } in find() 73 bool empty() const { return Segments.empty(); } in empty() 74 SlotIndex startIndex() const { return Segments.start(); } in startIndex() 78 const Map &getMap() { return Segments; } in getMap() 99 void clear() { Segments.clear(); ++Tag; } in clear()
|
D | LiveInterval.h | 193 typedef SmallVector<Segment, 2> Segments; typedef 196 Segments segments; // the liveness segments 205 typedef Segments::iterator iterator; 209 typedef Segments::const_iterator const_iterator;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 368 std::vector<CoverageSegment> &Segments; member in __anon0db6e5a60311::SegmentBuilder 371 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() argument 383 if (!Segments.empty() && !IsRegionEntry && !EmitSkippedRegion) { in startSegment() 384 const auto &Last = Segments.back(); in startSegment() 391 Segments.emplace_back(StartLoc.first, StartLoc.second, in startSegment() 395 Segments.emplace_back(StartLoc.first, StartLoc.second, IsRegionEntry); in startSegment() 398 const auto &Last = Segments.back(); in startSegment() 568 std::vector<CoverageSegment> Segments; in buildSegments() local 569 SegmentBuilder Builder(Segments); in buildSegments() 585 for (unsigned I = 1, E = Segments.size(); I < E; ++I) { in buildSegments() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | ListRecordBuilder.cpp | 78 SmallVector<StringRef, 1> Segments; in writeListRecord() local 82 Segments.push_back(Data.slice(LastEnd, SegEnd)); in writeListRecord() 85 Segments.push_back(Data.slice(LastEnd, Builder.size())); in writeListRecord() 88 StringRef LastRec = Segments.pop_back_val(); in writeListRecord() 93 for (StringRef Rec : reverse(Segments)) { in writeListRecord()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 280 std::vector<CoverageSegment> &Segments; member in __anon9606aa440211::SegmentBuilder 283 SegmentBuilder(std::vector<CoverageSegment> &Segments) : Segments(Segments) {} in SegmentBuilder() argument 288 Segments.emplace_back(Line, Col, /*IsRegionEntry=*/false); in startSegment() 295 if (!Segments.empty() && Segments.back().Line == Line && in startSegment() 296 Segments.back().Col == Col) in startSegment() 297 Segments.pop_back(); in startSegment() 302 Segments.emplace_back(Line, Col, Region.ExecutionCount, IsRegionEntry); in startSegment() 304 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment() 401 std::vector<CoverageSegment> Segments; in buildSegments() local 402 SegmentBuilder Builder(Segments); in buildSegments() [all …]
|
/external/swiftshader/tests/regres/cov/ |
D | import.go | 157 Segments []segment `json:"segments"` 183 for sIdx := 0; sIdx+1 < len(f.Segments); sIdx++ { 184 start := Location{(int)(f.Segments[sIdx][0].(float64)), (int)(f.Segments[sIdx][1].(float64))} 185 end := Location{(int)(f.Segments[sIdx+1][0].(float64)), (int)(f.Segments[sIdx+1][1].(float64))} 186 if covered := f.Segments[sIdx][2].(float64) != 0; covered {
|
/external/pdfium/third_party/lcms/ |
D | 0027-changes-from-beginning-of-time.patch | 41 if (Curve ->Segments) { 45 if (Curve ->Segments[i].SampledPoints) { 46 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints); 47 + Curve ->Segments[i].SampledPoints = NULL; 57 _cmsFree(ContextID, Curve ->Segments); 58 + Curve ->Segments = NULL;
|
/external/rust/crates/ciborium-ll/src/ |
D | dec.rs | 147 pub fn bytes(&mut self, len: Option<usize>) -> Segments<R, crate::seg::Bytes> { in bytes() 149 Segments::new(self, |header| match header { in bytes() 167 pub fn text(&mut self, len: Option<usize>) -> Segments<R, crate::seg::Text> { in text() 169 Segments::new(self, |header| match header { in text()
|
D | seg.rs | 162 pub struct Segments<'r, R: Read, P: Parser> { struct 170 impl<'r, R: Read, P: Parser> Segments<'r, R, P> { argument
|
/external/llvm/lib/CodeGen/ |
D | LiveIntervalUnion.cpp | 37 SegmentIter SegPos = Segments.find(RegPos->start); in unify() 64 SegmentIter SegPos = Segments.find(RegPos->start); in extract() 87 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) { in print() 97 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI) in verify()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LiveIntervalUnion.cpp | 37 SegmentIter SegPos = Segments.find(RegPos->start); in unify() 64 SegmentIter SegPos = Segments.find(RegPos->start); in extract() 87 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) { in print() 97 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI) in verify()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 405 std::vector<CoverageSegment> Segments; variable 415 : Filename(std::move(RHS.Filename)), Segments(std::move(RHS.Segments)), in CoverageData() 421 std::vector<CoverageSegment>::iterator begin() { return Segments.begin(); } in begin() 422 std::vector<CoverageSegment>::iterator end() { return Segments.end(); } in end() 423 bool empty() { return Segments.empty(); } in empty()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 482 std::vector<CoverageSegment> Segments; variable 496 return Segments.begin(); in begin() 500 return Segments.end(); in end() 503 bool empty() const { return Segments.empty(); } in empty() 642 Line(Line), Segments(), Stats() { in LineCoverageIterator() 669 SmallVector<const CoverageSegment *, 4> Segments; variable
|
/external/rust/crates/gdbstub/src/target/ext/ |
D | section_offsets.rs | 47 Segments { enumerator
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkGeneric.cpp | 190 JITLinkMemoryManager::SegmentsRequestMap Segments; in allocateSegments() local 214 Segments[Prot] = {SegAlign, SegContentSize, in allocateSegments() 227 if (auto AllocOrErr = Ctx->getMemoryManager().allocate(Segments)) in allocateSegments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIATable.cpp | 40 return PDB_TableType::Segments; in getTableType()
|