Home
last modified time | relevance | path

Searched refs:makeIntVal (Results 1 – 18 of 18) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h232 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) { in makeIntVal() function
244 nonloc::ConcreteInt makeIntVal(const llvm::APSInt& integer) { in makeIntVal() function
252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { in makeIntVal() function
256 DefinedSVal makeIntVal(uint64_t integer, QualType type) { in makeIntVal() function
263 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { in makeIntVal() function
/external/clang/lib/StaticAnalyzer/Checkers/
DBoolAssignmentChecker.cpp84 DefinedSVal zeroVal = svalBuilder.makeIntVal(0, valTy); in checkBind()
120 DefinedSVal OneVal = svalBuilder.makeIntVal(1, valTy); in checkBind()
DBuiltinFunctionChecker.cpp88 V = SVB.makeIntVal(Result); in evalCall()
DVLASizeChecker.cpp139 SVal EleSizeVal = svalBuilder.makeIntVal(EleSize.getQuantity(), SizeTy); in checkPreStmt()
DCStringChecker.cpp374 NonLoc One = svalBuilder.makeIntVal(1, sizeTy).castAs<NonLoc>(); in CheckBufferAccess()
563 NonLoc maxVal = svalBuilder.makeIntVal(maxValInt); in checkAdditionOverflow()
687 NonLoc maxLength = svalBuilder.makeIntVal(*maxLengthInt); in getCStringLengthForRegion()
748 return svalBuilder.makeIntVal(strLit->getByteLength(), sizeTy); in getCStringLength()
1445 NonLoc one = svalBuilder.makeIntVal(1, sizeTy).castAs<NonLoc>(); in evalStrcpyCommon()
1793 SVal resultVal = svalBuilder.makeIntVal(result, CE->getType()); in evalStrcmpCommon()
DUnixAPIChecker.cpp107 .makeIntVal(Val_O_CREAT.getValue(), oflagsEx->getType()).castAs<NonLoc>(); in CheckOpen()
DMacOSKeychainAPIChecker.cpp240 DefinedOrUnknownSVal NoErrVal = Builder.makeIntVal(NoErr, in definitelyReturnedError()
DBasicObjCFoundationChecks.cpp961 SvalBuilder.makeIntVal(0, (*CountS)->getType()), in assumeCollectionNonEmpty()
DMallocChecker.cpp643 .makeIntVal(KernelZeroFlagVal.getValue(), FlagsEx->getType()) in performKernelMalloc()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp121 return makeIntVal(i); in evalCastFromNonLoc()
174 return makeIntVal(i); in evalCastFromLoc()
223 return makeIntVal(0, resultTy); in MakeSymIntVal()
241 return makeIntVal(0, resultTy); in MakeSymIntVal()
255 return makeIntVal(0, resultTy); in MakeSymIntVal()
327 return makeIntVal(0, resultTy); in evalBinOpNN()
328 return evalCastFromNonLoc(makeIntVal(0, /*Unsigned=*/false), resultTy); in evalBinOpNN()
DSValBuilder.cpp37 return makeIntVal(0, type); in makeZeroVal()
256 return makeIntVal(C->getValue(), C->getType()); in getConstantVal()
263 return makeIntVal(cast<IntegerLiteral>(E)); in getConstantVal()
291 return makeIntVal(Result); in getConstantVal()
DSVals.cpp209 return svalBuilder.makeIntVal(~getValue()); in evalComplement()
214 return svalBuilder.makeIntVal(-getValue()); in evalMinus()
DExprEngineC.cpp549 X = svalBuilder.makeIntVal(constant, B->getType()); in VisitLogicalExpr()
573 X = getSValBuilder().makeIntVal(1, B->getType()); in VisitLogicalExpr()
578 X = getSValBuilder().makeIntVal(0, B->getType()); in VisitLogicalExpr()
706 SVal X = svalBuilder.makeIntVal(IV); in VisitOffsetOfExpr()
750 svalBuilder.makeIntVal(amt.getQuantity(), in VisitUnaryExprOrTypeTraitExpr()
931 RHS = svalBuilder.makeIntVal(1, U->getType()); in VisitIncrementDecrementOperator()
DExprEngineObjC.cpp121 SVal nilV = svalBuilder.makeIntVal(0, T); in VisitObjCForCollectionStmt()
DMemRegion.cpp194 return svalBuilder.makeIntVal(size.getQuantity(), sizeTy); in getExtent()
225 return svalBuilder.makeIntVal(getStringLiteral()->getByteLength()+1, in getExtent()
DRegionStore.cpp1230 return svalBuilder.makeIntVal(RegionSize / EleSize, false); in getSizeInElements()
1507 return svalBuilder.makeIntVal(c, T); in getBindingForElement()
2156 svalBuilder.makeIntVal(0, false)); in bindStruct()
DExprEngine.cpp1756 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
2235 SVal Val = svalBuilder.makeIntVal(1U, Ex->getType()); in evalEagerlyAssumeBinOpBifurcation()
2242 SVal Val = svalBuilder.makeIntVal(0U, Ex->getType()); in evalEagerlyAssumeBinOpBifurcation()
/external/clang/test/Analysis/
Dmisc-ps.m354 // "ValueManager::makeIntVal(uint64_t X, QualType T) should return a 'Loc'