/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 60 for (int rep = 0; rep < reps; ++rep) { in timeAbsD() 66 for (int rep = 0; rep < reps; ++rep) { in timeAbsF() 72 for (int rep = 0; rep < reps; ++rep) { in timeAbsI() 78 for (int rep = 0; rep < reps; ++rep) { in timeAbsL() 84 for (int rep = 0; rep < reps; ++rep) { in timeAcos() 90 for (int rep = 0; rep < reps; ++rep) { in timeAsin() 96 for (int rep = 0; rep < reps; ++rep) { in timeAtan() 102 for (int rep = 0; rep < reps; ++rep) { in timeAtan2() 108 for (int rep = 0; rep < reps; ++rep) { in timeCbrt() 114 for (int rep = 0; rep < reps; ++rep) { in timeCeilOverInterestingValues() [all …]
|
D | IntegralToStringBenchmark.java | 26 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_small() 32 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_medium() 38 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_large() 44 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString2_small() 50 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString2_medium() 56 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString2_large() 62 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString10_small() 68 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString10_medium() 74 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString10_large() 80 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString16_small() [all …]
|
D | MathBenchmark.java | 36 for (int rep = 0; rep < reps; ++rep) { in timeAbsD() 44 for (int rep = 0; rep < reps; ++rep) { in timeAbsF() 52 for (int rep = 0; rep < reps; ++rep) { in timeAbsI() 60 for (int rep = 0; rep < reps; ++rep) { in timeAbsL() 68 for (int rep = 0; rep < reps; ++rep) { in timeAcos() 76 for (int rep = 0; rep < reps; ++rep) { in timeAsin() 84 for (int rep = 0; rep < reps; ++rep) { in timeAtan() 92 for (int rep = 0; rep < reps; ++rep) { in timeAtan2() 100 for (int rep = 0; rep < reps; ++rep) { in timeCbrt() 108 for (int rep = 0; rep < reps; ++rep) { in timeCeil() [all …]
|
D | RealToStringBenchmark.java | 26 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_NaN() 32 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_NEGATIVE_INFINITY() 38 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_POSITIVE_INFINITY() 44 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_zero() 50 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_minusZero() 56 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_small() 62 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_medium() 68 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_large() 74 for (int rep = 0; rep < reps; ++rep) { in timeStringBuilder_small() 80 for (int rep = 0; rep < reps; ++rep) { in timeStringBuilder_medium() [all …]
|
D | ReflectionBenchmark.java | 26 for (int rep = 0; rep < reps; ++rep) { in timeObject_getClass() 33 for (int rep = 0; rep < reps; ++rep) { in timeClass_getField() 40 for (int rep = 0; rep < reps; ++rep) { in timeClass_getDeclaredField() 47 for (int rep = 0; rep < reps; ++rep) { in timeClass_getConstructor() 55 for (int rep = 0; rep < reps; ++rep) { in timeClass_newInstance() 62 for (int rep = 0; rep < reps; ++rep) { in timeClass_getMethod() 69 for (int rep = 0; rep < reps; ++rep) { in timeClass_getDeclaredMethod() 78 for (int rep = 0; rep < reps; ++rep) { in timeField_setInt() 87 for (int rep = 0; rep < reps; ++rep) { in timeField_getInt() 96 for (int rep = 0; rep < reps; ++rep) { in timeMethod_invokeV() [all …]
|
D | ByteBufferBenchmark.java | 86 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByte() 97 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByteArray() 107 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByte_indexed() 117 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getChar() 128 for (int rep = 0; rep < reps; ++rep) { in timeCharBuffer_getCharArray() 138 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getChar_indexed() 148 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getDouble() 159 for (int rep = 0; rep < reps; ++rep) { in timeDoubleBuffer_getDoubleArray() 169 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getFloat() 180 for (int rep = 0; rep < reps; ++rep) { in timeFloatBuffer_getFloatArray() [all …]
|
D | TimeZoneBenchmark.java | 23 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getDefault() 29 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZoneUTC() 36 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_default() 43 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_America_Caracas() 50 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_America_Santiago() 56 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_GMT_plus_10()
|
D | StringEqualsBenchmark.java | 198 for (int rep = 0; rep < reps; ++rep) { in timeEqualsNull() 207 for (int rep = 0; rep < reps; ++rep) { in timeEqualsShort() 216 for (int rep = 0; rep < reps; ++rep) { in timeEqualsMedium() 225 for (int rep = 0; rep < reps; ++rep) { in timeEqualsLong() 234 for (int rep = 0; rep < reps; ++rep) { in timeEqualsVeryLong() 243 for (int rep = 0; rep < reps; ++rep) { in timeEqualsNonWordAligned() 252 for (int rep = 0; rep < reps; ++rep) { in timeEqualsEnd() 261 for (int rep = 0; rep < reps; ++rep) { in timeEqualsNonString()
|
D | DoubleBenchmark.java | 25 for (int rep = 0; rep < reps; ++rep) { in timeDoubleToLongBits() 35 for (int rep = 0; rep < reps; ++rep) { in timeDoubleToRawLongBits() 45 for (int rep = 0; rep < reps; ++rep) { in timeLongBitsToDouble()
|
D | FloatBenchmark.java | 25 for (int rep = 0; rep < reps; ++rep) { in timeFloatToIntBits() 35 for (int rep = 0; rep < reps; ++rep) { in timeFloatToRawIntBits() 45 for (int rep = 0; rep < reps; ++rep) { in timeIntBitsToFloat()
|
D | ByteBufferScalarVersusVectorBenchmark.java | 30 for (int rep = 0; rep < reps; ++rep) { in timeManualByteBufferCopy() 42 for (int rep = 0; rep < reps; ++rep) { in timeByteBufferBulkGet() 51 for (int rep = 0; rep < reps; ++rep) { in timeDirectByteBufferBulkGet()
|
D | StringToRealBenchmark.java | 35 for (int rep = 0; rep < reps; ++rep) { in timeFloat_parseFloat() 41 for (int rep = 0; rep < reps; ++rep) { in timeDouble_parseDouble()
|
D | ThreadLocalBenchmark.java | 27 for (int rep = 0; rep < reps; ++rep) { in timeThreadLocal_get()
|
D | SerializationBenchmark.java | 88 for (int rep = 0; rep < reps; ++rep) { in timeWriteNoObjects() 98 for (int rep = 0; rep < reps; ++rep) { in readSingleObject() 109 for (int rep = 0; rep < reps; ++rep) { in writeSingleObject()
|
/libcore/benchmarks/src/benchmarks/ |
D | FieldAccessBenchmark.java | 35 for (int rep = 0; rep < reps; ++rep) { in timeField() 42 for (int rep = 0; rep < reps; ++rep) { in timeFieldFinal() 49 for (int rep = 0; rep < reps; ++rep) { in timeFieldStatic() 56 for (int rep = 0; rep < reps; ++rep) { in timeFieldStaticFinal() 64 for (int rep = 0; rep < reps; ++rep) { in timeFieldCached() 72 for (int rep = 0; rep < reps; ++rep) { in timeFieldPrivateInnerClassPublicField() 80 for (int rep = 0; rep < reps; ++rep) { in timeFieldPrivateInnerClassProtectedField() 88 for (int rep = 0; rep < reps; ++rep) { in timeFieldPrivateInnerClassPrivateField() 96 for (int rep = 0; rep < reps; ++rep) { in timeFieldPrivateInnerClassPackageField()
|
D | SystemArrayCopyBenchmark.java | 32 for (int rep = 0; rep < reps; ++rep) { in timeSystemCharArrayCopy() 41 for (int rep = 0; rep < reps; ++rep) { in timeSystemByteArrayCopy() 50 for (int rep = 0; rep < reps; ++rep) { in timeSystemShortArrayCopy() 59 for (int rep = 0; rep < reps; ++rep) { in timeSystemIntArrayCopy() 68 for (int rep = 0; rep < reps; ++rep) { in timeSystemLongArrayCopy() 77 for (int rep = 0; rep < reps; ++rep) { in timeSystemFloatArrayCopy() 86 for (int rep = 0; rep < reps; ++rep) { in timeSystemDoubleArrayCopy() 95 for (int rep = 0; rep < reps; ++rep) { in timeSystemBooleanArrayCopy()
|
D | ArrayCopyBenchmark.java | 24 for (int rep = 0; rep < reps; ++rep) { in timeManualArrayCopy() 34 for (int rep = 0; rep < reps; ++rep) { in time_System_arrayCopy() 42 for (int rep = 0; rep < reps; ++rep) { in time_Arrays_copyOf() 49 for (int rep = 0; rep < reps; ++rep) { in time_Arrays_copyOfRange()
|
D | StringIterationBenchmark.java | 25 for (int rep = 0; rep < reps; ++rep) { in timeStringIteration0() 34 for (int rep = 0; rep < reps; ++rep) { in timeStringIteration1() 43 for (int rep = 0; rep < reps; ++rep) { in timeStringIteration2() 53 for (int rep = 0; rep < reps; ++rep) { in timeStringToCharArray()
|
D | ArrayIterationBenchmark.java | 28 for (int rep = 0; rep < reps; ++rep) { in timeArrayIteration() 36 for (int rep = 0; rep < reps; ++rep) { in timeArrayIterationCached() 47 for (int rep = 0; rep < reps; ++rep) { in timeArrayIterationForEach()
|
D | ClassLoaderResourceBenchmark.java | 30 for (int rep = 0; rep < reps; ++rep) { in timeGetBootResource_hit() 39 for (int rep = 0; rep < reps; ++rep) { in timeGetBootResource_miss()
|
D | ArrayListIterationBenchmark.java | 30 for (int rep = 0; rep < reps; ++rep) { in timeArrayListIterationIndexed() 40 for (int rep = 0; rep < reps; ++rep) { in timeArrayListIterationForEach()
|
D | StringDexCacheBenchmark.java | 25 for (int rep = 0; rep < reps; ++rep) { in timeStringDexCacheAccess() 27 String s = (rep >= 0) ? "hello, world!" : null; in timeStringDexCacheAccess()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertPathCertPathRepTest.java | 30 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testCertPathCertPathRep() local 31 assertEquals(testEncoding, rep.getData()); in testCertPathCertPathRep() 32 assertEquals("MyEncoding", rep.getType()); in testCertPathCertPathRep() 44 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testReadResolve() local 47 Object obj = rep.readResolve(); in testReadResolve() 53 rep = cp.new MyCertPathRep("MyEncoding", new byte[] {(byte) 1, (byte) 2, (byte) 3 }); in testReadResolve() 55 rep.readResolve(); in testReadResolve()
|
D | CertificateCertificateRepTest.java | 33 MyCertificateRep rep = c1.new MyCertificateRep("TEST_TYPE", new byte[] { in testCertificateCertificateRep() local 37 rep.getData())); in testCertificateCertificateRep() 38 assertEquals("TEST_TYPE", rep.getType()); in testCertificateCertificateRep() 61 MyCertificateRep rep = c1.new MyCertificateRep("TEST_TYPE", new byte[] { in testReadResolve() local 65 rep.readResolve(); in testReadResolve()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigIntegerTest.java | 91 for (int rep = 0; rep < 1024; ++rep) { // Manual flakiness protection for random tests. in test_Constructor_ILjava_util_Random() 106 for (int rep = 0; rep < 1024; ++rep) { // Manual flakiness protection for random tests. in test_Constructor_IILjava_util_Random() 124 … for (int rep = 0; rep < primes.length; ++rep) { // Manual flakiness protection for random tests. in test_Constructor_IILjava_util_Random() 128 primes[rep] = b.intValue(); in test_Constructor_IILjava_util_Random() 145 for (int rep = 0; rep < 1024; ++rep) { // Manual flakiness protection for random tests. in test_probablePrime()
|