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

123

/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.cpp18 if (IsUnsigned && Value.isSigned() && Value.isNegative())
34 if (Value.isSigned() && Value.isNegative())
H A DBasicValueFactory.cpp175 if (V2.isSigned() && V2.isNegative())
193 if (V2.isSigned() && V2.isNegative())
/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/
H A DJoyAxisTrigger.java65 public boolean isNegative() { method in class:JoyAxisTrigger
H A DMouseAxisTrigger.java68 public boolean isNegative() { method in class:MouseAxisTrigger
/external/llvm/include/llvm/ADT/
H A DAPInt.h304 bool isNegative() const { function in class:llvm::APInt
311 return !isNegative();
340 !isNegative() && countPopulation() == BitWidth - 1;
354 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2();
803 if (isNegative())
804 if (RHS.isNegative())
808 else if (RHS.isNegative())
825 if (isNegative())
826 if (RHS.isNegative())
830 else if (RHS.isNegative())
[all...]
H A DAPFloat.h327 bool isNegative() const { return sign; } function in class:llvm::APFloat
328 bool isPosZero() const { return isZero() && !isNegative(); }
329 bool isNegZero() const { return isZero() && isNegative(); }
H A DAPSInt.h281 if (I1.isNegative())
287 if (I2.isNegative())
/external/llvm/lib/Analysis/
H A DValueTracking.cpp55 if (!CLHS->getValue().isNegative()) {
111 if (!KnownZero.isNegative() && !KnownOne.isNegative()) {
115 if (LHSKnownZero.isNegative() && KnownZero2.isNegative())
118 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative())
122 if (LHSKnownZero.isNegative() && KnownOne2.isNegative())
125 else if (LHSKnownOne.isNegative()
[all...]
/external/webkit/Source/JavaScriptCore/runtime/
H A DNumberPrototype.cpp247 bool isNegative = x < 0.0;
248 if (isNegative)
263 if (isNegative)
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp127 bool isNegative; member in class:__anon8898::CountValue
131 isNegative(neg) {}
133 isNegative(i < 0) {}
137 bool isNeg() const { return isNegative; }
148 if (isNegative) {
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp140 bool isNegative; member in class:__anon8964::CountValue
144 isNegative(neg) {}
146 isNegative(i < 0) {}
150 bool isNeg() const { return isNegative; }
161 if (isNegative) {
/external/clang/include/clang/AST/
H A DCharUnits.h125 /// isNegative - Test whether the quantity is less than zero.
126 bool isNegative() const { return Quantity < 0; } function in class:clang::CharUnits
/external/webkit/Source/WebCore/platform/
H A DLength.h169 bool isNegative() const { return getFloatValue() < 0; } function in struct:WebCore::Length
/external/llvm/lib/Support/
H A DAPInt.cpp557 bool lhsNeg = isNegative();
558 bool rhsNeg = rhs.isNegative();
620 unsigned isNegative = *p == '-';
630 return slen + isNegative;
632 return slen * 3 + isNegative;
634 return slen * 4 + isNegative;
657 return isNegative + 1;
659 return isNegative + log + 1;
1059 if (isNegative())
1083 if (isNegative())
[all...]
H A DAPFloat.cpp133 bool isNegative; local
140 isNegative = (*p == '-');
166 if (isNegative)
1798 bool inputSign = isNegative();
1807 if (inputSign != isNegative())
2186 if (isSigned && api.isNegative()) {
3417 if (isNegative())
3425 if (isNegative())
3438 if (isNegative())
H A DConstantRange.cpp187 if (getLower().isNegative() == getUpper().isNegative())
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp50 if (In2->isNegative())
84 if (In2->isNegative())
166 if (UnknownBits.isNegative()) { // Sign bit is unknown
857 } else if (DivRHS->isNegative()) { // Divisor is < 0.
1056 if (!XorCST->isNegative()) {
1116 (!AndCST->isNegative() && RHSV.isNonNegative())) {
2173 ((Op0KnownZero.isNegative() && Op1KnownZero.isNegative()) ||
2174 (Op0KnownOne.isNegative() && Op1KnownOne.isNegative())))
[all...]
H A DInstCombineMulDivRem.cpp145 if (Val.isNegative() && PosVal.isPowerOf2()) {
458 if (C->getValue().isNegative()) {
714 if (RHS->isNegative())
723 if (RHS->isNegative())
/external/llvm/include/llvm/
H A DConstants.h156 bool isNegative() const { return Val.isNegative(); } function in class:llvm::ConstantInt
270 /// isNegative - Return true if the sign bit is set.
271 bool isNegative() const { return Val.isNegative(); } function in class:llvm::ConstantFP
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DWTFString.cpp804 bool isNegative = false; local
818 isNegative = true;
838 if (value > maxMultiplier || (value == maxMultiplier && digitValue > (integralMax % base) + isNegative))
850 if (isNegative)
/external/webkit/Source/WebCore/rendering/
H A DRenderMarquee.cpp100 if (increment.isNegative())
/external/icu4c/common/
H A Dmessagepattern.cpp928 int32_t isNegative=0; // not boolean so that we can easily add it to value
932 isNegative=1;
947 isNegative!=0 ? -infinity : infinity,
957 if(value>(Part::MAX_VALUE+isNegative)) {
962 isNegative!=0 ? -value : value, errorCode);
/external/icu4c/i18n/unicode/
H A Ddecimfmt.h1978 UBool isNegative,
2027 UBool isNegative,
/external/icu4c/i18n/
H A Ddecimfmt.cpp1098 UBool isNegative = !adjustedNum.isPositive(); local
1117 int32_t prefixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, TRUE);
1124 int32_t suffixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, FALSE);
2241 * @param isNegative
2254 UBool isNegative,
2270 if (isNegative) {
3423 * @param isNegative
3428 UBool isNegative, UBool isPrefix) const {
3434 affixPat = isNegative ? fNegPrefixPattern : fPosPrefixPattern;
3436 affixPat = isNegative
2252 compareAffix(const UnicodeString& text, int32_t pos, UBool isNegative, UBool isPrefix, const UnicodeString* affixPat, UBool currencyParsing, int8_t type, UChar* currency) const argument
3426 appendAffix(UnicodeString& buf, double number, FieldPositionHandler& handler, UBool isNegative, UBool isPrefix) const argument
[all...]

Completed in 473 milliseconds

123