/third_party/skia/src/gpu/ |
D | GrEagerVertexAllocator.cpp | 26 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()
|
D | GrEagerVertexAllocator.h | 31 virtual void unlock(int actualCount) = 0; 61 void unlock(int actualCount) final; 83 void unlock(int actualCount) override;
|
/third_party/skia/tests/ |
D | TypefaceTest.cpp | 165 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 …]
|
D | TriangulatingPathRendererTests.cpp | 790 void unlock(int actualCount) override {} in unlock() argument
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 57 bool cache_match(GrGpuBuffer* vertexBuffer, SkScalar tol, int* actualCount) { in cache_match() argument 65 *actualCount = info->fCount; in cache_match() 93 void unlock(int actualCount) override { in unlock() argument 97 fVertexBuffer->updateData(fVertices, actualCount * stride()); in unlock() 123 void unlock(int actualCount) override { in unlock() argument 124 fTarget->putBackVertices(fVertexCount - actualCount, stride()); in unlock() 278 int actualCount; in draw() local 281 if (cache_match(cachedVertexBuffer.get(), tol, &actualCount)) { in draw() 283 actualCount); in draw()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | bidiconf.cpp | 48 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/flutter/skia/src/gpu/ |
D | GrTessellator.h | 31 virtual void unlock(int actualCount) = 0;
|
D | GrTessellator.cpp | 2354 int actualCount = static_cast<int>((static_cast<uint8_t*>(end) - static_cast<uint8_t*>(verts)) in PathToTriangles() local 2356 SkASSERT(actualCount <= count); in PathToTriangles() 2357 vertexAllocator->unlock(actualCount); in PathToTriangles() 2358 return actualCount; in PathToTriangles() 2396 int actualCount = static_cast<int>(vertsEnd - *verts); in PathToVertices() local 2397 SkASSERT(actualCount <= count); in PathToVertices() 2398 SkASSERT(pointsEnd - points == actualCount); in PathToVertices() 2400 return actualCount; in PathToVertices()
|
/third_party/skia/src/gpu/ops/ |
D | TriangulatingPathRenderer.cpp | 129 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/ |
D | GrAATriangulator.cpp | 697 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()
|
D | GrTriangulator.cpp | 1617 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/ |
D | fourslashImpl.ts | 2327 const actualCount = definitions && definitions.length || 0; constant 2329 … assertFn(actualCount, expectedCount, this.messageAtLastKnownMarker("Type definitions Count")); 3264 const actualCount = occurrences ? occurrences.length : 0; constant 3265 if (expectedCount !== actualCount) { 3266 …is.raiseError(`verifyOccurrencesAtPositionListCount failed - actual: ${actualCount}, expected:${ex…
|