/libcore/luni/src/test/java/libcore/java/lang/ |
D | ByteTest.java | 66 final byte z = -1; // 255 in testCompareUnsigned() 70 assertTrue(Byte.compareUnsigned(a, z) < 0); in testCompareUnsigned() 72 assertTrue(Byte.compareUnsigned(b, z) < 0); in testCompareUnsigned() 73 assertTrue(Byte.compareUnsigned(y, z) < 0); in testCompareUnsigned() 78 assertTrue(Byte.compareUnsigned(z, a) > 0); in testCompareUnsigned() 79 assertTrue(Byte.compareUnsigned(z, b) > 0); in testCompareUnsigned() 80 assertTrue(Byte.compareUnsigned(z, y) > 0); in testCompareUnsigned() 85 assertTrue(Byte.compareUnsigned(z, z) == 0); in testCompareUnsigned() 90 assertTrue(Byte.compareUnsigned(Byte.MIN_VALUE, z) < 0); in testCompareUnsigned() 91 assertTrue(Byte.compareUnsigned(Byte.MAX_VALUE, z) < 0); in testCompareUnsigned()
|
D | ShortTest.java | 66 final short z = -1; // 65535 in testCompareUnsigned() local 70 assertTrue(Short.compareUnsigned(a, z) < 0); in testCompareUnsigned() 72 assertTrue(Short.compareUnsigned(b, z) < 0); in testCompareUnsigned() 73 assertTrue(Short.compareUnsigned(y, z) < 0); in testCompareUnsigned() 78 assertTrue(Short.compareUnsigned(z, a) > 0); in testCompareUnsigned() 79 assertTrue(Short.compareUnsigned(z, b) > 0); in testCompareUnsigned() 80 assertTrue(Short.compareUnsigned(z, y) > 0); in testCompareUnsigned() 85 assertTrue(Short.compareUnsigned(z, z) == 0); in testCompareUnsigned() 90 assertTrue(Short.compareUnsigned(Short.MIN_VALUE, z) < 0); in testCompareUnsigned() 91 assertTrue(Short.compareUnsigned(Short.MAX_VALUE, z) < 0); in testCompareUnsigned()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SplittableRandom.java | 190 private static long mix64(long z) { in mix64() argument 191 z = (z ^ (z >>> 30)) * 0xbf58476d1ce4e5b9L; in mix64() 192 z = (z ^ (z >>> 27)) * 0x94d049bb133111ebL; in mix64() 193 return z ^ (z >>> 31); in mix64() 199 private static int mix32(long z) { in mix32() argument 200 z = (z ^ (z >>> 33)) * 0x62a9d9ed799705f5L; in mix32() 201 return (int)(((z ^ (z >>> 28)) * 0xcb24d0a5c88c35b3L) >>> 32); in mix32() 207 private static long mixGamma(long z) { in mixGamma() argument 208 z = (z ^ (z >>> 33)) * 0xff51afd7ed558ccdL; // MurmurHash3 mix constants in mixGamma() 209 z = (z ^ (z >>> 33)) * 0xc4ceb9fe1a85ec53L; in mixGamma() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarUtils.java | 144 int z = mod(x, y); in amod() local 145 return (z == 0) ? y : z; in amod() 149 long z = mod(x, y); in amod() local 150 return (z == 0) ? y : z; in amod()
|
/libcore/luni/src/main/native/ |
D | java_lang_StringToReal.cpp | 84 jdouble z); 269 static jdouble doubleAlgorithm(JNIEnv* env, uint64_t* f, int32_t length, jint e, jdouble z) { in doubleAlgorithm() argument 283 m = doubleMantissa (z); in doubleAlgorithm() 284 k = doubleExponent (z); in doubleAlgorithm() 380 && DOUBLE_TO_LONGBITS(z) != DOUBLE_NORMAL_MASK) in doubleAlgorithm() 385 --DOUBLE_TO_LONGBITS (z); in doubleAlgorithm() 403 --DOUBLE_TO_LONGBITS (z); in doubleAlgorithm() 412 --DOUBLE_TO_LONGBITS (z); in doubleAlgorithm() 417 ++DOUBLE_TO_LONGBITS (z); in doubleAlgorithm() 423 --DOUBLE_TO_LONGBITS (z); in doubleAlgorithm() [all …]
|
D | cbigint.h | 92 uint64_t doubleMantissa(jdouble z); 96 int32_t doubleExponent(jdouble z); 103 uint32_t floatMantissa(jfloat z); 105 int32_t floatExponent(jfloat z);
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TimeUnitTest.java | 134 for (long z : zs) assertEquals(z, x.convert(z, x)); in testConvert() 357 for (long z : new long[] {0, 1, -1, max, -max}) in testToNanosSaturate() 358 assertEquals(z * ratio, x.toNanos(z)); in testToNanosSaturate() 383 for (long z : new long[] {0, 1, -1, max, -max}) in testToMicrosSaturate() 384 assertEquals(z * ratio, x.toMicros(z)); in testToMicrosSaturate() 409 for (long z : new long[] {0, 1, -1, max, -max}) in testToMillisSaturate() 410 assertEquals(z * ratio, x.toMillis(z)); in testToMillisSaturate() 435 for (long z : new long[] {0, 1, -1, max, -max}) in testToSecondsSaturate() 436 assertEquals(z * ratio, x.toSeconds(z)); in testToSecondsSaturate() 461 for (long z : new long[] {0, 1, -1, max, -max}) in testToMinutesSaturate() [all …]
|
D | AtomicReferenceTest.java | 154 AtomicReference z = serialClone(x); in testSerialization() local 155 assertNotSame(y, z); in testSerialization() 158 assertEquals(one, z.get()); in testSerialization()
|
D | LongAdderTest.java | 122 LongAdder z = serialClone(x); in testSerialization() local 123 assertNotSame(y, z); in testSerialization() 126 assertEquals(-22, z.sum()); in testSerialization()
|
D | AtomicBooleanTest.java | 157 AtomicBoolean z = serialClone(x); in testSerialization() local 160 assertTrue(z.get()); in testSerialization()
|
D | AtomicLongTest.java | 231 AtomicLong z = serialClone(x); in testSerialization() local 232 assertNotSame(y, z); in testSerialization() 235 assertEquals(-22, z.get()); in testSerialization()
|
D | DoubleAdderTest.java | 100 DoubleAdder z = serialClone(x); in testSerialization() local 103 assertEquals(-22.0, z.sum()); in testSerialization()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 128 private static long mix64(long z) { in mix64() argument 129 z = (z ^ (z >>> 33)) * 0xff51afd7ed558ccdL; in mix64() 130 z = (z ^ (z >>> 33)) * 0xc4ceb9fe1a85ec53L; in mix64() 131 return z ^ (z >>> 33); in mix64() 134 private static int mix32(long z) { in mix32() argument 135 z = (z ^ (z >>> 33)) * 0xff51afd7ed558ccdL; in mix32() 136 return (int)(((z ^ (z >>> 33)) * 0xc4ceb9fe1a85ec53L) >>> 32); in mix32()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | CallSitesTest.java | 110 int z = (int) site.dynamicInvoker().invokeExact(2, 6); in commonMutableCallSitesTest() local 111 assertEquals(8, z); in commonMutableCallSitesTest() 140 private static int add3(int x, int y, int z) { in add3() argument 141 return x + y + z; in add3()
|
D | MethodHandleCombinersTest.java | 1719 private static void exceptionHandler_delegate(NumberFormatException e, int x, int y, long z) in exceptionHandler_delegate() argument 1725 assertEquals(z, 20000000000l); in exceptionHandler_delegate() 1928 private static void checkBooleanCast_delegate(boolean expected, boolean z, boolean b, in checkBooleanCast_delegate() argument 1931 assertEquals(expected, z); in checkBooleanCast_delegate() 1942 private static void checkByteCast_delegate(byte expected, byte z, byte b, byte c, byte s, in checkByteCast_delegate() argument 1945 assertEquals(expected & 1, z); in checkByteCast_delegate() 1956 private static void checkCharCast_delegate(char expected, char z, char b, char c, char s, in checkCharCast_delegate() argument 1959 assertEquals(expected & 1, z); in checkCharCast_delegate() 1970 private static void checkShortCast_delegate(short expected, short z, short b, short c, short s, in checkShortCast_delegate() argument 1973 assertEquals(expected & 1, z); in checkShortCast_delegate() [all …]
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 571 private static void destructiveMulAdd(int[] x, int y, int z) { in destructiveMulAdd() argument 574 long zlong = z & LONG_MASK; in destructiveMulAdd() 980 …@NonNull private static BigInteger lucasLehmerSequence(int z, @NonNull BigInteger k, @NonNull BigI… 981 BigInteger d = BigInteger.valueOf(z); 1040 BigInteger z = b.modPow(m, this); in passesMillerRabin() local 1041 while (!((j == 0 && z.equals(ONE)) || z.equals(thisMinusOne))) { in passesMillerRabin() 1042 if (j > 0 && z.equals(ONE) || ++j == a) in passesMillerRabin() 1044 z = z.modPow(TWO, this); in passesMillerRabin() 1686 private static int[] multiplyToLen(int[] x, int xlen, int[] y, int ylen, int[] z) { in multiplyToLen() argument 1690 if (z == null || z.length < (xlen+ ylen)) in multiplyToLen() [all …]
|
D | MutableBigInteger.java | 1002 void multiply(MutableBigInteger y, MutableBigInteger z) { in multiply() argument 1008 if (z.value.length < newLen) in multiply() 1009 z.value = new int[newLen]; in multiply() 1010 z.offset = 0; in multiply() 1011 z.intLen = newLen; in multiply() 1018 z.value[k] = (int)product; in multiply() 1021 z.value[xLen-1] = (int)carry; in multiply() 1029 (z.value[k] & LONG_MASK) + carry; in multiply() 1030 z.value[k] = (int)product; in multiply() 1033 z.value[i] = (int)carry; in multiply() [all …]
|
/libcore/ojluni/src/test/ |
D | artrun | 37 if [ z"$BASH_SOURCE" != z ]; then
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LongAdderTest.java | 99 LongAdder z = serialClone(x); in testSerialization() local 100 assertNotSame(y, z); in testSerialization() 103 assertEquals(-22, z.sum()); in testSerialization()
|
D | AtomicLongTest.java | 208 AtomicLong z = serialClone(x); in testSerialization() local 209 assertNotSame(y, z); in testSerialization() 212 assertEquals(-22, z.get()); in testSerialization()
|
D | DoubleAdderTest.java | 77 DoubleAdder z = serialClone(x); in testSerialization() local 80 assertEquals(-22.0, z.sum()); in testSerialization()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationTestClass.java | 169 boolean z; field in SerializationTestClass.TestFieldSignatures 232 public TestConstructorSignature(boolean z, byte b, char c, short s, in TestConstructorSignature() argument 294 public void method(boolean z, byte b, char c, short s, int i, float f, in method() argument
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | TestAnnotation3.java | 16 boolean z() default false; in z() method
|
D | TestAnnotation3b.java | 16 boolean z() default false; in z() method
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SerializationBenchmark.java | 180 boolean z; field in SerializationBenchmark.SerializableBoolean 208 boolean z; field in SerializationBenchmark.LittleBitOfEverything
|