Home
last modified time | relevance | path

Searched refs:Overflow (Results 1 – 25 of 47) sorted by relevance

12

/external/clang/lib/Lex/
DPPExpressions.cpp371 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() local
374 if (Overflow && ValueLive) in EvaluateValue()
566 bool Overflow = false; in EvaluateDirectiveSubExpr() local
581 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
593 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
600 Res = LHS.Val.ushl_ov(RHS.Val, Overflow); in EvaluateDirectiveSubExpr()
602 Res = llvm::APSInt(LHS.Val.sshl_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
609 Overflow = true, ShAmt = LHS.getBitWidth()-1; in EvaluateDirectiveSubExpr()
617 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
623 Res = llvm::APSInt(LHS.Val.ssub_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
[all …]
DLiteralSupport.cpp142 bool Overflow = false; in ProcessCharEscape() local
148 Overflow = true; in ProcessCharEscape()
155 Overflow = true; in ProcessCharEscape()
160 if (Overflow && Diags) // Too many digits to fit in in ProcessCharEscape()
/external/clang/test/SemaTemplate/
Dtemp_arg_nontype.cpp96 template<unsigned char C> struct Overflow; // expected-note{{template parameter is declared here}}
98 Overflow<5> *overflow1; // okay
99 Overflow<255> *overflow2; // okay
100 Overflow<256> *overflow3; // expected-warning{{non-type template argument value '256' truncated to …
/external/pdfium/third_party/freetype/src/psaux/
Dpsconv.c295 goto Overflow; in PS_Conv_ToFixed()
302 goto Overflow; in PS_Conv_ToFixed()
308 goto Overflow; in PS_Conv_ToFixed()
349 Overflow: in PS_Conv_ToFixed()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/psaux/
Dpsconv.c295 goto Overflow; in PS_Conv_ToFixed()
302 goto Overflow; in PS_Conv_ToFixed()
308 goto Overflow; in PS_Conv_ToFixed()
349 Overflow: in PS_Conv_ToFixed()
/external/freetype/src/psaux/
Dpsconv.c295 goto Overflow; in PS_Conv_ToFixed()
302 goto Overflow; in PS_Conv_ToFixed()
308 goto Overflow; in PS_Conv_ToFixed()
349 Overflow: in PS_Conv_ToFixed()
/external/llvm/lib/Support/
DAPInt.cpp2005 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
2007 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2012 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
2014 Overflow = Res.ult(RHS); in uadd_ov()
2018 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
2020 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2025 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
2027 Overflow = Res.ugt(*this); in usub_ov()
2031 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
2033 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp598 bool Overflow = false; in TEST() local
599 I.uadd_ov(C, Overflow); in TEST()
600 EXPECT_FALSE(Overflow); in TEST()
605 bool Overflow = false; in TEST() local
606 I.sadd_ov(C, Overflow); in TEST()
607 EXPECT_FALSE(Overflow); in TEST()
612 bool Overflow = false; in TEST() local
614 I.sadd_ov(C, Overflow); in TEST()
615 EXPECT_FALSE(Overflow); in TEST()
617 I.uadd_ov(C, Overflow); in TEST()
[all …]
/external/llvm/include/llvm/ADT/
DAPInt.h949 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
950 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
951 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
952 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
953 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
954 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
955 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
956 APInt sshl_ov(const APInt &Amt, bool &Overflow) const;
957 APInt ushl_ov(const APInt &Amt, bool &Overflow) const;
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcffparse.c269 goto Overflow; in cff_parse_real()
339 goto Overflow; in cff_parse_real()
370 goto Overflow; in cff_parse_real()
382 Overflow: in cff_parse_real()
426 goto Overflow; in do_fixed()
431 goto Overflow; in do_fixed()
436 Overflow: in do_fixed()
/external/pdfium/third_party/freetype/src/cff/
Dcffparse.c269 goto Overflow; in cff_parse_real()
339 goto Overflow; in cff_parse_real()
370 goto Overflow; in cff_parse_real()
382 Overflow: in cff_parse_real()
426 goto Overflow; in do_fixed()
431 goto Overflow; in do_fixed()
436 Overflow: in do_fixed()
/external/freetype/src/cff/
Dcffparse.c274 goto Overflow; in cff_parse_real()
344 goto Overflow; in cff_parse_real()
375 goto Overflow; in cff_parse_real()
387 Overflow: in cff_parse_real()
431 goto Overflow; in do_fixed()
436 goto Overflow; in do_fixed()
441 Overflow: in do_fixed()
/external/clang/test/CXX/basic/basic.types/
Dp10.cpp142 constexpr long Overflow[ // expected-error {{constexpr variable cannot have non-literal type 'long … variable
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/
Dtypes.py29 Clamped, Overflow, Inexact, Underflow, Rounded)
37 traps=[Clamped, Overflow, Inexact, Rounded, Underflow])
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp82 bool Overflow; in MultiplyOverflows() local
84 Product = C1.smul_ov(C2, Overflow); in MultiplyOverflows()
86 Product = C1.umul_ov(C2, Overflow); in MultiplyOverflows()
88 return Overflow; in MultiplyOverflows()
1061 bool Overflow; in visitUDiv() local
1062 APInt C2ShlC1 = C2->ushl_ov(*C1, Overflow); in visitUDiv()
1063 if (!Overflow) { in visitUDiv()
DInstCombineInternal.h442 Constant *Overflow) { in CreateOverflowTuple() argument
443 Constant *V[] = {UndefValue::get(Result->getType()), Overflow}; in CreateOverflowTuple()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1720 bool Overflow; in ConstantFoldScalarCall() local
1724 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1727 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1730 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1733 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1736 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1739 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); in ConstantFoldScalarCall()
1744 ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow) in ConstantFoldScalarCall()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutexset_test.cc108 TEST(MutexSet, Overflow) { in TEST() argument
/external/llvm/test/Transforms/InstCombine/
Dmemchr.ll84 ; Overflow, but we still find the right thing.
97 ; Overflow
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1007 SDValue Overflow = DAG.getNode(ISD::SRL, DL, VT, Lo, CompShift); in LowerSHLParts() local
1008 Overflow = DAG.getNode(ISD::SRL, DL, VT, Overflow, One); in LowerSHLParts()
1011 HiSmall = DAG.getNode(ISD::OR, DL, VT, HiSmall, Overflow); in LowerSHLParts()
1045 SDValue Overflow = DAG.getNode(ISD::SHL, DL, VT, Hi, CompShift); in LowerSRXParts() local
1046 Overflow = DAG.getNode(ISD::SHL, DL, VT, Overflow, One); in LowerSRXParts()
1050 LoSmall = DAG.getNode(ISD::OR, DL, VT, LoSmall, Overflow); in LowerSRXParts()
/external/curl/docs/
DHISTORY185 December: security vulnerability: libcurl URL Buffer Overflow
194 March: security vulnerability: libcurl TFTP Packet Buffer Overflow
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp102 unsigned Overflow = in getHashValue() local
106 return hash_combine(BinOp->getOpcode(), Overflow, LHS, RHS); in getHashValue()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/
Dftraster.c656 ras.error = FT_THROW( Overflow ); in New_Profile()
763 ras.error = FT_THROW( Overflow ); in End_Profile()
818 ras.error = FT_THROW( Overflow ); in Insert_Y_Turn()
1070 ras.error = FT_THROW( Overflow ); in Line_Up()
1245 ras.error = FT_THROW( Overflow ); in Bezier_Up()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c656 ras.error = FT_THROW( Overflow ); in New_Profile()
763 ras.error = FT_THROW( Overflow ); in End_Profile()
818 ras.error = FT_THROW( Overflow ); in Insert_Y_Turn()
1070 ras.error = FT_THROW( Overflow ); in Line_Up()
1245 ras.error = FT_THROW( Overflow ); in Bezier_Up()
/external/freetype/src/raster/
Dftraster.c660 ras.error = FT_THROW( Overflow ); in New_Profile()
767 ras.error = FT_THROW( Overflow ); in End_Profile()
822 ras.error = FT_THROW( Overflow ); in Insert_Y_Turn()
1074 ras.error = FT_THROW( Overflow ); in Line_Up()
1249 ras.error = FT_THROW( Overflow ); in Bezier_Up()

12