Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 84) sorted by relevance

1234

/libcore/ojluni/src/test/java/util/Arrays/
DTimSortStackSize.java60 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/
DStreamRefTest.java60 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 …]
DConstructorAccessTest.java57 protected static record B (long l) implements Serializable { }
84 new Object[] { new B(44L) }, in recordInstances()
/libcore/luni/src/test/java/libcore/libcore/reflect/
DParameterizedTypeRegressionTest.java40 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/
DSerializationTestClass.java49 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 {
DObjectInputStream2Test.java74 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/
DGenericArrayTypeTest.java50 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()
DParameterizedTypeTest.java29 static class B extends A<String>{} class in ParameterizedTypeTest
32 Class<? extends B> clazz = B.class; in testStringParameterizedSuperClass()
DTypeVariableTest.java45 static class B{ class in TypeVariableTest
49 Class<? extends B> clazz = B.class; in testSimpleTypeVariableOnMethod()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DClassLoaderReflectionTest.java144 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> {}
DReflectionTest.java84 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
DConstructorTest.java194 public <B extends Integer> GenericConstructorTestHelper(A a, B b) { } in GenericConstructorTestHelper()
/libcore/ojluni/src/tools/make/gensrc/
DGensrcBuffer.gmk351 $(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/
DREADME.md9 -----------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/
DEqualsCompareTest.java621 <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/
DB.java20 public class B extends A { class
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DB.java3 public class B extends A { class
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecureRandom2Test.java71 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/
DTestEnum1b.java4 Z, F, L, A, B enumConstant
DTestEnum1.java4 Z, F, L, A, B enumConstant
/libcore/
Dnullability_annotated_classes.txt2 # which should be validated for correctness and completeness. (N.B. Classes
/libcore/luni/src/test/java/libcore/java/lang/
DClassCastExceptionTest.java46 enum E { A, B, C }; enumConstant
47 enum F { A, B, C }; enumConstant
/libcore/luni/src/test/java/crossvmtest/java/lang/
DRecordComponentTest.java55 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/
DRecordReflectionTest.java59 record R8<A, B>(A a, B b) implements java.io.Serializable { }
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DResourceBundleTest.java31 import org.apache.harmony.tests.java.util.support.B;
173 B bb = new B(); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader()

1234