/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | WildcardTypeName.java | 32 public final List<TypeName> upperBounds; 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 42 this.upperBounds = Util.immutableList(upperBounds); in WildcardTypeName() 45 checkArgument(this.upperBounds.size() == 1, "unexpected extends bounds: %s", upperBounds); in WildcardTypeName() local 46 for (TypeName upperBound : this.upperBounds) { in WildcardTypeName() 57 return new WildcardTypeName(upperBounds, lowerBounds, concatAnnotations(annotations)); in annotated() 61 return new WildcardTypeName(upperBounds, lowerBounds); in withoutAnnotations() 68 return upperBounds.get(0).equals(TypeName.OBJECT) in emit() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | EmpiricalDistributionImpl.java | 90 private double[] upperBounds = null; field in EmpiricalDistributionImpl 344 upperBounds = new double[binCount]; in fillBinStats() 345 upperBounds[0] = in fillBinStats() 348 upperBounds[i] = upperBounds[i-1] + in fillBinStats() 351 upperBounds[binCount-1] = 1.0d; in fillBinStats() 383 if (x <= upperBounds[i]) { in getNextValue() 465 int len = upperBounds.length; in getGeneratorUpperBounds() 467 System.arraycopy(upperBounds, 0, out, 0, len); in getGeneratorUpperBounds()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Types.java | 76 Type[] upperBounds = wildcard.getUpperBounds(); in newArrayType() local 77 checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound."); in newArrayType() 78 return subtypeOf(newArrayType(upperBounds[0])); in newArrayType() 470 private final ImmutableList<Type> upperBounds; field in Types.WildcardTypeImpl 472 WildcardTypeImpl(Type[] lowerBounds, Type[] upperBounds) { in WildcardTypeImpl() argument 474 disallowPrimitiveType(upperBounds, "upper bound for wildcard"); in WildcardTypeImpl() 476 this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds); in WildcardTypeImpl() 486 return toArray(upperBounds); in getUpperBounds() 494 && upperBounds.equals(Arrays.asList(that.getUpperBounds())); in equals() 501 return lowerBounds.hashCode() ^ upperBounds.hashCode(); in hashCode() [all …]
|
D | TypeResolver.java | 247 Type[] upperBounds = type.getUpperBounds(); in resolveWildcardType() local 248 return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds)); in resolveWildcardType() 500 TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { in captureAsTypeVariable() argument 502 "capture#" + id.incrementAndGet() + "-of ? extends " + Joiner.on('&').join(upperBounds); in captureAsTypeVariable() 503 return Types.newArtificialTypeVariable(WildcardCapturer.class, name, upperBounds); in captureAsTypeVariable() 509 TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { in forTypeVariable() 510 Set<Type> combined = new LinkedHashSet<>(asList(upperBounds)); in forTypeVariable()
|
D | TypeToken.java | 1026 List<Type> upperBounds = new ArrayList<>(); 1029 upperBounds.add(canonicalizeWildcardsInType(bound)); 1032 return new Types.WildcardTypeImpl(type.getLowerBounds(), upperBounds.toArray(new Type[0])); 1195 Class<? super T> supertype, Type[] upperBounds) { 1196 for (Type upperBound : upperBounds) {
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | Types.java | 76 Type[] upperBounds = wildcard.getUpperBounds(); in newArrayType() local 77 checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound."); in newArrayType() 78 return subtypeOf(newArrayType(upperBounds[0])); in newArrayType() 473 private final ImmutableList<Type> upperBounds; field in Types.WildcardTypeImpl 475 WildcardTypeImpl(Type[] lowerBounds, Type[] upperBounds) { in WildcardTypeImpl() argument 477 disallowPrimitiveType(upperBounds, "upper bound for wildcard"); in WildcardTypeImpl() 479 this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds); in WildcardTypeImpl() 489 return toArray(upperBounds); in getUpperBounds() 497 && upperBounds.equals(Arrays.asList(that.getUpperBounds())); in equals() 504 return lowerBounds.hashCode() ^ upperBounds.hashCode(); in hashCode() [all …]
|
D | TypeResolver.java | 247 Type[] upperBounds = type.getUpperBounds(); in resolveWildcardType() local 248 return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds)); in resolveWildcardType() 500 TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { in captureAsTypeVariable() argument 502 "capture#" + id.incrementAndGet() + "-of ? extends " + Joiner.on('&').join(upperBounds); in captureAsTypeVariable() 503 return Types.newArtificialTypeVariable(WildcardCapturer.class, name, upperBounds); in captureAsTypeVariable() 509 TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { in forTypeVariable() 510 Set<Type> combined = new LinkedHashSet<>(asList(upperBounds)); in forTypeVariable()
|
D | TypeToken.java | 1029 List<Type> upperBounds = new ArrayList<>(); 1032 upperBounds.add(canonicalizeWildcardsInType(bound)); 1035 return new Types.WildcardTypeImpl(type.getLowerBounds(), upperBounds.toArray(new Type[0])); 1199 Class<? super T> supertype, Type[] upperBounds) { 1200 for (Type upperBound : upperBounds) {
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 494 public WildcardTypeImpl(Type[] upperBounds, Type[] lowerBounds) { in WildcardTypeImpl() argument 496 checkArgument(upperBounds.length == 1, "Must have exactly one upper bound."); in WildcardTypeImpl() 501 checkArgument(upperBounds[0] == Object.class, "bounded both ways"); in WildcardTypeImpl() 506 checkNotNull(upperBounds[0], "upperBound"); in WildcardTypeImpl() 507 checkNotPrimitive(upperBounds[0], "wildcard bounds"); in WildcardTypeImpl() 509 this.upperBound = canonicalize(upperBounds[0]); in WildcardTypeImpl()
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | Bufferize.cpp | 62 SmallVector<Value, 4> upperBounds; in matchAndRewrite() local 69 upperBounds.push_back(upperBound); in matchAndRewrite() 74 loc, lowerBounds, upperBounds, steps, in matchAndRewrite()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 618 Type[] upperBounds = wildcard.getUpperBounds(); in firstBound() local 620 return lowerBounds.length != 0 ? lowerBounds[0] : upperBounds[0]; in firstBound()
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlPackageListService.kt | 93 … val upperBoundClass = receiverClass.upperBounds.singleOrNull()?.constructor?.declarationDescriptor in DeclarationDescriptor()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 806 ValueRange upperBounds, ValueRange steps, ValueRange initVals, in build() argument 810 result.addOperands(upperBounds); in build() 816 static_cast<int32_t>(upperBounds.size()), in build() 838 ValueRange upperBounds, ValueRange steps, in build() argument 852 build(builder, result, lowerBounds, upperBounds, steps, ValueRange(), in build()
|
/external/dokka/core/src/main/kotlin/Kotlin/ |
D | DocumentationBuilder.kt | 881 for (constraint in upperBounds) { in TypeParameterDescriptor() 896 … val upperBoundClass = receiverClass.upperBounds.singleOrNull()?.constructor?.declarationDescriptor in build()
|
/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 | 2054 SmallVector<Value, 3> upperBounds; in collapseParallelLoops() local 2065 upperBounds.push_back(newUpperBound); in collapseParallelLoops() 2075 loc, lowerBounds, upperBounds, steps, in collapseParallelLoops()
|