/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_model_typesystem_LazyType.txt | 2 …Line 25) getType().isArray() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isArray() 3 Line 25) getType() ==> com.github.javaparser.symbolsolver.model.typesystem.LazyType.getType() 4 …Line 30) getType().arrayLevel() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.array… 5 Line 30) getType() ==> com.github.javaparser.symbolsolver.model.typesystem.LazyType.getType() 6 …Line 35) getType().isPrimitive() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isPr… 7 Line 35) getType() ==> com.github.javaparser.symbolsolver.model.typesystem.LazyType.getType() 8 Line 40) getType().isNull() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isNull() 9 Line 40) getType() ==> com.github.javaparser.symbolsolver.model.typesystem.LazyType.getType() 10 …Line 45) getType().isReference() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isRe… 11 Line 45) getType() ==> com.github.javaparser.symbolsolver.model.typesystem.LazyType.getType() [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserSymbolDeclaration.txt | 13 …de.get(typeSolver).getType(getParentNode(wrappedNode)) ==> com.github.javaparser.symbolsolver.java… 18 Line 136) parameter.getType() ==> com.github.javaparser.ast.body.Parameter.getType() 19 …e.byName(((com.github.javaparser.ast.type.PrimitiveType) parameter.getType()).getType().name()) ==… 20 …Line 137) ((com.github.javaparser.ast.type.PrimitiveType) parameter.getType()).getType().name() ==… 21 …ser.ast.type.PrimitiveType) parameter.getType()).getType() ==> com.github.javaparser.ast.type.Prim… 22 Line 137) parameter.getType() ==> com.github.javaparser.ast.body.Parameter.getType() 23 …Line 139) JavaParserFacade.get(typeSolver).convertToUsage(parameter.getType(), wrappedNode) ==> co… 25 Line 139) parameter.getType() ==> com.github.javaparser.ast.body.Parameter.getType() 28 …Line 150) JavaParserFacade.get(typeSolver).convert(variableDeclarator.getType(), JavaParserFactory… 30 …Line 150) variableDeclarator.getType() ==> com.github.javaparser.ast.body.VariableDeclarator.getTy… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 154 assert(getMRI()->getType(Res).isPointer() && "invalid operand type"); in buildFrameIndex() 162 assert(getMRI()->getType(Res).isPointer() && "invalid operand type"); in buildGlobalValue() 163 assert(getMRI()->getType(Res).getAddressSpace() == in buildGlobalValue() 164 GV->getType()->getAddressSpace() && in buildGlobalValue() 174 assert((getMRI()->getType(Res).isScalar() || in validateBinaryOp() 175 getMRI()->getType(Res).isVector()) && in validateBinaryOp() 177 assert(getMRI()->getType(Res) == getMRI()->getType(Op0) && in validateBinaryOp() 178 getMRI()->getType(Res) == getMRI()->getType(Op1) && "type mismatch"); in validateBinaryOp() 183 assert(getMRI()->getType(Res).isPointer() && in buildGEP() 184 getMRI()->getType(Res) == getMRI()->getType(Op0) && "type mismatch"); in buildGEP() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/ |
D | LazyType.java | 16 private Type getType() { in getType() method in LazyType 25 return getType().isArray(); in isArray() 30 return getType().arrayLevel(); in arrayLevel() 35 return getType().isPrimitive(); in isPrimitive() 40 return getType().isNull(); in isNull() 45 return getType().isReference(); in isReference() 50 return getType().isReferenceType(); in isReferenceType() 55 return getType().isVoid(); in isVoid() 60 return getType().isTypeVariable(); in isTypeVariable() 65 return getType().isArray(); in isWildcard() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | LazyType.java | 17 private ResolvedType getType() { in getType() method in LazyType 26 return getType().isArray(); in isArray() 31 return getType().arrayLevel(); in arrayLevel() 36 return getType().isPrimitive(); in isPrimitive() 41 return getType().isNull(); in isNull() 46 return getType().isReference(); in isReference() 51 return getType().isReferenceType(); in isReferenceType() 56 return getType().isVoid(); in isVoid() 61 return getType().isTypeVariable(); in isTypeVariable() 66 return getType().isWildcard(); in isWildcard() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 33 return ConstantInt::get(Val->getType(), 0); in decomposeSimpleLinearExpr() 83 PointerType *PTy = cast<PointerType>(CI.getType()); in PromoteCastOfAllocation() 129 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 135 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation() 151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() 196 if (I->getOperand(0)->getType() == Ty) in EvaluateInDifferentType() 238 Type *SrcTy = CI->getOperand(0)->getType(); // A from above in isEliminableCastPair() 239 Type *MidTy = CI->getType(); // B from above in isEliminableCastPair() 270 if (V->getType() == Ty || isa<Constant>(V)) return false; in ShouldOptimizeCast() 295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) { in commonCastTransforms() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 34 ParamTys.push_back(I->getType()); in EnsureFunctionExists() 42 switch((int)Fn.arg_begin()->getType()->getTypeID()) { in EnsureFPIntrinsicsExist() 55 Fn.arg_begin()->getType()); in EnsureFPIntrinsicsExist() 74 ParamTys.push_back((*I)->getType()); in ReplaceCallWith() 166 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!"); in LowerBSWAP() 168 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() 175 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 177 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 183 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 185 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/ |
D | DexAnnotator.java | 93 switch (mapItem.getType()) { in DexAnnotator() 95 annotators.put(mapItem.getType(), HeaderItem.makeAnnotator(this, mapItem)); in DexAnnotator() 98 annotators.put(mapItem.getType(), StringIdItem.makeAnnotator(this, mapItem)); in DexAnnotator() 101 annotators.put(mapItem.getType(), TypeIdItem.makeAnnotator(this, mapItem)); in DexAnnotator() 104 annotators.put(mapItem.getType(), ProtoIdItem.makeAnnotator(this, mapItem)); in DexAnnotator() 107 annotators.put(mapItem.getType(), FieldIdItem.makeAnnotator(this, mapItem)); in DexAnnotator() 110 annotators.put(mapItem.getType(), MethodIdItem.makeAnnotator(this, mapItem)); in DexAnnotator() 113 annotators.put(mapItem.getType(), ClassDefItem.makeAnnotator(this, mapItem)); in DexAnnotator() 116 annotators.put(mapItem.getType(), MapItem.makeAnnotator(this, mapItem)); in DexAnnotator() 119 annotators.put(mapItem.getType(), TypeListItem.makeAnnotator(this, mapItem)); in DexAnnotator() [all …]
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.cc | 24 CHECK(getType().isSignedIntegerTy()); in getSIntValue() 29 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); in getSIntValue() 32 if (getType().getIntegerBitWidth() == 64) in getSIntValue() 35 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 38 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 45 CHECK(getType().isUnsignedIntegerTy()); in getUIntValue() 48 if (getType().getIntegerBitWidth() == 64) in getUIntValue() 51 if (getType().getIntegerBitWidth() == 128) in getUIntValue() 54 if (getType().getIntegerBitWidth() == 128) in getUIntValue() 61 if (getType().isUnsignedIntegerTy()) in getPositiveIntValue() [all …]
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactorDebugInfo.cpp | 355 auto alloca = new llvm::AllocaInst(value->getType(), 0, pending.name); in emitPending() 364 auto diType = getOrCreateType(value->getType()->getPointerElementType()); in emitPending() 405 …diTypes.emplace(T(Bool::getType()), diBuilder->createBasicType("Bool", sizeof(bool), dwarf::DW_ATE… in registerBasicTypes() 406 …diTypes.emplace(T(Byte::getType()), diBuilder->createBasicType("Byte", 8, dwarf::DW_ATE_unsigned_c… in registerBasicTypes() 407 …diTypes.emplace(T(SByte::getType()), diBuilder->createBasicType("SByte", 8, dwarf::DW_ATE_signed_c… in registerBasicTypes() 408 …diTypes.emplace(T(Short::getType()), diBuilder->createBasicType("Short", 16, dwarf::DW_ATE_signed)… in registerBasicTypes() 409 …diTypes.emplace(T(UShort::getType()), diBuilder->createBasicType("UShort", 16, dwarf::DW_ATE_unsig… in registerBasicTypes() 410 diTypes.emplace(T(Int::getType()), diBuilder->createBasicType("Int", 32, dwarf::DW_ATE_signed)); in registerBasicTypes() 411 …diTypes.emplace(T(UInt::getType()), diBuilder->createBasicType("UInt", 32, dwarf::DW_ATE_unsigned)… in registerBasicTypes() 412 diTypes.emplace(T(Long::getType()), diBuilder->createBasicType("Long", 64, dwarf::DW_ATE_signed)); in registerBasicTypes() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/ |
D | ContentTypeDetectorTest.java | 42 assertEquals(ContentTypeDetector.UNKNOWN, detector.getType()); in testEmptyStream() 50 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile() 57 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile11() 64 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile12() 71 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile13() 78 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile14() 85 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile15() 92 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile16() 99 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile17() 106 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile18() [all …]
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 34 ParamTys.push_back(I->getType()); in EnsureFunctionExists() 42 switch((int)Fn.arg_begin()->getType()->getTypeID()) { in EnsureFPIntrinsicsExist() 55 Fn.arg_begin()->getType()); in EnsureFPIntrinsicsExist() 74 ParamTys.push_back((*I)->getType()); in ReplaceCallWith() 167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!"); in LowerBSWAP() 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 56 return new TypeToken<A[]>(getClass()) {}.getType(); in getArrayTypeA() 88 assertEquals(new TypeToken<String[]>() {}.getType(), foo.getArrayTypeA()); in testPartialSpecialization() 152 new TypeToken<List<String>>() {}.getType(), 153 TypeToken.of(IntegerStringFunction.class).resolveType(predicateParameterType).getType()); 191 final Type f = new TypeToken<F>(getClass()) {}.getType(); 192 final Type t = new TypeToken<T>(getClass()) {}.getType(); 195 return new TypeToken<F>(getClass()) {}.getType(); 199 return new TypeToken<T>(getClass()) {}.getType(); 232 fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType()); 238 assertEquals(String.class, TypeToken.of(this.getClass()).resolveType(String.class).getType()); [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 56 return new TypeToken<A[]>(getClass()) {}.getType(); in getArrayTypeA() 88 assertEquals(new TypeToken<String[]>() {}.getType(), foo.getArrayTypeA()); in testPartialSpecialization() 152 new TypeToken<List<String>>() {}.getType(), 153 TypeToken.of(IntegerStringFunction.class).resolveType(predicateParameterType).getType()); 191 final Type f = new TypeToken<F>(getClass()) {}.getType(); 192 final Type t = new TypeToken<T>(getClass()) {}.getType(); 195 return new TypeToken<F>(getClass()) {}.getType(); 199 return new TypeToken<T>(getClass()) {}.getType(); 232 fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType()); 238 assertEquals(String.class, TypeToken.of(this.getClass()).resolveType(String.class).getType()); [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/ |
D | hlo_ops.cc | 110 bool use_short_form = op.value().getType() == op.getType(); in Print() 124 *printer << " : " << op.getType(); in Print() 137 return parser->addTypeToList(value.getType(), result->types); in ParseConstOp() 158 type = elemAttr.getType(); in build() 164 type = RankedTensorType::get(/*shape=*/{}, value.getType()); in build() 179 const auto output_type = getResult().getType().cast<ShapedType>(); in fold() 208 auto shaped_type = operand.getType().cast<ShapedType>(); in build() 211 new_type = operand.getType(); in build() 213 new_type = RankedTensorType::get(shaped_type.getShape(), operand.getType()); in build() 215 new_type = UnrankedTensorType::get(operand.getType()); in build() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 127 if (E->getDecl()->getType()->isReferenceType()) { in VisitDeclRefExpr() 130 EmitFinalDestCopy(E->getType(), result.getReferenceLValue(CGF, E)); in VisitDeclRefExpr() 190 return EmitFinalDestCopy(E->getType(), LV); in VisitPseudoObjectExpr() 193 CGF.EmitPseudoObjectRValue(E, EnsureSlot(E->getType())); in VisitPseudoObjectExpr() 204 EmitFinalDestCopy(E->getType(), Res); in VisitAtomicExpr() 220 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) { in EmitAggLoadOfLValue() 225 EmitFinalDestCopy(E->getType(), LV); in EmitAggLoadOfLValue() 265 EmitFinalDestCopy(E->getType(), src); in EmitMoveFromReturnSlot() 325 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr() 329 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); in VisitCXXStdInitializerListExpr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 36 return ConstantInt::get(Val->getType(), 0); in decomposeSimpleLinearExpr() 86 PointerType *PTy = cast<PointerType>(CI.getType()); in PromoteCastOfAllocation() 132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 138 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation() 154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() 199 if (I->getOperand(0)->getType() == Ty) in EvaluateInDifferentType() 269 auto *Ty = CI.getType(); in commonCastTransforms() 284 if (!Cmp || Cmp->getOperand(0)->getType() != Sel->getType()) in commonCastTransforms() 295 if (!Src->getType()->isIntegerTy() || !CI.getType()->isIntegerTy() || in commonCastTransforms() 296 shouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
D | OpDescriptor.h | 98 return V->getType() == Only; in onlyType() 108 return !V->getType()->isVoidTy(); in anyType() 116 return V->getType()->isIntegerTy(); in anyIntType() 124 return V->getType()->isFloatingPointTy(); in anyFloatType() 132 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType() 149 if (const auto *PtrT = dyn_cast<PointerType>(V->getType())) in sizedPtrType() 168 if (isa<ArrayType>(V->getType())) in anyAggregateType() 169 return V->getType()->getArrayNumElements() > 0; in anyAggregateType() 172 if (isa<StructType>(V->getType())) in anyAggregateType() 173 return V->getType()->getStructNumElements() > 0; in anyAggregateType() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 56 if (getType()->isFPOrFPVectorTy()) in isNegativeZeroValue() 208 if (!getType()->isVectorTy()) in isFiniteNonZeroFP() 210 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isFiniteNonZeroFP() 221 if (!getType()->isVectorTy()) in isNormalFP() 223 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isNormalFP() 234 if (!getType()->isVectorTy()) in hasExactInverseFP() 236 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in hasExactInverseFP() 247 if (!getType()->isVectorTy()) in isNaN() 249 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isNaN() 258 if (!getType()->isVectorTy()) in containsUndefElement() [all …]
|
/external/deqp/framework/randomshaders/ |
D | rsgVariableValue.cpp | 35 DE_ASSERT(a.getType() == b.getType()); in compareValueRangesAllTrue() 37 if (a.getType().isStruct()) in compareValueRangesAllTrue() 39 int numMembers = (int)a.getType().getMembers().size(); in compareValueRangesAllTrue() 46 else if (a.getType().isArray()) in compareValueRangesAllTrue() 48 int numElements = (int)a.getType().getNumElements(); in compareValueRangesAllTrue() 57 int numElements = (int)a.getType().getNumElements(); in compareValueRangesAllTrue() 58 switch (a.getType().getBaseType()) in compareValueRangesAllTrue() 184 : m_type (other.getType()) in ValueRange() 185 , m_min (other.getType().getScalarSize()) in ValueRange() 186 , m_max (other.getType().getScalarSize()) in ValueRange() [all …]
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 100 resolver.getReturnType(List.class.getMethod("subList", int.class, int.class)).getType()); in testDirectInheritance() 110 resolver.getSupertype(Collection.class).getType()); in testGenericSupertype() 113 resolver.getSupertype(Iterable.class).getType()); in testGenericSupertype() 116 resolver.getSupertype(AbstractList.class).getType()); in testGenericSupertype() 117 assertEquals(Object.class, resolver.getSupertype(Object.class).getType()); in testGenericSupertype() 122 assertEquals(MyInteger.class, resolver.getParameterTypes(comparableCompareTo).get(0).getType()); in testRecursiveTypeVariable() 138 assertEquals(listOf(Short.class), resolver.getFieldType(list).getType()); in testFields() 139 assertEquals(Short.class, resolver.getFieldType(instance).getType()); in testFields() 150 Short.class, resolver.getParameterTypes(newHasGenericConstructor).get(0).getType()); in testGenericConstructor() 160 assertEquals(NullPointerException.class, type.getExceptionTypes(newThrower).get(0).getType()); in testThrowsExceptions() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/ |
D | BaseTypeReference.java | 41 return getType().hashCode(); in hashCode() 48 return getType().equals(((TypeReference)o).getType()); in equals() 51 return getType().equals(o.toString()); in equals() 59 return getType().compareTo(o.toString()); in compareTo() 62 @Override public int length() { return getType().length(); } in length() 63 @Override public char charAt(int index) { return getType().charAt(index); } in charAt() 64 …@Override public CharSequence subSequence(int start, int end) { return getType().subSequence(start… in subSequence() 65 @Override @Nonnull public String toString() { return getType(); } in toString()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 61 if (getType()->isFPOrFPVectorTy()) in isNegativeZeroValue() 282 assert(isa<IntegerType>(Elt->getType()) && "Index must be an integer"); in getAggregateElement() 330 assert(C->getType()->isFirstClassType() && "Cannot evaluate aggregate vals!"); in canTrapImpl() 556 assert(Slot->getType() == IntegerType::get(Context, V.getBitWidth())); in get() 584 assert(C->getType() == Ty->getScalarType() && in get() 745 return Constant::getNullValue(getType()->getSequentialElementType()); in getSequentialElement() 749 return Constant::getNullValue(getType()->getStructElementType(Elt)); in getStructElement() 753 if (isa<SequentialType>(getType())) in getElementValue() 759 if (isa<SequentialType>(getType())) in getElementValue() 765 Type *Ty = getType(); in getNumElements() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ExprResolutionTest.java | 69 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsDoubleAndByte() 86 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsByteAndDouble() 103 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsDoubleAndChar() 120 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsCharAndDouble() 137 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsDoubleAndInt() 154 assertEquals(DOUBLE, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsIntAndDouble() 171 assertEquals(FLOAT, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsfloatAndByte() 188 assertEquals(FLOAT, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsByteAndfloat() 205 assertEquals(FLOAT, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsfloatAndChar() 222 assertEquals(FLOAT, JavaParserFacade.get(ts).getType(bExprs.get(0))); in typeOfPlusExpressionsCharAndfloat() [all …]
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTreeNodeStream.java | 156 assertEquals(101, ((Tree)stream.LT(1)).getType()); in testLT() 157 assertEquals(Token.DOWN, ((Tree)stream.LT(2)).getType()); in testLT() 158 assertEquals(102, ((Tree)stream.LT(3)).getType()); in testLT() 159 assertEquals(Token.DOWN, ((Tree)stream.LT(4)).getType()); in testLT() 160 assertEquals(103, ((Tree)stream.LT(5)).getType()); in testLT() 161 assertEquals(Token.UP, ((Tree)stream.LT(6)).getType()); in testLT() 162 assertEquals(104, ((Tree)stream.LT(7)).getType()); in testLT() 163 assertEquals(Token.UP, ((Tree)stream.LT(8)).getType()); in testLT() 164 assertEquals(Token.EOF, ((Tree)stream.LT(9)).getType()); in testLT() 166 assertEquals(Token.EOF, ((Tree)stream.LT(100)).getType()); in testLT() [all …]
|