/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | CommentParsingSteps.java | 112 public void thenTheTotalNumberOfCommentsIs(int expectedCount) { in thenTheTotalNumberOfCommentsIs() argument 113 assertThat(commentsCollection.size(), is(expectedCount)); in thenTheTotalNumberOfCommentsIs() 217 public void thenTheCompilationUnitHasContainedComments(int expectedCount) { in thenTheCompilationUnitHasContainedComments() argument 218 assertThat(compilationUnit.getComments().size(), is(expectedCount)); in thenTheCompilationUnitHasContainedComments() 222 public void thenTheCompilationUnitHasExpectedCountOrphanComments(int expectedCount) { in thenTheCompilationUnitHasExpectedCountOrphanComments() argument 223 assertThat(compilationUnit.getOrphanComments().size(), is(expectedCount)); in thenTheCompilationUnitHasExpectedCountOrphanComments() 263 public void thenClassHasTotalContainedComments(int position, int expectedCount) { in thenClassHasTotalContainedComments() argument 265 assertThat(classUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenClassHasTotalContainedComments() 270 public void thenClassHasOrphanComments(int position, int expectedCount) { in thenClassHasOrphanComments() argument 272 assertThat(classUnderTest.getOrphanComments().size(), is(expectedCount)); in thenClassHasOrphanComments() [all …]
|
D | VisitorSteps.java | 168 public void thenTheTotalNumberOfNodesVisitedIs(int expectedCount) { in thenTheTotalNumberOfNodesVisitedIs() argument 169 assertThat(positionTestVisitor.getNumberOfNodesVisited(), is(expectedCount)); in thenTheTotalNumberOfNodesVisitedIs()
|
D | ManipulationSteps.java | 256 …blic void thenMethodInClassHasArguments(int methodPosition, int classPosition, int expectedCount) { in thenMethodInClassHasArguments() argument 260 assertThat(method.getParameters().size(), is(expectedCount)); in thenMethodInClassHasArguments()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | ProtectedPromise.java | 39 private int expectedCount; field in ProtectedPromise 65 expectedCount++; in newPromise() 78 if (successfulCount == expectedCount) { in doneAllocatingPromises() 114 return successfulCount + failureCount < expectedCount; in awaitingPromises() 127 if (successfulCount == expectedCount && doneAllocating) { in trySuccess()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ThreadTest.java | 40 long expectedCount = 0; in TestThreads() local 44 if (expectedCount == 0) { in TestThreads() 45 expectedCount = thread.count; in TestThreads() 47 if (expectedCount != thread.count) { in TestThreads()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | ThreadTest.java | 43 long expectedCount = 0; in TestThreads() local 47 if (expectedCount == 0) { in TestThreads() 48 expectedCount = thread.count; in TestThreads() 50 if (expectedCount != thread.count) { in TestThreads()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | FrameCountTest.java | 67 int expectedCount = getFramesCount(threadID); in testFrameCount001() local 68 logWriter.println("\texpected count = " + expectedCount); in testFrameCount001() 80 if (frameCount != expectedCount) { in testFrameCount001() 82 + ", expected value " + expectedCount); in testFrameCount001()
|
/external/skqp/src/core/ |
D | SkImageFilterPriv.h | 16 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument 19 if (!localVar.unflatten(buffer, expectedCount)) { \
|
D | SkImageFilter.cpp | 82 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument 87 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
|
/external/skia/src/core/ |
D | SkImageFilterPriv.h | 16 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument 19 if (!localVar.unflatten(buffer, expectedCount)) { \
|
D | SkImageFilter.cpp | 85 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument 90 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 281 private static void testBytes(int numBytes, long expectedCount) { in testBytes() argument 282 testBytes(numBytes, expectedCount, 0, -1); in testBytes() 297 private static void testBytes(int numBytes, long expectedCount, long start, in testBytes() argument 323 assertEquals(expectedCount, countRoundTripped); in testBytes()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 230 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) { 231 testBytes(factory, numBytes, expectedCount, 0, -1); 247 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { 326 assertEquals(expectedCount, countRoundTripped); 344 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { 420 assertEquals(expectedCount, countRoundTripped);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ExecutionListTest.java | 111 final int expectedCount = i; in testOrdering() local 115 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
|
/external/icu/icu4c/source/test/intltest/ |
D | svccoll.cpp | 488 int32_t expectedCount) { in checkStringEnumeration() argument 490 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32 in checkStringEnumeration() 503 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration() 532 if (((1<<expectedCount)-1) != seenMask) { in checkStringEnumeration() 533 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
|
D | svccoll.h | 37 int32_t expectedCount);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultiset.java | 716 int expectedCount, 724 if (expectedCount == 0 && newCount > 0) { 730 left = initLeft.setCount(comparator, e, expectedCount, newCount, result); 732 if (result[0] == expectedCount) { 745 if (expectedCount == 0 && newCount > 0) { 751 right = initRight.setCount(comparator, e, expectedCount, newCount, result); 753 if (result[0] == expectedCount) { 766 if (expectedCount == elemCount) {
|
/external/guava/guava/src/com/google/common/collect/ |
D | TreeMultiset.java | 720 int expectedCount, 728 if (expectedCount == 0 && newCount > 0) { 734 left = initLeft.setCount(comparator, e, expectedCount, newCount, result); 736 if (result[0] == expectedCount) { 749 if (expectedCount == 0 && newCount > 0) { 755 right = initRight.setCount(comparator, e, expectedCount, newCount, result); 757 if (result[0] == expectedCount) { 770 if (expectedCount == elemCount) {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | CountModifierTest.java | 225 int expectedCount = CountModifierDebuggee.EVENT_COUNT; in testEventWithCountModifier() local 227 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
|
/external/skqp/tests/ |
D | SkUTFTest.cpp | 62 int expectedCount; in DEF_TEST() member 92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
|
/external/skia/tests/ |
D | SkUTFTest.cpp | 62 int expectedCount; in DEF_TEST() member 92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
|
/external/easymock/src/org/easymock/internal/ |
D | Range.java | 74 public String expectedCount() { in expectedCount() method in Range
|
D | Results.java | 68 return getMainInterval().expectedCount(); in toString()
|
/external/deqp/modules/gles31/functional/ |
D | es31fIndirectComputeDispatchTests.cpp | 315 const deUint32 expectedCount = computeInvocationCount(m_workGroupSize, cmd.numWorkGroups); in verifyResultBuffer() local 318 if (numPassed != expectedCount) in verifyResultBuffer() 321 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 346 const deUint32 expectedCount = numInvocationsPerGroup * numGroups; in verifyResultBuffer() local 348 if (numPassed != expectedCount) in verifyResultBuffer() 355 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()
|