/libcore/ojluni/src/test/java/util/Arrays/ |
D | TimSortStackSize.java | 60 static int build(int size, int B, ArrayDeque<Integer> chunks) { in build() argument 61 chunks.addFirst(B); in build() 77 if (size - asize >= B) { in build() 78 throw new AssertionError(" " + size + " , " + asize + " , " + B); in build() 87 int B = MIN + 4; in genData() local 88 int A = B + MIN + 1; in genData() 91 int eps = build(A, B, chunks); in genData() 92 B = B + A + 1; in genData() 93 A = B + eps + 1; in genData() 95 chunks.addFirst(B); in genData()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | StreamRefTest.java | 60 static class B implements Serializable { class in StreamRefTest 62 B(A a) { this.a = a; } in B() method in StreamRefTest.B 65 record C (B b) implements Serializable { 66 public C(B b) { this.b = b; } in C() 78 var b = new B(a); in basicRef() 85 B b1 = (B)deserializeOne(bytes); in basicRef() 99 var b = new B(a); in reverseBasicRef() 107 B b1 = (B)deserializeOne(bytes); in reverseBasicRef() 121 var b = new B(a); in basicRefWithInvalidA() 136 B b1 = (B)deserializeOne(byteStream); in basicRefWithInvalidA() [all …]
|
D | ConstructorAccessTest.java | 57 protected static record B (long l) implements Serializable { } 84 new Object[] { new B(44L) }, in recordInstances()
|
/libcore/luni/src/test/java/libcore/libcore/reflect/ |
D | ParameterizedTypeRegressionTest.java | 40 class B<Y> { class in ParameterizedTypeRegressionTest.A 116 Type actual = new ParameterizedClass<A<Integer>.B<Float>>() { in testNested2() 124 A.B.class, in testNested2() 136 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C1<String>>() { in testNested3() 145 A.B.class, in testNested3() 147 A.B.C1.class, in testNested3() 160 Type actual = new ParameterizedClass<A<Integer>.B<Float>.C1<String>.D1>() { in testNested4_nonGenericLeaf() 170 A.B.class, in testNested4_nonGenericLeaf() 172 A.B.C1.class, in testNested4_nonGenericLeaf() 174 A.B.C1.D1.class in testNested4_nonGenericLeaf() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationTestClass.java | 49 interface B extends java.io.Serializable { interface in SerializationTestClass 61 public static class TestInterfacesAB implements A, B { 64 public static class TestInterfacesBA implements B, A { 73 public static class TestInterfacesABC implements A, B, C { 76 public static class TestInterfacesACB implements A, C, B { 79 public static class TestInterfacesBAC implements B, A, C { 82 public static class TestInterfacesBCA implements B, C, A { 85 public static class TestInterfacesCAB implements C, A, B { 88 public static class TestInterfacesCBA implements C, B, A {
|
D | ObjectInputStream2Test.java | 74 oos.writeObject(new B()); in test_readObject_Hierarchy() 79 B b = (B) ois.readObject(); in test_readObject_Hierarchy() 83 assertFalse("should not construct self", B.list.contains(b)); in test_readObject_Hierarchy() 138 static class B extends A implements Serializable { class in ObjectInputStream2Test 143 public B() { in B() method in ObjectInputStream2Test.B
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericArrayTypeTest.java | 50 static class B<T> { class in GenericArrayTypeTest 51 B<T>[] array; 55 Class<? extends B> clazz = GenericArrayTypeTest.B.class; in testParameterizedComponentType() 60 String bName = B.class.getName(); in testParameterizedComponentType()
|
D | ParameterizedTypeTest.java | 29 static class B extends A<String>{} class in ParameterizedTypeTest 32 Class<? extends B> clazz = B.class; in testStringParameterizedSuperClass()
|
D | TypeVariableTest.java | 45 static class B{ class in TypeVariableTest 49 Class<? extends B> clazz = B.class; in testSimpleTypeVariableOnMethod()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ClassLoaderReflectionTest.java | 144 Field f1 = B.class.getDeclaredField("field"); in testFieldsOfDifferentClassLoadersAreNotEqual() 150 static class B<T> { class in ClassLoaderReflectionTest 161 B<String> bString; 163 F(B<String> parameter, List<A> anotherParameter) {} in F() 164 B<String> method(B<String> parameter, List<A> anotherParameter) { in method() 171 static class BString extends B<String> {}
|
D | ReflectionTest.java | 84 assertEquals(getClass().getName() + "$B", B.class.getName()); in testClassGetName() 95 assertEquals(getClass().getName() + ".B", B.class.getCanonicalName()); in testClassGetCanonicalName() 366 static class B extends Exception {} class in ReflectionTest 375 C(A a) throws B {} in C() 378 protected final synchronized A methodOne(A parameterOne, C parameterTwo) throws B { in methodOne() 392 public D(A a) throws B { in D() 519 HasMemberClassesSuperclass.B.class, HasMemberClasses.H.class); in testGetClasses() 618 public class B {} class in ReflectionTest.HasMemberClassesSuperclass
|
D | ConstructorTest.java | 194 public <B extends Integer> GenericConstructorTestHelper(A a, B b) { } in GenericConstructorTestHelper()
|
/libcore/ojluni/src/tools/make/gensrc/ |
D | GensrcBuffer.gmk | 351 $(eval $(call SetupGenBuffer,ByteBufferAsCharBufferB, $(BYTE_X_BUF), type:=char, BO:=B)) 352 $(eval $(call SetupGenBuffer,ByteBufferAsCharBufferRB, $(BYTE_X_BUF), type:=char, RW:=R, BO:=B)) 353 $(eval $(call SetupGenBuffer,ByteBufferAsShortBufferB, $(BYTE_X_BUF), type:=short, BO:=B)) 354 $(eval $(call SetupGenBuffer,ByteBufferAsShortBufferRB, $(BYTE_X_BUF), type:=short, RW:=R, BO:=B)) 355 $(eval $(call SetupGenBuffer,ByteBufferAsIntBufferB, $(BYTE_X_BUF), type:=int, BO:=B)) 356 $(eval $(call SetupGenBuffer,ByteBufferAsIntBufferRB, $(BYTE_X_BUF), type:=int, RW:=R, BO:=B)) 357 $(eval $(call SetupGenBuffer,ByteBufferAsLongBufferB, $(BYTE_X_BUF), type:=long, BO:=B)) 358 $(eval $(call SetupGenBuffer,ByteBufferAsLongBufferRB, $(BYTE_X_BUF), type:=long, RW:=R, BO:=B)) 359 $(eval $(call SetupGenBuffer,ByteBufferAsFloatBufferB, $(BYTE_X_BUF), type:=float, BO:=B)) 360 $(eval $(call SetupGenBuffer,ByteBufferAsFloatBufferRB, $(BYTE_X_BUF), type:=float, RW:=R, BO:=B)) [all …]
|
/libcore/tools/expected_upstream/ |
D | README.md | 9 -----------B----------D---------- main 152 ------------B-----C------------ expected_upstream 160 on commit `A` and `B` if the presubmit fails. 163 4. Click the submit button / `Autosubmit +1` on commit `B`, `C` and `E` 164 * Never submit commit `A` individually without submitting `B` together. 166 submitting `B`. 167 * Due a Gerrit bug, you can't submit the commit `C` before submitting `B` 168 first manually, even though `B` is the direct parent of `C`. So just 169 submit `B` yourself manually. 181 ------------B-----C------------ expected_upstream [all …]
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 621 <B extends Buffer, E, BT extends BufferType<B, E>> 623 BiFunction<BT, Integer, B> aConstructor, in testBufferType() 624 BiFunction<BT, Integer, B> bConstructor) { in testBufferType() 629 B a = aConstructor.apply(bt, s); in testBufferType() 630 B b = bConstructor.apply(bt, s); in testBufferType() 636 B as = aLength != s in testBufferType() 644 B bs = bLength != s in testBufferType() 674 B c = aConstructor.apply(bt, a.capacity()); in testBufferType() 675 B cs = aLength != s in testBufferType()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
D | B.java | 20 public class B extends A { class
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/ |
D | B.java | 3 public class B extends A { class
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom2Test.java | 71 public void test_Constructor$B() { in test_Constructor$B() 191 public void test_nextBytes$B() { in test_nextBytes$B() 211 public void test_setSeed$B() { in test_setSeed$B()
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | TestEnum1b.java | 4 Z, F, L, A, B enumConstant
|
D | TestEnum1.java | 4 Z, F, L, A, B enumConstant
|
/libcore/ |
D | nullability_annotated_classes.txt | 2 # which should be validated for correctness and completeness. (N.B. Classes
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassCastExceptionTest.java | 46 enum E { A, B, C }; enumConstant 47 enum F { A, B, C }; enumConstant
|
/libcore/luni/src/test/java/crossvmtest/java/lang/ |
D | RecordComponentTest.java | 55 record GenericRecord<A, B extends AbstractMap<String, BigInteger>> ( in GenericRecord() 56 A a, B b, List<String> c) {} in GenericRecord()
|
/libcore/ojluni/src/test/java/lang/reflect/records/ |
D | RecordReflectionTest.java | 59 record R8<A, B>(A a, B b) implements java.io.Serializable { }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ResourceBundleTest.java | 31 import org.apache.harmony.tests.java.util.support.B; 173 B bb = new B(); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader()
|