Searched refs:isNegative (Results 1 - 25 of 140) sorted by relevance

123456

/external/jsr305/ri/src/main/java/javax/annotation/
H A DNonnegative.java23 boolean isNegative;
26 isNegative = value.longValue() < 0;
28 isNegative = value.doubleValue() < 0;
30 isNegative = value.floatValue() < 0;
32 isNegative = value.intValue() < 0;
34 if (isNegative)
/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp21 Value.isSigned() && Value.isNegative())
45 if (Value.isSigned() && Value.isNegative())
H A DBasicValueFactory.cpp179 if (V2.isSigned() && V2.isNegative())
197 if (V2.isSigned() && V2.isNegative())
/external/icu/icu4c/source/i18n/
H A Dvisibledigits.h40 UBool isNegative() const;
144 UBool isNegative() const { return fMantissa.isNegative(); } function in class:VisibleDigitsWithExponent
/external/icu/icu4c/source/test/intltest/
H A Ddcfmapts.cpp620 ASSERT_EQUAL(FALSE, fd.isNegative);
626 ASSERT_EQUAL(TRUE, fd.isNegative);
638 ASSERT_EQUAL(FALSE, fd.isNegative);
648 ASSERT_EQUAL(TRUE, fd.isNegative);
660 ASSERT_EQUAL(FALSE, fd.isNegative);
670 ASSERT_EQUAL(TRUE, fd.isNegative);
683 ASSERT_EQUAL(FALSE, fd.isNegative);
693 ASSERT_EQUAL(TRUE, fd.isNegative);
707 ASSERT_EQUAL(FALSE, fd.isNegative);
717 ASSERT_EQUAL(TRUE, fd.isNegative);
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DAPInt.h295 bool isNegative() const { function in class:llvm::APInt
302 return !isNegative();
331 !isNegative() && countPopulation() == BitWidth - 1;
345 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2();
767 if (isNegative())
768 if (RHS.isNegative())
772 else if (RHS.isNegative())
789 if (isNegative())
790 if (RHS.isNegative())
794 else if (RHS.isNegative())
[all...]
H A DAPFloat.h325 bool isNegative() const { return sign; } function in class:llvm::APFloat
326 bool isPosZero() const { return isZero() && !isNegative(); }
327 bool isNegZero() const { return isZero() && isNegative(); }
/external/guice/lib/build/
H A Djsr305.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/annotation/concurrent/ javax/annotation/concurrent/GuardedBy ...
/external/owasp/sanitizer/distrib/lib/
H A Djsr305.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/annotation/concurrent/ javax/annotation/meta/ javax/ ...
/external/owasp/sanitizer/lib/jsr305/
H A Djsr305.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/annotation/concurrent/ javax/annotation/meta/ javax/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Djsr305.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/annotation/concurrent/ javax/annotation/meta/ javax/ ...
/external/vogar/lib/
H A Djsr305.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/annotation/Tainted.class Tainted. ...
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDecimalFormat.java788 // usage: isNegative(multiply(numberToBeFormatted));
789 private boolean isNegative(double number) { method in class:DecimalFormat
804 boolean isNegative = isNegative(number);
805 if (isNegative)
811 // * round(number / roundingDouble, roundingMode, isNegative);
814 isNegative);
865 boolean isNegative = isNegative(number);
869 int prefixLen = appendAffix(result, isNegative, tru
999 round(double number, double roundingInc, double roundingIncReciprocal, int mode, boolean isNegative) argument
1264 subformat(int number, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1322 subformat(double number, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1335 subformat(String pluralCount, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1369 subformat(StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
2871 compareAffix(String text, int pos, boolean isNegative, boolean isPrefix, String affixPat, boolean complexCurrencyParsing, int type, Currency[] currency) argument
4210 appendAffix(StringBuffer buf, boolean isNegative, boolean isPrefix, FieldPosition fieldPosition, boolean parseAttr) argument
4388 appendAffixPattern(StringBuffer buffer, boolean isNegative, boolean isPrefix, boolean localized) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDecimalFormat.java793 // usage: isNegative(multiply(numberToBeFormatted));
794 private boolean isNegative(double number) { method in class:DecimalFormat
809 boolean isNegative = isNegative(number);
810 if (isNegative)
816 // * round(number / roundingDouble, roundingMode, isNegative);
819 isNegative);
870 boolean isNegative = isNegative(number);
874 int prefixLen = appendAffix(result, isNegative, tru
1004 round(double number, double roundingInc, double roundingIncReciprocal, int mode, boolean isNegative) argument
1276 subformat(int number, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1334 subformat(double number, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1347 subformat(String pluralCount, StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
1381 subformat(StringBuffer result, FieldPosition fieldPosition, boolean isNegative, boolean isInteger, boolean parseAttr) argument
2885 compareAffix(String text, int pos, boolean isNegative, boolean isPrefix, String affixPat, boolean complexCurrencyParsing, int type, Currency[] currency) argument
4275 appendAffix(StringBuffer buf, boolean isNegative, boolean isPrefix, FieldPosition fieldPosition, boolean parseAttr) argument
4455 appendAffixPattern(StringBuffer buffer, boolean isNegative, boolean isPrefix, boolean localized) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DValueTracking.cpp385 if (!CLHS->getValue().isNegative()) {
444 if (Mask.isNegative() && !KnownZero.isNegative() && !KnownOne.isNegative()){
449 if (LHSKnownZero.isNegative() && KnownZero2.isNegative())
452 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative())
456 if (LHSKnownZero.isNegative() && KnownOne2.isNegative())
[all...]
/external/eigen/test/
H A Dcholesky.cpp374 VERIFY(!ldlt.isNegative());
381 VERIFY(!ldlt.isNegative());
388 VERIFY(ldlt.isNegative());
395 VERIFY(!ldlt.isNegative());
402 VERIFY(ldlt.isNegative());
472 VERIFY_RAISES_ASSERT(ldlt.isNegative())
/external/llvm/lib/Support/
H A DAPInt.cpp563 bool lhsNeg = isNegative();
564 bool rhsNeg = RHS.isNegative();
612 unsigned isNegative = *p == '-';
622 return slen + isNegative;
624 return slen * 3 + isNegative;
626 return slen * 4 + isNegative;
649 return isNegative + 1;
651 return isNegative + log + 1;
1078 if (isNegative())
1102 if (isNegative())
[all...]
/external/llvm/include/llvm/ADT/
H A DAPFloat.h404 bool isNegative() const { return sign; } function in class:llvm::APFloat
443 bool isPosZero() const { return isZero() && !isNegative(); }
444 bool isNegZero() const { return isZero() && isNegative(); }
H A DAPInt.h320 bool isNegative() const { return (*this)[BitWidth - 1]; } function in class:llvm::APInt
325 bool isNonNegative() const { return !isNegative(); }
355 return !isNegative() && countPopulation() == BitWidth - 1;
369 return isNegative() && isPowerOf2();
1066 return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS;
1134 return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS;
1323 if (isNegative())
1388 return isNegative() ? countLeadingOnes() : countLeadingZeros();
1582 if (isNegative())
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp82 if (Left.isNegative())
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h187 bool isNegative() const { function in class:__ubsan::Value
/external/llvm/unittests/ADT/
H A DAPFloatTest.cpp76 EXPECT_TRUE(!test.isNegative());
83 EXPECT_TRUE(!test.isNegative());
90 EXPECT_TRUE(test.isNegative());
97 EXPECT_TRUE(test.isInfinity() && test.isNegative());
104 EXPECT_TRUE(test.isInfinity() && !test.isNegative());
114 EXPECT_TRUE(!test.isInfinity() && !test.isNegative());
128 EXPECT_TRUE(test.isInfinity() && test.isNegative());
298 EXPECT_TRUE(test.isNegative());
307 EXPECT_TRUE(!test.isNegative());
316 EXPECT_TRUE(!test.isNegative());
[all...]
/external/llvm/lib/Analysis/
H A DValueTracking.cpp244 if (!CLHS->getValue().isNegative()) {
300 if (!Known.isNegative()) {
304 if (LHSKnownZero.isNegative() && KnownZero2.isNegative())
308 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative())
330 bool isKnownNonNegativeOp1 = KnownZero.isNegative();
331 bool isKnownNonNegativeOp0 = KnownZero2.isNegative();
332 bool isKnownNegativeOp1 = KnownOne.isNegative();
333 bool isKnownNegativeOp0 = KnownOne2.isNegative();
[all...]
/external/clang/include/clang/AST/
H A DCharUnits.h124 /// isNegative - Test whether the quantity is less than zero.
125 bool isNegative() const { return Quantity < 0; } function in class:clang::CharUnits
H A DRecordLayout.h274 return !CXXInfo->VBPtrOffset.isNegative();

Completed in 2750 milliseconds

123456