/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 | 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 | 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 | 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 | 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()
|
D | ThreadLocalBenchmark.java | 27 for (int rep = 0; rep < reps; ++rep) { in timeThreadLocal_get()
|
/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 | BigIntegerBenchmark.java | 66 private static void repeatInner(int n, int prec, int rep) { in repeatInner() argument 68 for (int i = 0; i < rep; ++i) { in repeatInner() 71 printTime("inner(" + n + "," + prec + ") took ", startTime, rep); in repeatInner() 88 private static void repeatHarmonic1000(int prec, int rep) { in repeatHarmonic1000() argument 91 for (int i = 1; i < rep; ++i) { in repeatHarmonic1000() 97 printTime("harmonic(1000) to " + prec + " digits took ", startTime, rep); in repeatHarmonic1000() 106 private static void repeatToString(int prec, int rep) { in repeatToString() argument 110 for (int i = 1; i < rep; ++i) { in repeatToString() 119 printTime("toString(" + prec + ") took ", startTime, rep); in repeatToString() 147 private static void repeatEApprox(int n, int prec, int rep) { in repeatEApprox() argument [all …]
|
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()
|