| /src/tests/lib/libc/sys/ |
| t_posix_fadvise.c | 106 #define CE(x, exp) \ 114 CE(posix_fadvise(fd, 0, 0, -1), EINVAL); 115 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE); 116 CE(posix_fadvise(badfd, 0, 0, POSIX_FADV_NORMAL), EBADF); 117 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NORMAL), 0); 118 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL), 0); 119 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_RANDOM), 0); 120 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED), 0); 121 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED), 0); 122 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NOREUSE), 0) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| ReplaceConstant.h | 22 /// Create a replacement instruction for constant expression \p CE and insert 24 Instruction *createReplacementInstr(ConstantExpr *CE, Instruction *Instr);
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/ |
| unicode_comp.d | 1064 alias CE = CompEntry; 1065 static immutable CE[] t = [ 1066 CE(0x00338, 0x0226e), CE(0x00338, 0x02260), CE(0x00338, 0x0226f), 1067 CE(0x00300, 0x000c0), CE(0x00301, 0x000c1), CE(0x00302, 0x000c2), 1068 CE(0x00303, 0x000c3), CE(0x00304, 0x00100), CE(0x00306, 0x00102) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| ReplaceConstant.cpp | 22 Instruction *createReplacementInstr(ConstantExpr *CE, Instruction *Instr) { 24 unsigned OpCode = CE->getOpcode(); 27 SmallVector<Value *, 4> CEOpVec(CE->operands()); 30 Builder.CreateInBoundsGEP(cast<GEPOperator>(CE)->getSourceElementType(), 49 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, CE->getOperand(0), 50 CE->getOperand(1), CE->getName())); 65 Builder.CreateCast((Instruction::CastOps)OpCode, CE->getOperand(0), 66 CE->getType(), CE->getName())) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| UnixAPIChecker.cpp | 48 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 50 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 51 void CheckOpenAt(CheckerContext &C, const CallExpr *CE) const; 52 void CheckPthreadOnce(CheckerContext &C, const CallExpr *CE) const; 55 const CallExpr *CE, OpenVariant Variant) const; 66 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 71 void CheckCallocZero(CheckerContext &C, const CallExpr *CE) const; 72 void CheckMallocZero(CheckerContext &C, const CallExpr *CE) const; 73 void CheckReallocZero(CheckerContext &C, const CallExpr *CE) const; 74 void CheckReallocfZero(CheckerContext &C, const CallExpr *CE) const [all...] |
| DebugContainerModeling.cpp | 33 void analyzerContainerDataField(const CallExpr *CE, CheckerContext &C, 35 void analyzerContainerBegin(const CallExpr *CE, CheckerContext &C) const; 36 void analyzerContainerEnd(const CallExpr *CE, CheckerContext &C) const; 65 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 66 if (!CE) 73 (this->**Handler)(CE, C); 78 void DebugContainerModeling::analyzerContainerDataField(const CallExpr *CE, 81 if (CE->getNumArgs() == 0) { 87 const MemRegion *Cont = C.getSVal(CE->getArg(0)).getAsRegion(); 93 State = State->BindExpr(CE, C.getLocationContext() [all...] |
| STLAlgorithmModeling.cpp | 27 bool evalFind(CheckerContext &C, const CallExpr *CE) const; 29 void Find(CheckerContext &C, const CallExpr *CE, unsigned paramNum) const; 70 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 71 if (!CE) 78 return (this->**Handler)(C, CE); 82 const CallExpr *CE) const { 87 if (!isIteratorType(CE->getArg(1)->getType())) 92 if (isIteratorType(CE->getArg(0)->getType())) { 93 Find(C, CE, 0); 99 if (isIteratorType(CE->getArg(2)->getType())) [all...] |
| DebugIteratorModeling.cpp | 33 void analyzerIteratorDataField(const CallExpr *CE, CheckerContext &C, 35 void analyzerIteratorPosition(const CallExpr *CE, CheckerContext &C) const; 36 void analyzerIteratorContainer(const CallExpr *CE, CheckerContext &C) const; 37 void analyzerIteratorValidity(const CallExpr *CE, CheckerContext &C) const; 68 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 69 if (!CE) 76 (this->**Handler)(CE, C); 81 void DebugIteratorModeling::analyzerIteratorDataField(const CallExpr *CE, 85 if (CE->getNumArgs() == 0) { 91 SVal V = C.getSVal(CE->getArg(0)) [all...] |
| ExprInspectionChecker.cpp | 37 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 38 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 39 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const; 40 void analyzerNumTimesReached(const CallExpr *CE, CheckerContext &C) const; 41 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 42 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const; 43 void analyzerDump(const CallExpr *CE, CheckerContext &C) const; 44 void analyzerExplain(const CallExpr *CE, CheckerContext &C) const; 45 void analyzerPrintState(const CallExpr *CE, CheckerContext &C) const; 46 void analyzerGetExtent(const CallExpr *CE, CheckerContext &C) const [all...] |
| CStringSyntaxChecker.cpp | 55 if (const auto *CE = dyn_cast<CallExpr>(E)) { 56 const FunctionDecl *FD = CE->getDirectCallee(); 60 sameDecl(CE->getArg(0), WithArg)); 80 bool containsBadStrncatPattern(const CallExpr *CE); 101 bool containsBadStrlcpyStrlcatPattern(const CallExpr *CE); 112 void VisitCallExpr(CallExpr *CE); 122 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { 123 if (CE->getNumArgs() != 3) 125 const Expr *DstArg = CE->getArg(0); 126 const Expr *SrcArg = CE->getArg(1) [all...] |
| ObjCContainersChecker.cpp | 53 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 54 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 86 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, 88 StringRef Name = C.getCalleeName(CE); 89 if (Name.empty() || CE->getNumArgs() < 1) 94 if (CE->getNumArgs() < 3) 99 addSizeInfo(CE, CE->getArg(2), C); 104 addSizeInfo(CE->getArg(0), CE, C) [all...] |
| ObjCContainersASTChecker.cpp | 80 void VisitCallExpr(CallExpr *CE); 84 static StringRef getCalleeName(CallExpr *CE) { 85 const FunctionDecl *FD = CE->getDirectCallee(); 96 void WalkAST::VisitCallExpr(CallExpr *CE) { 97 StringRef Name = getCalleeName(CE); 105 if (CE->getNumArgs() != 4) 108 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 112 if (CE->getNumArgs() != 6) 116 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 120 Arg = CE->getArg(ArgNum)->IgnoreParenCasts() [all...] |
| MacOSXAPIChecker.cpp | 39 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 41 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 65 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 67 if (CE->getNumArgs() < 1) 72 const MemRegion *R = C.getSVal(CE->getArg(0)).getAsRegion(); 86 if (CE->getBeginLoc().isMacroID()) { 145 report->addRange(CE->getArg(0)->getSourceRange()); 153 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE, 155 StringRef Name = C.getCalleeName(CE); 168 (this->*SC)(C, CE, Name) [all...] |
| NoReturnFunctionChecker.cpp | 34 void checkPostCall(const CallEvent &CE, CheckerContext &C) const; 40 void NoReturnFunctionChecker::checkPostCall(const CallEvent &CE, 44 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.getDecl())) 47 const Expr *Callee = CE.getOriginExpr(); 51 if (!BuildSinks && CE.isGlobalCFunction()) { 52 if (const IdentifierInfo *II = CE.getCalleeIdentifier()) {
|
| BuiltinFunctionChecker.cpp | 41 const Expr *CE = Call.getOriginExpr(); 77 C.addTransition(state->BindExpr(CE, LCtx, Arg)); 86 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext()); 98 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R))); 110 if (CE->EvaluateAsInt(EVResult, C.getASTContext(), Expr::SE_NoSideEffects)) { 114 BVF.getAPSIntType(CE->getType()).apply(Result); 123 V = SVB.makeIntVal(0, CE->getType()); 126 C.addTransition(state->BindExpr(CE, LCtx, V));
|
| CastToStructChecker.cpp | 35 bool VisitCastExpr(const CastExpr *CE); 39 bool CastToStructVisitor::VisitCastExpr(const CastExpr *CE) { 40 const Expr *E = CE->getSubExpr(); 43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); 63 SourceRange Sr[1] = {CE->getSourceRange()}; 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); 96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); 102 Loc, CE->getSourceRange());
|
| CheckSecuritySyntaxOnly.cpp | 87 void VisitCallExpr(CallExpr *CE); 88 void VisitObjCMessageExpr(ObjCMessageExpr *CE); 96 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 103 void checkCall_bcmp(const CallExpr *CE, const FunctionDecl *FD); 104 void checkCall_bcopy(const CallExpr *CE, const FunctionDecl *FD); 105 void checkCall_bzero(const CallExpr *CE, const FunctionDecl *FD); 106 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 107 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 108 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 109 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) [all...] |
| EnumCastOutOfRangeChecker.cpp | 64 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const; 92 void EnumCastOutOfRangeChecker::checkPreStmt(const CastExpr *CE, 101 switch (CE->getCastKind()) { 112 C.getSVal(CE->getSubExpr()).getAs<DefinedOrUnknownSVal>(); 119 const QualType T = CE->getType();
|
| CStringChecker.cpp | 152 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 153 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 154 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 155 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 156 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 161 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 163 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 164 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const; 166 const CallExpr *CE, 169 void evalStrcpy(CheckerContext &C, const CallExpr *CE) const [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| MPIChecker.h | 35 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const { 37 checkUnmatchedWaits(CE, Ctx); 38 checkDoubleNonblocking(CE, Ctx); 83 /// \param CE MPI wait call using the request(s) 86 const clang::ento::MemRegion *const MR, const clang::ento::CallEvent &CE, 92 /// \param CE MPI wait call 94 topRegionUsedByWait(const clang::ento::CallEvent &CE) const;
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| IgnoreExpr.h | 75 if (auto *CE = dyn_cast<CastExpr>(E)) 76 return CE->getSubExpr(); 93 if (auto *CE = dyn_cast<CastExpr>(E)) 94 if (CE->getCastKind() != CK_LValueToRValue) 101 if (auto *CE = dyn_cast<CastExpr>(E)) 102 if (CE->getCastKind() == CK_DerivedToBase || 103 CE->getCastKind() == CK_UncheckedDerivedToBase || 104 CE->getCastKind() == CK_NoOp) 105 return CE->getSubExpr(); 163 else if (auto *CE = dyn_cast<ChooseExpr>(E)) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/ |
| MainCallChecker.cpp | 14 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 18 void MainCallChecker::checkPreStmt(const CallExpr *CE, 20 const Expr *Callee = CE->getCallee();
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| UncountedCallArgsChecker.cpp | 54 bool VisitCallExpr(const CallExpr *CE) { 55 Checker->visitCallExpr(CE); 64 void visitCallExpr(const CallExpr *CE) const { 65 if (shouldSkipCall(CE)) 68 if (auto *F = CE->getDirectCallee()) { 72 isa<CXXOperatorCallExpr>(CE) && dyn_cast_or_null<CXXMethodDecl>(F); 79 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { 93 const auto *Arg = CE->getArg(ArgIdx); 121 bool shouldSkipCall(const CallExpr *CE) const { 122 if (CE->getNumArgs() == 0 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| Evaluator.cpp | 83 ConstantExpr *CE = cast<ConstantExpr>(C); 84 switch (CE->getOpcode()) { 87 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 93 if (DL.getTypeSizeInBits(CE->getType()) != 94 DL.getTypeSizeInBits(CE->getOperand(0)->getType())) 96 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 100 for (unsigned i = 1, e = CE->getNumOperands(); i != e; ++i) 101 if (!isa<ConstantInt>(CE->getOperand(i))) 103 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 107 if (!isa<ConstantInt>(CE->getOperand(1)) [all...] |
| CanonicalizeAliases.cpp | 52 auto *CE = dyn_cast<ConstantExpr>(C); 53 if (!CE) 57 for (Use &U : CE->operands()) 59 return CE->getWithOperands(Ops);
|