Home
last modified time | relevance | path

Searched refs:isNeg (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/include/llvm/ADT/
DStringExtras.h71 static inline std::string utostr_32(uint32_t X, bool isNeg = false) {
82 if (isNeg) *--BufPtr = '-'; // Add negative sign...
87 static inline std::string utostr(uint64_t X, bool isNeg = false) {
98 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/skia/legacy/src/utils/
DSkCullPoints.cpp22 return tmp0.isNeg() != 0; in cross_product_is_neg()
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() local
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
/external/skia/src/utils/
DSkCullPoints.cpp22 return tmp0.isNeg() != 0; in cross_product_is_neg()
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() local
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
/external/llvm/lib/Support/
DAPInt.cpp823 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
837 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
848 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
871 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
874 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
886 if (!isSigned || !isNeg) in roundToDouble()
909 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1567 bool isNeg = false; in KnuthDiv() local
1585 isNeg |= borrow; in KnuthDiv()
1597 if (isNeg) { in KnuthDiv()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp156 bool isNeg() const { return isNegative; } in isNeg() function in __anon9f6c02960111::CountValue
693 if (TripCount->isNeg()) { in convertToCTRLoop()
705 if (TripCount->isNeg()) in convertToCTRLoop()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp229 (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I))) in getRank()
544 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) { in LinearizeExprTree()
789 if (!BinaryOperator::isNeg(U)) continue; in NegateValue()
826 if (BinaryOperator::isNeg(Sub)) in ShouldBreakUpSubtract()
1094 if (!BinaryOperator::isNeg(TheOp)) in OptimizeAdd()
1540 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
/external/skia/legacy/include/core/
DSk64.h73 SkBool isNeg() const { return (uint32_t)fHi >> 31; } in isNeg() function
/external/skia/include/core/
DSk64.h73 SkBool isNeg() const { return (uint32_t)fHi >> 31; } in isNeg() function
/external/skia/legacy/src/core/
DSkRegion_path.cpp101 if (!count.is32() || count.isNeg()) { in init()
107 if (!size.is32() || size.isNeg()) { in init()
DSk64.cpp286 SkASSERT(!this->isNeg()); in getSqrt()
DSkBitmap.cpp26 return !value.isNeg() && value.is32(); in isPos32Bits()
243 SkASSERT(!safeSize.isNeg()); in ComputeSafeSize64()
432 if (size.isNeg() || !size.is32()) { in allocPixelRef()
DSkGeometry.cpp157 if (RR.isNeg()) in SkFindUnitQuadRoots()
420 SkASSERT(!denom.isNeg()); in SkChopQuadAtMaxCurvature()
/external/skia/src/core/
DSkRegion_path.cpp114 if (!count.is32() || count.isNeg()) { in init()
120 if (!size.is32() || size.isNeg()) { in init()
DSkBitmap.cpp28 return !value.isNeg() && value.is32(); in SK_DEFINE_INST_COUNT()
244 SkASSERT(!safeSize.isNeg()); in ComputeSafeSize64()
371 SkASSERT(!size.isNeg() && size.is32()); in setPixels()
439 if (size.isNeg() || !size.is32()) { in allocPixelRef()
DSk64.cpp284 SkASSERT(!this->isNeg()); in getSqrt()
DSkGeometry.cpp157 if (RR.isNeg()) in SkFindUnitQuadRoots()
420 SkASSERT(!denom.isNeg()); in SkChopQuadAtMaxCurvature()
/external/skia/tests/
DSk64Test.cpp23 REPORTER_ASSERT(reporter, !a.isNeg() == !table.neg); in bool_table_test()
DBitmapCopyTest.cpp377 if (safeSize.isNeg()) { in TestBitmapCopy()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java1132 boolean isNeg = false; in UnaryExpr()
1139 isNeg = true; in UnaryExpr()
1144 if (isNeg) in UnaryExpr()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp86 if (size.isNeg() || !size.is32()) { in webp_parse_header()
DSkImageDecoder_libpng.cpp551 if (size.isNeg() || !size.is32()) { in getBitmapConfig()
/external/llvm/lib/Transforms/InstCombine/
DInstCombine.h44 if (BinaryOperator::isNeg(V) || in getComplexity()
/external/skia/legacy/src/images/
DSkImageDecoder_libwebp.cpp86 if (size.isNeg() || !size.is32()) { in webp_parse_header()
DSkImageDecoder_libpng.cpp545 if (size.isNeg() || !size.is32()) { in getBitmapConfig()
/external/llvm/include/llvm/IR/
DInstrTypes.h311 static bool isNeg(const Value *V);

12