Home
last modified time | relevance | path

Searched refs:checker (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_short_writes.c39 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 …]
/freebsd/usr.bin/dtc/
H A Dchecking.cc47 struct deleted_node_checker : public checker
49 deleted_node_checker(const char *name) : checker(name) {} in deleted_node_checker()
75 struct address_cells_checker : public checker
77 address_cells_checker(const char *name) : checker(name) {} in address_cells_checker()
117 checker::visit_node(device_tree *tree, const node_ptr &n) in visit_node()
147 checker::report_error(const char *errmsg) in report_error()
256 auto checker = checkers.find(name); in disable_checker() local
257 if (checker != checkers.end()) in disable_checker()
260 checker->second)); in disable_checker()
261 checkers.erase(checker); in disable_checker()
[all …]
H A Dchecking.hh51 class checker class
80 checker(const char *name) : checker_name(name) {} in checker() function in dtc::fdt::checking::checker
84 virtual ~checker() {} in ~checker()
116 class property_checker : public checker
133 : checker(name), key(property_name) {} in property_checker()
259 std::unordered_map<std::string, checker*> checkers;
264 std::unordered_map<std::string, checker*> disabled_checkers;
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckerBase.td13 /// 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.
99 /// Describes a checker. Every builtin checker has to be registered with the use
101 /// Note that a checker has a name (e.g.: 'NullDereference'), and a fullname,
121 /// Describes a list of checker options.
128 /// string operations, so it depends on CStringBase. A checker may only be
130 /// are always registered before the dependent checker, and its checker
[all …]
H A DCheckers.td18 // (For example, a Cocoa-specific checker that is alpha should be in
33 // The checker hierarchy under OptIn should mirror that in Alpha: checkers
141 "If set to true, the checker reports undefined behavior even "
153 "this checker conservatively assumes it to be non-null">,
320 HelpText<"Simple lock -> unlock checker">,
523 "If set to true, the checker assumes that all the "
590 "If set to true, the checker displays the found summaries "
597 "If set to true, the checker models additional functions "
618 HelpText<"Simple lock -> unlock checker">,
717 "If set to false, the checker won't emit warnings "
[all …]
/freebsd/share/mk/
H A Dbsd.clang-analyze.mk45 .for checker in ${CLANG_ANALYZE_CHECKERS}
46 CLANG_ANALYZE_FLAGS+= -Xanalyzer -analyzer-checker=${checker}
49 .for checker in ${CLANG_ANALYZE_CXX_CHECKERS}
50 CLANG_ANALYZE_CXX_FLAGS+= -Xanalyzer -analyzer-checker=${checker}
/freebsd/contrib/lutok/
H A Doperations_test.cpp199 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
213 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
229 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
293 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
305 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
318 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
329 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
342 stack_balance_checker checker(state); in ATF_TEST_CASE_BODY() local
/freebsd/contrib/file/magic/Magdir/
H A Dmeasure21 0 name diy-thermocam-checker
30 >38400 use diy-thermocam-checker
36 >9600 use diy-thermocam-checker
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h143 PtrType checker; /**< When flag==checker, it has been released. */
154 : kmp_flag<FlagType>(), loc(p), checker(c) {}
156 : kmp_flag<FlagType>(sloc), loc(p), checker(c) {}
169 checker;
171 return traits_type::tcr(*(this->get())) == checker;
175 virtual bool done_check_val(PtrType old_loc) { return old_loc == checker; }
182 return traits_type::tcr(*(this->get())) != checker;
237 PtrType checker; /**< Flag == checker means it has been released. */
247 : kmp_flag<FlagType>(), loc(p), checker(c) {}
249 : kmp_flag<FlagType>(sloc), loc(p), checker(c) {}
[all …]
H A Dkmp_dispatch.h267 template <typename T> kmp_uint32 __kmp_ge(T value, T checker) {
268 return value >= checker;
270 template <typename T> kmp_uint32 __kmp_eq(T value, T checker) {
271 return value == checker;
281 checker - value which spinner is >, <, ==, etc.
294 static UT __kmp_wait(volatile UT *spinner, UT checker, in __kmp_wait()
298 UT check = checker; in __kmp_wait()
261 __kmp_ge(T value,T checker) __kmp_ge() argument
264 __kmp_eq(T value,T checker) __kmp_eq() argument
288 __kmp_wait(volatile UT * spinner,UT checker,kmp_uint32 (* pred)(UT,UT)USE_ITT_BUILD_ARG (void * obj)) __kmp_wait() argument
H A Dkmp_dispatch.cpp3023 kmp_uint32 __kmp_eq_4(kmp_uint32 value, kmp_uint32 checker) { in __kmp_eq_4() argument
3024 return value == checker; in __kmp_eq_4()
3027 kmp_uint32 __kmp_neq_4(kmp_uint32 value, kmp_uint32 checker) { in __kmp_neq_4() argument
3028 return value != checker; in __kmp_neq_4()
3031 kmp_uint32 __kmp_lt_4(kmp_uint32 value, kmp_uint32 checker) { in __kmp_lt_4() argument
3032 return value < checker; in __kmp_lt_4()
3035 kmp_uint32 __kmp_ge_4(kmp_uint32 value, kmp_uint32 checker) { in __kmp_ge_4() argument
3036 return value >= checker; in __kmp_ge_4()
3039 kmp_uint32 __kmp_le_4(kmp_uint32 value, kmp_uint32 checker) { in __kmp_le_4() argument
3040 return value <= checker; in __kmp_le_4()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h69 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) {} in CheckerFn() argument
209 CHECKER *checker = new CHECKER(std::forward<AT>(Args)...); in registerChecker() local
210 checker->Name = CurrentCheckerName; in registerChecker()
211 CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>)); in registerChecker()
212 CHECKER::_register(checker, *this); in registerChecker()
213 ref = checker; in registerChecker()
214 return checker; in registerChecker()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp122 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 DObjCContainersASTChecker.cpp73 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 DNullabilityChecker.cpp1399 NullabilityChecker *checker = mgr.getChecker<NullabilityChecker>(); \
1400 checker->ChecksEnabled[NullabilityChecker::CK_##name] = true; \
1401 checker->CheckNames[NullabilityChecker::CK_##name] = \
1403 checker->NeedTracking = checker->NeedTracking || trackingRequired; \
1404 checker->NoDiagnoseCallsToSystemHeaders = \
1405 checker->NoDiagnoseCallsToSystemHeaders || \
1407 checker, "NoDiagnoseCallsToSystemHeaders", true); \
H A DValistChecker.cpp412 ValistChecker *checker = mgr.getChecker<ValistChecker>(); \
413 checker->ChecksEnabled[ValistChecker::CK_##name] = true; \
414 checker->CheckNames[ValistChecker::CK_##name] = \
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp92 BlockVarChecker checker(var); in VisitBlockDecl() local
93 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody()); in VisitBlockDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.h48 std::map<llvm::StringLiteral, AbstractMethodCheckerCases> checker; in CheckAbstractMethodImplementation() local
51 checker[method_name] = error; \ in CheckAbstractMethodImplementation()
66 checker[method_name] = AbstractMethodCheckerCases::eValid; in CheckAbstractMethodImplementation()
71 return checker; in CheckAbstractMethodImplementation()
/freebsd/contrib/libxo/libxo/
H A DMakefile.am88 -analyzer-checker=debug.ViewCallGraph" libxo.o
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangSACheckersEmitter.cpp253 for (const Record *checker : checkers) { in EmitClangSACheckers() local
254 printChecker(OS, *checker); in EmitClangSACheckers()
/freebsd/tools/tools/shlib-compat/
H A DREADME1 ABI compatibility checker for shared libraries with symbol versioning.
/freebsd/contrib/googletest/docs/
H A Dsamples.md22 leak checker.
/freebsd/crypto/heimdal/
H A DChangeLog.20061765 pointer, found by IBM checker.
1768 found by IBM checker.
1771 value on error, found by IBM checker.
1781 checker.
1784 strlen, found by IBM checker.
1787 failure, found by IBM checker.
1793 leak, found by IBM checker.
1796 dereferencing NULL pointer, found by IBM checker.
1800 cname == NULL case. Plugs a memory leak found by IBM checker.
1803 free-ed memory on error. Found by IBM checker.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp491 Checker checker(DeadStmt); in isInCoroutineStmt() local
492 checker.TraverseStmt(const_cast<Stmt *>(CoroStmt)); in isInCoroutineStmt()
493 return checker.CoroutineSubStmt; in isInCoroutineStmt()
/freebsd/crypto/openssl/VMS/
H A Dopenssl_ivp.com.in42 $ ! openssl engine -c -t checker

1234