Searched refs:cu (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TimeUnit8Test.java | 97 for (ChronoUnit cu : ChronoUnit.values()) { in testTimeUnitOf() 100 tu = TimeUnit.of(cu); in testTimeUnitOf() 104 assertSame(cu, tu.toChronoUnit()); in testTimeUnitOf() 157 ChronoUnit cu = u.toChronoUnit(); in testConvertDuration_nearOverflow() local 163 () -> Duration.of(Long.MAX_VALUE, cu), in testConvertDuration_nearOverflow() 164 () -> Duration.of(Long.MIN_VALUE, cu)); in testConvertDuration_nearOverflow() 168 Duration max = Duration.of(Long.MAX_VALUE, cu); in testConvertDuration_nearOverflow() 169 Duration min = Duration.of(Long.MIN_VALUE, cu); in testConvertDuration_nearOverflow() 172 assertEquals(Long.MAX_VALUE - 1, u.convert(max.minus(1, cu))); in testConvertDuration_nearOverflow() 175 assertEquals(Long.MIN_VALUE + 1, u.convert(min.plus(1, cu))); in testConvertDuration_nearOverflow() [all …]
|
/libcore/ojluni/src/test/java/lang/Character/ |
D | Supplementary.java | 57 char[] cu = new char[(MAX_SUPPLEMENTARY+1) * 2]; in main() local 58 int length = test01(cu); in main() 60 String str = new String(cu, 0, length); in main() 61 cu = null; in main() 160 static int test01(char[] cu) { in test01() argument 173 int n = Character.toChars(i, cu, index); in test01() 174 if (n != 1 || cu[index] != i) { in test01() 177 + ", cu["+index+"]="+toHexString(cu[index])); in test01() 225 int n = Character.toChars(cp, cu, index); in test01() 226 if (n != 2 || cu[index] != hi || cu[index+1] != lo) { in test01() [all …]
|
/libcore/support/src/test/java/tests/resources/ |
D | hyts_PropertiesTest.properties | 15 c\r\ \t\nu =:: cu
|