Searched defs:SkASSERT (Results 1 - 12 of 12) sorted by relevance

/external/skia/src/opts/
H A DSkChecksum_opts.h54 SkASSERT(bytes < 24); function
61 SkASSERT(bytes < 16);
108 SkASSERT(bytes < 12);
115 SkASSERT(bytes < 8);
148 SkASSERT(bytes < 24);
155 SkASSERT(bytes < 16);
/external/skia/src/core/
H A DSkFlattenable.cpp61 SkASSERT(name);
62 SkASSERT(factory);
63 SkASSERT(gCount < (int)SK_ARRAY_COUNT(gEntries)); function
96 SkASSERT(type);
H A DSkRRect.cpp35 SkASSERT(scale < SK_Scalar1); function
49 SkASSERT(this->isValid());
111 SkASSERT(this->isValid());
196 SkASSERT(this->isValid());
215 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY < 0);
222 SkASSERT(canonicalPt.fX < 0 && canonicalPt.fY > 0);
229 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY < 0);
236 SkASSERT(canonicalPt.fX > 0 && canonicalPt.fY > 0);
293 ~Validator() { SkASSERT(fR->isValid()); }
352 SkASSERT(ds
[all...]
H A DSkRegion_path.cpp169 SkASSERT(y >= fCurrScanline->fLastY);
199 SkASSERT(fCurrXPtr - fStorage < fStorageCount);
214 SkASSERT(fCurrScanline != nullptr);
216 SkASSERT((const SkRegion::RunType*)fCurrScanline - fStorage == 5);
219 SkASSERT(line->fXCount == 2);
225 SkASSERT(fCurrScanline != nullptr);
226 SkASSERT((const SkRegion::RunType*)fCurrScanline - fStorage > 4);
243 SkASSERT(line == stop);
257 SkASSERT((unsigned)verb < SK_ARRAY_COUNT(gPathVerbToInitialLastIndex));
271 SkASSERT((unsigne
412 SkASSERT(base < stop); function
[all...]
H A DSkRegion.cpp36 SkASSERT(runs[0] < runs[1]);
37 SkASSERT(runs[1] < SkRegion::kRunTypeSentinel);
39 SkASSERT(0 == intervals);
40 SkASSERT(SkRegion::kRunTypeSentinel == runs[0]);
50 SkASSERT(count >= kRectRegionRuns);
54 SkASSERT(1 == runs[2]);
60 SkASSERT(runs[0] < runs[1]); // valid height
61 SkASSERT(runs[3] < runs[4]); // valid width
92 SkASSERT(fRunHead->fRefCnt >= 1);
94 //SkASSERT(gRgnAllocCounte
1178 SkASSERT(runs < end); function
[all...]
H A DSkAAClip.cpp96 SkASSERT(!bounds.isEmpty());
159 SkASSERT(curr <= fStopYOff);
180 SkASSERT(n > 0);
181 SkASSERT(n <= width);
185 SkASSERT(0 == width);
191 SkASSERT(fBounds.isEmpty());
194 SkASSERT(!fBounds.isEmpty());
197 SkASSERT(head->fRefCnt > 0);
198 SkASSERT(head->fRowCount > 0);
208 SkASSERT(prev
1673 SkASSERT(top < bot); function
[all...]
/external/skia/include/private/
H A DSkTDArray.h20 SkASSERT(src || count == 0);
117 SkASSERT(index < fCount); function
121 SkASSERT(index < fCount);
138 SkASSERT(fReserve == 0 && fCount == 0);
154 SkASSERT(count >= 0);
179 SkASSERT(src == NULL || fArray == NULL ||
200 SkASSERT(count);
201 SkASSERT(index <= fCount);
213 SkASSERT(index + count <= fCount);
219 SkASSERT(inde
[all...]
/external/skia/include/core/
H A DSkRect.h268 SkASSERT(fLeft < fRight && fTop < fBottom); function
269 SkASSERT(left < right && top < bottom);
312 SkASSERT(!a.isEmpty() && !b.isEmpty());
354 SkASSERT(!a.isEmpty());
355 SkASSERT(!b.isEmpty());
496 SkASSERT(0 == accum || SkScalarIsNaN(accum));
763 SkASSERT(!r.isEmpty());
806 SkASSERT(count >= 0);
807 SkASSERT(stride >= sizeof(SkPoint));
840 SkASSERT(ds
[all...]
H A DSkTypes.h88 #define SkASSERT(cond) \ macro
101 #define SkAssertResult(cond) SkASSERT(cond)
103 #define SkASSERT(cond) macro
112 // unlike SkASSERT, this guy executes its condition in the non-debug build.
212 SkASSERT(SkTFitsIn<D>(s));
345 SkASSERT(value != SK_NaN32); // The most negative int32_t can't be negated.
/external/skia/src/pathops/
H A DSkPathOpsCubic.cpp257 SkASSERT(roughly_between(0, td/sd, 1) && roughly_between(0, te/se, 1));
259 SkASSERT(roughly_between(0, *t, 1));
348 SkASSERT(extrema < 6); function
385 SkASSERT(foundRoots < 3);
393 SkASSERT(foundRoots < 3);
687 SkASSERT(t1 != t2);
/external/skia/src/gpu/ops/
H A DGrDashOp.cpp123 SkASSERT(phase < intervals[0] + intervals[1]); function
188 SkASSERT(vertexStride == sizeof(DashCircleVertex));
203 SkASSERT(kNonRound_DashCap == cap && vertexStride == sizeof(DashLineVertex));
569 SkASSERT(useAA); // so that we know bloatX and bloatY have been set
574 SkASSERT(useAA); // so that we know bloatX and bloatY have been set
613 SkASSERT(gp->getVertexStride() == sizeof(SkPoint));
630 SkASSERT(gp->getVertexStride() == sizeof(SkPoint));
647 SkASSERT(gp->getVertexStride() == sizeof(SkPoint));
654 SkASSERT(0 == (curVIdx % 4) && (curVIdx / 4) == totalRectCount);
736 SkASSERT(GrDashO
[all...]
/external/skia/src/shaders/gradients/
H A DSkGradientShader.cpp50 SkASSERT(static_cast<uint32_t>(fTileMode) <= kTileModeMask_GSF);
52 SkASSERT(fGradFlags <= kGradFlagsMask_GSF);
118 SkASSERT(desc.fCount > 1);
122 SkASSERT((unsigned)desc.fTileMode < SkShader::kTileModeCount);
123 SkASSERT(SkShader::kTileModeCount == SK_ARRAY_COUNT(gTileProcs));
185 SkASSERT(desc.fColorSpace->gammaIsLinear());
253 SkASSERT(2 == fColorCount);
537 SkASSERT(!fDstToIndex.hasPerspective());
587 SkASSERT(count > 1);
718 SkASSERT((unsigne
786 SkASSERT(nextIndex < kCache32Count); function
[all...]

Completed in 248 milliseconds