| /netbsd-src/external/bsd/libarchive/dist/libarchive/test/ |
| H A D | test_short_writes.c | 39 struct checker { struct 54 struct checker *checker = client_data; in short_write_callback() argument 56 size_t new_len = checker->shortbuf_len + to_write; in short_write_callback() 57 char *new_buf = realloc(checker->shortbuf, new_len); in short_write_callback() 60 checker->shortbuf = new_buf; in short_write_callback() 61 memcpy(checker->shortbuf + checker->shortbuf_len, buffer, to_write); in short_write_callback() 62 checker->shortbuf_len = new_len; in short_write_callback() 72 struct checker *checker = client_data; in full_write_callback() local 74 size_t new_len = checker->fullbuf_len + to_write; in full_write_callback() 75 char *new_buf = realloc(checker->fullbuf, new_len); in full_write_callback() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | Checker.h | 31 static void _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, in _checkDecl() argument 33 ((const CHECKER *)checker)->checkASTDecl(cast<DECL>(D), mgr, BR); in _checkDecl() 41 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument 42 mgr._registerForDecl(CheckerManager::CheckDeclFunc(checker, in _register() 50 static void _checkBody(void *checker, const Decl *D, AnalysisManager& mgr, in _checkBody() argument 52 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); in _checkBody() 57 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument 58 mgr._registerForBody(CheckerManager::CheckDeclFunc(checker, in _register() 65 static void _checkEndOfTranslationUnit(void *checker, in _checkEndOfTranslationUnit() argument 69 ((const CHECKER *)checker)->checkEndOfTranslationUnit(TU, mgr, BR); in _checkEndOfTranslationUnit() [all …]
|
| H A D | CheckerManager.h | 70 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) {} in CheckerFn() argument 210 CHECKER *checker = new CHECKER(std::forward<AT>(Args)...); in registerChecker() local 211 checker->Name = CurrentCheckerName; in registerChecker() 212 CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>)); in registerChecker() 213 CHECKER::_register(checker, *this); in registerChecker() 214 ref = checker; in registerChecker() 215 return checker; in registerChecker()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugType.h | 73 BuiltinBug(class CheckerNameRef checker, const char *name, in BuiltinBug() argument 75 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug() 77 BuiltinBug(const CheckerBase *checker, const char *name, in BuiltinBug() argument 79 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug() 81 BuiltinBug(class CheckerNameRef checker, const char *name) in BuiltinBug() argument 82 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug() 84 BuiltinBug(const CheckerBase *checker, const char *name) in BuiltinBug() argument 85 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | CheckerBase.td | 13 /// Describes a checker or package option type. This is important for validating 40 /// -analyzer-checker-option-help. 47 /// Describes an option for a checker or a package. 64 /// Describes a package. Every checker is a part of a package, for example, 88 /// Describes what kind of documentation exists for the checker. 100 /// Describes a checker. Every builtin checker has to be registered with the use 102 /// Note that a checker has a name (e.g.: 'NullDereference'), and a fullname, 122 /// Describes a list of checker options. 129 /// string operations, so it depends on CStringBase. A checker may only be 131 /// are always registered before the dependent checker, and its checker [all …]
|
| H A D | Checkers.td | 18 // (For example, a Cocoa-specific checker that is alpha should be in 33 // The checker hierarchy under OptIn should mirror that in Alpha: checkers 132 "this checker conservatively assumes it to be non-null">, 296 HelpText<"Simple lock -> unlock checker">, 358 "If set to true, the checker displays the found summaries " 365 "If set to true, the checker models functions from the " 484 "If set to true, the checker assumes that all the " 522 HelpText<"Simple lock -> unlock checker">, 639 "If set to false, the checker won't emit warnings " 646 "If set to true, the checker will emit a warning " [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/ |
| H A D | check-each-file | 49 checker="$4" 101 if [ -z "$checker" ] 106 if [ ! -x "$checker" ] 108 echo "ERROR: $checker not found or not executable" 121 if $checker 133 if $checker
|
| /netbsd-src/external/mit/isl/dist/cpp/ |
| H A D | cpp-checked.h.top | 44 struct checker { 46 ~checker() { 53 mutable std::shared_ptr<checker> check = std::make_shared<checker>(); 126 mutable std::shared_ptr<checker> check = std::make_shared<checker>(); 164 mutable std::shared_ptr<checker> check = std::make_shared<checker>();
|
| /netbsd-src/external/bsd/lutok/dist/ |
| H A D | operations_test.cpp | 178 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local 192 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local 236 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local 246 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local 257 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local 270 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-array-bounds.cc | 720 array_bounds_checker *checker = (array_bounds_checker *) wi->info; in check_array_bounds() local 721 gcc_assert (checker->m_stmt == wi->stmt); in check_array_bounds() 724 warned = checker->check_array_ref (location, t, wi->stmt, in check_array_bounds() 727 warned = checker->check_mem_ref (location, t, in check_array_bounds() 731 checker->check_addr_expr (location, t, wi->stmt); in check_array_bounds() 755 check_array_bounds_dom_walker (array_bounds_checker *checker) in check_array_bounds_dom_walker() argument 761 checker (checker) { } in check_array_bounds_dom_walker() 767 array_bounds_checker *checker; member in check_array_bounds_dom_walker 787 wi.info = checker; in before_dom_children() 788 checker->m_stmt = stmt; in before_dom_children()
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/developer-docs/ |
| H A D | InitializerLists.rst | 39 The obvious approach to modeling ``std::initializer_list`` in a checker would be to 51 within the checker. 55 thing to do anyway) such checker would be able to solve the false positives by 67 turns out to be reachable. This requires no work on checker side, but it sounds 90 * When should something belong to a checker and when should something belong to the engine? 93 * What is the checker programming model that we are aiming for? Maximum freedom or more easy checke… 99 construct modeling to the engine when the checker API is not sufficient instead 109 limited performance budget. And I think we should not expect most of the checker 118 * To me it seems obvious that we need to aim for a checker API that is both 131 the checker overwrites stuff written by the core because it thinks it has a [all …]
|
| H A D | nullability.rst | 29 Because bar corresponds to the same symbol all the time it is not easy to implement the checker tha… 53 … with the analyzer. (This can be implemented either in constraint solver or in the checker itself.) 90 …checker more complicated, because this way a vector of nullability qualifiers would be needed to b… 103 * The checker would track memory regions, and to each relevant region a qualifier information would… 104 * On a branch, where a nullable pointer is known to be non null, the checker treat it as a same way…
|
| H A D | DebugChecks.rst | 9 them by using the "-analyzer-checker=" flag, followed by the name of the 10 checker. 65 checks under experimental.security.taint.TaintPropagation; this checker may 105 The intended use of this checker is to assert that a function is inlined at 161 symbol, then this symbol is marked by the ExprInspection checker. Then, 162 during each garbage collection run, the checker sees if the marked symbol is 283 This would help to reduce the *noise* that the `TaintTest` debug checker would 316 The debug.Stats checker collects various information about the analysis of each 320 statistics within the analyzer engine. Note the Stats checker (which produces at
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSErrorChecker.cpp | 332 NSOrCFErrorDerefChecker *checker = mgr.getChecker<NSOrCFErrorDerefChecker>(); in registerNSErrorChecker() local 333 checker->ShouldCheckNSError = true; in registerNSErrorChecker() 334 checker->NSErrorName = mgr.getCurrentCheckerName(); in registerNSErrorChecker() 343 NSOrCFErrorDerefChecker *checker = mgr.getChecker<NSOrCFErrorDerefChecker>(); in registerCFErrorChecker() local 344 checker->ShouldCheckCFError = true; in registerCFErrorChecker() 345 checker->CFErrorName = mgr.getCurrentCheckerName(); in registerCFErrorChecker()
|
| H A D | LLVMConventionsChecker.cpp | 122 const CheckerBase *checker) in StringRefCheckerVisitor() argument 123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor() 222 const CheckerBase *checker) in ASTFieldVisitor() argument 223 : Root(root), BR(br), Checker(checker) {} in ASTFieldVisitor()
|
| H A D | CheckSizeofPointer.cpp | 30 WalkAST(BugReporter &br, const CheckerBase *checker, AnalysisDeclContext *ac) in WalkAST() argument 31 : BR(br), Checker(checker), AC(ac) {} in WalkAST()
|
| H A D | ObjCContainersASTChecker.cpp | 73 WalkAST(BugReporter &br, const CheckerBase *checker, AnalysisDeclContext *ac) in WalkAST() argument 74 : BR(br), Checker(checker), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
|
| H A D | NullabilityChecker.cpp | 1241 NullabilityChecker *checker = mgr.getChecker<NullabilityChecker>(); \ 1242 checker->ChecksEnabled[NullabilityChecker::CK_##name] = true; \ 1243 checker->CheckNames[NullabilityChecker::CK_##name] = \ 1245 checker->NeedTracking = checker->NeedTracking || trackingRequired; \ 1246 checker->NoDiagnoseCallsToSystemHeaders = \ 1247 checker->NoDiagnoseCallsToSystemHeaders || \ 1249 checker, "NoDiagnoseCallsToSystemHeaders", true); \
|
| /netbsd-src/share/mk/ |
| H A D | bsd.clang-analyze.mk | 9 .for checker in ${CLANG_ANALYZE_CHECKERS} 10 CLANG_ANALYZE_FLAGS+= -Xanalyzer -analyzer-checker=${checker}
|
| /netbsd-src/external/bsd/file/dist/magic/magdir/ |
| H A D | measure | 21 0 name diy-thermocam-checker 30 >38400 use diy-thermocam-checker 36 >9600 use diy-thermocam-checker
|
| /netbsd-src/usr.bin/xlint/lint1/ |
| H A D | cksnprintb.c | 56 } checker; typedef 104 check_bit(checker *ck, uint64_t dir_lsb, uint64_t width, in check_bit() 137 parse_description(checker *ck, const quoted_iterator *dir) in parse_description() 157 check_conversion(checker *ck) in check_conversion() 287 checker ck = { in check_snprintb()
|
| /netbsd-src/external/mit/expat/dist/win32/ |
| H A D | MANIFEST.txt | 17 The XML well-formedness checker xmlwf. 22 formedness checker, and a couple of small sample
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/ |
| H A D | clang.py | 91 def predicate(checker): argument 94 return any(pattern.match(checker) for pattern in predicate.patterns)
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransBlockObjCVariable.cpp | 92 BlockVarChecker checker(var); in VisitBlockDecl() local 93 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody()); in VisitBlockDecl()
|
| /netbsd-src/distrib/syspkg/sets/comp/comp-c-lintlib/ |
| H A D | COMMENT | 1 data files for the lint(1) syntax checker
|