/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 | 618 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 624 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 636 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 646 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 658 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 668 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 681 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 691 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() 705 ASSERT_EQUAL(FALSE, fd.isNegative); in TestFixedDecimal() 715 ASSERT_EQUAL(TRUE, fd.isNegative); in TestFixedDecimal() [all …]
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfConvert.cpp | 50 isNegative (float f) in isNegative() function 90 if (h.isNegative() || h.isNan()) in halfToUint() 103 if (isNegative (f) || isNan (f)) in floatToUint()
|
/external/icu/icu4c/source/i18n/ |
D | visibledigits.h | 38 UBool isNegative() const; 142 UBool isNegative() const { return fMantissa.isNegative(); } in isNegative() function
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 787 private boolean isNegative(double number) { in isNegative() method in DecimalFormat 802 boolean isNegative = isNegative(number); in round() 803 if (isNegative) in round() 812 isNegative); in round() 860 boolean isNegative = isNegative(number); in format() 864 int prefixLen = appendAffix(result, isNegative, true, fieldPosition, parseAttr); in format() 884 int suffixLen = appendAffix(result, isNegative, false, fieldPosition, parseAttr); in format() 914 …number = DecimalFormat.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 923 return subformat(number, result, fieldPosition, isNegative, false, parseAttr); in format() 972 return isNegative(multiply(number)); in isNumberNegative() [all …]
|
D | MessagePattern.java | 1299 int isNegative=0; // not boolean so that we can easily add it to value in parseDouble() 1303 isNegative=1; in parseDouble() 1317 isNegative!=0 ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY, in parseDouble() 1327 if(value>(Part.MAX_VALUE+isNegative)) { in parseDouble() 1331 addPart(Part.Type.ARG_INT, start, limit-start, isNegative!=0 ? -value : value); in parseDouble()
|
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 792 private boolean isNegative(double number) { in isNegative() method in DecimalFormat 807 boolean isNegative = isNegative(number); in round() 808 if (isNegative) in round() 817 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 …]
|
D | MessagePattern.java | 1370 int isNegative=0; // not boolean so that we can easily add it to value in parseDouble() 1374 isNegative=1; in parseDouble() 1388 isNegative!=0 ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY, in parseDouble() 1398 if(value>(Part.MAX_VALUE+isNegative)) { in parseDouble() 1402 addPart(Part.Type.ARG_INT, start, limit-start, isNegative!=0 ? -value : value); in parseDouble()
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 77 EXPECT_TRUE(!test.isNegative()); in TEST() 84 EXPECT_TRUE(!test.isNegative()); in TEST() 91 EXPECT_TRUE(test.isNegative()); in TEST() 98 EXPECT_TRUE(test.isInfinity() && test.isNegative()); in TEST() 105 EXPECT_TRUE(test.isInfinity() && !test.isNegative()); in TEST() 115 EXPECT_TRUE(!test.isInfinity() && !test.isNegative()); in TEST() 129 EXPECT_TRUE(test.isInfinity() && test.isNegative()); in TEST() 143 EXPECT_TRUE(test.isZero() && !test.isNegative()); in TEST() 150 EXPECT_TRUE(test.isZero() && test.isNegative()); in TEST() 299 EXPECT_TRUE(test.isNegative()); in TEST() [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() 1061 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; in slt() 1129 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; in sgt() 1318 if (isNegative()) in getMinSignedBits() 1383 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits() 1573 if (isNegative()) in abs()
|
D | APFloat.h | 402 bool isNegative() const { return sign; } in isNegative() function 441 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 442 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 562 bool lhsNeg = isNegative(); in slt() 563 bool rhsNeg = rhs.isNegative(); in slt() 625 unsigned isNegative = *p == '-'; in getBitsNeeded() local 635 return slen + isNegative; in getBitsNeeded() 637 return slen * 3 + isNegative; in getBitsNeeded() 639 return slen * 4 + isNegative; in getBitsNeeded() 662 return isNegative + 1; in getBitsNeeded() 664 return isNegative + log + 1; in getBitsNeeded() 1072 if (isNegative()) in ashr() 1096 if (isNegative()) in ashr() [all …]
|
D | APFloat.cpp | 121 bool isNegative; in readExponent() local 128 isNegative = (*p == '-'); in readExponent() 154 if (isNegative) in readExponent() 1893 bool inputSign = isNegative(); in roundToIntegral() 1902 if (inputSign != isNegative()) in roundToIntegral() 2298 if (isSigned && api.isNegative()) { in convertFromAPInt() 3574 if (isNegative()) in toString() 3582 if (isNegative()) in toString() 3595 if (isNegative()) in toString() 3826 if (!isNegative()) in next() [all …]
|
/external/eigen/test/ |
D | cholesky.cpp | 328 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 334 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 340 VERIFY(ldlt.isNegative()); in cholesky_definiteness() 346 VERIFY(!ldlt.isNegative()); in cholesky_definiteness() 352 VERIFY(ldlt.isNegative()); in cholesky_definiteness() 372 VERIFY_RAISES_ASSERT(ldlt.isNegative()) in cholesky_verify_assert()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 53 if (In2->isNegative()) in HasAddOverflow() 87 if (In2->isNegative()) in HasSubOverflow() 194 if (UnknownBits.isNegative()) { // Sign bit is unknown in ComputeSignedMinMaxValuesFromKnownBits() 943 } else if (DivRHS->isNegative()) { // Divisor is < 0. in FoldICmpDivCst() 1131 if (AP2.isNegative() != AP1.isNegative()) in FoldICmpCstShrCst() 1146 if (IsAShr && AP1.isNegative()) in FoldICmpCstShrCst() 1257 if (!XorCst->isNegative()) { in visitICmpInstWithInstAndIntCst() 1327 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst() 1380 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative())) in visitICmpInstWithInstAndIntCst() 1396 if (!ShiftedAndCst->isNegative() && !ShiftedRHSCst->isNegative()) in visitICmpInstWithInstAndIntCst() [all …]
|
/external/opencv3/3rdparty/openexr/Half/ |
D | half.h | 184 bool isNegative () const; 711 half::isNegative () const in isNegative() function
|
D | halfFunction.h | 161 _lut[i] = x.isNegative()? negInfValue: posInfValue; in halfFunction()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 238 if (!CLHS->getValue().isNegative()) { in computeKnownBitsAddSub() 294 if (!Known.isNegative()) { in computeKnownBitsAddSub() 298 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in computeKnownBitsAddSub() 302 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in computeKnownBitsAddSub() 325 bool isKnownNonNegativeOp1 = KnownZero.isNegative(); in computeKnownBitsMul() 326 bool isKnownNonNegativeOp0 = KnownZero2.isNegative(); in computeKnownBitsMul() 327 bool isKnownNegativeOp1 = KnownOne.isNegative(); in computeKnownBitsMul() 328 bool isKnownNegativeOp0 = KnownOne2.isNegative(); in computeKnownBitsMul() 363 if (isKnownNonNegative && !KnownOne.isNegative()) in computeKnownBitsMul() 365 else if (isKnownNegative && !KnownZero.isNegative()) in computeKnownBitsMul() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | MessagePattern.java | 1369 int isNegative=0; // not boolean so that we can easily add it to value in parseDouble() 1373 isNegative=1; in parseDouble() 1387 isNegative!=0 ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY, in parseDouble() 1397 if(value>(Part.MAX_VALUE+isNegative)) { in parseDouble() 1401 addPart(Part.Type.ARG_INT, start, limit-start, isNegative!=0 ? -value : value); in parseDouble()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.h | 187 bool isNegative() const { in isNegative() function
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 42 bool isNegative = value < 0; in valueToString() local 43 if (isNegative) in valueToString() 46 if (isNegative) in valueToString()
|
D | json_reader.cpp | 520 bool isNegative = *current == '-'; in decodeNumber() local 521 if (isNegative) in decodeNumber() 524 isNegative ? Value::LargestUInt(-Value::minLargestInt) in decodeNumber() 547 if (isNegative) in decodeNumber()
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | PluralRules.java | 463 public final boolean isNegative; field in PluralRules.FixedDecimal 534 public boolean isNegative() { in isNegative() method in PluralRules.FixedDecimal 535 return isNegative; in isNegative() 559 isNegative = n < 0; in FixedDecimal() 560 source = isNegative ? -n : n; in FixedDecimal() 841 return isNegative ? -source : source; in doubleValue()
|