Home
last modified time | relevance | path

Searched refs:lhsType (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.core/src/main/java/org/springframework/util/
H A DTypeUtils.java49 if (lhsType.equals(rhsType) || lhsType.equals(Object.class)) { in isAssignable()
53 if (lhsType instanceof Class<?>) { in isAssignable()
54 Class<?> lhsClass = (Class<?>) lhsType; in isAssignable()
77 if (lhsType instanceof ParameterizedType) { in isAssignable()
90 if (lhsType instanceof GenericArrayType) { in isAssignable()
107 if (lhsType instanceof WildcardType) { in isAssignable()
115 if (lhsType.equals(rhsType)) { in isAssignable()
140 Type[] lUpperBounds = lhsType.getUpperBounds(); in isAssignable()
147 Type[] lLowerBounds = lhsType.getLowerBounds(); in isAssignable()
221 if (lhsType == 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.java62 …if (leftField != null && rhsType != NullBinding && lhsType.isWildcard() && ((WildcardBinding)lhsT… in checkAssignment()
67 …} else if (rhsType.isRawType() && (lhsType.isBoundParameterizedType() || lhsType.isGenericType()))… in checkAssignment()
158 if (lhsType == null || rhsType == null) { in resolveType()
166 || (lhsType.isBaseType() && BaseTypeBinding.isWidening(lhsType.id, rhsType.id))) in resolveType()
167 || rhsType.isCompatibleWith(lhsType)) { in resolveType()
168 expression.computeConversion(scope, lhsType, rhsType); in resolveType()
169 checkAssignment(scope, lhsType, rhsType); in resolveType()
173 return lhsType; in resolveType()
184 TypeBinding lhsType = this.resolvedType; in resolveTypeExpecting()
188 && lhsType == BooleanBinding in resolveTypeExpecting()
[all …]
H A DCompoundAssignment.java97 TypeBinding lhsType = lhs.resolveType(scope); in resolveType() local
99 if (lhsType == null || expressionType == null) in resolveType()
102 int lhsId = lhsType.id; in resolveType()
104 if (restrainUsageToNumericTypes() && !lhsType.isNumericType()) { in resolveType()
105 scope.problemReporter().operatorOnlyValidOnNumericType(this, lhsType, expressionType); in resolveType()
110 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
124 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
130 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
134 if ((lhsType.isNumericType() || lhsId == T_boolean) && !expressionType.isNumericType()){ in resolveType()
135 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
[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()
192 TypeBinding lhsType = this.lhs.resolveType(scope); in resolveType() local
195 if (lhsType != null) { in resolveType()
196 this.resolvedType = lhsType.capture(scope, this.sourceEnd); in resolveType()
203 if (lhsType == null || rhsType == null) { in resolveType()
218 || rhsType.isCompatibleWith(lhsType, scope)) { in resolveType()
220 checkAssignment(scope, lhsType, rhsType); in resolveType()
235 return lhsType; in resolveType()
245 TypeBinding lhsType = this.resolvedType; in resolveTypeExpecting()
249 && TypeBinding.equalsEquals(lhsType, TypeBinding.BOOLEAN) in resolveTypeExpecting()
[all …]
H A DCompoundAssignment.java137 TypeBinding lhsType = originalLhsType, expressionType = originalExpressionType; in resolveType() local
142 TypeBinding unboxedType = env.computeBoxingType(lhsType); in resolveType()
143 if (TypeBinding.notEquals(unboxedType, lhsType)) { in resolveType()
144 lhsType = unboxedType; in resolveType()
148 if (!expressionType.isBaseType() && lhsType.id != T_JavaLangString && lhsType.id != T_null) { in resolveType()
153 if (restrainUsageToNumericTypes() && !lhsType.isNumericType()) { in resolveType()
157 int lhsID = lhsType.id; in resolveType()
161 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
175 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
181 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
[all …]
H A DReferenceExpression.java405 TypeBinding lhsType; in resolveType() local
411 lhsType = this.lhs.resolveType(scope); in resolveType()
412 this.lhs.computeConversion(scope, lhsType, lhsType); in resolveType()
434 lhsType = this.lhs.resolvedType; in resolveType()
435 if (this.typeArgumentsHaveErrors || lhsType == null) in resolveType()
439 …if (lhsType != null && !lhsType.isRawType()) // RawType::m and RawType::new are not exact method r… in resolveType()
447 if (lhsType == null) in resolveType()
450 lhsType = lhsType.closestMatch(); // improve resolving experience in resolveType()
451 if (!lhsType.isValidBinding()) in resolveType()
460 if (lhsType.isBaseType()) { in resolveType()
[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()
204 TypeBinding lhsType = this.lhs.resolveType(scope); in resolveType() local
207 if (lhsType != null) { in resolveType()
215 if (lhsType == null || rhsType == null) { 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()
247 return lhsType; in resolveType()
258 TypeBinding lhsType = this.resolvedType; in resolveTypeExpecting()
262 && TypeBinding.equalsEquals(lhsType, TypeBinding.BOOLEAN) in resolveTypeExpecting()
[all …]
H A DCompoundAssignment.java146 TypeBinding lhsType = originalLhsType, expressionType = originalExpressionType; in resolveType() local
151 TypeBinding unboxedType = env.computeBoxingType(lhsType); in resolveType()
152 if (TypeBinding.notEquals(unboxedType, lhsType)) { in resolveType()
153 lhsType = unboxedType; in resolveType()
157 if (!expressionType.isBaseType() && lhsType.id != T_JavaLangString && lhsType.id != T_null) { in resolveType()
162 if (restrainUsageToNumericTypes() && !lhsType.isNumericType()) { in resolveType()
166 int lhsID = lhsType.id; in resolveType()
170 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
184 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
190 scope.problemReporter().invalidOperator(this, lhsType, expressionType); in resolveType()
[all …]
H A DReferenceExpression.java567 TypeBinding lhsType; in resolveType() local
575 lhsType = this.lhs.resolveType(scope); in resolveType()
576 this.lhs.computeConversion(scope, lhsType, lhsType); in resolveType()
590 if (this.typeArgumentsHaveErrors || lhsType == null) in resolveType()
597 if (this.typeArgumentsHaveErrors || lhsType == null) in resolveType()
601 lhsType = lhsType.closestMatch(); // improve resolving experience in resolveType()
602 if (lhsType == null || !lhsType.isValidBinding()) in resolveType()
605 this.receiverType = lhsType; in resolveType()
664 lhsType = this.lhs.resolvedType; in resolveType()
665 if (this.typeArgumentsHaveErrors || lhsType == null) in resolveType()
[all …]
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/
H A DCompoundAssignment.java100 TypeBinding lhsType = lhs.resolveType(scope); in resolveType() local
102 if (lhsType == null || expressionType == null) in resolveType()
105 int lhsId = lhsType.id; in resolveType()
109 lhsType, expressionType); in resolveType()
115 scope.problemReporter().invalidOperator(this, lhsType, in resolveType()
132 scope.problemReporter().invalidOperator(this, lhsType, in resolveType()
137 if (scope.isJavaLangObject(lhsType)) { in resolveType()
139 scope.problemReporter().invalidOperator(this, lhsType, in resolveType()
142 } else if ((lhsType.isNumericType() || lhsId == T_boolean) in resolveType()
145 scope.problemReporter().invalidOperator(this, lhsType, in resolveType()
[all …]
/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()
305 if ( lhsType == null ) in isJavaBaseAssignable()
311 return lhsType == String.class; in isJavaBaseAssignable()
314 if ( lhsType == rhsType ) in isJavaBaseAssignable()
332 Class lhsType, Class rhsType ) in isJavaBoxTypesAssignable() argument
335 if ( lhsType == null ) in isJavaBoxTypesAssignable()
339 if ( lhsType == Object.class ) in isJavaBoxTypesAssignable()
345 return !lhsType.isPrimitive() && !lhsType.isArray(); in isJavaBoxTypesAssignable()
348 if ( lhsType == Number.class in isJavaBoxTypesAssignable()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/
H A Dtypedefparam.cxx172 auto lhsType = lhs.getTypePtr(); in areTypesEqual() local
176 if (auto lhsPointer = dyn_cast<clang::PointerType>(lhsType)) in areTypesEqual()
207 if (auto lhsElaborated = dyn_cast<ElaboratedType>(lhsType)) in areTypesEqual()
224 if (auto lhsLValue = dyn_cast<LValueReferenceType>(lhsType)) in areTypesEqual()
245 if (auto lhsTypedef = dyn_cast<TypedefType>(lhsType)) in areTypesEqual()
286 if (auto lhsMember = dyn_cast<MemberPointerType>(lhsType)) in areTypesEqual()
295 if (auto lhsParen = dyn_cast<ParenType>(lhsType)) in areTypesEqual()
302 if (dyn_cast<FunctionProtoType>(lhsType)) in areTypesEqual()
309 if (auto lhsDecayed = dyn_cast<DecayedType>(lhsType)) in areTypesEqual()
316 if (auto lhsAttr = dyn_cast<AttributedType>(lhsType)) in areTypesEqual()
[all …]
H A Dconvertlong.cxx87 auto lhsType = varDecl->getType(); in VisitVarDecl() local
89 if (lhsType.getLocalUnqualifiedType() == rhsType) in VisitVarDecl()
95 if (!isInterestingType(lhsType)) in VisitVarDecl()
101 << lhsType << rhsType << varDecl->getSourceRange(); in VisitVarDecl()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/
H A Dtypedefparam.cxx172 auto lhsType = lhs.getTypePtr(); in areTypesEqual() local
176 if (auto lhsPointer = dyn_cast<clang::PointerType>(lhsType)) in areTypesEqual()
207 if (auto lhsElaborated = dyn_cast<ElaboratedType>(lhsType)) in areTypesEqual()
224 if (auto lhsLValue = dyn_cast<LValueReferenceType>(lhsType)) in areTypesEqual()
245 if (auto lhsTypedef = dyn_cast<TypedefType>(lhsType)) in areTypesEqual()
286 if (auto lhsMember = dyn_cast<MemberPointerType>(lhsType)) in areTypesEqual()
295 if (auto lhsParen = dyn_cast<ParenType>(lhsType)) in areTypesEqual()
302 if (dyn_cast<FunctionProtoType>(lhsType)) in areTypesEqual()
309 if (auto lhsDecayed = dyn_cast<DecayedType>(lhsType)) in areTypesEqual()
316 if (auto lhsAttr = dyn_cast<AttributedType>(lhsType)) in areTypesEqual()
[all …]
H A Dconvertlong.cxx87 auto lhsType = varDecl->getType(); in VisitVarDecl() local
89 if (lhsType.getLocalUnqualifiedType() == rhsType) in VisitVarDecl()
95 if (!isInterestingType(lhsType)) in VisitVarDecl()
101 << lhsType << rhsType << varDecl->getSourceRange(); in VisitVarDecl()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/
H A DCompletionOnReferenceExpressionName.java36 TypeBinding lhsType; in resolveType() local
40 lhsType = this.lhs.resolveType(scope); in resolveType()
54 if (typeArgumentsHaveErrors || lhsType == null) in resolveType()
58 if (lhsType != null && lhsType.isValidBinding()) in resolveType()
59 throw new CompletionNodeFound(this, lhsType, scope); in resolveType()
/dports/math/cvc4/CVC4-1.7/src/theory/bv/
H A Dtheory_bv_type_rules.h109 TypeNode lhsType = n[0].getType(check); in computeType() local
110 if (!lhsType.isBitVector()) in computeType()
115 if (lhsType != rhsType) in computeType()
476 TypeNode lhsType = n[0].getType(check); in computeType() local
477 if (!lhsType.isBoolean()) in computeType()
493 TypeNode lhsType = n[0].getType(check); in computeType() local
496 if (!lhsType.isBitVector()) in computeType()
501 return lhsType; in computeType()
512 TypeNode lhsType = n[0].getType(check); in computeType() local
515 if (!lhsType.isBitVector()) in computeType()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Dialect/FxpMathOps/Transforms/
H A DUniformKernelUtils.h56 lhsType(getUniformElementType(lhs.getType())), in UniformBinaryOpInfo()
67 return lhsType && rhsType && resultType && lhsStorageType && in isValid()
76 return lhsType.getStorageType() == rhsType.getStorageType() && in isSameStorageType()
77 lhsType.getStorageType() == resultType.getStorageType(); in isSameStorageType()
84 if (!lhsType.isFixedPoint() || !rhsType.isFixedPoint() || in isFixedPointPOT()
89 if (!integralLog2(lhsType.getScale(), lhsLog2Scale) || in isFixedPointPOT()
128 quant::UniformQuantizedType lhsType; member
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DBinaryNode.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… 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.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… 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.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… 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.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… 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.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… in decideType()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/ir/
H A DBinaryNode.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… in decideType()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/nashorn/src/jdk/nashorn/internal/ir/
H A DBinaryNode.java188 final Type lhsType = lhs.getType(); in getWidestOperationType() local
190 if(lhsType == Type.BOOLEAN && rhsType == Type.BOOLEAN) { in getWidestOperationType()
195 } else if(isString(lhsType) || isString(rhsType)) { in getWidestOperationType()
200 …final Type widestOperandType = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNu… in getWidestOperationType()
237 final Type lhsType = lhs.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 …final Type widest = Type.widest(undefinedToNumber(booleanToInt(lhsType)), undefinedToNumber(boolea… in decideType()

12345678910>>...12