Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/pathops/
DSkIntersections.cpp14 for (int index = 0; index < fUsed; ++index) { in closestTo()
29 for (int index = 0; index < fUsed; ++index) { in flip()
39 SkASSERT(fUsed <= 1 || fT[0][0] <= fT[0][1]); in insert()
41 for (index = 0; index < fUsed; ++index) { in insert()
57 int remaining = fUsed - index - 1; in insert()
64 --fUsed; in insert()
73 for (index = 0; index < fUsed; ++index) { in insert()
78 if (fUsed >= fMax) { in insert()
81 fUsed = 0; in insert()
84 int remaining = fUsed - index; in insert()
[all …]
DSkDLineIntersection.cpp13 while (fUsed > 2) { in cleanUpParallelLines()
16 if (fUsed == 2 && !parallel) { in cleanUpParallelLines()
29 if (fUsed == 2) { in cleanUpParallelLines()
36 if ((fUsed = used) == 2) { in computePoints()
70 return fUsed = 0; in intersectRay()
78 return fUsed; in intersectRay()
115 if (unparallel && fUsed == 0) { in intersect()
179 SkASSERT(fUsed <= 2); in intersect()
180 return fUsed; in intersect()
225 if (result == 1 && fUsed == 0) { in horizontal()
[all …]
DSkIntersections.h112 return fUsed > 0 && (t == 0 ? fT[0][0] == 0 : fT[0][fUsed - 1] == 1); in hasT()
117 return fUsed > 0 && (fT[1][0] == t || fT[1][fUsed - 1] == t); in hasOppT()
194 fUsed = 0; in reset()
216 return fUsed; in used()
224 SkASSERT(fUsed == 1); in unBumpT()
227 fUsed = 0; in unBumpT()
320 unsigned char fUsed; variable
DSkDQuadLineIntersection.cpp445 fUsed = q.intersectRay(fT[0]); in intersectRay()
446 for (int index = 0; index < fUsed; ++index) { in intersectRay()
449 return fUsed; in intersectRay()
DSkDConicLineIntersection.cpp369 fUsed = c.intersectRay(fT[0]); in intersectRay()
370 for (int index = 0; index < fUsed; ++index) { in intersectRay()
373 return fUsed; in intersectRay()
DSkDCubicLineIntersection.cpp440 fUsed = c.intersectRay(fT[0]); in intersectRay()
441 for (int index = 0; index < fUsed; ++index) { in intersectRay()
444 return fUsed; in intersectRay()
DSkPathOpsTSect.cpp1726 : fUsed(0) { in SkClosestSect()
1732 SkClosestRecord* record = &fClosest[fUsed]; in find()
1740 for (int index = 0; index < fUsed; ++index) { in find()
1751 ++fUsed; in find()
1759 for (int index = 0; index < fUsed; ++index) { in finish()
1764 for (int index = 0; index < fUsed; ++index) { in finish()
1772 int fUsed; member
DSkPathOpsDebug.cpp2705 for (int index = 0; index < fUsed; ++index) { in debugCoincidentUsed()
/third_party/skia/src/pathops/
DSkIntersections.cpp14 for (int index = 0; index < fUsed; ++index) { in closestTo()
29 for (int index = 0; index < fUsed; ++index) { in flip()
39 SkASSERT(fUsed <= 1 || fT[0][0] <= fT[0][1]); in insert()
41 for (index = 0; index < fUsed; ++index) { in insert()
57 int remaining = fUsed - index - 1; in insert()
64 --fUsed; in insert()
73 for (index = 0; index < fUsed; ++index) { in insert()
78 if (fUsed >= fMax) { in insert()
81 fUsed = 0; in insert()
84 int remaining = fUsed - index; in insert()
[all …]
DSkDLineIntersection.cpp13 while (fUsed > 2) { in cleanUpParallelLines()
16 if (fUsed == 2 && !parallel) { in cleanUpParallelLines()
29 if (fUsed == 2) { in cleanUpParallelLines()
36 if ((fUsed = used) == 2) { in computePoints()
70 return fUsed = 0; in intersectRay()
78 return fUsed; in intersectRay()
115 if (unparallel && fUsed == 0) { in intersect()
179 SkASSERT(fUsed <= 2); in intersect()
180 return fUsed; in intersect()
225 if (result == 1 && fUsed == 0) { in horizontal()
[all …]
DSkIntersections.h112 return fUsed > 0 && (t == 0 ? fT[0][0] == 0 : fT[0][fUsed - 1] == 1); in hasT()
117 return fUsed > 0 && (fT[1][0] == t || fT[1][fUsed - 1] == t); in hasOppT()
194 fUsed = 0; in reset()
216 return fUsed; in used()
224 SkASSERT(fUsed == 1); in unBumpT()
227 fUsed = 0; in unBumpT()
320 unsigned char fUsed; variable
DSkDQuadLineIntersection.cpp445 fUsed = q.intersectRay(fT[0]); in intersectRay()
446 for (int index = 0; index < fUsed; ++index) { in intersectRay()
449 return fUsed; in intersectRay()
DSkDConicLineIntersection.cpp369 fUsed = c.intersectRay(fT[0]); in intersectRay()
370 for (int index = 0; index < fUsed; ++index) { in intersectRay()
373 return fUsed; in intersectRay()
DSkDCubicLineIntersection.cpp440 fUsed = c.intersectRay(fT[0]); in intersectRay()
441 for (int index = 0; index < fUsed; ++index) { in intersectRay()
444 return fUsed; in intersectRay()
DSkPathOpsTSect.cpp1727 : fUsed(0) { in SkClosestSect()
1733 SkClosestRecord* record = &fClosest[fUsed]; in find()
1741 for (int index = 0; index < fUsed; ++index) { in find()
1752 ++fUsed; in find()
1760 for (int index = 0; index < fUsed; ++index) { in finish()
1764 for (int index = 0; index < fUsed; ++index) { in finish()
1772 int fUsed; member
/third_party/flutter/skia/src/core/
DSkWriter32.h40 size_t bytesWritten() const { return fUsed; } in bytesWritten()
54 fUsed = 0;
61 size_t offset = fUsed; in reserve()
62 size_t totalRequired = fUsed + size; in reserve()
66 fUsed = totalRequired; in reserve()
77 SkASSERT(offset < fUsed); in readTAt()
88 SkASSERT(offset < fUsed); in overwriteTAt()
228 fUsed = offset; in rewindToOffset()
233 memcpy(dst, fData, fUsed); in flatten()
237 return stream->write(fData, fUsed); in writeToStream()
[all …]
DSkRWBuffer.cpp23 size_t fUsed; // updated by the writer member
26 SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0), fCapacity(capacity) {} in SkBufferBlock()
30 size_t avail() const { return fCapacity - fUsed; } in avail()
31 void* availData() { return (char*)this->startData() + fUsed; } in availData()
46 fUsed += amount; in append()
56 SkASSERT(fUsed <= fCapacity); in validate()
113 totalUsed += block->fUsed; in validate()
DSkWriter32.cpp84 memcpy(fData, fExternal, fUsed); in growToAtLeast()
89 return SkData::MakeWithCopy(fData, fUsed); in snapshotAsData()
/third_party/skia/src/core/
DSkWriter32.h40 size_t bytesWritten() const { return fUsed; } in bytesWritten()
54 fUsed = 0;
61 size_t offset = fUsed; in reserve()
62 size_t totalRequired = fUsed + size; in reserve()
66 fUsed = totalRequired; in reserve()
77 SkASSERT(offset < fUsed); in readTAt()
88 SkASSERT(offset < fUsed); in overwriteTAt()
221 fUsed = offset; in rewindToOffset()
226 memcpy(dst, fData, fUsed); in flatten()
230 return stream->write(fData, fUsed); in writeToStream()
[all …]
DSkWriter32.cpp54 memcpy(fData, fExternal, fUsed); in growToAtLeast()
59 return SkData::MakeWithCopy(fData, fUsed); in snapshotAsData()
/third_party/skia/src/lazy/
DSkDiscardableMemoryPool.cpp57 size_t fUsed; member in __anon0e8870cf0111::DiscardableMemoryPool
127 , fUsed(0) { in DiscardableMemoryPool()
142 if (fUsed <= budget) { in dumpDownTo()
148 while ((fUsed > budget) && (cur)) { in dumpDownTo()
153 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
154 fUsed -= dm->fBytes; in dumpDownTo()
173 fUsed += bytes; in make()
182 SkASSERT(fUsed >= dm->fBytes); in removeFromPool()
183 fUsed -= dm->fBytes; in removeFromPool()
217 return fUsed; in getRAMUsed()
/third_party/flutter/skia/src/lazy/
DSkDiscardableMemoryPool.cpp58 size_t fUsed; member in __anon64d7b6040111::DiscardableMemoryPool
128 , fUsed(0) { in DiscardableMemoryPool()
143 if (fUsed <= budget) { in dumpDownTo()
149 while ((fUsed > budget) && (cur)) { in dumpDownTo()
154 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
155 fUsed -= dm->fBytes; in dumpDownTo()
174 fUsed += bytes; in make()
183 SkASSERT(fUsed >= dm->fBytes); in removeFromPool()
184 fUsed -= dm->fBytes; in removeFromPool()
218 return fUsed; in getRAMUsed()
/third_party/skia/src/gpu/mock/
DGrMockRenderTask.h22 void addUsed(sk_sp<GrSurfaceProxy> proxy) { fUsed.push_back(std::move(proxy)); } in addUsed()
31 for (const auto& entry : fUsed) { in onIsUsed()
45 SkTArray<sk_sp<GrSurfaceProxy>> fUsed;
/third_party/flutter/skia/tests/
DPathOpsDebug.cpp206 SkDebugf("used=%d of %d", fUsed, fMax); in dump()
207 for (int index = 0; index < fUsed; ++index) { in dump()
/third_party/skia/tests/
DPathOpsDebug.cpp206 SkDebugf("used=%d of %d", fUsed, fMax); in dump()
207 for (int index = 0; index < fUsed; ++index) { in dump()

12