/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
D | NumberOfInvocationsChecker.java | 36 int actualCount = actualInvocations.size(); in checkNumberOfInvocations() local 37 if (wantedCount > actualCount) { in checkNumberOfInvocations() 39 … throw tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, allLocations); in checkNumberOfInvocations() 41 if (wantedCount == 0 && actualCount > 0) { in checkNumberOfInvocations() 44 if (wantedCount < actualCount) { in checkNumberOfInvocations() 45 …throw tooManyActualInvocations(wantedCount, actualCount, wanted, getAllLocations(actualInvocations… in checkNumberOfInvocations() 54 int actualCount = chunk.size(); in checkNumberOfInvocations() local 56 if (wantedCount > actualCount) { in checkNumberOfInvocations() 58 …throw tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, allLoca… in checkNumberOfInvocations() 60 if (wantedCount < actualCount) { in checkNumberOfInvocations() [all …]
|
D | AtLeastXNumberOfInvocationsChecker.java | 27 int actualCount = actualInvocations.size(); in checkAtLeastNumberOfInvocations() local 28 if (wantedCount > actualCount) { in checkAtLeastNumberOfInvocations() 30 …throw tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, allLoca… in checkAtLeastNumberOfInvocations() 39 int actualCount = chunk.size(); in checkAtLeastNumberOfInvocations() local 41 if (wantedCount > actualCount) { in checkAtLeastNumberOfInvocations() 43 …throw tooLittleActualInvocationsInOrder(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, … in checkAtLeastNumberOfInvocations()
|
D | AtLeastDiscrepancy.java | 11 public AtLeastDiscrepancy(int wantedCount, int actualCount) { in AtLeastDiscrepancy() argument 12 super(wantedCount, actualCount); in AtLeastDiscrepancy()
|
/external/mockito/src/main/java/org/mockito/internal/reporting/ |
D | Discrepancy.java | 10 private final int actualCount; field in Discrepancy 12 public Discrepancy(int wantedCount, int actualCount) { in Discrepancy() argument 14 this.actualCount = actualCount; in Discrepancy() 26 return actualCount; in getActualCount() 30 return Pluralizer.pluralize(actualCount); in getPluralizedActualCount()
|
/external/easymock/src/org/easymock/internal/ |
D | ErrorMessage.java | 24 private final int actualCount; field in ErrorMessage 26 public ErrorMessage(boolean matching, String message, int actualCount) { in ErrorMessage() argument 29 this.actualCount = actualCount; in ErrorMessage() 41 return actualCount; in getActualCount()
|
/external/skia/src/gpu/ |
D | GrEagerVertexAllocator.h | 30 virtual void unlock(int actualCount) = 0; 71 void unlock(int actualCount) final { in unlock() argument 73 SkASSERT(actualCount <= fLockCount); in unlock() 74 fTarget->putBackVertices(fLockCount - actualCount, fLockStride); in unlock() 75 if (!actualCount) { in unlock() 102 void unlock(int actualCount) override;
|
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 | 1519 int actualCount = static_cast<int>((static_cast<uint8_t*>(end) - static_cast<uint8_t*>(verts)) in polysToTriangles() local 1521 SkASSERT(actualCount <= count); in polysToTriangles() 1522 vertexAllocator->unlock(actualCount); in polysToTriangles() 1523 return actualCount; in polysToTriangles()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 187 int actualCount = typeface->getVariationDesignPosition(nullptr, 0); in DEF_TEST() local 188 if (actualCount == -1) { in DEF_TEST() 191 REPORTER_ASSERT(reporter, actualCount == expected.coordinateCount || in DEF_TEST() 192 actualCount == alsoAcceptedAxisTagCount); in DEF_TEST() 197 std::unique_ptr<Variation::Coordinate[]> actual(new Variation::Coordinate[actualCount]); in DEF_TEST() 198 actualCount = typeface->getVariationDesignPosition(actual.get(), actualCount); in DEF_TEST() 199 if (actualCount == -1) { in DEF_TEST() 202 REPORTER_ASSERT(reporter, actualCount == expected.coordinateCount || in DEF_TEST() 203 actualCount == alsoAcceptedAxisTagCount); in DEF_TEST() 207 for (int actualIdx = 0; actualIdx < actualCount; ++actualIdx) { in DEF_TEST() [all …]
|
D | TriangulatingPathRendererTests.cpp | 787 void unlock(int actualCount) override {} in unlock() argument
|
/external/skqp/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 56 bool cache_match(GrBuffer* vertexBuffer, SkScalar tol, int* actualCount) { in cache_match() argument 64 *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() 265 int actualCount; in draw() local 268 if (cache_match(cachedVertexBuffer.get(), tol, &actualCount)) { in draw() 270 actualCount); in draw()
|
/external/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()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 362 …public static MockitoAssertionError tooManyActualInvocations(int wantedCount, int actualCount, Des… in tooManyActualInvocations() argument 363 … String message = createTooManyInvocationsMessage(wantedCount, actualCount, wanted, locations); in tooManyActualInvocations() 367 …private static String createTooManyInvocationsMessage(int wantedCount, int actualCount, DescribedI… in createTooManyInvocationsMessage() argument 373 "But was " + pluralize(actualCount) + ":", in createTooManyInvocationsMessage() 389 …itoAssertionError tooManyActualInvocationsInOrder(int wantedCount, int actualCount, DescribedInvoc… in tooManyActualInvocationsInOrder() argument 390 … String message = createTooManyInvocationsMessage(wantedCount, actualCount, wanted, invocations); in tooManyActualInvocationsInOrder()
|
/external/skia/src/gpu/ops/ |
D | GrTriangulatingPathRenderer.cpp | 129 void unlock(int actualCount) override { in unlock() argument 135 fVertexBuffer->updateData(fVertices, actualCount * fLockStride); in unlock() 140 actualCount, fLockStride); in unlock() 174 void GrCpuVertexAllocator::unlock(int actualCount) { in unlock() argument 177 fVertices = sk_realloc_throw(fVertices, actualCount * fLockStride); in unlock() 179 fVertexData = GrThreadSafeCache::MakeVertexData(fVertices, actualCount, fLockStride); in unlock()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | CountModifierTest.java | 226 int actualCount = getStaticIntField(getDebuggeeClassSignature(), countFieldName); in testEventWithCountModifier() local 227 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
|
/external/OpenCL-CTS/test_common/harness/ |
D | testHarness.cpp | 906 cl_uint actualCount; in GetOpposingDevice() local 919 error = clGetDeviceIDs(plat, CL_DEVICE_TYPE_ALL, 0, NULL, &actualCount); in GetOpposingDevice() 925 otherDevices = (cl_device_id *)malloc(actualCount * sizeof(cl_device_id)); in GetOpposingDevice() 933 error = clGetDeviceIDs(plat, CL_DEVICE_TYPE_ALL, actualCount, otherDevices, in GetOpposingDevice() 941 if (actualCount == 1) in GetOpposingDevice() 949 for (i = 0; i < actualCount; i++) in GetOpposingDevice()
|
/external/skqp/src/gpu/ |
D | GrTessellator.h | 31 virtual void unlock(int actualCount) = 0;
|
D | GrTessellator.cpp | 2264 int actualCount = static_cast<int>((static_cast<uint8_t*>(end) - static_cast<uint8_t*>(verts)) in PathToTriangles() local 2266 SkASSERT(actualCount <= count); in PathToTriangles() 2267 vertexAllocator->unlock(actualCount); in PathToTriangles() 2268 return actualCount; in PathToTriangles() 2306 int actualCount = static_cast<int>(vertsEnd - *verts); in PathToVertices() local 2307 SkASSERT(actualCount <= count); in PathToVertices() 2308 SkASSERT(pointsEnd - points == actualCount); in PathToVertices() 2310 return actualCount; in PathToVertices()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestAliases.java | 109 String actualCount = countMatcher.group(1); in testCountFull() local 111 if (assertEquals(path, sourceCount, actualCount)) { in testCountFull()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRFile.java | 3595 String actualCount = parts.getAttributeValue(-1, "count"); 3596 if (actualCount != null) { 3597 if (CldrUtility.DIGITS.containsAll(actualCount)) { 3599 int item = Integer.parseInt(actualCount);
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 2742 UInt64 actualCount; in File_FSAllocateFork() local 2755 &actualCount); in File_FSAllocateFork() 2758 actualCount); in File_FSAllocateFork()
|