Home
last modified time | relevance | path

Searched refs:Checker (Results 1 – 25 of 149) sorted by relevance

123456

/external/clang/include/clang/StaticAnalyzer/Checkers/
DCheckers.td86 def DereferenceChecker : Checker<"NullDereference">,
90 def CallAndMessageChecker : Checker<"CallAndMessage">,
94 def NonNullParamChecker : Checker<"NonNullParamChecker">,
98 def VLASizeChecker : Checker<"VLASize">,
102 def DivZeroChecker : Checker<"DivideZero">,
106 def UndefResultChecker : Checker<"UndefinedBinaryOperatorResult">,
110 def StackAddrEscapeChecker : Checker<"StackAddressEscape">,
114 def DynamicTypePropagation : Checker<"DynamicTypePropagation">,
122 def BoolAssignmentChecker : Checker<"BoolAssignment">,
126 def CastSizeChecker : Checker<"CastSize">,
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceTagTest.java48 new Checker(JDWPConstants.Tag.OBJECT_TAG)); in testNewInstance_Object()
57 new Checker(JDWPConstants.Tag.OBJECT_TAG)); in testNewInstance_MyObject()
65 new Checker(JDWPConstants.Tag.STRING_TAG)); in testNewInstance_String()
78 new Checker(JDWPConstants.Tag.CLASS_LOADER_TAG)); in testNewInstance_ClassLoader()
86 new Checker(JDWPConstants.Tag.THREAD_TAG)); in testNewInstance_Thread()
96 new Checker(JDWPConstants.Tag.THREAD_TAG)); in testNewInstance_MyThread()
115 }, new Checker(JDWPConstants.Tag.THREAD_GROUP_TAG)); in testNewInstance_ThreadGroup()
125 new Checker(JDWPConstants.Tag.THREAD_GROUP_TAG)); in testNewInstance_MyThreadGroup()
/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp35 class DominatorsTreeDumper : public Checker<check::ASTCodeBody> {
57 class LiveVariablesDumper : public Checker<check::ASTCodeBody> {
77 class CFGViewer : public Checker<check::ASTCodeBody> {
97 class CFGDumper : public Checker<check::ASTCodeBody> {
123 class CallGraphViewer : public Checker< check::ASTDecl<TranslationUnitDecl> > {
143 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > {
164 class ConfigDumper : public Checker< check::EndOfTranslationUnit > {
202 class ExplodedGraphViewer : public Checker< check::EndAnalysis > {
221 class BugHashDumper : public Checker<check::PostStmt<Stmt>> {
DLLVMConventionsChecker.cpp120 const CheckerBase *Checker; member in __anon84d935f30111::StringRefCheckerVisitor
125 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
139 const CheckerBase *Checker) { in CheckStringRefAssignedTemporary() argument
140 StringRefCheckerVisitor walker(D, BR, Checker); in CheckStringRefAssignedTemporary()
185 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
220 const CheckerBase *Checker; member in __anon84d935f30211::ASTFieldVisitor
225 : Root(root), BR(br), Checker(checker) {} in ASTFieldVisitor()
233 const CheckerBase *Checker) { in CheckASTMemory() argument
238 ASTFieldVisitor walker(R, BR, Checker); in CheckASTMemory()
289 BR.EmitBasicReport(Root, Checker, "AST node allocates heap memory", in ReportError()
[all …]
DCheckObjCInstMethSignature.cpp44 const CheckerBase *Checker) { in CompareReturnTypes() argument
74 MethDerived, Checker, "Incompatible instance method return type", in CompareReturnTypes()
81 const CheckerBase *Checker) { in CheckObjCInstMethSignature() argument
116 CompareReturnTypes(MethDerived, M, BR, Ctx, ID, Checker); in CheckObjCInstMethSignature()
128 class ObjCMethSigsChecker : public Checker<
DDirectIvarAssignment.cpp53 public Checker<check::ASTDecl<ObjCImplementationDecl> > {
65 const CheckerBase *Checker; member in __anon940c8d930111::DirectIvarAssignment::MethodCrawler
71 const CheckerBase *Checker, AnalysisDeclContext *InDCtx) in MethodCrawler() argument
73 Checker(Checker), DCtx(InDCtx) {} in MethodCrawler()
200 MD, Checker, "Property access", categories::CoreFoundationObjectiveC, in VisitBinaryOperator()
DCheckSizeofPointer.cpp27 const CheckerBase *Checker; member in __anona85b483c0111::WalkAST
32 : BR(br), Checker(checker), AC(ac) {} in WalkAST()
67 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitUnaryExprOrTypeTraitExpr()
81 class SizeofPointerChecker : public Checker<check::ASTCodeBody> {
DIdenticalExprChecker.cpp39 const CheckerBase *Checker; member in __anone062d26e0111::FindIdenticalExprVisitor
43 const CheckerBase *Checker, in FindIdenticalExprVisitor() argument
45 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor()
72 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr()
121 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
144 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
174 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitIfStmt()
262 BR.EmitBasicReport(AC->getDecl(), Checker, in checkComparisonOp()
284 AC->getDecl(), Checker, in VisitConditionalOperator()
500 class FindIdenticalExprChecker : public Checker<check::ASTCodeBody> {
DPaddingChecker.cpp33 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
51 const PaddingChecker *Checker; in checkASTDecl() member
54 explicit LocalVisitor(const PaddingChecker *Checker) : Checker(Checker) {} in checkASTDecl()
56 Checker->visitRecord(RD); in checkASTDecl()
60 Checker->visitVariable(VD); in checkASTDecl()
DNSErrorChecker.cpp41 : public Checker< check::ASTDecl<ObjCMethodDecl> > {
88 : public Checker< check::ASTDecl<FunctionDecl> > {
137 NSErrorDerefBug(const CheckerBase *Checker) in NSErrorDerefBug() argument
138 : BugType(Checker, "NSError** null dereference", in NSErrorDerefBug()
144 CFErrorDerefBug(const CheckerBase *Checker) in CFErrorDerefBug() argument
145 : BugType(Checker, "CFErrorRef* null dereference", in CFErrorDerefBug()
153 : public Checker< check::Location,
DVirtualCallChecker.cpp31 const CheckerBase *Checker; member in __anonb8c375050111::WalkAST
64 : Checker(checker), BR(br), AC(ac), visitingCallExpr(nullptr) {} in WalkAST()
197 BR.EmitBasicReport(AC->getDecl(), Checker, in ReportVirtualCall()
206 BR.EmitBasicReport(AC->getDecl(), Checker, in ReportVirtualCall()
219 class VirtualCallChecker : public Checker<check::ASTDecl<CXXRecordDecl> > {
DObjCContainersASTChecker.cpp30 const CheckerBase *Checker; member in __anon3952767e0111::WalkAST
75 : BR(br), Checker(checker), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
145 BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(), in VisitCallExpr()
161 class ObjCContainersASTChecker : public Checker<check::ASTCodeBody> {
DCStringSyntaxChecker.cpp34 const CheckerBase *Checker; member in __anon6def30e30111::WalkAST
86 : Checker(checker), BR(br), AC(ac) {} in WalkAST()
160 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr()
177 class CStringSyntaxChecker: public Checker<check::ASTCodeBody> {
DCMakeLists.txt44 MPI-Checker/MPIBugReporter.cpp
45 MPI-Checker/MPIChecker.cpp
46 MPI-Checker/MPIFunctionClassifier.cpp
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dchecker.h33 class Checker {
35 virtual ~Checker() {} in ~Checker()
39 AdviceProto::Checker Run(const AdvisorOptionsProto::CheckerOption& options, in Run()
45 virtual AdviceProto::Checker Check(
Daccelerator_utilization_checker.h34 class AcceleratorUtilizationChecker : public Checker {
39 AdviceProto::Checker Check(const AdvisorOptionsProto::CheckerOption& options, in Check()
52 AdviceProto::Checker CheckInternal() { in CheckInternal()
103 AdviceProto::Checker reports_;
Doperation_checker.h25 class OperationChecker : public Checker {
30 AdviceProto::Checker Check(const AdvisorOptionsProto::CheckerOption& options, in Check()
71 AdviceProto::Checker reports_;
/external/clang/lib/StaticAnalyzer/Core/
DChecker.cpp30 CheckerProgramPointTag::CheckerProgramPointTag(const CheckerBase *Checker, in CheckerProgramPointTag() argument
32 : SimpleProgramPointTag(Checker->getCheckName().getName(), Msg) {} in CheckerProgramPointTag()
35 const CheckerBase &Checker) { in operator <<() argument
36 Out << Checker.getCheckName().getName(); in operator <<()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp31 RuntimeDyldCheckerExprEval(const RuntimeDyldCheckerImpl &Checker, in RuntimeDyldCheckerExprEval() argument
33 : Checker(Checker) {} in RuntimeDyldCheckerExprEval()
64 Checker.ErrStream << "Expression '" << Expr << "' is false: " in evaluate()
85 const RuntimeDyldCheckerImpl &Checker; member in llvm::RuntimeDyldCheckerExprEval
148 Checker.ErrStream << "Error evaluating expression '" << Expr in handleError()
229 if (!Checker.isSymbolValid(Symbol)) in evalDecodeOperand()
265 Inst.dump_pretty(ErrMsgStream, Checker.InstPrinter); in evalDecodeOperand()
275 Inst.dump_pretty(ErrMsgStream, Checker.InstPrinter); in evalDecodeOperand()
297 if (!Checker.isSymbolValid(Symbol)) in evalNextPC()
315 ? Checker.getSymbolLocalAddr(Symbol) in evalNextPC()
[all …]
DRuntimeDyld.cpp324 if (Checker) in loadObjectImpl()
325 Checker->registerStubMap(Obj.getFileName(), SectionID, Stubs); in loadObjectImpl()
645 if (Checker) in emitCommonSymbols()
646 Checker->registerSection(Obj.getFileName(), SectionID); in emitCommonSymbols()
746 if (Checker) in emitSection()
747 Checker->registerSection(Obj.getFileName(), SectionID); in emitSection()
987 Checker = nullptr; in RuntimeDyld()
995 bool ProcessAllSections, RuntimeDyldCheckerImpl *Checker) { in createRuntimeDyldCOFF() argument
999 Dyld->setRuntimeDyldChecker(Checker); in createRuntimeDyldCOFF()
1006 bool ProcessAllSections, RuntimeDyldCheckerImpl *Checker) { in createRuntimeDyldELF() argument
[all …]
/external/clang/test/CodeGenCXX/
Dconditional-temporaries.cpp28 struct Checker { struct
29 Checker() { in Checker() function
35 Checker c;
/external/tensorflow/tensorflow/core/lib/gtl/
Darray_slice_internal.h71 template <typename M, typename Checker, typename C>
82 return !std::is_same<Result, None>() && Checker::template valid<Result>(); in HasGet()
88 template <typename M, typename Checker, typename C,
89 bool /*has_get*/ = HasGetHelper<M, Checker, C>::HasGet()>
94 template <typename M, typename Checker, typename C>
95 struct Wrapper<M, Checker, C, true> {
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp475 static int checkAllExpressions(RuntimeDyldChecker &Checker) { in checkAllExpressions() argument
483 if (!Checker.checkAllRulesInBuffer("# rtdyld-check:", in checkAllExpressions()
491 applySpecificSectionMappings(RuntimeDyldChecker &Checker) { in applySpecificSectionMappings() argument
511 Checker.getSectionAddr(FileName, SectionName, true); in applySpecificSectionMappings()
525 Checker.getRTDyld().mapSectionAddress(OldAddr, NewAddr); in applySpecificSectionMappings()
545 RuntimeDyldChecker &Checker) { in remapSectionsAndSymbols() argument
559 AppliedMappingsT AppliedMappings = applySpecificSectionMappings(Checker); in remapSectionsAndSymbols()
605 Checker.getRTDyld().mapSectionAddress(CurEntry.first, NextSectionAddr); in remapSectionsAndSymbols()
679 RuntimeDyldChecker Checker(Dyld, Disassembler.get(), InstPrinter.get(), in linkAndVerify() local
715 remapSectionsAndSymbols(TheTriple, MemMgr, Checker); in linkAndVerify()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/
DChecker.h348 _checkPointerEscape(void *Checker, in _checkPointerEscape() argument
356 return ((const CHECKER *)Checker)->checkPointerEscape(State, in _checkPointerEscape()
373 return ((const CHECKER *)Checker)->checkPointerEscape(State, in _checkPointerEscape()
391 _checkConstPointerEscape(void *Checker, in _checkConstPointerEscape() argument
413 return ((const CHECKER *)Checker)->checkConstPointerEscape(State, in _checkConstPointerEscape()
494 raw_ostream& operator<<(raw_ostream &Out, const CheckerBase &Checker);
501 CheckerProgramPointTag(const CheckerBase *Checker, StringRef Msg);
505 class Checker : public CHECK1, public CHECKs..., public CheckerBase {
510 Checker<CHECKs...>::_register(checker, mgr); in _register()
515 class Checker<CHECK1> : public CHECK1, public CheckerBase {
/external/llvm/include/llvm/ADT/
DPointerSumType.h162 struct Checker : Checker<InnerMemberTs...> {
166 template <typename MemberT> struct Checker<MemberT> : std::true_type {
170 static_assert(Checker<MemberTs...>::value,

123456