/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | TypeVariableTest.java | 40 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnClass() local 41 assertLenghtOne(bounds); in testSimpleTypeVariableOnClass() 42 assertEquals(Object.class, bounds[0]); in testSimpleTypeVariableOnClass() 58 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnMethod() local 59 assertLenghtOne(bounds); in testSimpleTypeVariableOnMethod() 60 assertEquals(Object.class, bounds[0]); in testSimpleTypeVariableOnMethod() 76 Type[] bounds = typeVariable.getBounds(); in testSimpleTypeVariableOnConstructor() local 77 assertLenghtOne(bounds); in testSimpleTypeVariableOnConstructor() 78 assertEquals(Object.class, bounds[0]); in testSimpleTypeVariableOnConstructor() 158 Type[] bounds = typeVariable.getBounds(); in testSingleBound() local [all …]
|
D | BoundedGenericMethodsTests.java | 55 Type[] bounds = typeParameter.getBounds(); in checkBoundedTypeParameter() local 56 assertLenghtOne(bounds); in checkBoundedTypeParameter() 57 Type bound = bounds[0]; in checkBoundedTypeParameter() 92 Type[] bounds = returnTypeVariable.getBounds(); in checkReturnType() local 93 assertLenghtOne(bounds); in checkReturnType() 94 Type bound = bounds[0]; in checkReturnType()
|
D | WildcardTypeTest.java | 62 Type[] bounds = typeParameter.getBounds(); in checkBoundedTypeParameter() local 63 assertLenghtOne(bounds); in checkBoundedTypeParameter() 64 Type bound = bounds[0]; in checkBoundedTypeParameter() 121 Type[] bounds = returnTypeVariable.getBounds(); in checkReturnType() local 122 assertLenghtOne(bounds); in checkReturnType() 123 Type bound = bounds[0]; in checkReturnType()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | TypeVariableImpl.java | 32 private ListOfTypes bounds; field in TypeVariableImpl 55 TypeVariableImpl(D genericDecl, String name, ListOfTypes bounds) { in TypeVariableImpl() argument 58 this.bounds = bounds; in TypeVariableImpl() 116 this.bounds = formalVar.bounds; in resolve() 121 return bounds.getResolvedTypes().clone(); in getBounds()
|
D | GenericSignatureParser.java | 266 ListOfTypes bounds = new ListOfTypes(8); in parseFormalTypeParameter() local 271 bounds.add(parseFieldTypeSignature()); in parseFormalTypeParameter() 277 bounds.add(parseFieldTypeSignature()); in parseFormalTypeParameter() 280 return new TypeVariableImpl<GenericDeclaration>(genericDecl, name, bounds); in parseFormalTypeParameter()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ClassLoaderReflectionTest.java | 181 private void assertTypeVariable(TypeVariable actual, String name, Type... bounds) { in assertTypeVariable() argument 183 assertEquals(Arrays.<Type>asList(bounds), Arrays.asList(actual.getBounds())); in assertTypeVariable()
|
D | ReflectionTest.java | 179 Type[] bounds = t.getBounds(); in testTypeVariableWithMultipleBounds() local 180 ParameterizedType comparableT = (ParameterizedType) bounds[0]; in testTypeVariableWithMultipleBounds() 183 assertEquals(3, bounds.length); in testTypeVariableWithMultipleBounds() 184 assertEquals(Serializable.class, bounds[1]); in testTypeVariableWithMultipleBounds() 185 assertEquals(RandomAccess.class, bounds[2]); in testTypeVariableWithMultipleBounds()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 462 Type[] bounds = typeVar.getBounds(); in typeVarBounds() local 463 if (bounds.length == 1 && bounds[0].equals(Object.class)) { in typeVarBounds() 467 Arrays.stream(bounds) in typeVarBounds()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 1416 final int bounds; // min, max threads packed as shorts 1783 int md = mode, b = bounds; 2542 this.bounds = ((minAvail - p) & SMASK) | (maxSpares << SWIDTH); 2589 this.bounds = ((1 - p) & SMASK) | (COMMON_MAX_SPARES << SWIDTH); 2594 this.bounds = 0;
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 4221 long[] bounds = THRESHOLDS_TABLE; 4222 if (n < tab.length && n < bounds.length) { 4226 if (Math.abs(val) <= bounds[n])
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | X-VarHandleTestByteArrayView.java.template | 183 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), 210 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h),
|
D | X-VarHandleTestMethodHandleAccess.java.template | 103 cases.add(new MethodHandleAccessTestCase("Array index out of bounds",
|
D | X-VarHandleTestAccess.java.template | 256 cases.add(new VarHandleAccessTestCase("Array index out of bounds",
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | Basic-X.java.template | 378 // index out-of bounds
|
/libcore/ojluni/src/main/java/java/nio/ |
D | X-Buffer.java.template | 2279 * upper bounds check is performed 2328 * and limit will be zero. If rounding is within bounds the following
|
/libcore/expectations/ |
D | knownfailures.txt | 47 …description: "can't compile a pattern with negative look-behind and quantifiers with upper bounds",
|