Home
last modified time | relevance | path

Searched refs:actualCount (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/
DGrEagerVertexAllocator.cpp26 void GrEagerDynamicVertexAllocator::unlock(int actualCount) { in unlock() argument
28 SkASSERT(actualCount <= fLockCount); in unlock()
29 fTarget->putBackVertices(fLockCount - actualCount, fLockStride); in unlock()
30 if (!actualCount) { in unlock()
48 void GrCpuVertexAllocator::unlock(int actualCount) { in unlock() argument
51 fVertices = sk_realloc_throw(fVertices, actualCount * fLockStride); in unlock()
53 fVertexData = GrThreadSafeCache::MakeVertexData(fVertices, actualCount, fLockStride); in unlock()
DGrEagerVertexAllocator.h31 virtual void unlock(int actualCount) = 0;
61 void unlock(int actualCount) final;
83 void unlock(int actualCount) override;
/third_party/skia/tests/
DTypefaceTest.cpp165 int actualCount = typeface->getVariationDesignPosition(nullptr, 0); in DEF_TEST() local
166 if (actualCount == -1) { in DEF_TEST()
169 REPORTER_ASSERT(reporter, actualCount == expected.coordinateCount || in DEF_TEST()
170 actualCount == alsoAcceptedAxisTagCount); in DEF_TEST()
175 std::unique_ptr<Variation::Coordinate[]> actual(new Variation::Coordinate[actualCount]); in DEF_TEST()
176 actualCount = typeface->getVariationDesignPosition(actual.get(), actualCount); in DEF_TEST()
177 if (actualCount == -1) { in DEF_TEST()
180 REPORTER_ASSERT(reporter, actualCount == expected.coordinateCount || in DEF_TEST()
181 actualCount == alsoAcceptedAxisTagCount); in DEF_TEST()
185 for (int actualIdx = 0; actualIdx < actualCount; ++actualIdx) { in DEF_TEST()
[all …]
DTriangulatingPathRendererTests.cpp790 void unlock(int actualCount) override {} in unlock() argument
/third_party/icu/icu4c/source/test/intltest/
Dbidiconf.cpp48 UBool checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount);
573 static uint32_t getDirectionBits(const UBiDiLevel actualLevels[], int32_t actualCount) { in getDirectionBits() argument
575 for(int32_t i=0; i<actualCount; ++i) { in getDirectionBits()
581 UBool BiDiConformanceTest::checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount) { in checkLevels() argument
583 if(levelsCount!=actualCount) { in checkLevels()
585 (int)lineNumber, (int)levelsCount, (int)actualCount); in checkLevels()
588 for(int32_t i=0; i<actualCount; ++i) { in checkLevels()
590 if(directionBits!=3 && directionBits==getDirectionBits(actualLevels, actualCount)) { in checkLevels()
613 for(i=0; i<actualCount; ++i) { in checkLevels()
/third_party/skia/src/gpu/ops/
DTriangulatingPathRenderer.cpp129 void unlock(int actualCount) override { in unlock() argument
135 fVertexBuffer->updateData(fVertices, actualCount * fLockStride); in unlock()
140 actualCount, fLockStride); in unlock()
/third_party/skia/src/gpu/geometry/
DGrAATriangulator.cpp697 int actualCount = static_cast<int>((static_cast<uint8_t*>(end) - static_cast<uint8_t*>(verts)) in polysToAATriangles() local
699 SkASSERT(actualCount <= count); in polysToAATriangles()
700 vertexAllocator->unlock(actualCount); in polysToAATriangles()
701 return actualCount; in polysToAATriangles()
DGrTriangulator.cpp1617 int actualCount = static_cast<int>((static_cast<uint8_t*>(end) - static_cast<uint8_t*>(verts)) in polysToTriangles() local
1619 SkASSERT(actualCount <= count); in polysToTriangles()
1620 vertexAllocator->unlock(actualCount); in polysToTriangles()
1621 return actualCount; in polysToTriangles()
/third_party/typescript/src/harness/
DfourslashImpl.ts2390 const actualCount = definitions && definitions.length || 0; constant
2392 … assertFn(actualCount, expectedCount, this.messageAtLastKnownMarker("Type definitions Count"));
3341 const actualCount = occurrences ? occurrences.length : 0; constant
3342 if (expectedCount !== actualCount) {
3343 …is.raiseError(`verifyOccurrencesAtPositionListCount failed - actual: ${actualCount}, expected:${ex…