Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DThreadTest.java42 long expectedCount = 0; in TestThreads() local
46 if (expectedCount == 0) { in TestThreads()
47 expectedCount = thread.count; in TestThreads()
49 if (expectedCount != thread.count) { in TestThreads()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java41 long expectedCount = 0; in TestThreads() local
45 if (expectedCount == 0) { in TestThreads()
46 expectedCount = thread.count; in TestThreads()
48 if (expectedCount != thread.count) { in TestThreads()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFrameCountTest.java67 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/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java281 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/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java111 final int expectedCount = i; in testOrdering() local
115 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java230 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/icu/icu4c/source/test/intltest/
Dsvccoll.cpp488 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()
Dsvccoll.h37 int32_t expectedCount);
Drbbitst.cpp312 static void printStringBreaks(UText *tstr, int expected[], int expectedCount) { in printStringBreaks() argument
319 if (nextExpectedIndex < expectedCount && j >= expected[nextExpectedIndex] ) { in printStringBreaks()
350 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { in printStringBreaks() argument
358 printStringBreaks(tstr, expected, expectedCount); in printStringBreaks()
4255 int expectedCount = 0; in RunMonkey() local
4322 expectedCount = 0; in RunMonkey()
4332 U_ASSERT(expectedCount<testText.length()); in RunMonkey()
4333 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.java230 int expectedCount = CountModifierDebuggee.EVENT_COUNT; in testEventWithCountModifier() local
232 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
/external/easymock/src/org/easymock/internal/
DRange.java74 public String expectedCount() { in expectedCount() method in Range
DResults.java68 return getMainInterval().expectedCount(); in toString()
/external/skia/include/core/
DSkImageFilter.h420 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
423 if (!localVar.unflatten(buffer, expectedCount)) { \
/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.cpp116 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
121 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp346 const deUint32 expectedCount = numInvocationsPerGroup * numGroups; in verifyResultBuffer() local
348 if (numPassed != expectedCount) in verifyResultBuffer()
355 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp89 unsigned int expectedCount);
91 void checkMemberCount(Json::Value& value, unsigned int expectedCount);
1243 unsigned int expectedCount) { in checkConstMemberCount() argument
1249 JSONTEST_ASSERT_EQUAL(expectedCount, count) << "Json::Value::const_iterator"; in checkConstMemberCount()
1253 unsigned int expectedCount) { in checkMemberCount() argument
1254 JSONTEST_ASSERT_EQUAL(expectedCount, value.size()); in checkMemberCount()
1261 JSONTEST_ASSERT_EQUAL(expectedCount, count) << "Json::Value::iterator"; in checkMemberCount()
1263 JSONTEST_ASSERT_PRED(checkConstMemberCount(value, expectedCount)); in checkMemberCount()
/external/guice/core/test/com/google/inject/
DBindingTest.java344 public void assertDistinct(Injector injector, int expectedCount, Key<?>... keys) { in assertDistinct() argument
349 assertEquals(expectedCount, builder.build().size()); in assertDistinct()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1835 int expectedCount = 0; in RunMonkey() local
1928 expectedCount = 0; in RunMonkey()
1930 expected[expectedCount ++] = 0; in RunMonkey()
1947 expected[expectedCount ++] = breakPos; in RunMonkey()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java1836 int expectedCount = 0; in RunMonkey() local
1929 expectedCount = 0; in RunMonkey()
1931 expected[expectedCount ++] = 0; in RunMonkey()
1948 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.c3117 int32_t expectedCount) { in checkUEnumeration() argument
3122 U_ASSERT(expectedCount >= 0 && expectedCount < 31); /* [sic] 31 not 32 */ in checkUEnumeration()
3132 for (j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkUEnumeration()
3143 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.java2515 String expectedReplaced, int expectedCount) { in checkCodePoints() argument
2519 expectedCount, in checkCodePoints()

12