/external/jsr305/ri/src/main/java/javax/annotation/ |
D | Nonnegative.java | 23 boolean isNegative; in forConstantValue() 26 isNegative = value.longValue() < 0; in forConstantValue() 28 isNegative = value.doubleValue() < 0; in forConstantValue() 30 isNegative = value.floatValue() < 0; in forConstantValue() 32 isNegative = value.intValue() < 0; in forConstantValue() 34 if (isNegative) in forConstantValue()
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 620 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 626 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 638 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 648 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 660 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 670 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 683 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 693 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 707 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 717 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 295 bool isNegative() const { in isNegative() function 302 return !isNegative(); in isNonNegative() 331 !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 345 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2(); in isMinSignedValue() 767 if (isNegative()) in sdiv() 768 if (RHS.isNegative()) in sdiv() 772 else if (RHS.isNegative()) in sdiv() 789 if (isNegative()) in srem() 790 if (RHS.isNegative()) in srem() 794 else if (RHS.isNegative()) in srem() [all …]
|
D | APFloat.h | 325 bool isNegative() const { return sign; } in isNegative() function 326 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 327 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
|
/external/icu/icu4c/source/i18n/ |
D | visibledigits.h | 40 UBool isNegative() const; 144 UBool isNegative() const { return fMantissa.isNegative(); } in isNegative() function
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 794 private boolean isNegative(double number) { in isNegative() method in DecimalFormat 809 boolean isNegative = isNegative(number); in round() 810 if (isNegative) in round() 819 isNegative); in round() 870 boolean isNegative = isNegative(number); in format() 874 int prefixLen = appendAffix(result, isNegative, true, fieldPosition, parseAttr); in format() 894 int suffixLen = appendAffix(result, isNegative, false, fieldPosition, parseAttr); in format() 924 …number = DecimalFormat.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 933 return subformat(number, result, fieldPosition, isNegative, false, parseAttr); in format() 982 return isNegative(multiply(number)); in isNumberNegative() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 789 private boolean isNegative(double number) { in isNegative() method in DecimalFormat 804 boolean isNegative = isNegative(number); in round() 805 if (isNegative) in round() 814 isNegative); in round() 865 boolean isNegative = isNegative(number); in format() 869 int prefixLen = appendAffix(result, isNegative, true, fieldPosition, parseAttr); in format() 889 int suffixLen = appendAffix(result, isNegative, false, fieldPosition, parseAttr); in format() 919 …number = DecimalFormat.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 928 return subformat(number, result, fieldPosition, isNegative, false, parseAttr); in format() 977 return isNegative(multiply(number)); in isNumberNegative() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | APSIntType.cpp | 21 Value.isSigned() && Value.isNegative()) in testInRange() 45 if (Value.isSigned() && Value.isNegative()) in testInRange()
|
D | BasicValueFactory.cpp | 179 if (V2.isSigned() && V2.isNegative()) in evalAPSInt() 197 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
|
/external/owasp/sanitizer/distrib/lib/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
/external/owasp/sanitizer/lib/jsr305/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
/external/guice/lib/build/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
D | annotations.jar | META-INF/
META-INF/MANIFEST.MF
edu/
edu/umd/
edu/ ... |
/external/vogar/lib/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 385 if (!CLHS->getValue().isNegative()) { in ComputeMaskedBits() 444 if (Mask.isNegative() && !KnownZero.isNegative() && !KnownOne.isNegative()){ in ComputeMaskedBits() 449 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBits() 452 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in ComputeMaskedBits() 456 if (LHSKnownZero.isNegative() && KnownOne2.isNegative()) in ComputeMaskedBits() 459 else if (LHSKnownOne.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBits() 499 if (Mask.isNegative() && KnownZero.isNonNegative()) { in ComputeMaskedBits() 505 if (LHSKnownZero.isNegative()) in ComputeMaskedBits() 985 if (KnownZero.isNegative()) in ComputeNumSignBits() 1011 if (KnownZero.isNegative()) in ComputeNumSignBits() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 320 bool isNegative() const { return (*this)[BitWidth - 1]; } in isNegative() function 325 bool isNonNegative() const { return !isNegative(); } in isNonNegative() 355 return !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 369 return isNegative() && isPowerOf2(); in isMinSignedValue() 1066 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; in slt() 1134 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; in sgt() 1323 if (isNegative()) in getMinSignedBits() 1388 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits() 1582 if (isNegative()) in abs()
|
D | APFloat.h | 404 bool isNegative() const { return sign; } in isNegative() function 443 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 444 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 563 bool lhsNeg = isNegative(); in slt() 564 bool rhsNeg = RHS.isNegative(); in slt() 612 unsigned isNegative = *p == '-'; in getBitsNeeded() local 622 return slen + isNegative; in getBitsNeeded() 624 return slen * 3 + isNegative; in getBitsNeeded() 626 return slen * 4 + isNegative; in getBitsNeeded() 649 return isNegative + 1; in getBitsNeeded() 651 return isNegative + log + 1; in getBitsNeeded() 1078 if (isNegative()) in ashr() 1102 if (isNegative()) in ashr() [all …]
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 76 EXPECT_TRUE(!test.isNegative()); in TEST() 83 EXPECT_TRUE(!test.isNegative()); in TEST() 90 EXPECT_TRUE(test.isNegative()); in TEST() 97 EXPECT_TRUE(test.isInfinity() && test.isNegative()); in TEST() 104 EXPECT_TRUE(test.isInfinity() && !test.isNegative()); in TEST() 114 EXPECT_TRUE(!test.isInfinity() && !test.isNegative()); in TEST() 128 EXPECT_TRUE(test.isInfinity() && test.isNegative()); in TEST() 298 EXPECT_TRUE(test.isNegative()); in TEST() 307 EXPECT_TRUE(!test.isNegative()); in TEST() 316 EXPECT_TRUE(!test.isNegative()); in TEST() [all …]
|
/external/eigen/test/ |
D | cholesky.cpp | 374 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 381 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 388 VERIFY(ldlt.isNegative()); in cholesky_definiteness() 395 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 402 VERIFY(ldlt.isNegative()); in cholesky_definiteness() 472 VERIFY_RAISES_ASSERT(ldlt.isNegative()) in cholesky_verify_assert()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 244 if (!CLHS->getValue().isNegative()) { in computeKnownBitsAddSub() 300 if (!Known.isNegative()) { in computeKnownBitsAddSub() 304 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in computeKnownBitsAddSub() 308 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub() 330 bool isKnownNonNegativeOp1 = KnownZero.isNegative(); in computeKnownBitsMul() 331 bool isKnownNonNegativeOp0 = KnownZero2.isNegative(); in computeKnownBitsMul() 332 bool isKnownNegativeOp1 = KnownOne.isNegative(); in computeKnownBitsMul() 333 bool isKnownNegativeOp0 = KnownOne2.isNegative(); in computeKnownBitsMul() 368 if (isKnownNonNegative && !KnownOne.isNegative()) in computeKnownBitsMul() 370 else if (isKnownNegative && !KnownZero.isNegative()) in computeKnownBitsMul() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APInt.cpp | 572 bool lhsNeg = isNegative(); in slt() 573 bool rhsNeg = rhs.isNegative(); in slt() 635 unsigned isNegative = *p == '-'; in getBitsNeeded() local 645 return slen + isNegative; in getBitsNeeded() 647 return slen * 3 + isNegative; in getBitsNeeded() 649 return slen * 4 + isNegative; in getBitsNeeded() 672 return isNegative + 1; in getBitsNeeded() 674 return isNegative + log + 1; in getBitsNeeded() 1142 if (isNegative()) in ashr() 1166 if (isNegative()) in ashr() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 49 if (In2->isNegative()) in HasAddOverflow() 83 if (In2->isNegative()) in HasSubOverflow() 165 if (UnknownBits.isNegative()) { // Sign bit is unknown in ComputeSignedMinMaxValuesFromKnownBits() 829 } else if (DivRHS->isNegative()) { // Divisor is < 0. in FoldICmpDivCst() 1029 if (!XorCST->isNegative()) { in visitICmpInstWithInstAndIntCst() 1089 (!AndCST->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst() 2120 ((Op0KnownZero.isNegative() && Op1KnownZero.isNegative()) || in visitICmpInst() 2121 (Op0KnownOne.isNegative() && Op1KnownOne.isNegative()))) in visitICmpInst() 2712 if (RHS.isNegative()) in FoldFCmp_IntToFP_Cst() 2718 if (RHS.isNegative()) in FoldFCmp_IntToFP_Cst() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 54 if (In2->isNegative()) in HasAddOverflow() 88 if (In2->isNegative()) in HasSubOverflow() 202 if (UnknownBits.isNegative()) { // Sign bit is unknown in ComputeSignedMinMaxValuesFromKnownBits() 1269 } else if (DivRHS->isNegative()) { // Divisor is < 0. in FoldICmpDivCst() 1457 if (AP2.isNegative() != AP1.isNegative()) in FoldICmpCstShrCst() 1472 if (IsAShr && AP1.isNegative()) in FoldICmpCstShrCst() 1582 if (!XorCst->isNegative()) { in visitICmpInstWithInstAndIntCst() 1652 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst() 1705 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative())) in visitICmpInstWithInstAndIntCst() 1721 if (!ShiftedAndCst->isNegative() && !ShiftedRHSCst->isNegative()) in visitICmpInstWithInstAndIntCst() [all …]
|