Home
last modified time | relevance | path

Searched refs:rhsType (Results 1 – 25 of 194) sorted by relevance

12345678

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/main/java/org/springframework/util/
H A DTypeUtils.java57 if (rhsType instanceof Class<?>) { in isAssignable()
61 if (rhsType instanceof ParameterizedType) { in isAssignable()
78 if (rhsType instanceof Class<?>) { in isAssignable()
93 if (rhsType instanceof Class<?>) { in isAssignable()
94 Class<?> rhsClass = (Class<?>) rhsType; in isAssignable()
115 if (lhsType.equals(rhsType)) { in isAssignable()
154 if (rhsType instanceof WildcardType) { in isAssignable()
201 if (!isAssignableBound(lBound, rhsType)) { in isAssignable()
207 if (!isAssignableBound(rhsType, lBound)) { in isAssignable()
217 if (rhsType == null) { in isAssignableBound()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/ast/
H A DAssignment.java59 void checkAssignment(BlockScope scope, TypeBinding lhsType, TypeBinding rhsType) { in checkAssignment() argument
65 && (rhsType.isParameterizedType() || rhsType.isGenericType())) { in checkAssignment()
157 TypeBinding rhsType = expression.resolveType(scope); in resolveType() local
158 if (lhsType == null || rhsType == null) { in resolveType()
165 if ((expression.isConstantValueOfTypeAssignableToType(rhsType, lhsType) in resolveType()
167 || rhsType.isCompatibleWith(lhsType)) { in resolveType()
168 expression.computeConversion(scope, lhsType, rhsType); in resolveType()
169 checkAssignment(scope, lhsType, rhsType); in resolveType()
172 scope.problemReporter().typeMismatchError(rhsType, lhsType, expression); in resolveType()
185 TypeBinding rhsType = this.expression.resolvedType; in resolveTypeExpecting() local
[all …]
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/ast/
H A DAssignment.java123 } else if (rhsType.needsUncheckedConversion(lhsType)) { in checkAssignment()
202 TypeBinding rhsType = this.expression.resolveType(scope); in resolveType() local
203 if (lhsType == null || rhsType == null) { in resolveType()
215 scope.compilationUnitScope().recordTypeConversion(lhsType, rhsType); in resolveType()
218 || rhsType.isCompatibleWith(lhsType, scope)) { in resolveType()
219 this.expression.computeConversion(scope, lhsType, rhsType); in resolveType()
220 checkAssignment(scope, lhsType, rhsType); in resolveType()
226 } else if (isBoxingCompatible(rhsType, lhsType, this.expression, scope)) { in resolveType()
227 this.expression.computeConversion(scope, lhsType, rhsType); in resolveType()
246 TypeBinding rhsType = this.expression.resolvedType; in resolveTypeExpecting() local
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/
H A DAssignment.java127 } else if (rhsType.needsUncheckedConversion(lhsType)) { in checkAssignment()
214 TypeBinding rhsType = this.expression.resolveType(scope); in resolveType() local
215 if (lhsType == null || rhsType == null) { in resolveType()
227 scope.compilationUnitScope().recordTypeConversion(lhsType, rhsType); in resolveType()
230 || rhsType.isCompatibleWith(lhsType, scope)) { in resolveType()
231 this.expression.computeConversion(scope, lhsType, rhsType); in resolveType()
232 checkAssignment(scope, lhsType, rhsType); in resolveType()
238 } else if (isBoxingCompatible(rhsType, lhsType, this.expression, scope)) { in resolveType()
239 this.expression.computeConversion(scope, lhsType, rhsType); in resolveType()
259 TypeBinding rhsType = this.expression.resolvedType; in resolveTypeExpecting() local
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/
H A Dtypedefparam.cxx173 auto rhsType = rhs.getTypePtr(); in areTypesEqual() local
211 if (auto rhsElaborated = dyn_cast<ElaboratedType>(rhsType)) in areTypesEqual()
226 auto rhsLValue = dyn_cast<LValueReferenceType>(rhsType); in areTypesEqual()
233 auto rhsRValue = dyn_cast<RValueReferenceType>(rhsType); in areTypesEqual()
240 auto rhsPointer = dyn_cast<clang::PointerType>(rhsType); in areTypesEqual()
247 auto rhsTypedef = dyn_cast<TypedefType>(rhsType); in areTypesEqual()
288 auto rhsMember = dyn_cast<MemberPointerType>(rhsType); in areTypesEqual()
297 auto rhsParen = dyn_cast<ParenType>(rhsType); in areTypesEqual()
311 auto rhsDecayed = dyn_cast<DecayedType>(rhsType); in areTypesEqual()
318 auto rhsAttr = dyn_cast<AttributedType>(rhsType); in areTypesEqual()
[all …]
H A Dconvertlong.cxx88 auto rhsType = varDecl->getInit()->IgnoreParenImpCasts()->getType(); in VisitVarDecl() local
89 if (lhsType.getLocalUnqualifiedType() == rhsType) in VisitVarDecl()
91 if (!rhsType.getTypePtrOrNull()) in VisitVarDecl()
93 if (isInterestingType(rhsType)) in VisitVarDecl()
97 if (rhsType->isFloatingType()) // TODO in VisitVarDecl()
101 << lhsType << rhsType << varDecl->getSourceRange(); in VisitVarDecl()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/
H A Dtypedefparam.cxx173 auto rhsType = rhs.getTypePtr(); in areTypesEqual() local
211 if (auto rhsElaborated = dyn_cast<ElaboratedType>(rhsType)) in areTypesEqual()
226 auto rhsLValue = dyn_cast<LValueReferenceType>(rhsType); in areTypesEqual()
233 auto rhsRValue = dyn_cast<RValueReferenceType>(rhsType); in areTypesEqual()
240 auto rhsPointer = dyn_cast<clang::PointerType>(rhsType); in areTypesEqual()
247 auto rhsTypedef = dyn_cast<TypedefType>(rhsType); in areTypesEqual()
288 auto rhsMember = dyn_cast<MemberPointerType>(rhsType); in areTypesEqual()
297 auto rhsParen = dyn_cast<ParenType>(rhsType); in areTypesEqual()
311 auto rhsDecayed = dyn_cast<DecayedType>(rhsType); in areTypesEqual()
318 auto rhsAttr = dyn_cast<AttributedType>(rhsType); in areTypesEqual()
[all …]
H A Dconvertlong.cxx88 auto rhsType = varDecl->getInit()->IgnoreParenImpCasts()->getType(); in VisitVarDecl() local
89 if (lhsType.getLocalUnqualifiedType() == rhsType) in VisitVarDecl()
91 if (!rhsType.getTypePtrOrNull()) in VisitVarDecl()
93 if (isInterestingType(rhsType)) in VisitVarDecl()
97 if (rhsType->isFloatingType()) // TODO in VisitVarDecl()
101 << lhsType << rhsType << varDecl->getSourceRange(); in VisitVarDecl()
/dports/lang/bsh/beanshell-2.1.0/src/bsh/
H A DTypes.java287 return isJavaBaseAssignable( lhsType, rhsType ) in isJavaAssignable()
288 || isJavaBoxTypesAssignable( lhsType, rhsType ); in isJavaAssignable()
310 if ( rhsType == null ) in isJavaBaseAssignable()
314 if ( lhsType == rhsType ) in isJavaBaseAssignable()
318 if ( NUMBER_ORDER.containsKey(rhsType) in isJavaBaseAssignable()
322 else if ( lhsType.isAssignableFrom(rhsType) ) in isJavaBaseAssignable()
332 Class lhsType, Class rhsType ) in isJavaBoxTypesAssignable() argument
344 if (rhsType == null) in isJavaBoxTypesAssignable()
349 && rhsType != Character.TYPE in isJavaBoxTypesAssignable()
350 && rhsType != Boolean.TYPE in isJavaBoxTypesAssignable()
[all …]
H A DBSHArrayInitializer.java126 String rhsType; in throwTypeError() local
128 rhsType = in throwTypeError()
131 rhsType = Reflect.normalizeClassName( in throwTypeError()
134 throw new EvalError ( "Incompatible type: " + rhsType in throwTypeError()
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/
H A DAssignment.java140 TypeBinding rhsType = expression.resolveType(scope); in resolveType() local
141 if (this.resolvedType == null || rhsType == null) { in resolveType()
149 if ((expression.isConstantValueOfTypeAssignableToType(rhsType, in resolveType()
151 .isWidening(this.resolvedType.id, rhsType.id))) in resolveType()
152 || rhsType.isCompatibleWith(this.resolvedType)) { in resolveType()
153 expression.implicitWidening(this.resolvedType, rhsType); in resolveType()
157 expression, rhsType, this.resolvedType); in resolveType()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
560 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
565 if(isString(lhsType) || isString(rhsType)) { in decideType()
571 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
560 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
565 if(isString(lhsType) || isString(rhsType)) { in decideType()
571 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
560 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
565 if(isString(lhsType) || isString(rhsType)) { in decideType()
571 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
560 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
565 if(isString(lhsType) || isString(rhsType)) { in decideType()
571 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
560 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
565 if(isString(lhsType) || isString(rhsType)) { in decideType()
571 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
570 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
575 if(isString(lhsType) || isString(rhsType)) { in decideType()
581 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/ir/
H A DBinaryNode.java189 final Type rhsType = rhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in getWidestOperationType()
238 final Type rhsType = rhs.getType(); in getWidestOperationType() local
239 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
570 private static Type decideType(final Type lhsType, final Type rhsType) { in decideType() argument
575 if(isString(lhsType) || isString(rhsType)) { in decideType()
581 … = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(booleanToInt(rhsType))); in decideType()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Dialect/FxpMathOps/Transforms/
H A DUniformKernelUtils.h57 rhsType(getUniformElementType(rhs.getType())), in UniformBinaryOpInfo()
67 return lhsType && rhsType && resultType && lhsStorageType && in isValid()
76 return lhsType.getStorageType() == rhsType.getStorageType() && in isSameStorageType()
84 if (!lhsType.isFixedPoint() || !rhsType.isFixedPoint() || in isFixedPointPOT()
90 !integralLog2(rhsType.getScale(), rhsLog2Scale) || in isFixedPointPOT()
129 quant::UniformQuantizedType rhsType; member
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/store/
H A Drefassign.cxx115 auto rhsType = ExtractType(binaryOp->getRHS()); in VisitBinaryOperator() local
118 if (!loplugin::TypeCheck(rhsType).LvalueReference()) in VisitBinaryOperator()
124 << rhsType << lhsType << binaryOp->getSourceRange(); in VisitBinaryOperator()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/animation/
H A DComputedTimingFunction.cpp178 nsTimingFunction::Type rhsType = aRhs.isNothing() ? in Compare() local
181 if (lhsType != rhsType) { in Compare()
182 return int32_t(lhsType) - int32_t(rhsType); in Compare()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Affine/EDSC/
H A DBuilders.cpp187 auto rhsType = rhs.getType(); in createIComparisonExpr() local
189 (void)rhsType; in createIComparisonExpr()
190 assert(lhsType == rhsType && "cannot mix types in operators"); in createIComparisonExpr()
201 auto rhsType = rhs.getType(); in createFComparisonExpr() local
203 (void)rhsType; in createFComparisonExpr()
204 assert(lhsType == rhsType && "cannot mix types in operators"); in createFComparisonExpr()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/flang/lib/Semantics/
H A Dpointer-assignment.cpp202 } else if (auto rhsType{TypeAndShape::Characterize(d, context_)}) { in Check() local
206 } else if (rhsType->corank() > 0 && in Check()
216 } else if (rhsType->type().IsUnlimitedPolymorphic()) { in Check()
222 if (!lhsType_->type().IsTkCompatibleWith(rhsType->type())) { in Check()
225 rhsType->type().AsFortran(), lhsType_->type().AsFortran()}; in Check()
229 int rhsRank{evaluate::GetRank(rhsType->shape())}; in Check()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/lib/Semantics/
H A Dpointer-assignment.cpp206 } else if (auto rhsType{TypeAndShape::Characterize(d, context_)}) { in Check() local
210 } else if (rhsType->corank() > 0 && in Check()
220 } else if (rhsType->type().IsUnlimitedPolymorphic()) { in Check()
226 if (!lhsType_->type().IsTkCompatibleWith(rhsType->type())) { in Check()
229 rhsType->type().AsFortran(), lhsType_->type().AsFortran()}; in Check()
233 int rhsRank{evaluate::GetRank(rhsType->shape())}; in Check()
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/lib/Semantics/
H A Dpointer-assignment.cpp204 } else if (auto rhsType{TypeAndShape::Characterize(d, context_)}) { in Check() local
208 } else if (rhsType->corank() > 0 && in Check()
218 } else if (rhsType->type().IsUnlimitedPolymorphic()) { in Check()
224 if (!lhsType_->type().IsTkCompatibleWith(rhsType->type())) { in Check()
227 rhsType->type().AsFortran(), lhsType_->type().AsFortran()}; in Check()
231 int rhsRank{evaluate::GetRank(rhsType->shape())}; in Check()

12345678