Home
last modified time | relevance | path

Searched refs:isInteger (Results 1 – 25 of 70) sorted by relevance

123

/external/v8/test/mjsunit/
Dnumber-is.js68 assertFalse(Number.isInteger({}));
69 assertFalse(Number.isInteger([]));
70 assertFalse(Number.isInteger("s"));
71 assertFalse(Number.isInteger(null));
72 assertFalse(Number.isInteger(undefined));
73 assertFalse(Number.isInteger(new Number(2)));
74 assertTrue(Number.isInteger(0));
75 assertFalse(Number.isInteger(Number.MIN_VALUE));
76 assertTrue(Number.isInteger(Number.MAX_VALUE));
77 assertTrue(Number.isInteger(Number.MIN_SAFE_INTEGER));
[all …]
/external/llvm/include/llvm/CodeGen/
DValueTypes.h123 bool isInteger() const { in isInteger() function
124 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
277 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
289 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
DISDOpcodes.h901 CondCode getSetCCInverse(CondCode Operation, bool isInteger);
911 CondCode getSetCCOrOperation(CondCode Op1, CondCode Op2, bool isInteger);
917 CondCode getSetCCAndOperation(CondCode Op1, CondCode Op2, bool isInteger);
/external/opencv3/modules/core/misc/java/test/
DCvTypeTest.java49 assertFalse(CvType.isInteger(CvType.CV_32FC3)); in testIsInteger()
50 assertTrue(CvType.isInteger(CvType.CV_16S)); in testIsInteger()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java555 Predicate<Object> isInteger = Predicates.instanceOf(Integer.class); in testIsInstanceOf_apply() local
557 assertTrue(isInteger.apply(1)); in testIsInstanceOf_apply()
558 assertFalse(isInteger.apply(2.0f)); in testIsInstanceOf_apply()
559 assertFalse(isInteger.apply("")); in testIsInstanceOf_apply()
560 assertFalse(isInteger.apply(null)); in testIsInstanceOf_apply()
601 Predicate<Class<?>> isInteger = Predicates.assignableFrom(Integer.class); in testIsAssignableFrom_apply() local
603 assertTrue(isInteger.apply(Integer.class)); in testIsAssignableFrom_apply()
604 assertFalse(isInteger.apply(Float.class)); in testIsAssignableFrom_apply()
607 isInteger.apply(null); in testIsAssignableFrom_apply()
/external/clang/docs/
DLibASTMatchersTutorial.rst217 variable(hasType(isInteger())).bind("intvar")
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
379 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
405 hasRHS(expr(hasType(isInteger())))))
442 to(varDecl(hasType(isInteger())))))),
443 hasRHS(expr(hasType(isInteger())))))
486 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
490 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
491 hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp259 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { in getSetCCInverse() argument
261 if (isInteger) in getSetCCInverse()
297 bool isInteger) { in getSetCCOrOperation() argument
298 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
310 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
321 bool isInteger) { in getSetCCAndOperation() argument
322 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
330 if (isInteger) { in getSetCCAndOperation()
707 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode()
712 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifySDNode()
[all …]
DLegalizeTypesGeneric.cpp106 if (InVT.isVector() && OutVT.isInteger()) { in ExpandRes_BITCAST()
328 assert(Op.getValueType().isInteger()); in IntegerToVector()
DDAGCombiner.cpp475 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
1039 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
1097 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
1141 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
1170 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1738 VT.isInteger() && !VT.isVector() && DAG.haveNoCommonBitsSet(N0, N1)) in visitADD()
2780 if (In0Ty.isInteger() && In1Ty.isInteger() && In0Ty == In1Ty) { in SimplifyBinOpWithSameOpcodeHands()
2879 LL.getValueType().isInteger()) { in visitANDLike()
2906 Op0 == Op1 && LL.getValueType().isInteger() && in visitANDLike()
2924 bool isInteger = LL.getValueType().isInteger(); in visitANDLike() local
[all …]
DLegalizeDAG.cpp403 assert(ST->getMemoryVT().isInteger() && in ExpandUnalignedStore()
533 assert(LoadedVT.isInteger() && !LoadedVT.isVector() && in ExpandUnalignedLoad()
649 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
1867 if (!OpVT.isInteger()) { in LegalizeSetCCCondCode()
2742 assert(NewInTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalINT_TO_FP()
2784 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT()
2899 assert(VT.isInteger() && Len <= 128 && Len % 8 == 0 && in ExpandBitCount()
3095 if (VT.isInteger()) in ExpandNode()
3835 Tmp1.getValueType().isInteger()); in ExpandNode()
4286 assert(OVT.isInteger() in PromoteNode()
[all …]
DTargetLowering.cpp1545 N0.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
1875 if (N0.getValueType().isInteger()) { in SimplifySetCC()
1892 N0.getValueType().isInteger()) { in SimplifySetCC()
2178 if (ConstraintVT.isInteger()) in LowerXConstraint()
2436 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2437 Input.ConstraintVT.isInteger()) || in ParseConstraints()
2489 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2490 Input.ConstraintVT.isInteger()) || in ParseConstraints()
/external/opencv3/modules/core/misc/java/src/java/
Dcore+CvType.java74 public static final boolean isInteger(int type) { in isInteger() method in CvType
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1260 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1265 isInteger, parseAttr); in subformat()
1267 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1319 boolean isInteger, boolean parseAttr) { in subformat() argument
1324 isInteger, parseAttr); in subformat()
1326 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1331 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1357 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1365 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1395 subformatFixed(result, fieldPosition, isInteger, parseAttr); in subformat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1272 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1277 isInteger, parseAttr); in subformat()
1279 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1331 boolean isInteger, boolean parseAttr) { in subformat() argument
1336 isInteger, parseAttr); in subformat()
1338 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1343 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1369 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1377 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1407 subformatFixed(result, fieldPosition, isInteger, parseAttr); in subformat()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcher.cpp371 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
374 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp814 stmt(hasDescendant(isInteger())))); in TEST()
819 varDecl(hasDescendant(isInteger())).bind("x"))), in TEST()
840 varDecl(hasName("i"), has(isInteger())))); in TEST()
842 varDecl(hasName("i"), has(isInteger())))); in TEST()
845 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))), in TEST()
1458 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isInteger())))); in TEST()
1462 to(varDecl(hasType(isInteger())))))))); in TEST()
1466 EXPECT_TRUE(notMatches("int *i;", varDecl(hasType(isInteger())))); in TEST()
1469 to(varDecl(hasType(isInteger())))))))); in TEST()
2417 hasLHS(hasType(isInteger())), hasRHS(hasType(pointsTo(qualType())))); in TEST()
[all …]
/external/clang/utils/TableGen/
DNeonEmitter.cpp169 bool isInteger() const { return !Float && !Poly; } in isInteger() function in __anonb7c1857d0111::Type
557 if (!Signed && isInteger()) in str()
590 else if (isInteger()) in builtin_str()
610 else if (isInteger() && !Pointer && !Signed) in builtin_str()
615 assert(isInteger() && isSigned()); in builtin_str()
657 if (isInteger() && !Signed) in getNeonEnum()
963 else if (T.isInteger()) in getInstTypeCode()
/external/llvm/include/llvm/Target/
DTargetLowering.h705 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
711 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
775 if (VT.isInteger()) { in getRegisterType()
801 if (VT.isInteger()) { in getNumRegisters()
/external/llvm/lib/CodeGen/
DCallingConvLower.cpp186 if (!VT.isInteger()) in isValueTypeInRegForCC()
DTargetLoweringBase.cpp871 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
924 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
953 if (EltVT.isInteger()) { in getTypeConversion()
1291 && SVT.getScalarType().isInteger()) { in computeRegisterProperties()
1475 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp625 if (imm0.isInteger(0)) { in opnd()
631 if (imm0.isInteger(1) || imm0.isInteger(-1)) { in opnd()
644 if (imm0.isInteger(2) || imm0.isInteger(-2)) { in opnd()
661 if (imm0.isInteger(0)) { in opnd()
1029 if (!imm.isInteger(0)) in tryADDToMADOrSAD()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp214 if (SrcTy.isInteger() && ST->hasNEON()) { in getCastInstrCost()
233 if (SrcTy.isInteger()) { in getCastInstrCost()
/external/llvm/include/llvm/ADT/
DAPFloat.h453 bool isInteger() const;
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp176 if (!ExtendedGVType.isInteger() && !ExtendedGVType.isFloatingPoint()) { in getOrInsertCVTA()
/external/llvm/lib/CodeGen/AsmPrinter/
DDIEHash.cpp302 case DIEValue::isInteger: { in hashAttribute()

123