/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | WildcardTypeName.java | 33 public final List<TypeName> lowerBounds; field in WildcardTypeName 35 private WildcardTypeName(List<TypeName> upperBounds, List<TypeName> lowerBounds) { in WildcardTypeName() argument 36 this(upperBounds, lowerBounds, new ArrayList<>()); in WildcardTypeName() 39 private WildcardTypeName(List<TypeName> upperBounds, List<TypeName> lowerBounds, in WildcardTypeName() argument 43 this.lowerBounds = Util.immutableList(lowerBounds); in WildcardTypeName() 50 for (TypeName lowerBound : this.lowerBounds) { in WildcardTypeName() 57 return new WildcardTypeName(upperBounds, lowerBounds, concatAnnotations(annotations)); in annotated() 61 return new WildcardTypeName(upperBounds, lowerBounds); in withoutAnnotations() 65 if (lowerBounds.size() == 1) { in emit() 66 return out.emit("? super $T", lowerBounds.get(0)); in emit()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Types.java | 71 Type[] lowerBounds = wildcard.getLowerBounds(); in newArrayType() local 72 checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds."); in newArrayType() 73 if (lowerBounds.length == 1) { in newArrayType() 74 return supertypeOf(newArrayType(lowerBounds[0])); in newArrayType() 469 private final ImmutableList<Type> lowerBounds; field in Types.WildcardTypeImpl 472 WildcardTypeImpl(Type[] lowerBounds, Type[] upperBounds) { in WildcardTypeImpl() argument 473 disallowPrimitiveType(lowerBounds, "lower bound for wildcard"); in WildcardTypeImpl() 475 this.lowerBounds = JavaVersion.CURRENT.usedInGenericType(lowerBounds); in WildcardTypeImpl() 481 return toArray(lowerBounds); in getLowerBounds() 493 return lowerBounds.equals(Arrays.asList(that.getLowerBounds())) in equals() [all …]
|
D | TypeResolver.java | 246 Type[] lowerBounds = type.getLowerBounds(); in resolveWildcardType() local 248 return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds)); in resolveWildcardType() 489 Type[] lowerBounds = wildcardType.getLowerBounds(); in capture() local 490 if (lowerBounds.length == 0) { // ? extends something changes to capture-of in capture()
|
D | TypeToken.java | 1208 private TypeToken<? extends T> getSubtypeFromLowerBounds(Class<?> subclass, Type[] lowerBounds) { 1209 if (lowerBounds.length > 0) { 1211 TypeToken<? extends T> bound = (TypeToken<? extends T>) of(lowerBounds[0]);
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | Types.java | 71 Type[] lowerBounds = wildcard.getLowerBounds(); in newArrayType() local 72 checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds."); in newArrayType() 73 if (lowerBounds.length == 1) { in newArrayType() 74 return supertypeOf(newArrayType(lowerBounds[0])); in newArrayType() 472 private final ImmutableList<Type> lowerBounds; field in Types.WildcardTypeImpl 475 WildcardTypeImpl(Type[] lowerBounds, Type[] upperBounds) { in WildcardTypeImpl() argument 476 disallowPrimitiveType(lowerBounds, "lower bound for wildcard"); in WildcardTypeImpl() 478 this.lowerBounds = JavaVersion.CURRENT.usedInGenericType(lowerBounds); in WildcardTypeImpl() 484 return toArray(lowerBounds); in getLowerBounds() 496 return lowerBounds.equals(Arrays.asList(that.getLowerBounds())) in equals() [all …]
|
D | TypeResolver.java | 246 Type[] lowerBounds = type.getLowerBounds(); in resolveWildcardType() local 248 return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds)); in resolveWildcardType() 489 Type[] lowerBounds = wildcardType.getLowerBounds(); in capture() local 490 if (lowerBounds.length == 0) { // ? extends something changes to capture-of in capture()
|
D | TypeToken.java | 1212 private TypeToken<? extends T> getSubtypeFromLowerBounds(Class<?> subclass, Type[] lowerBounds) { 1213 if (lowerBounds.length > 0) { 1215 TypeToken<? extends T> bound = (TypeToken<? extends T>) of(lowerBounds[0]);
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 494 public WildcardTypeImpl(Type[] upperBounds, Type[] lowerBounds) { in WildcardTypeImpl() argument 495 checkArgument(lowerBounds.length <= 1, "Must have at most one lower bound."); in WildcardTypeImpl() 498 if (lowerBounds.length == 1) { in WildcardTypeImpl() 499 checkNotNull(lowerBounds[0], "lowerBound"); in WildcardTypeImpl() 500 checkNotPrimitive(lowerBounds[0], "wildcard bounds"); in WildcardTypeImpl() 502 this.lowerBound = canonicalize(lowerBounds[0]); in WildcardTypeImpl()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 617 Type[] lowerBounds = wildcard.getLowerBounds(); in firstBound() local 620 return lowerBounds.length != 0 ? lowerBounds[0] : upperBounds[0]; in firstBound()
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | Bufferize.cpp | 60 SmallVector<Value, 4> lowerBounds(rank, zero); in matchAndRewrite() local 74 loc, lowerBounds, upperBounds, steps, in matchAndRewrite()
|
/external/llvm-project/mlir/examples/toy/Ch7/mlir/ |
D | LowerToAffineLoops.cpp | 74 SmallVector<int64_t, 4> lowerBounds(tensorType.getRank(), /*Value=*/0); in lowerOpToLoops() local 77 rewriter, loc, lowerBounds, tensorType.getShape(), steps, in lowerOpToLoops()
|
/external/llvm-project/mlir/examples/toy/Ch6/mlir/ |
D | LowerToAffineLoops.cpp | 74 SmallVector<int64_t, 4> lowerBounds(tensorType.getRank(), /*Value=*/0); in lowerOpToLoops() local 77 rewriter, loc, lowerBounds, tensorType.getShape(), steps, in lowerOpToLoops()
|
/external/llvm-project/mlir/examples/toy/Ch5/mlir/ |
D | LowerToAffineLoops.cpp | 74 SmallVector<int64_t, 4> lowerBounds(tensorType.getRank(), /*Value=*/0); in lowerOpToLoops() local 77 rewriter, loc, lowerBounds, tensorType.getShape(), steps, in lowerOpToLoops()
|
/external/llvm-project/flang/lib/Evaluate/ |
D | fold-designator.cpp | 63 if (auto lowerBounds{AsConstantExtents(context_, lbs)}) { in FoldDesignator() local 79 ConstantSubscript lower{lowerBounds->at(dim)}; in FoldDesignator()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 805 OpBuilder &builder, OperationState &result, ValueRange lowerBounds, in build() argument 809 result.addOperands(lowerBounds); in build() 815 builder.getI32VectorAttr({static_cast<int32_t>(lowerBounds.size()), in build() 837 OpBuilder &builder, OperationState &result, ValueRange lowerBounds, in build() argument 852 build(builder, result, lowerBounds, upperBounds, steps, ValueRange(), in build()
|
/external/llvm-project/flang/unittests/Evaluate/ |
D | ISO-Fortran-binding.cpp | 262 for (CFI_index_t *lowerBounds : lowerBoundCases) { in run_CFI_address_tests() 263 EstablishLowerBounds(dv, lowerBounds); in run_CFI_address_tests()
|
/external/llvm-project/mlir/include/mlir/Dialect/SCF/ |
D | SCFOps.td | 355 OpBuilderDAG<(ins "ValueRange":$lowerBounds, "ValueRange":$upperBounds, 359 OpBuilderDAG<(ins "ValueRange":$lowerBounds, "ValueRange":$upperBounds,
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 2052 SmallVector<Value, 3> lowerBounds; in collapseParallelLoops() local 2063 lowerBounds.push_back(cst0); in collapseParallelLoops() 2075 loc, lowerBounds, upperBounds, steps, in collapseParallelLoops()
|