Home
last modified time | relevance | path

Searched refs:Segments (Results 1 – 25 of 25) sorted by relevance

/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp308 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/pdfium/third_party/lcms2-2.6/
D0011-memory-leak-ReadSegmentedCurve.patch12 Segments[i].nGridPoints = Count;
13Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa…
27 - if (Segments) _cmsFree(self ->ContextID, Segments);
28 + if (Segments) {
30 + if (Segments[i].SampledPoints) _cmsFree(self ->ContextID, Segments[i].SampledPoints);
32 + _cmsFree(self ->ContextID, Segments);
/external/llvm/tools/llvm-cov/
DSourceCoverageViewHTML.cpp288 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 …]
DSourceCoverageViewText.cpp93 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()
DSourceCoverageViewHTML.h51 CoverageSegmentArray Segments, unsigned ExpansionCol,
56 CoverageSegmentArray Segments, unsigned ExpansionCol,
70 void renderRegionMarkers(raw_ostream &OS, CoverageSegmentArray Segments,
DSourceCoverageViewText.h51 CoverageSegmentArray Segments, unsigned ExpansionCol,
56 CoverageSegmentArray Segments, unsigned ExpansionCol,
70 void renderRegionMarkers(raw_ostream &OS, CoverageSegmentArray Segments,
DSourceCoverageView.h209 CoverageSegmentArray Segments, unsigned ExpansionCol,
221 CoverageSegmentArray Segments,
228 CoverageSegmentArray Segments, unsigned ExpansionCol,
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgamma.c214 cmsInt32Number 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 …]
Dcmstypes.c1133 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write()
1136 cmsUInt16Number SingleGammaFixed = _cmsDoubleTo8Fixed8(Curve ->Segments[0].Params[0]); in Type_Curve_Write()
1186 if (Curve ->Segments[0].Type < 0) return cmsSigCurveType; // Only non-inverted curves in DecideCurveType()
1187 if (Curve ->Segments[0].Type > 5) return cmsSigCurveType; // Only ICC parametric curves in DecideCurveType()
1234 typen = Curve -> Segments[0].Type; in Type_ParametricCurve_Write()
1249 if (!_cmsWriteUInt16Number(io, (cmsUInt16Number) (Curve ->Segments[0].Type - 1))) return FALSE; in Type_ParametricCurve_Write()
1254 if (!_cmsWrite15Fixed16Number(io, Curve -> Segments[0].Params[i])) return FALSE; in Type_ParametricCurve_Write()
2585 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves()
2588 if (Curves[i] ->Segments[0].Type < 0) in WriteSetOfCurves()
3918 cmsCurveSegment* Segments; in ReadSegmentedCurve() local
[all …]
Dlcms2_internal.h777 cmsCurveSegment* Segments; // The segments member
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveIntervalUnion.h67 LiveSegments Segments; // union of virtual reg segments variable
70 LiveIntervalUnion(unsigned r, Allocator &a) : RepReg(r), Tag(0), Segments(a) in LiveIntervalUnion()
75 SegmentIter begin() { return Segments.begin(); } in begin()
76 SegmentIter end() { return Segments.end(); } in end()
77 SegmentIter find(SlotIndex x) { return Segments.find(x); } in find()
78 bool empty() const { return Segments.empty(); } in empty()
79 SlotIndex startIndex() const { return Segments.start(); } in startIndex()
83 const Map &getMap() { return Segments; } in getMap()
98 void clear() { Segments.clear(); ++Tag; } in clear()
DLiveIntervalUnion.cpp36 SegmentIter SegPos = Segments.find(RegPos->start); in unify()
63 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/CodeGen/
DLiveIntervalUnion.h63 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()
DLiveInterval.h193 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/llvm/lib/DebugInfo/CodeView/
DListRecordBuilder.cpp78 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/
DCoverageMapping.cpp280 std::vector<CoverageSegment> &Segments; member in __anonce8fef7f0211::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/llvm/lib/CodeGen/
DLiveIntervalUnion.cpp37 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()
DLiveInterval.cpp236 LiveRange::Segments> CalcLiveRangeUtilVectorBase;
245 LiveRange::Segments &segmentsColl() { return LR->segments; } in segmentsColl()
/external/valgrind/docs/internals/
Dsegments-seginfos.txt3 Info about the relationship between Segments and SegInfos
7 Segments. It's poorly named now; its really just a container for all
10 Segments describe memory mapped into the address space, and so any
23 Because a single ELF file may be mmaped with multiple Segments, multiple
24 Segments can point to one Seginfo. A SegInfo can relate to a memory
49 SegInfos are reference counted, and freed when no Segments point to them any
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h405 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/curl/packages/TPF/
Dcurl.mak29 # Segments to be compiled with gcc compiler
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h89 Segments, enumerator
/external/libogg/doc/
Drfc3533.txt331 are called "Ogg Segments". They are only a logical construct and do
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2.h1151 …gmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveSegment Segments[]);
/external/vulkan-validation-layers/layers/
Dvk_validation_error_database.txt1461 …neWidth~^~For more information refer to Vulkan Spec Section '24.6. Line Segments' which states 'Th…
1462 …neWidth~^~For more information refer to Vulkan Spec Section '24.6. Line Segments' which states 'If…
1463 …neWidth~^~For more information refer to Vulkan Spec Section '24.6. Line Segments' which states 'co…
1464 …neWidth~^~For more information refer to Vulkan Spec Section '24.6. Line Segments' which states 'co…
1465 …neWidth~^~For more information refer to Vulkan Spec Section '24.6. Line Segments' which states 'Th…