Searched refs:CE (Results 1 - 25 of 295) sorted by relevance

1234567891011>>

/netbsd-current/tests/lib/libc/sys/
H A Dt_posix_fadvise.c108 #define CE(x, exp) \ macro
117 CE(posix_fadvise(fd, 0, 0, -1), EINVAL);
118 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE);
119 CE(posix_fadvise(badfd, 0, 0, POSIX_FADV_NORMAL), EBADF);
120 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NORMAL), 0);
121 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL), 0);
122 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_RANDOM), 0);
123 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED), 0);
124 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED), 0);
125 CE(posix_fadvis
156 #undef CE macro
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DReplaceConstant.h22 /// Create a replacement instruction for constant expression \p CE and insert
24 Instruction *createReplacementInstr(ConstantExpr *CE, Instruction *Instr);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/internal/
H A Dunicode_comp.d1064 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(
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/internal/
H A Dunicode_comp.d1064 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(
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DReplaceConstant.cpp22 Instruction *createReplacementInstr(ConstantExpr *CE, Instruction *Instr) { argument
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
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp48 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) cons
104 checkPreStmt(const CallExpr *CE, CheckerContext &C) const argument
154 CheckOpenVariant(CheckerContext &C, const CallExpr *CE, OpenVariant Variant) const argument
364 BasicAllocationCheck(CheckerContext &C, const CallExpr *CE, const unsigned numArgs, const unsigned sizeArg, const char *fn) const argument
460 checkPreStmt(const CallExpr *CE, CheckerContext &C) const argument
[all...]
H A DDebugContainerModeling.cpp33 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()); local
66 if (!CE)
73 (this->**Handler)(CE, C);
78 void DebugContainerModeling::analyzerContainerDataField(const CallExpr *CE, argument
81 if (CE->getNumArgs() == 0) {
87 const MemRegion *Cont = C.getSVal(CE->getArg(0)).getAsRegion();
93 State = State->BindExpr(CE,
118 analyzerContainerBegin(const CallExpr *CE, CheckerContext &C) const argument
125 analyzerContainerEnd(const CallExpr *CE, CheckerContext &C) const argument
[all...]
H A DSTLAlgorithmModeling.cpp27 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()); local
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
107 Find(CheckerContext &C, const CallExpr *CE, unsigned paramNum) const argument
[all...]
H A DDebugIteratorModeling.cpp33 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()); local
69 if (!CE)
76 (this->**Handler)(CE, C);
81 void DebugIteratorModeling::analyzerIteratorDataField(const CallExpr *CE, argument
85 if (CE->getNumArgs() == 0) {
91 SVal V = C.getSVal(CE
101 analyzerIteratorPosition(const CallExpr *CE, CheckerContext &C) const argument
109 analyzerIteratorContainer(const CallExpr *CE, CheckerContext &C) const argument
117 analyzerIteratorValidity(const CallExpr *CE, CheckerContext &C) const argument
[all...]
H A DExprInspectionChecker.cpp37 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, CheckerContex
79 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); local
125 getArgumentValueString(const CallExpr *CE, CheckerContext &C) argument
182 getArgExpr(const CallExpr *CE, CheckerContext &C) const argument
191 getArgRegion(const CallExpr *CE, CheckerContext &C) const argument
206 analyzerEval(const CallExpr *CE, CheckerContext &C) const argument
218 analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const argument
223 analyzerNumTimesReached(const CallExpr *CE, CheckerContext &C) const argument
232 analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const argument
247 analyzerExplain(const CallExpr *CE, CheckerContext &C) const argument
258 analyzerDump(const CallExpr *CE, CheckerContext &C) const argument
272 analyzerGetExtent(const CallExpr *CE, CheckerContext &C) const argument
285 analyzerDumpExtent(const CallExpr *CE, CheckerContext &C) const argument
300 analyzerDumpElementCount(const CallExpr *CE, CheckerContext &C) const argument
325 analyzerPrintState(const CallExpr *CE, CheckerContext &C) const argument
330 analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const argument
382 analyzerCrash(const CallExpr *CE, CheckerContext &C) const argument
387 analyzerHashDump(const CallExpr *CE, CheckerContext &C) const argument
399 analyzerDenote(const CallExpr *CE, CheckerContext &C) const argument
474 analyzerExpress(const CallExpr *CE, CheckerContext &C) const argument
497 analyzerIsTainted(const CallExpr *CE, CheckerContext &C) const argument
[all...]
H A DCStringSyntaxChecker.cpp55 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) { argument
123 if (CE->getNumArgs() != 3)
125 const Expr *DstArg = CE->getArg(0);
126 const Expr *SrcArg = CE
153 containsBadStrlcpyStrlcatPattern(const CallExpr *CE) argument
213 VisitCallExpr(CallExpr *CE) argument
[all...]
H A DObjCContainersChecker.cpp53 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const;
54 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
86 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, argument
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,
109 checkPreStmt(const CallExpr *CE, CheckerContext &C) const argument
[all...]
H A DObjCContainersASTChecker.cpp80 void VisitCallExpr(CallExpr *CE);
84 static StringRef getCalleeName(CallExpr *CE) { argument
85 const FunctionDecl *FD = CE->getDirectCallee();
96 void WalkAST::VisitCallExpr(CallExpr *CE) { argument
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
[all...]
H A DNoReturnFunctionChecker.cpp34 void checkPostCall(const CallEvent &CE, CheckerContext &C) const;
40 void NoReturnFunctionChecker::checkPostCall(const CallEvent &CE, argument
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()) {
H A DMacOSXAPIChecker.cpp39 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, argument
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, argument
155 StringRef Name = C.getCalleeName(CE);
168 (this->*SC)(C, CE, Nam
[all...]
H A DCastToStructChecker.cpp35 bool VisitCastExpr(const CastExpr *CE);
39 bool CastToStructVisitor::VisitCastExpr(const CastExpr *CE) { argument
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());
H A DBuiltinFunctionChecker.cpp41 const Expr *CE = Call.getOriginExpr(); local
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));
H A DCheckSecuritySyntaxOnly.cpp87 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, cons
132 VisitCallExpr(CallExpr *CE) argument
349 checkCall_bcmp(const CallExpr *CE, const FunctionDecl *FD) argument
391 checkCall_bcopy(const CallExpr *CE, const FunctionDecl *FD) argument
434 checkCall_bzero(const CallExpr *CE, const FunctionDecl *FD) argument
476 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
512 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
552 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
593 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
678 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
717 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
754 checkDeprecatedOrUnsafeBufferHandling(const CallExpr *CE, const FunctionDecl *FD) argument
825 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
856 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
899 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
927 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
998 checkUncheckedReturnValue(CallExpr *CE) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h35 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const { argument
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;
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/
H A DMainCallChecker.cpp14 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
18 void MainCallChecker::checkPreStmt(const CallExpr *CE, argument
20 const Expr *Callee = CE->getCallee();
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DIgnoreExpr.h75 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
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp54 bool VisitCallExpr(const CallExpr *CE) { argument
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
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/arm/
H A Dundefined.d2 # COFF and aout based ports, except Windows CE,
H A Dundefined_coff.d2 # COFF and aout based ports, except Windows CE,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp83 ConstantExpr *CE = cast<ConstantExpr>(C); local
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
307 ConstantExpr *CE = dyn_cast<ConstantExpr>(CallExpr); local
[all...]

Completed in 401 milliseconds

1234567891011>>