Home
last modified time | relevance | path

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

/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp201 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_F() local
202 ASSERT_EQ(7U, Segments.size()); in TEST_F()
203 ASSERT_EQ(CoverageSegment(1, 1, 20, true), Segments[0]); in TEST_F()
204 ASSERT_EQ(CoverageSegment(4, 7, 30, false), Segments[1]); in TEST_F()
205 ASSERT_EQ(CoverageSegment(5, 8, 10, true), Segments[2]); in TEST_F()
206 ASSERT_EQ(CoverageSegment(9, 1, 30, false), Segments[3]); in TEST_F()
207 ASSERT_EQ(CoverageSegment(9, 9, false), Segments[4]); in TEST_F()
208 ASSERT_EQ(CoverageSegment(10, 10, 0, true), Segments[5]); in TEST_F()
209 ASSERT_EQ(CoverageSegment(11, 11, false), Segments[6]); in TEST_F()
219 std::vector<CoverageSegment> Segments(Data.begin(), Data.end()); in TEST_F() local
[all …]
/external/pdfium/core/src/fxcodec/lcms2/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.c1130 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write()
1133 cmsUInt16Number SingleGammaFixed = _cmsDoubleTo8Fixed8(Curve ->Segments[0].Params[0]); in Type_Curve_Write()
1183 if (Curve ->Segments[0].Type < 0) return cmsSigCurveType; // Only non-inverted curves in DecideCurveType()
1184 if (Curve ->Segments[0].Type > 5) return cmsSigCurveType; // Only ICC parametric curves in DecideCurveType()
1231 typen = Curve -> Segments[0].Type; in Type_ParametricCurve_Write()
1246 if (!_cmsWriteUInt16Number(io, (cmsUInt16Number) (Curve ->Segments[0].Type - 1))) return FALSE; in Type_ParametricCurve_Write()
1251 if (!_cmsWrite15Fixed16Number(io, Curve -> Segments[0].Params[i])) return FALSE; in Type_ParametricCurve_Write()
2576 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves()
2579 if (Curves[i] ->Segments[0].Type < 0) in WriteSetOfCurves()
3903 cmsCurveSegment* Segments; in ReadSegmentedCurve() local
[all …]
Dlcms2_internal.h777 cmsCurveSegment* Segments; // The segments member
/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.h192 typedef SmallVector<Segment,4> Segments; typedef
195 Segments segments; // the liveness segments
204 typedef Segments::iterator iterator;
208 typedef Segments::const_iterator const_iterator;
/external/llvm/lib/ProfileData/
DCoverageMapping.cpp264 std::vector<CoverageSegment> Segments; member in __anon402dc3c40211::SegmentBuilder
270 Segments.emplace_back(Line, Col, /*IsRegionEntry=*/false); in startSegment()
276 if (Segments.empty()) in startSegment()
277 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
278 CoverageSegment S = Segments.back(); in startSegment()
281 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
282 S = Segments.back(); in startSegment()
288 Segments.back().setCount(Region.ExecutionCount); in startSegment()
322 Segments.back().addCount(Region.ExecutionCount); in buildSegments()
333 return 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/llvm/tools/llvm-cov/
DSourceCoverageView.cpp24 ArrayRef<const coverage::CoverageSegment *> Segments, in renderLine() argument
35 for (const auto *S : Segments) { in renderLine()
113 raw_ostream &OS, ArrayRef<const coverage::CoverageSegment *> Segments) { in renderRegionMarkers() argument
118 for (const auto *S : Segments) { in renderRegionMarkers()
136 for (const auto *S : Segments) in renderRegionMarkers()
DSourceCoverageView.h113 ArrayRef<const coverage::CoverageSegment *> Segments,
129 ArrayRef<const coverage::CoverageSegment *> Segments);
/external/llvm/include/llvm/ProfileData/
DCoverageMapping.h370 std::vector<CoverageSegment> Segments; variable
380 : Filename(std::move(RHS.Filename)), Segments(std::move(RHS.Segments)), in CoverageData()
386 std::vector<CoverageSegment>::iterator begin() { return Segments.begin(); } in begin()
387 std::vector<CoverageSegment>::iterator end() { return Segments.end(); } in end()
388 bool empty() { return Segments.empty(); } in empty()
/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/DebugInfo/PDB/
DPDBTypes.h84 Segments, enumerator
/external/srtp/doc/
Ddraft-irtf-cfrg-icm-00.txt105 4.2. Keystream Segments
/external/libogg/doc/
Drfc3533.txt331 are called "Ogg Segments". They are only a logical construct and do
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
Dlcms2.h1151 …gmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveSegment Segments[]);