Searched refs:isSigned (Results 1 - 25 of 130) sorted by relevance

123456

/external/opencv3/3rdparty/openexr/Imath/
H A DImathLimits.h83 // isSigned() returns true if T is signed
124 static bool isSigned();
140 static bool isSigned() {return (char) ~0 < 0;} function in struct:Imath::limits
151 static bool isSigned() {return true;} function in struct:Imath::limits
162 static bool isSigned() {return false;} function in struct:Imath::limits
173 static bool isSigned() {return true;} function in struct:Imath::limits
184 static bool isSigned() {return false;} function in struct:Imath::limits
195 static bool isSigned() {return true;} function in struct:Imath::limits
206 static bool isSigned() {return false;} function in struct:Imath::limits
217 static bool isSigned() {retur function in struct:Imath::limits
228 static bool isSigned() {return false;} function in struct:Imath::limits
239 static bool isSigned() {return true;} function in struct:Imath::limits
250 static bool isSigned() {return true;} function in struct:Imath::limits
261 static bool isSigned() {return true;} function in struct:Imath::limits
[all...]
H A DImathHalfLimits.h60 static bool isSigned() {return true;} function in struct:Imath::limits
/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp21 Value.isSigned() && Value.isNegative())
26 if (Value.isSigned() && !IsUnsigned)
36 if (Value.isSigned())
45 if (Value.isSigned() && Value.isNegative())
H A DBasicValueFactory.cpp179 if (V2.isSigned() && V2.isNegative())
197 if (V2.isSigned() && V2.isNegative())
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) ||
94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) ||
95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1));
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
H A DOCSPReq.java162 if (!this.isSigned())
172 if (!this.isSigned())
214 public boolean isSigned() method in class:OCSPReq
226 if (!this.isSigned())
/external/pdfium/third_party/libopenjpeg20/
H A Dmct.h123 @param isSigned tells if the data is signed
131 OPJ_UINT32 isSigned);
H A Dmct.c444 OPJ_UINT32 isSigned)
457 OPJ_ARG_NOT_USED(isSigned);
497 OPJ_UINT32 isSigned)
508 OPJ_ARG_NOT_USED(isSigned);
439 opj_mct_encode_custom( OPJ_BYTE * pCodingdata, OPJ_UINT32 n, OPJ_BYTE ** pData, OPJ_UINT32 pNbComp, OPJ_UINT32 isSigned) argument
492 opj_mct_decode_custom( OPJ_BYTE * pDecodingData, OPJ_UINT32 n, OPJ_BYTE ** pData, OPJ_UINT32 pNbComp, OPJ_UINT32 isSigned) argument
/external/llvm/include/llvm/ADT/
H A DAPSInt.h59 bool isSigned() const { return !IsUnsigned; } function in class:llvm::APSInt
66 APInt::toString(Str, Radix, isSigned());
71 return APInt::toString(Radix, isSigned());
78 return isSigned() ? getSExtValue() : getZExtValue();
296 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
307 if (I1.isSigned()) {
308 assert(!I2.isSigned() && "Expected signed mismatch");
312 assert(I2.isSigned() && "Expected signed mismatch");
336 I.print(OS, I.isSigned());
[all...]
H A DPackedVector.h22 template <typename T, unsigned BitNum, typename BitVectorTy, bool isSigned>
H A DAPInt.h184 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
228 /// If isSigned is true then val is treated as if it were a signed value
235 /// \param isSigned how to treat signedness of val
236 APInt(unsigned numBits, uint64_t val, bool isSigned = false)
242 initSlowCase(numBits, val, isSigned);
1425 void print(raw_ostream &OS, bool isSigned) const;
1455 double roundToDouble(bool isSigned) const;
/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp45 EXPECT_TRUE(APSInt::get(7).isSigned());
49 EXPECT_TRUE(APSInt::get(-7).isSigned());
68 EXPECT_TRUE(APSInt(APInt(3, 7), false).isSigned());
70 EXPECT_TRUE(APSInt(APInt(4, 7), false).isSigned());
72 EXPECT_TRUE(APSInt(APInt(4, -7), false).isSigned());
H A DAPIntTest.cpp661 bool isSigned; local
679 isSigned = false;
680 APInt(8, 255, isSigned).toString(S, 2, isSigned, true);
683 APInt(8, 255, isSigned).toString(S, 8, isSigned, true);
686 APInt(8, 255, isSigned).toString(S, 10, isSigned, true);
689 APInt(8, 255, isSigned).toString(S, 16, isSigned, tru
[all...]
/external/lzma/CPP/Windows/Control/
H A DDialog.h54 bool SetItemInt(int itemID, UINT value, bool isSigned) argument
55 { return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); }
56 bool GetItemInt(int itemID, bool isSigned, UINT &value) argument
59 value = GetDlgItemInt(_window, itemID, &result, BoolToBOOL(isSigned));
/external/llvm/lib/IR/
H A DConstantFold.cpp1419 bool isSigned) {
1435 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1439 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1450 evaluateICmpRelation(V2, V1, isSigned);
1457 evaluateICmpRelation(V2, V1, isSigned);
1480 evaluateICmpRelation(V2, V1, isSigned);
1524 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1525 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1528 isSigned);
1543 return isSigned
1418 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp112 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
114 unsigned NumOps, bool isSigned, SDLoc dl);
117 SDNode *Node, bool isSigned);
122 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
141 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
143 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
145 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
2196 bool isSigned) {
2204 Entry.isSExt = isSigned;
2205 Entry.isZExt = !isSigned;
[all...]
H A DLegalizeTypes.cpp1061 bool isSigned) {
1065 return TLI.makeLibCall(DAG, LC, N->getValueType(0), None, isSigned,
1069 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Op, isSigned,
1073 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, isSigned,
1080 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, isSigned, dl).first;
1088 bool isSigned) {
1098 Entry.isSExt = isSigned;
1099 Entry.isZExt = !isSigned;
1110 .setSExtResult(isSigned).setZExtResult(!isSigned);
1060 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument
1086 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument
[all...]
/external/llvm/include/llvm/IR/
H A DConstants.h71 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
75 /// to fit the type, unless isSigned is true, in which case the value will
80 bool isSigned = false);
186 bool isMaxValue(bool isSigned) const {
187 if (isSigned)
198 bool isMinValue(bool isSigned) const {
199 if (isSigned)
1060 bool isSigned ///< Whether C should be treated as signed or not
H A DConstantFolder.h170 bool isSigned) const {
171 return ConstantExpr::getIntegerCast(C, DestTy, isSigned);
/external/deqp/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp352 int getNBitIntegerMaxValue (bool isSigned, int numBits) argument
358 else if (isSigned)
364 int getNBitIntegerMinValue (bool isSigned, int numBits)
370 else if (isSigned)
376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits)
378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]),
379 getNBitIntegerMaxValue(isSigned, numBits[1]),
380 getNBitIntegerMaxValue(isSigned, numBits[2]),
381 getNBitIntegerMaxValue(isSigned, numBits[3]));
384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, cons
[all...]
H A Des31fShaderIntegerFunctionTests.cpp376 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
407 if (isSigned)
472 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
501 if (isSigned)
765 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
776 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u);
1078 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
1086 const int minRef = isSigned ? findMSB(toPrecision(deInt32(value), integerLength)) : findMSB(toPrecision(value, integerLength));
1087 const int maxRef = isSigned ? findMSB(deInt32(value)) : findMSB(value);
/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h175 bool isSigned) const {
178 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp153 bool SelectIToFP(const Instruction *I, bool isSigned);
154 bool SelectFPToI(const Instruction *I, bool isSigned);
155 bool SelectDiv(const Instruction *I, bool isSigned);
156 bool SelectRem(const Instruction *I, bool isSigned);
1543 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { argument
1566 /*isZExt*/!isSigned);
1576 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS;
1577 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD;
1587 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { argument
1601 if (OpTy->isFloatTy()) Opc = isSigned
1695 SelectDiv(const Instruction *I, bool isSigned) argument
1723 SelectRem(const Instruction *I, bool isSigned) argument
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp297 /// (V-Lo) \<u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates
301 bool isSigned, bool Inside) {
302 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
311 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
312 ICmpInst::Predicate pred = (isSigned ?
329 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
330 ICmpInst::Predicate pred = (isSigned ?
892 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
300 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument
1885 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
2904 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp479 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
510 if (isSigned)
590 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
619 if (isSigned)
928 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
939 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u);
1268 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
1276 const int minRef = isSigned ? findMSB(toPrecision(deInt32(value), integerLength)) : findMSB(toPrecision(value, integerLength));
1277 const int maxRef = isSigned ? findMSB(deInt32(value)) : findMSB(value);

Completed in 495 milliseconds

123456