/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | Checkers.td | 86 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/perfetto/src/base/ |
D | circular_queue_unittest.cc | 177 class Checker { in TEST() class 184 Checker(Stats* stats, int n) : stats_(stats), n_(n) { in TEST() function in perfetto::base::__anon2bc373d60111::TEST::Checker 191 ~Checker() { in TEST() 199 Checker(Checker&& other) noexcept { in TEST() function in perfetto::base::__anon2bc373d60111::TEST::Checker 206 Checker& operator=(Checker&& other) { in TEST() 207 new (this) Checker(std::move(other)); in TEST() 211 Checker(const Checker&) = delete; in TEST() 212 Checker& operator=(const Checker&) = delete; in TEST() 220 Checker::Stats stats; in TEST() 222 CircularQueue<Checker> queue(/*initial_capacity=*/2); in TEST() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | NewInstanceTagTest.java | 48 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/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | file_size.pass.cpp | 105 ExceptionChecker Checker(p, TC.expected_err, "directory_entry::file_size"); in TEST_CASE() local 106 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.file_size()); in TEST_CASE() 136 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() local 139 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.file_size()); in TEST_CASE() 159 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE() local 162 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.file_size()); in TEST_CASE() 179 ExceptionChecker Checker(file, std::errc::permission_denied, "file_size"); in TEST_CASE() local 180 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.file_size()); in TEST_CASE() 204 ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, in TEST_CASE() local 206 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.file_size()); in TEST_CASE() [all …]
|
D | last_write_time.pass.cpp | 108 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() local 111 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.last_write_time()); in TEST_CASE() 131 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE() local 134 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.last_write_time()); in TEST_CASE() 151 ExceptionChecker Checker(file, std::errc::permission_denied, in TEST_CASE() local 153 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.last_write_time()); in TEST_CASE() 177 ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, in TEST_CASE() local 179 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.last_write_time()); in TEST_CASE() 203 ExceptionChecker Checker(sym_out_of_dir, std::errc::permission_denied, in TEST_CASE() local 205 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.last_write_time()); in TEST_CASE()
|
D | hard_link_count.pass.cpp | 135 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() local 138 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.hard_link_count()); in TEST_CASE() 158 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE() local 161 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.hard_link_count()); in TEST_CASE() 178 ExceptionChecker Checker(file, std::errc::permission_denied, in TEST_CASE() local 180 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.hard_link_count()); in TEST_CASE() 204 ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, in TEST_CASE() local 206 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.hard_link_count()); in TEST_CASE() 230 ExceptionChecker Checker(sym_out_of_dir, std::errc::permission_denied, in TEST_CASE() local 232 TEST_CHECK_THROW_RESULT(filesystem_error, Checker, ent.hard_link_count()); in TEST_CASE()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 35 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>> {
|
D | LLVMConventionsChecker.cpp | 120 const CheckerBase *Checker; member in __anonb73d8c160111::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 __anonb73d8c160211::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 …]
|
D | CheckObjCInstMethSignature.cpp | 44 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<
|
D | DirectIvarAssignment.cpp | 53 public Checker<check::ASTDecl<ObjCImplementationDecl> > { 65 const CheckerBase *Checker; member in __anonbc0efef60111::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()
|
D | CheckSizeofPointer.cpp | 27 const CheckerBase *Checker; member in __anon153c04df0111::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> {
|
D | IdenticalExprChecker.cpp | 39 const CheckerBase *Checker; member in __anon086543d10111::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> {
|
D | NSErrorChecker.cpp | 41 : 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,
|
D | PaddingChecker.cpp | 33 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()
|
D | VirtualCallChecker.cpp | 31 const CheckerBase *Checker; member in __anon25a431a80111::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> > {
|
D | ObjCContainersASTChecker.cpp | 30 const CheckerBase *Checker; member in __anon9624e1610111::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> {
|
/external/tensorflow/tensorflow/core/profiler/internal/advisor/ |
D | checker.h | 33 class Checker { 35 virtual ~Checker() {} in ~Checker() 39 AdviceProto::Checker Run(const AdvisorOptionsProto::CheckerOption& options, in Run() 45 virtual AdviceProto::Checker Check(
|
D | accelerator_utilization_checker.h | 34 class AcceleratorUtilizationChecker : public Checker { 39 AdviceProto::Checker Check(const AdvisorOptionsProto::CheckerOption& options, in Check() 52 AdviceProto::Checker CheckInternal() { in CheckInternal() 103 AdviceProto::Checker reports_;
|
D | operation_checker.h | 25 class OperationChecker : public Checker { 30 AdviceProto::Checker Check(const AdvisorOptionsProto::CheckerOption& options, in Check() 71 AdviceProto::Checker reports_;
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Checker.cpp | 30 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/ |
D | RuntimeDyldChecker.cpp | 31 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 …]
|
D | RuntimeDyld.cpp | 324 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 31 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 …]
|
/external/clang/test/CodeGenCXX/ |
D | conditional-temporaries.cpp | 28 struct Checker { struct 29 Checker() { in Checker() argument 35 Checker c;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 483 static int checkAllExpressions(RuntimeDyldChecker &Checker) { in checkAllExpressions() argument 491 if (!Checker.checkAllRulesInBuffer("# rtdyld-check:", in checkAllExpressions() 498 void applySpecificSectionMappings(RuntimeDyldChecker &Checker) { in applySpecificSectionMappings() argument 516 Checker.getSectionAddr(FileName, SectionName, true); in applySpecificSectionMappings() 530 Checker.getRTDyld().mapSectionAddress(OldAddr, NewAddr); in applySpecificSectionMappings() 547 RuntimeDyldChecker &Checker) { in remapSectionsAndSymbols() argument 560 applySpecificSectionMappings(Checker); in remapSectionsAndSymbols() 575 auto LoadAddr = Checker.getSectionLoadAddress(Tmp->first); in remapSectionsAndSymbols() 610 Checker.getRTDyld().mapSectionAddress(CurEntry.first, NextSectionAddr); in remapSectionsAndSymbols() 684 RuntimeDyldChecker Checker(Dyld, Disassembler.get(), InstPrinter.get(), in linkAndVerify() local [all …]
|