/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/llvm/include/llvm/ADT/ |
D | APInt.h | 304 bool isNegative() const { in isNegative() function 311 return !isNegative(); in isNonNegative() 340 !isNegative() && countPopulation() == BitWidth - 1; in isMaxSignedValue() 354 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2(); in isMinSignedValue() 803 if (isNegative()) in sdiv() 804 if (RHS.isNegative()) in sdiv() 808 else if (RHS.isNegative()) in sdiv() 825 if (isNegative()) in srem() 826 if (RHS.isNegative()) in srem() 830 else if (RHS.isNegative()) in srem() [all …]
|
D | APFloat.h | 327 bool isNegative() const { return sign; } in isNegative() function 328 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 329 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
|
D | APSInt.h | 281 if (I1.isNegative()) in isSameValue() 287 if (I2.isNegative()) in isSameValue()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | APSIntType.cpp | 18 if (IsUnsigned && Value.isSigned() && Value.isNegative()) in testInRange() 34 if (Value.isSigned() && Value.isNegative()) in testInRange()
|
D | BasicValueFactory.cpp | 175 if (V2.isSigned() && V2.isNegative()) in evalAPSInt() 193 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 55 if (!CLHS->getValue().isNegative()) { in ComputeMaskedBitsAddSub() 111 if (!KnownZero.isNegative() && !KnownOne.isNegative()) { in ComputeMaskedBitsAddSub() 115 if (LHSKnownZero.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBitsAddSub() 118 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative()) in ComputeMaskedBitsAddSub() 122 if (LHSKnownZero.isNegative() && KnownOne2.isNegative()) in ComputeMaskedBitsAddSub() 125 else if (LHSKnownOne.isNegative() && KnownZero2.isNegative()) in ComputeMaskedBitsAddSub() 150 bool isKnownNonNegativeOp1 = KnownZero.isNegative(); in ComputeMaskedBitsMul() 151 bool isKnownNonNegativeOp0 = KnownZero2.isNegative(); in ComputeMaskedBitsMul() 152 bool isKnownNegativeOp1 = KnownOne.isNegative(); in ComputeMaskedBitsMul() 153 bool isKnownNegativeOp0 = KnownOne2.isNegative(); in ComputeMaskedBitsMul() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 127 bool isNegative; member in __anon0f3974cc0111::CountValue 131 isNegative(neg) {} in CountValue() 133 isNegative(i < 0) {} in CountValue() 137 bool isNeg() const { return isNegative; } in isNeg() 148 if (isNegative) { in getImm()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | NumberPrototype.cpp | 247 bool isNegative = x < 0.0; in numberProtoFuncToString() local 248 if (isNegative) in numberProtoFuncToString() 263 if (isNegative) in numberProtoFuncToString()
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/ |
D | JoyAxisTrigger.java | 65 public boolean isNegative() { in isNegative() method in JoyAxisTrigger
|
D | MouseAxisTrigger.java | 68 public boolean isNegative() { in isNegative() method in MouseAxisTrigger
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 140 bool isNegative; member in __anone92e79760111::CountValue 144 isNegative(neg) {} in CountValue() 146 isNegative(i < 0) {} in CountValue() 150 bool isNeg() const { return isNegative; } in isNeg() 161 if (isNegative) { in getImm()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 557 bool lhsNeg = isNegative(); in slt() 558 bool rhsNeg = rhs.isNegative(); in slt() 620 unsigned isNegative = *p == '-'; in getBitsNeeded() local 630 return slen + isNegative; in getBitsNeeded() 632 return slen * 3 + isNegative; in getBitsNeeded() 634 return slen * 4 + isNegative; in getBitsNeeded() 657 return isNegative + 1; in getBitsNeeded() 659 return isNegative + log + 1; in getBitsNeeded() 1059 if (isNegative()) in ashr() 1083 if (isNegative()) in ashr() [all …]
|
D | APFloat.cpp | 133 bool isNegative; in readExponent() local 140 isNegative = (*p == '-'); in readExponent() 166 if (isNegative) in readExponent() 1798 bool inputSign = isNegative(); in roundToIntegral() 1807 if (inputSign != isNegative()) in roundToIntegral() 2186 if (isSigned && api.isNegative()) { in convertFromAPInt() 3417 if (isNegative()) in toString() 3425 if (isNegative()) in toString() 3438 if (isNegative()) in toString()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 50 if (In2->isNegative()) in HasAddOverflow() 84 if (In2->isNegative()) in HasSubOverflow() 166 if (UnknownBits.isNegative()) { // Sign bit is unknown in ComputeSignedMinMaxValuesFromKnownBits() 857 } else if (DivRHS->isNegative()) { // Divisor is < 0. in FoldICmpDivCst() 1056 if (!XorCST->isNegative()) { in visitICmpInstWithInstAndIntCst() 1116 (!AndCST->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst() 2173 ((Op0KnownZero.isNegative() && Op1KnownZero.isNegative()) || in visitICmpInst() 2174 (Op0KnownOne.isNegative() && Op1KnownOne.isNegative()))) in visitICmpInst() 2791 if (RHS.isNegative()) in FoldFCmp_IntToFP_Cst() 2797 if (RHS.isNegative()) in FoldFCmp_IntToFP_Cst() [all …]
|
D | InstCombineMulDivRem.cpp | 145 if (Val.isNegative() && PosVal.isPowerOf2()) { in visitMul() 458 if (C->getValue().isNegative()) { in visitUDiv() 714 if (RHS->isNegative()) in visitSRem() 723 if (RHS->isNegative()) in visitSRem()
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
D | WTFString.cpp | 804 bool isNegative = false; in toIntegralType() local 818 isNegative = true; in toIntegralType() 838 …alue > maxMultiplier || (value == maxMultiplier && digitValue > (integralMax % base) + isNegative)) in toIntegralType() 850 if (isNegative) in toIntegralType()
|
/external/icu4c/common/ |
D | messagepattern.cpp | 928 int32_t isNegative=0; // not boolean so that we can easily add it to value in parseDouble() local 932 isNegative=1; in parseDouble() 947 isNegative!=0 ? -infinity : infinity, in parseDouble() 957 if(value>(Part::MAX_VALUE+isNegative)) { in parseDouble() 962 isNegative!=0 ? -value : value, errorCode); in parseDouble()
|
/external/clang/include/clang/AST/ |
D | CharUnits.h | 126 bool isNegative() const { return Quantity < 0; } in isNegative() function
|
/external/llvm/include/llvm/ |
D | Constants.h | 156 bool isNegative() const { return Val.isNegative(); } in isNegative() function 271 bool isNegative() const { return Val.isNegative(); } in isNegative() function
|
/external/libxml2/ |
D | trio.c | 2171 BOOLEAN_T isNegative; variable 2200 isNegative = FALSE; 2205 isNegative = ((trio_intmax_t)number < 0); 2206 if (isNegative) 2265 if (isNegative || (flags & FLAGS_SHOWSIGN) || (flags & FLAGS_SPACE)) 2293 if (isNegative) 2627 BOOLEAN_T isNegative; variable 2647 switch (trio_fpclassify_and_signbit(number, &isNegative)) 2658 if (isNegative) 2732 if (isNegative) [all …]
|
/external/webkit/Source/WebCore/platform/ |
D | Length.h | 169 bool isNegative() const { return getFloatValue() < 0; } in isNegative() function
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 241 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue() 534 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 539 if (!RHS.isUnsigned() && RHS.Val.isNegative()) in EvaluateDirectiveSubExpr()
|
/external/icu4c/i18n/unicode/ |
D | decimfmt.h | 1978 UBool isNegative, 2027 UBool isNegative,
|
/external/icu4c/i18n/ |
D | decimfmt.cpp | 1098 UBool isNegative = !adjustedNum.isPositive(); in _format() local 1117 … int32_t prefixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, TRUE); in _format() 1124 … int32_t suffixLen = appendAffix(appendTo, adjustedNum.getDouble(), handler, isNegative, FALSE); in _format() 2254 UBool isNegative, in compareAffix() argument 2270 if (isNegative) { in compareAffix() 3428 UBool isNegative, UBool isPrefix) const { in appendAffix() argument 3434 affixPat = isNegative ? fNegPrefixPattern : fPosPrefixPattern; in appendAffix() 3436 affixPat = isNegative ? fNegSuffixPattern : fPosSuffixPattern; in appendAffix() 3457 affix = isNegative ? &oneSet->negPrefixForCurrency : in appendAffix() 3460 affix = isNegative ? &oneSet->negSuffixForCurrency : in appendAffix() [all …]
|