Lines Matching refs:j

338       for (byte j = -11; j <= 11; j++) {  in testCompareBytes()
340 if (i < j) expected = -1; in testCompareBytes()
341 else if (i > j) expected = 1; in testCompareBytes()
342 expectEquals(expected, compareBytes(i, j)); in testCompareBytes()
373 for (short j = -11; j <= 11; j++) { in testCompareShorts()
375 if (i < j) expected = -1; in testCompareShorts()
376 else if (i > j) expected = 1; in testCompareShorts()
377 expectEquals(expected, compareShorts(i, j)); in testCompareShorts()
396 for (char j = 0; j <= 11; j++) { in testCompareChars()
398 if (i < j) expected = -1; in testCompareChars()
399 else if (i > j) expected = 1; in testCompareChars()
400 expectEquals(expected, compareChars(i, j)); in testCompareChars()
431 for (int j = -11; j <= 11; j++) { in testCompareInts()
433 if (i < j) expected = -1; in testCompareInts()
434 else if (i > j) expected = 1; in testCompareInts()
435 expectEquals(expected, compareInts(i, j)); in testCompareInts()
470 for (long j = -11L; j <= 11L; j++) { in testCompareLongs()
472 if (i < j) expected = -1; in testCompareLongs()
473 else if (i > j) expected = 1; in testCompareLongs()
474 expectEquals(expected, compareLongs(i, j)); in testCompareLongs()
514 for (short j = -11; j <= 11; j++) { in testCompareByteShort()
516 if (i < j) expected = -1; in testCompareByteShort()
517 else if (i > j) expected = 1; in testCompareByteShort()
518 expectEquals(expected, compareByteShort(i, j)); in testCompareByteShort()
541 for (char j = 0; j <= 11; j++) { in testCompareByteChar()
543 if (i < j) expected = -1; in testCompareByteChar()
544 else if (i > j) expected = 1; in testCompareByteChar()
545 expectEquals(expected, compareByteChar(i, j)); in testCompareByteChar()
576 for (int j = -11; j <= 11; j++) { in testCompareByteInt()
578 if (i < j) expected = -1; in testCompareByteInt()
579 else if (i > j) expected = 1; in testCompareByteInt()
580 expectEquals(expected, compareByteInt(i, j)); in testCompareByteInt()
612 for (byte j = -11; j <= 11; j++) { in testCompareShortByte()
614 if (i < j) expected = -1; in testCompareShortByte()
615 else if (i > j) expected = 1; in testCompareShortByte()
616 expectEquals(expected, compareShortByte(i, j)); in testCompareShortByte()
639 for (char j = 0; j <= 11; j++) { in testCompareShortChar()
641 if (i < j) expected = -1; in testCompareShortChar()
642 else if (i > j) expected = 1; in testCompareShortChar()
643 expectEquals(expected, compareShortChar(i, j)); in testCompareShortChar()
674 for (int j = -11; j <= 11; j++) { in testCompareShortInt()
676 if (i < j) expected = -1; in testCompareShortInt()
677 else if (i > j) expected = 1; in testCompareShortInt()
678 expectEquals(expected, compareShortInt(i, j)); in testCompareShortInt()
704 for (byte j = -11; j <= 11; j++) { in testCompareCharByte()
706 if (i < j) expected = -1; in testCompareCharByte()
707 else if (i > j) expected = 1; in testCompareCharByte()
708 expectEquals(expected, compareCharByte(i, j)); in testCompareCharByte()
733 for (short j = -11; j <= 11; j++) { in testCompareCharShort()
735 if (i < j) expected = -1; in testCompareCharShort()
736 else if (i > j) expected = 1; in testCompareCharShort()
737 expectEquals(expected, compareCharShort(i, j)); in testCompareCharShort()
762 for (int j = -11; j <= 11; j++) { in testCompareCharInt()
764 if (i < j) expected = -1; in testCompareCharInt()
765 else if (i > j) expected = 1; in testCompareCharInt()
766 expectEquals(expected, compareCharInt(i, j)); in testCompareCharInt()
798 for (byte j = -11; j <= 11; j++) { in testCompareIntByte()
800 if (i < j) expected = -1; in testCompareIntByte()
801 else if (i > j) expected = 1; in testCompareIntByte()
802 expectEquals(expected, compareIntByte(i, j)); in testCompareIntByte()
833 for (short j = -11; j <= 11; j++) { in testCompareIntShort()
835 if (i < j) expected = -1; in testCompareIntShort()
836 else if (i > j) expected = 1; in testCompareIntShort()
837 expectEquals(expected, compareIntShort(i, j)); in testCompareIntShort()
860 for (char j = 0; j <= 11; j++) { in testCompareIntChar()
862 if (i < j) expected = -1; in testCompareIntChar()
863 else if (i > j) expected = 1; in testCompareIntChar()
864 expectEquals(expected, compareIntChar(i, j)); in testCompareIntChar()