/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/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 359 if (isNegative()) d = d.negate(); 361 if (isNegative()) d = d.negate(); 373 if (isNegative()) fallback = fallback.negate(); 375 if (isNegative()) fallback = fallback.negate(); 393 if (isNegative()) temp = temp.negate(); 395 if (isNegative()) temp = temp.negate(); 427 setNegative(!isNegative()); 452 setNegative(!isNegative()); 507 public boolean isNegative() { 513 return isNegative() ? -1 : isZero() ? 0 : 1; [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 362 if (isNegative()) d = d.negate(); 364 if (isNegative()) d = d.negate(); 376 if (isNegative()) fallback = fallback.negate(); 378 if (isNegative()) fallback = fallback.negate(); 396 if (isNegative()) temp = temp.negate(); 398 if (isNegative()) temp = temp.negate(); 430 setNegative(!isNegative()); 455 setNegative(!isNegative()); 510 public boolean isNegative() { 516 return isNegative() ? -1 : isZero() ? 0 : 1; [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 655 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 661 ASSERT_EQUAL(TRUE, fd.isNegative()); in TestFixedDecimal() 673 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 683 ASSERT_EQUAL(TRUE, fd.isNegative()); in TestFixedDecimal() 695 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 705 ASSERT_EQUAL(TRUE, fd.isNegative()); in TestFixedDecimal() 718 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 728 ASSERT_EQUAL(TRUE, fd.isNegative()); in TestFixedDecimal() 742 ASSERT_EQUAL(FALSE, fd.isNegative()); in TestFixedDecimal() 752 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 …]
|
/external/icu/icu4c/source/i18n/ |
D | number_roundingutils.h | 45 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, in getRoundingDirection() argument 58 return isNegative; in getRoundingDirection() 62 return !isNegative; in getRoundingDirection()
|
D | number_decimalquantity.cpp | 249 return static_cast<double>(isNegative() ? -toLong(true) : toLong(true)); in getPluralOperand() 303 bool DecimalQuantity::isNegative() const { in isNegative() function in DecimalQuantity 308 return isNegative() ? -1 : isZero() ? 0 : 1; in signum() 490 if (decnum.isNegative()) { in _setToDecNum() 511 if (isNegative()) { in toLong() 562 return isNegative(); in fitsInLong() 573 return isNegative() ? -INFINITY : INFINITY; in toDouble() 598 output.setTo(ubcd.getAlias(), precision, scale, isNegative(), status); in toDecNum() 712 isNegative(), in roundToMagnitude() 786 if (isNegative()) { in toPlainString() [all …]
|
D | number_decnum.h | 46 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status); 54 bool isNegative() const;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 247 return isNegative() ? -toLong(true) : toLong(true); in getPluralOperand() 309 public boolean isNegative() { in isNegative() method in DecimalQuantity_AbstractBCD 315 return isNegative() ? -1 : isZero() ? 0 : 1; in signum() 593 if (isNegative()) { in toLong() 654 return isNegative(); in fitsInLong() 672 return isNegative() ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY; in toDouble() 710 if (isNegative()) { in toDouble() 861 isNegative(), in roundToMagnitude() 958 if (isNegative()) { in toPlainString() 980 if (isNegative()) { in toScientificString()
|
D | RoundingUtils.java | 58 boolean isNegative, in getRoundingDirection() argument 73 return isNegative; in getRoundingDirection() 77 return !isNegative; in getRoundingDirection()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 245 return isNegative() ? -toLong(true) : toLong(true); in getPluralOperand() 307 public boolean isNegative() { in isNegative() method in DecimalQuantity_AbstractBCD 313 return isNegative() ? -1 : isZero() ? 0 : 1; in signum() 591 if (isNegative()) { in toLong() 652 return isNegative(); in fitsInLong() 670 return isNegative() ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY; in toDouble() 708 if (isNegative()) { in toDouble() 859 isNegative(), in roundToMagnitude() 956 if (isNegative()) { in toPlainString() 978 if (isNegative()) { in toScientificString()
|
D | RoundingUtils.java | 56 boolean isNegative, in getRoundingDirection() argument 71 return isNegative; in getRoundingDirection() 75 return !isNegative; in getRoundingDirection()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 804 private boolean isNegative(double number) { in isNegative() method in DecimalFormat_ICU58_Android 819 boolean isNegative = isNegative(number); in round() 820 if (isNegative) in round() 829 isNegative); in round() 880 boolean isNegative = isNegative(number); in format() 884 int prefixLen = appendAffix(result, isNegative, true, fieldPosition, parseAttr); in format() 904 int suffixLen = appendAffix(result, isNegative, false, fieldPosition, parseAttr); in format() 934 …alFormat_ICU58_Android.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 943 return subformat(number, result, fieldPosition, isNegative, false, parseAttr); in format() 992 return isNegative(multiply(number)); in isNumberNegative() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 807 private boolean isNegative(double number) { in isNegative() method in DecimalFormat_ICU58_Android 822 boolean isNegative = isNegative(number); in round() 823 if (isNegative) in round() 832 isNegative); in round() 883 boolean isNegative = isNegative(number); in format() 887 int prefixLen = appendAffix(result, isNegative, true, fieldPosition, parseAttr); in format() 907 int suffixLen = appendAffix(result, isNegative, false, fieldPosition, parseAttr); in format() 937 …alFormat_ICU58_Android.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 946 return subformat(number, result, fieldPosition, isNegative, false, parseAttr); in format() 995 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 290 bool lhsNeg = isNegative(); in compareSigned() 291 bool rhsNeg = RHS.isNegative(); in compareSigned() 450 unsigned isNegative = *p == '-'; in getBitsNeeded() local 460 return slen + isNegative; in getBitsNeeded() 462 return slen * 3 + isNegative; in getBitsNeeded() 464 return slen * 4 + isNegative; in getBitsNeeded() 487 return isNegative + 1; in getBitsNeeded() 489 return isNegative + log + 1; in getBitsNeeded() 857 std::memset(Result.U.pVal + getNumWords(), isNegative() ? -1 : 0, in sext() 924 bool Negative = isNegative(); in ashrSlowCase() [all …]
|
D | KnownBits.cpp | 59 else if (LHS.isNegative() && RHS.isNegative()) in computeForAddSub()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 319 bool isNegative() const { return sign; } in isNegative() function 358 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 359 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero() 624 bool isNegative() const; 1052 if (isNegative()) in clearSign() 1056 if (isNegative() != RHS.isNegative()) in copySign() 1147 bool isNegative() const { return getIEEE().isNegative(); } in isNegative() function 1158 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 1159 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
|
/external/owasp/sanitizer/distrib/lib/ |
D | jsr305.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/annotation/
javax/ ... |
/external/vogar/lib/ |
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/lib/jsr305/ |
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/ ... |
/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()
|