Lines Matching refs:expectedCount
136 static void printStringBreaks(UText *tstr, int expected[], int expectedCount) {
143 if (nextExpectedIndex < expectedCount && j >= expected[nextExpectedIndex] ) {
174 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) {
182 printStringBreaks(tstr, expected, expectedCount);
3305 int expectedcount)
3313 if (count < expectedcount && expected[count] != i) {
3320 if (count != expectedcount) {
3321 printStringBreaks(ustr, expected, expectedcount);
3323 __FILE__, __LINE__, expectedcount - count);
3327 for (i = 1; i < expectedcount; i ++) {
3330 printStringBreaks(ustr, expected, expectedcount);
3337 printStringBreaks(ustr, expected, expectedcount);
3348 printStringBreaks(ustr, expected, expectedcount);
3355 printStringBreaks(ustr, expected, expectedcount);
3361 for (i = 0; i < expectedcount - 1; i ++) {
3368 printStringBreaks(ustr, expected, expectedcount);
3442 int expectedcount = 0;
3447 expected[expectedcount ++] = i;
3450 testBreakBoundPreceding(this, ustr, bi, expected, expectedcount);
3615 int expectedcount = 0;
3620 if (expectedcount >= EXPECTEDSIZE) {
3621 TEST_ASSERT(expectedcount < EXPECTEDSIZE);
3624 expected[expectedcount ++] = i;
3627 testBreakBoundPreceding(this, ustr, bi, expected, expectedcount);
3679 int expectedcount = 0;
3684 if (expectedcount >= EXPECTEDSIZE) {
3685 TEST_ASSERT(expectedcount < EXPECTEDSIZE);
3688 expected[expectedcount ++] = i;
3691 testBreakBoundPreceding(this, ustr, bi, expected, expectedcount);
3827 int expectedCount = 0;
3894 expectedCount = 0;
3904 U_ASSERT(expectedCount<testText.length());
3905 expected[expectedCount ++] = breakPos;
4050 printStringBreaks(testText, expected, expectedCount);