Home
last modified time | relevance | path

Searched refs:expectedCount (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java35 long expectedCount = 0; in TestThreads() local
39 if (expectedCount == 0) { in TestThreads()
40 expectedCount = thread.count; in TestThreads()
42 if (expectedCount != thread.count) { in TestThreads()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFrameCountTest.java66 int expectedCount = getFramesCount(threadID); in testFrameCount001() local
67 logWriter.println("\texpected count = " + expectedCount); in testFrameCount001()
79 if (frameCount != expectedCount) { in testFrameCount001()
81 + ", expected value " + expectedCount); in testFrameCount001()
/external/protobuf/java/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java189 static void testBytes(int numBytes, long expectedCount)
191 testBytes(numBytes, expectedCount, 0, -1);
205 static void testBytes(int numBytes, long expectedCount, long start, long lim)
297 assertEquals(expectedCount, countRoundTripped);
314 int numBytes, long expectedCount, long start, long lim)
391 assertEquals(expectedCount, countRoundTripped);
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java282 private static void testBytes(int numBytes, long expectedCount) { in testBytes() argument
283 testBytes(numBytes, expectedCount, 0, -1); in testBytes()
298 private static void testBytes(int numBytes, long expectedCount, long start, in testBytes() argument
329 assertEquals(expectedCount, countRoundTripped); in testBytes()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java112 final int expectedCount = i; in testOrdering() local
116 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp485 int32_t expectedCount) { in checkStringEnumeration() argument
487 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32 in checkStringEnumeration()
500 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
529 if (((1<<expectedCount)-1) != seenMask) { in checkStringEnumeration()
530 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
Dsvccoll.h35 int32_t expectedCount);
Drbbitst.cpp358 static void printStringBreaks(UText *tstr, int expected[], int expectedCount) { in printStringBreaks() argument
365 if (nextExpectedIndex < expectedCount && j >= expected[nextExpectedIndex] ) { in printStringBreaks()
396 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { in printStringBreaks() argument
404 printStringBreaks(tstr, expected, expectedCount); in printStringBreaks()
4117 int expectedCount = 0; in RunMonkey() local
4178 expectedCount = 0; in RunMonkey()
4188 U_ASSERT(expectedCount<testText.length()); in RunMonkey()
4189 expected[expectedCount ++] = breakPos; in RunMonkey()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultiset.java716 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/
DTreeMultiset.java720 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/
DCountModifierTest.java241 int expectedCount = CountModifierDebuggee.EVENT_COUNT; in testEventWithCountModifier() local
243 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
/external/skia/include/core/
DSkImageFilter.h358 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
361 if (!localVar.unflatten(buffer, expectedCount)) { \
/external/easymock/src/org/easymock/internal/
DRange.java74 public String expectedCount() { in expectedCount() method in Range
DResults.java68 return getMainInterval().expectedCount(); in toString()
/external/deqp/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp315 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/skia/src/core/
DSkImageFilter.cpp82 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
87 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp100 void checkConstMemberCount( const Json::Value &value, unsigned int expectedCount );
102 void checkMemberCount( Json::Value &value, unsigned int expectedCount );
1189 ValueTest::checkConstMemberCount( const Json::Value &value, unsigned int expectedCount ) in checkConstMemberCount() argument
1197 JSONTEST_ASSERT_EQUAL( expectedCount, count ) << "Json::Value::const_iterator"; in checkConstMemberCount()
1201 ValueTest::checkMemberCount( Json::Value &value, unsigned int expectedCount ) in checkMemberCount() argument
1203 JSONTEST_ASSERT_EQUAL(expectedCount, value.size() ); in checkMemberCount()
1211 JSONTEST_ASSERT_EQUAL( expectedCount, count ) << "Json::Value::iterator"; in checkMemberCount()
1213 JSONTEST_ASSERT_PRED( checkConstMemberCount(value, expectedCount) ); in checkMemberCount()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1658 int expectedCount = 0; in RunMonkey() local
1750 expectedCount = 0; in RunMonkey()
1752 expected[expectedCount ++] = 0; in RunMonkey()
1769 expected[expectedCount ++] = breakPos; in RunMonkey()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp1251 const int expectedCount = computeTransformFeedbackPrimitiveCount(m_primitiveType, first, end); in runTest() local
1267 if ((int)numPrimitives != expectedCount) in runTest()
1269 …log << TestLog::Message << "ERROR: Expected " << expectedCount << " primitives!" << TestLog::EndMe… in runTest()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c3118 int32_t expectedCount) { in checkUEnumeration() argument
3123 U_ASSERT(expectedCount >= 0 && expectedCount < 31); /* [sic] 31 not 32 */ in checkUEnumeration()
3133 for (j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkUEnumeration()
3144 for (j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkUEnumeration()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java2479 String expectedReplaced, int expectedCount) { in checkCodePoints() argument
2483 expectedCount, in checkCodePoints()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...