Home
last modified time | relevance | path

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

/external/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()
69 if (fUsed >= fMax) { in insert()
72 fUsed = 0; in insert()
75 int remaining = fUsed - index; in insert()
89 ++fUsed; in insert()
90 SkASSERT(fUsed <= SK_ARRAY_COUNT(fPt)); in insert()
125 fUsed = 1; in merge()
[all …]
DSkDLineIntersection.cpp11 while (fUsed > 2) { in cleanUpParallelLines()
14 if (fUsed == 2 && !parallel) { in cleanUpParallelLines()
27 if (fUsed == 2) { in cleanUpParallelLines()
34 if ((fUsed = used) == 2) { in computePoints()
68 return fUsed = 0; in intersectRay()
76 return fUsed; in intersectRay()
113 if (unparallel && fUsed == 0) { in intersect()
177 SkASSERT(fUsed <= 2); in intersect()
178 return fUsed; in intersect()
221 if (result == 1 && fUsed == 0) { in horizontal()
[all …]
DSkIntersections.h107 return fUsed > 0 && (t == 0 ? fT[0][0] == 0 : fT[0][fUsed - 1] == 1); in hasT()
185 fUsed = 0; in reset()
207 return fUsed; in used()
215 SkASSERT(fUsed == 1); in unBumpT()
218 fUsed = 0; in unBumpT()
307 unsigned char fUsed; variable
DSkDQuadLineIntersection.cpp429 fUsed = q.intersectRay(fT[0]); in intersectRay()
430 for (int index = 0; index < fUsed; ++index) { in intersectRay()
433 return fUsed; in intersectRay()
DSkDConicLineIntersection.cpp348 fUsed = c.intersectRay(fT[0]); in intersectRay()
349 for (int index = 0; index < fUsed; ++index) { in intersectRay()
352 return fUsed; in intersectRay()
DSkDCubicLineIntersection.cpp422 fUsed = c.intersectRay(fT[0]); in intersectRay()
423 for (int index = 0; index < fUsed; ++index) { in intersectRay()
426 return fUsed; in intersectRay()
DSkPathOpsTSect.h1969 : fUsed(0) { in SkClosestSect()
1974 SkClosestRecord<TCurve, OppCurve>* record = &fClosest[fUsed]; in find()
1982 for (int index = 0; index < fUsed; ++index) { in find()
1993 ++fUsed; in find()
2001 for (int index = 0; index < fUsed; ++index) { in finish()
2006 for (int index = 0; index < fUsed; ++index) { in finish()
2014 int fUsed; member
DSkPathOpsDebug.cpp1654 for (int index = 0; index < fUsed; ++index) { in debugCoincidentUsed()
/external/skia/include/core/
DSkWriter32.h39 size_t bytesWritten() const { return fUsed; } in bytesWritten()
50 fUsed = 0;
63 size_t offset = fUsed; in reserve()
64 size_t totalRequired = fUsed + size; in reserve()
68 fUsed = totalRequired; in reserve()
79 SkASSERT(offset < fUsed); in readTAt()
90 SkASSERT(offset < fUsed); in overwriteTAt()
216 fUsed = offset; in rewindToOffset()
221 memcpy(dst, fData, fUsed); in flatten()
225 return stream->write(fData, fUsed); in writeToStream()
[all …]
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp57 size_t fUsed; member in __anon37dff1430111::DiscardableMemoryPool
135 , fUsed(0) { in DiscardableMemoryPool()
152 if (fUsed <= budget) { in dumpDownTo()
158 while ((fUsed > budget) && (cur)) { in dumpDownTo()
164 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
165 fUsed -= dm->fBytes; in dumpDownTo()
184 fUsed += bytes; in create()
195 SkASSERT(fUsed >= dm->fBytes); in free()
196 fUsed -= dm->fBytes; in free()
230 return fUsed; in getRAMUsed()
/external/skia/src/core/
DSkRWBuffer.cpp16 size_t fUsed; member
21 size_t avail() const { return fCapacity - fUsed; } in avail()
22 void* availData() { return (char*)this->startData() + fUsed; } in availData()
28 block->fUsed = 0; in Alloc()
38 fUsed += amount; in append()
46 SkASSERT(fUsed <= fCapacity); in validate()
72 head->fBlock.fUsed = 0; in Alloc()
105 totalUsed += block->fUsed; in validate()
117 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t used) : fHead(head), fUsed(used) { in SkROBuffer()
129 fHead->validate(fUsed); in ~SkROBuffer()
[all …]
DSkRWBuffer.h28 size_t size() const { return fUsed; } in size()
63 const size_t fUsed; variable
DSkWriter32.cpp75 memcpy(fData, fExternal, fUsed); in growToAtLeast()
80 return SkData::NewWithCopy(fData, fUsed); in snapshotAsData()
/external/skia/src/gpu/batches/
DGrBatch.h101 SkDEBUGCODE(bool isUsed() const { return fUsed; }) in SkDEBUGCODE() argument
154 SkDEBUGCODE(bool fUsed;)
DGrBatch.cpp55 SkDEBUGCODE(fUsed = false;) in GrBatch()
/external/skia/tests/
DPathOpsDebug.cpp185 SkDebugf("used=%d of %d", fUsed, fMax); in dump()
186 for (int index = 0; index < fUsed; ++index) { in dump()