/libcore/ojluni/src/test/java/lang/invoke/ |
D | VarArgsTest.java | 46 MethodHandle deepToString = publicLookup() in testWithVarargs() local 48 assertFalse(deepToString.isVarargsCollector()); in testWithVarargs() 49 MethodHandle ts = deepToString.withVarargs(false); in testWithVarargs() 51 MethodHandle ts1 = deepToString.withVarargs(true); in testWithVarargs()
|
D | JavaDocExamplesTest.java | 322 MethodHandle deepToString = publicLookup() in testCollectArguments() local 324 MethodHandle ts1 = deepToString.asCollector(String[].class, 1); in testCollectArguments() 326 MethodHandle ts2 = deepToString.asCollector(String[].class, 2); in testCollectArguments() 328 MethodHandle ts3 = deepToString.asCollector(String[].class, 3); in testCollectArguments() 461 MethodHandle deepToString = publicLookup() in testAsCollector() local 463 assertEquals("[won]", (String) deepToString.invokeExact(new Object[]{"won"})); in testAsCollector() 464 MethodHandle ts1 = deepToString.asCollector(Object[].class, 1); in testAsCollector() 469 MethodHandle ts2 = deepToString.asCollector(String[].class, 2); in testAsCollector() 472 MethodHandle ts0 = deepToString.asCollector(Object[].class, 0); in testAsCollector() 475 MethodHandle ts22 = deepToString.asCollector(Object[].class, 3).asCollector(String[].class, 2); in testAsCollector() [all …]
|
D | VarargsArrayTest.java | 244 throw new AssertionError(Arrays.deepToString(arr1) in assertArrayEquals() 245 + " != " + Arrays.deepToString(arr2)); in assertArrayEquals()
|
D | MethodHandlesTest.java | 144 System.out.println("expected: "+deepToString(expected)); in assertCalled() 153 System.out.println("calling MH="+target+" to "+name+deepToString(args)); in printCalled() 156 static String deepToString(Object x) { in deepToString() method in MethodHandlesTest 164 ax[i] = deepToString(ax[i]); in deepToString() 165 x = Arrays.deepToString(ax); in deepToString()
|
D | MethodHandlesGeneralTest.java | 267 … assert(false) : Arrays.asList(positive, lookup, rcvc, defc, ret, name, deepToString(params)); in testFindVirtual() 635 …System.out.println("testAccessor"+Arrays.deepToString(new Object[]{positive0, lookup, fieldRef, va… in testAccessor() 931 …ngth+"]"+(positive ? "" : " negative test #"+negTest+" using "+Arrays.deepToString(new Object[]{ar… in testArrayElementGetterSetter()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | RecordTest.java | 71 assertEquals(Arrays.deepToString(fields), 1, fields.length); in testReflection() 73 assertEquals(Arrays.deepToString(c.getParameters()), 1, c.getParameters().length); in testReflection() 77 assertEquals(Arrays.deepToString(a.getClass().getRecordComponents()), in testReflection()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArrayObjectMethods.java | 41 equal(Arrays.deepToString(null), "null"); in test() 42 equal(Arrays.deepToString(new Object[]{}), "[]"); in test() 43 equal(Arrays.deepToString(new Object[]{null}), "[null]"); in test() 44 equal(Arrays.deepToString(new Object[]{null, 1}), "[null, 1]"); in test() 45 equal(Arrays.deepToString(new Object[]{1, null}), "[1, null]"); in test() 46 equal(Arrays.deepToString(new Object[]{new Object[]{}, null}), "[[], null]"); in test() 51 equal(Arrays.deepToString(a), "[1, [...]]"); in test() 53 equal(Arrays.deepToString(a), "[[...], [...]]"); in test() 55 equal(Arrays.deepToString(a), "[[1, null, [...]], [1, null, [...]]]"); in test() 102 equal(Arrays.deepToString(a), Arrays.asList(a).toString()); in test() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | Arrays2Test.java | 293 assertEquals("null", Arrays.deepToString((Object[]) null)); in test_deepToString$java_lang_Object() 294 assertEquals("[]", Arrays.deepToString(new Object[] { })); in test_deepToString$java_lang_Object() 295 assertEquals("[fixture]", Arrays.deepToString(new Object[] { "fixture" })); in test_deepToString$java_lang_Object() 296 assertEquals("[fixture, null]", Arrays.deepToString(new Object[] { "fixture", null })); in test_deepToString$java_lang_Object() 297 …assertEquals("[fixture, null, fixture]", Arrays.deepToString(new Object[] { "fixture", null, "fixt… in test_deepToString$java_lang_Object() 301 assertEquals("[[...]]", Arrays.deepToString(fixture)); in test_deepToString$java_lang_Object() 306 assertEquals("[fixture, [...]]", Arrays.deepToString(fixture)); in test_deepToString$java_lang_Object() 336 assertEquals(expected, Arrays.deepToString(fixture)); in test_deepToString$java_lang_Object()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarFileTest.java | 638 assertEquals(Arrays.deepToString(result.certificates), 3, result.certificates.length); in testJarFile_Signed_ValidChain() 639 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); in testJarFile_Signed_ValidChain() 649 assertEquals(Arrays.deepToString(result.certificates), 3, result.certificates.length); in testJarFile_Signed_InvalidChain() 650 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); in testJarFile_Signed_InvalidChain() 660 assertEquals(Arrays.deepToString(result.certificates), 2, result.certificates.length); in testJarFile_Signed_AmbiguousSigners() 661 assertEquals(Arrays.deepToString(result.signers), 2, result.signers.length); in testJarFile_Signed_AmbiguousSigners()
|
/libcore/luni/src/test/java/crossvmtest/java/lang/ |
D | RecordTest.java | 129 assertEquals(Arrays.deepToString(c.getParameters()), 1, c.getParameters().length); in testReflectedConstructor() 144 assertEquals(Arrays.deepToString(fields), 1, fields.length); in testReadField()
|
D | RecordComponentTest.java | 62 assertEquals(Arrays.deepToString(components), 1, components.length); in testBasic()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Arrays.java | 628 public static java.lang.String deepToString(java.lang.Object[] a) { in deepToString() method in Arrays 633 private static void deepToString( in deepToString() method in Arrays
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 1371 return Arrays.deepToString(o); in arrayMethod() 1396 return Arrays.toString(l0.toArray()) + ", " + Arrays.deepToString(lists); in tally() 1399 return Arrays.deepToString(l0.toArray()) + ", " + Arrays.deepToString(lists); in tally()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 169 System.out.println(Arrays.deepToString(Security.getProviders("Cipher.FOO"))); in testCipher_getInstance_DelayedInitialization_KeyType()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Arrays.java | 5047 public static String deepToString(Object[] a) { in deepToString() method in Arrays 5055 deepToString(a, buf, new HashSet<>()); in deepToString() 5059 private static void deepToString(Object[] a, StringBuilder buf, in deepToString() method in Arrays 5102 deepToString((Object[])element, buf, dejaVu); in deepToString()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Arrays.annotated.java | 329 @libcore.util.NonNull public static java.lang.String deepToString(java.lang.@libcore.util.Nullable … in deepToString() method in Arrays
|
/libcore/api/ |
D | current.txt | 13249 method @NonNull public static String deepToString(@Nullable Object[]);
|