Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 39) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/
DSplittableRandom.java190 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/luni/src/main/native/
Djava_lang_StringToReal.cpp84 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 …]
Dcbigint.h92 uint64_t doubleMantissa(jdouble z);
96 int32_t doubleExponent(jdouble z);
103 uint32_t floatMantissa(jfloat z);
105 int32_t floatExponent(jfloat z);
Dcbigint.cpp632 doubleMantissa (jdouble z) in doubleMantissa() argument
634 uint64_t m = DOUBLE_TO_LONGBITS (z); in doubleMantissa()
645 doubleExponent (jdouble z) in doubleExponent() argument
648 int32_t k = HIGH_U32_FROM_VAR (z) >> 20; in doubleExponent()
658 uint32_t floatMantissa(jfloat z) { in floatMantissa() argument
659 uint32_t m = FLOAT_TO_INTBITS (z); in floatMantissa()
670 floatExponent (jfloat z) in floatExponent() argument
673 int32_t k = FLOAT_TO_INTBITS (z) >> 23; in floatExponent()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarUtils.java144 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/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java128 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/
DCallSitesTest.java110 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()
DMethodHandleCombinersTest.java1719 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/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceTest.java131 AtomicReference z = serialClone(x); in testSerialization() local
132 assertNotSame(y, z); in testSerialization()
135 assertEquals(one, z.get()); in testSerialization()
DLongAdderTest.java99 LongAdder z = serialClone(x); in testSerialization() local
100 assertNotSame(y, z); in testSerialization()
103 assertEquals(-22, z.sum()); in testSerialization()
DAtomicLongTest.java208 AtomicLong z = serialClone(x); in testSerialization() local
209 assertNotSame(y, z); in testSerialization()
212 assertEquals(-22, z.get()); in testSerialization()
DAtomicBooleanTest.java131 AtomicBoolean z = serialClone(x); in testSerialization() local
134 assertTrue(z.get()); in testSerialization()
DDoubleAdderTest.java77 DoubleAdder z = serialClone(x); in testSerialization() local
80 assertEquals(-22.0, z.sum()); in testSerialization()
DAtomicIntegerTest.java206 AtomicInteger z = serialClone(x); in testSerialization() local
209 assertEquals(22, z.get()); in testSerialization()
DSynchronousQueueTest.java532 final SynchronousQueue z = new SynchronousQueue(true);
534 assertNotSerialEquals(x, z);
535 SynchronousQueue[] qs = { x, y, z };
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java158 @TestAnnotation3(z = false)
160 @TestAnnotation3(z = false)
165 @TestAnnotation3(z = true)
167 @TestAnnotation3(z = true)
170 @TestAnnotation3(z = false)
172 @TestAnnotation3(z = true)
DTestAnnotation3b.java16 boolean z() default false; in z() method
DTestAnnotation3.java16 boolean z() default false; in z() method
/libcore/ojluni/src/test/
Dartrun37 if [ z"$BASH_SOURCE" != z ]; then
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationTestClass.java169 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/benchmarks/src/benchmarks/regression/
DSerializationBenchmark.java180 boolean z; field in SerializationBenchmark.SerializableBoolean
208 boolean z; field in SerializationBenchmark.LittleBitOfEverything
/libcore/ojluni/src/main/java/sun/invoke/util/
DWrapper.java476 T z = (T) zero; in convert() local
477 return z; in convert()
491 boolean z = (type == exampleType || in forceType()
495 if (!z) in forceType()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java1262 boolean z = array[i]; in spreadArray()
1264 case 'L': { writer.putNextReference(z, argumentType); break; } in spreadArray()
1265 case 'Z': { writer.putNextBoolean(z); break; } in spreadArray()
2069 boolean z = (boolean) ref; in unboxNonNull()
2071 writer.putNextBoolean(z); in unboxNonNull()
2073 writer.putNextByte(z ? (byte) 1 : (byte) 0); in unboxNonNull()
2075 writer.putNextShort(z ? (short) 1 : (short) 0); in unboxNonNull()
2077 writer.putNextChar(z ? (char) 1 : (char) 0); in unboxNonNull()
2079 writer.putNextInt(z ? 1 : 0); in unboxNonNull()
2081 writer.putNextLong(z ? 1l : 0l); in unboxNonNull()
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java523 public static void setBoolean(Object array, int index, boolean z) in setBoolean() argument
526 ((boolean[]) array)[index] = z; in setBoolean()
/libcore/ojluni/src/main/native/
Djni_util.c229 result.z = (*env)->CallStaticBooleanMethodV(env, clazz, mid, args); in JNU_CallStaticMethodByName()
323 result.z = (*env)->CallBooleanMethodV(env, obj, mid, args); in JNU_CallMethodByNameV()
1106 result.z = (*env)->GetBooleanField(env, obj, fid); in JNU_GetFieldByName()
1237 result.z = (*env)->GetStaticBooleanField(env, cls, fid); in JNU_GetStaticFieldByName()

12