Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/lang/Integer/
DUnsigned.java60 int ui = Byte.toUnsignedInt(datum); in testByteToUnsignedInt() local
62 if ( (ui & (~0xff)) != 0 || ((byte)ui != datum )) { in testByteToUnsignedInt()
64 String.format("Bad conversion of byte %d to unsigned int %d%n", datum, ui)); in testByteToUnsignedInt()
73 int ui = Short.toUnsignedInt(datum); in testShortToUnsignedInt() local
75 if ( (ui & (~0xffff)) != 0 || ((short)ui != datum )) { in testShortToUnsignedInt()
77 String.format("Bad conversion of short %d to unsigned int %d%n", datum, ui)); in testShortToUnsignedInt()
/libcore/ojluni/src/test/java/lang/Long/
DUnsigned.java71 long ui = Byte.toUnsignedLong(datum); in testByteToUnsignedLong() local
73 if ( (ui & (~0xffL)) != 0L || ((byte)ui != datum )) { in testByteToUnsignedLong()
75 String.format("Bad conversion of byte %d to unsigned long %d%n", datum, ui)); in testByteToUnsignedLong()
84 long ui = Short.toUnsignedLong(datum); in testShortToUnsignedLong() local
86 if ( (ui & (~0xffffL)) != 0L || ((short)ui != datum )) { in testShortToUnsignedLong()
88 String.format("Bad conversion of short %d to unsigned long %d%n", datum, ui)); in testShortToUnsignedLong()
/libcore/luni/src/test/java/libcore/java/lang/
DByteTest.java46 final int ui = Byte.toUnsignedInt(b);
47 assertEquals(0, ui >>> Byte.BYTES * 8);
DShortTest.java46 final int ui = Short.toUnsignedInt(b);
47 assertEquals(0, ui >>> Short.BYTES * 8);
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java196 int ui = i; in decode() local
/libcore/ojluni/src/main/java/java/net/
DURI.java2852 int ui = i; in decode() local