/libcore/benchmarks/src/benchmarks/regression/ |
D | StringToBytesBenchmark.java | 26 L_16(makeString(16)), enumConstant 27 L_64(makeString(64)), enumConstant 28 L_256(makeString(256)), enumConstant 29 L_512(makeString(512)); enumConstant 38 private static final String makeString(int length) { in makeString() method in StringToBytesBenchmark
|
D | StringReplaceAllBenchmark.java | 28 MOVEABLE_16(makeString(16)), enumConstant 29 MOVEABLE_256(makeString(256)), enumConstant 30 MOVEABLE_1024(makeString(1024)), enumConstant 31 NON_MOVEABLE(makeString(64 * 1024)), enumConstant 41 private static final String makeString(int length) { in makeString() method in StringReplaceAllBenchmark
|
D | StringReplaceBenchmark.java | 24 L_16(makeString(16)), enumConstant 25 L_64(makeString(64)), enumConstant 26 L_256(makeString(256)), enumConstant 27 L_512(makeString(512)); enumConstant 36 private static final String makeString(int length) { in makeString() method in StringReplaceBenchmark
|
D | CharsetBenchmark.java | 42 byte[] bytes = makeBytes(makeString(length)); in time_new_String_BString() 49 byte[] bytes = makeBytes(makeString(length)); in time_new_String_BII() 56 byte[] bytes = makeBytes(makeString(length)); in time_new_String_BIIString() 63 String string = makeString(length); in time_String_getBytes() 69 private static String makeString(int length) { in makeString() method in CharsetBenchmark
|
D | StringBenchmark.java | 25 EIGHTY(makeString(80)), enumConstant 26 EIGHT_KI(makeString(8192)); enumConstant 32 private static String makeString(int length) { in makeString() method in StringBenchmark
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 47 private static String makeString(int count, String s) { in makeString() method in ZipEntryTest 117 String tooLongName = makeString(65536, "z"); in testTooLongName() 126 String maxLengthName = makeString(65535, "z"); in testMaxLengthName() 229 String tooLongComment = makeString(65536, "z"); in testTooLongComment() 239 String maxLengthComment = makeString(65535, "z"); in testMaxLengthComment() 256 String comment = makeString(17, "z"); in testCommentAndExtraInSameOrder() 257 byte[] extra = makeString(11, "a").getBytes(); in testCommentAndExtraInSameOrder()
|
D | AbstractZipFileTest.java | 368 private String makeString(int count, String ch) { in makeString() method in AbstractZipFileTest 385 out.setComment(makeString(0xffff, "a")); in testComments() 387 out.setComment(makeString(0xffff + 1, "a")); in testComments() 392 out.setComment(makeString(0xffff, "\u0666")); in testComments() 401 ze.setComment(makeString(0xffff, "a")); in testComments() 403 ze.setComment(makeString(0xffff + 1, "a")); in testComments() 408 ze.setComment(makeString(0xffff, "\u0666")); in testComments()
|
D | InflaterTest.java | 42 String expected = makeString(); in assertRoundTrip() 87 private static String makeString() { in makeString() method in InflaterTest
|