Home
last modified time | relevance | path

Searched refs:inconclusive (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/dports/devel/cppcheck/cppcheck-2.6.3/lib/
H A Dcheckautovariables.cpp300 errorAutoVariableAssignment(expr, inconclusive); in checkAutoVariableAssignment()
303 errorAutoVariableAssignment(expr, inconclusive); in checkAutoVariableAssignment()
321 …eturn checkAutoVariableAssignment(expr, inconclusive, ifStart) || checkAutoVariableAssignment(expr… in checkAutoVariableAssignment()
348 if (!inconclusive) { in errorAutoVariableAssignment()
363 Certainty::inconclusive); in errorAutoVariableAssignment()
527 if (!printInconclusive && lt.inconclusive) in checkVarLifetimeScope()
553 if (!printInconclusive && lt.inconclusive) in checkVarLifetimeScope()
657 const bool inconclusive = val ? val->isInconclusive() : false; in errorReturnDanglingLifetime() local
666 const bool inconclusive = val ? val->isInconclusive() : false; in errorInvalidLifetime() local
675 const bool inconclusive = val ? val->isInconclusive() : false; in errorDanglingTemporaryLifetime() local
[all …]
H A Dchecknullpointer.cpp279 const bool printInconclusive = (mSettings->certainty.isEnabled(Certainty::inconclusive)); in nullPointerByDeRefAndChec()
418 …ror(const Token *tok, const std::string &varname, const ValueFlow::Value *value, bool inconclusive) in nullPointerError() argument
431 …Null pointer dereference", CWE_NULL_POINTER_DEREFERENCE, inconclusive ? Certainty::inconclusive : … in nullPointerError()
435 if (!mSettings->isEnabled(value, inconclusive)) in nullPointerError()
441 …, errmsgcond, CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::i… in nullPointerError()
443 …errmsgdefarg, CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::i… in nullPointerError()
454 …CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::inconclusive : … in nullPointerError()
480 if (!mSettings->certainty.isEnabled(Certainty::inconclusive) && value->isInconclusive()) in arithmetic()
502 …Pointer::pointerArithmeticError(const Token* tok, const ValueFlow::Value *value, bool inconclusive) in pointerArithmeticError() argument
517 inconclusive ? Certainty::inconclusive : Certainty::normal); in pointerArithmeticError()
[all …]
H A Dcheckother.cpp493 if (inconclusive && !mSettings->certainty.isEnabled(Certainty::inconclusive)) in checkRedundantAssignment()
555 if (inconclusive) in redundantAssignmentError()
572 inconclusive ? Certainty::inconclusive : Certainty::normal); in redundantInitializationError()
1269 bool inconclusive = false; in checkPassByReference() local
1274 inconclusive = true; in checkPassByReference()
1280 if (inconclusive && !mSettings->certainty.isEnabled(Certainty::inconclusive)) in checkPassByReference()
1773 if (mSettings->certainty.isEnabled(Certainty::inconclusive) || !inconclusive) in checkIncompleteStatement()
2006 std::map<int, bool> inconclusive; in checkInvalidFree() local
3013 if (inconclusive) { in checkAccessOfMovedVariable()
3070 const bool inconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive); in checkFuncArgNamesDifferent() local
[all …]
H A Dchecksizeof.cpp287 const bool printInconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive); in sizeofCalculation()
307 bool inconclusive = false; in sizeofCalculation() local
309 inconclusive = true; in sizeofCalculation()
311 inconclusive = true; in sizeofCalculation()
313 if (!inconclusive || printInconclusive) in sizeofCalculation()
314 sizeofCalculationError(argument, inconclusive); in sizeofCalculation()
318 void CheckSizeof::sizeofCalculationError(const Token *tok, bool inconclusive) in sizeofCalculationError() argument
321 …culation", "Found calculation inside sizeof().", CWE682, inconclusive ? Certainty::inconclusive : … in sizeofCalculationError()
369 …>severity.isEnabled(Severity::warning) || !mSettings->certainty.isEnabled(Certainty::inconclusive)) in suspiciousSizeofCalculation()
389 …", "Multiplying sizeof() with sizeof() indicates a logic error.", CWE682, Certainty::inconclusive); in multiplySizeofError()
[all …]
H A Dcheckautovariables.h68 …bool checkAutoVariableAssignment(const Token *expr, bool inconclusive, const Token *startToken = n…
78 void errorAutoVariableAssignment(const Token *tok, bool inconclusive);
83 void errorReturnReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
85 void errorDanglingTempReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
86 void errorReturnTempReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
H A Dcheckother.h180 void invalidFreeError(const Token *tok, const std::string &allocation, bool inconclusive);
242 …const Token* tok, const std::string& from, const std::string& to, bool inconclusive, bool toIsInt);
243 void passedByValueError(const Token *tok, const std::string &parname, bool inconclusive);
245 void constStatementError(const Token *tok, const std::string &type, bool inconclusive);
252 …ntAssignmentError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive);
253 …itializationError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive);
262 void duplicateAssignExpressionError(const Token *tok1, const Token *tok2, bool inconclusive);
267 void duplicateBreakError(const Token *tok, bool inconclusive);
268 void unreachableCodeError(const Token* tok, bool inconclusive);
279 void redundantPointerOpError(const Token* tok, const std::string& varname, bool inconclusive);
[all …]
H A Dvalueflow.h411 void setInconclusive(bool inconclusive = true) {
412 if (inconclusive)
453 bool inconclusive; member
455 LifetimeToken() : token(nullptr), addressOf(false), errorPath(), inconclusive(false) {} in LifetimeToken()
458 : token(token), addressOf(false), errorPath(std::move(errorPath)), inconclusive(false) in LifetimeToken()
462 : token(token), addressOf(addressOf), errorPath(std::move(errorPath)), inconclusive(false) in LifetimeToken()
473 x.inconclusive = b; in setInconclusive()
500 CPPCHECKLIB ValueFlow::Value getLifetimeObjValue(const Token *tok, bool inconclusive = false);
502 CPPCHECKLIB std::vector<ValueFlow::Value> getLifetimeObjValues(const Token *tok, bool inconclusive
/dports/devel/cppcheck-gui/cppcheck-2.6.3/lib/
H A Dcheckautovariables.cpp300 errorAutoVariableAssignment(expr, inconclusive); in checkAutoVariableAssignment()
303 errorAutoVariableAssignment(expr, inconclusive); in checkAutoVariableAssignment()
321 …eturn checkAutoVariableAssignment(expr, inconclusive, ifStart) || checkAutoVariableAssignment(expr… in checkAutoVariableAssignment()
348 if (!inconclusive) { in errorAutoVariableAssignment()
363 Certainty::inconclusive); in errorAutoVariableAssignment()
527 if (!printInconclusive && lt.inconclusive) in checkVarLifetimeScope()
553 if (!printInconclusive && lt.inconclusive) in checkVarLifetimeScope()
657 const bool inconclusive = val ? val->isInconclusive() : false; in errorReturnDanglingLifetime() local
666 const bool inconclusive = val ? val->isInconclusive() : false; in errorInvalidLifetime() local
675 const bool inconclusive = val ? val->isInconclusive() : false; in errorDanglingTemporaryLifetime() local
[all …]
H A Dchecknullpointer.cpp279 const bool printInconclusive = (mSettings->certainty.isEnabled(Certainty::inconclusive)); in nullPointerByDeRefAndChec()
418 …ror(const Token *tok, const std::string &varname, const ValueFlow::Value *value, bool inconclusive) in nullPointerError() argument
431 …Null pointer dereference", CWE_NULL_POINTER_DEREFERENCE, inconclusive ? Certainty::inconclusive : … in nullPointerError()
435 if (!mSettings->isEnabled(value, inconclusive)) in nullPointerError()
441 …, errmsgcond, CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::i… in nullPointerError()
443 …errmsgdefarg, CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::i… in nullPointerError()
454 …CWE_NULL_POINTER_DEREFERENCE, inconclusive || value->isInconclusive() ? Certainty::inconclusive : … in nullPointerError()
480 if (!mSettings->certainty.isEnabled(Certainty::inconclusive) && value->isInconclusive()) in arithmetic()
502 …Pointer::pointerArithmeticError(const Token* tok, const ValueFlow::Value *value, bool inconclusive) in pointerArithmeticError() argument
517 inconclusive ? Certainty::inconclusive : Certainty::normal); in pointerArithmeticError()
[all …]
H A Dcheckother.cpp493 if (inconclusive && !mSettings->certainty.isEnabled(Certainty::inconclusive)) in checkRedundantAssignment()
555 if (inconclusive) in redundantAssignmentError()
572 inconclusive ? Certainty::inconclusive : Certainty::normal); in redundantInitializationError()
1269 bool inconclusive = false; in checkPassByReference() local
1274 inconclusive = true; in checkPassByReference()
1280 if (inconclusive && !mSettings->certainty.isEnabled(Certainty::inconclusive)) in checkPassByReference()
1773 if (mSettings->certainty.isEnabled(Certainty::inconclusive) || !inconclusive) in checkIncompleteStatement()
2006 std::map<int, bool> inconclusive; in checkInvalidFree() local
3013 if (inconclusive) { in checkAccessOfMovedVariable()
3070 const bool inconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive); in checkFuncArgNamesDifferent() local
[all …]
H A Dchecksizeof.cpp287 const bool printInconclusive = mSettings->certainty.isEnabled(Certainty::inconclusive); in sizeofCalculation()
307 bool inconclusive = false; in sizeofCalculation() local
309 inconclusive = true; in sizeofCalculation()
311 inconclusive = true; in sizeofCalculation()
313 if (!inconclusive || printInconclusive) in sizeofCalculation()
314 sizeofCalculationError(argument, inconclusive); in sizeofCalculation()
318 void CheckSizeof::sizeofCalculationError(const Token *tok, bool inconclusive) in sizeofCalculationError() argument
321 …culation", "Found calculation inside sizeof().", CWE682, inconclusive ? Certainty::inconclusive : … in sizeofCalculationError()
369 …>severity.isEnabled(Severity::warning) || !mSettings->certainty.isEnabled(Certainty::inconclusive)) in suspiciousSizeofCalculation()
389 …", "Multiplying sizeof() with sizeof() indicates a logic error.", CWE682, Certainty::inconclusive); in multiplySizeofError()
[all …]
H A Dcheckautovariables.h68 …bool checkAutoVariableAssignment(const Token *expr, bool inconclusive, const Token *startToken = n…
78 void errorAutoVariableAssignment(const Token *tok, bool inconclusive);
83 void errorReturnReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
85 void errorDanglingTempReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
86 void errorReturnTempReference(const Token* tok, ErrorPath errorPath, bool inconclusive);
H A Dcheckother.h180 void invalidFreeError(const Token *tok, const std::string &allocation, bool inconclusive);
242 …const Token* tok, const std::string& from, const std::string& to, bool inconclusive, bool toIsInt);
243 void passedByValueError(const Token *tok, const std::string &parname, bool inconclusive);
245 void constStatementError(const Token *tok, const std::string &type, bool inconclusive);
252 …ntAssignmentError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive);
253 …itializationError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive);
262 void duplicateAssignExpressionError(const Token *tok1, const Token *tok2, bool inconclusive);
267 void duplicateBreakError(const Token *tok, bool inconclusive);
268 void unreachableCodeError(const Token* tok, bool inconclusive);
279 void redundantPointerOpError(const Token* tok, const std::string& varname, bool inconclusive);
[all …]
H A Dvalueflow.h411 void setInconclusive(bool inconclusive = true) {
412 if (inconclusive)
453 bool inconclusive; member
455 LifetimeToken() : token(nullptr), addressOf(false), errorPath(), inconclusive(false) {} in LifetimeToken()
458 : token(token), addressOf(false), errorPath(std::move(errorPath)), inconclusive(false) in LifetimeToken()
462 : token(token), addressOf(addressOf), errorPath(std::move(errorPath)), inconclusive(false) in LifetimeToken()
473 x.inconclusive = b; in setInconclusive()
500 CPPCHECKLIB ValueFlow::Value getLifetimeObjValue(const Token *tok, bool inconclusive = false);
502 CPPCHECKLIB std::vector<ValueFlow::Value> getLifetimeObjValues(const Token *tok, bool inconclusive
/dports/devel/cppcheck/cppcheck-2.6.3/test/cfg/
H A Druntests.sh59 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=qt ${DIR}qt.cpp
66 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive ${DIR}std.c
68 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive ${DIR}std.cpp
73 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win32A ${DIR}windows.cpp
74 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win32W ${DIR}windows.cpp
75 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win64 ${DIR}windows.cpp
129 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=gtk -f ${DIR}gtk.c
142 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=boost ${DIR}boost.cpp
169 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=sqlite3 ${DIR}sqlite3.c
312 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=kde ${DIR}kde.cpp
[all …]
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/cfg/
H A Druntests.sh59 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=qt ${DIR}qt.cpp
66 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive ${DIR}std.c
68 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive ${DIR}std.cpp
73 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win32A ${DIR}windows.cpp
74 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win32W ${DIR}windows.cpp
75 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --platform=win64 ${DIR}windows.cpp
129 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=gtk -f ${DIR}gtk.c
142 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=boost ${DIR}boost.cpp
169 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=sqlite3 ${DIR}sqlite3.c
312 ${CPPCHECK} ${CPPCHECK_OPT} --inconclusive --library=kde ${DIR}kde.cpp
[all …]
/dports/devel/cppcheck-gui/cppcheck-2.6.3/gui/
H A Derroritem.cpp37 , inconclusive(false) in ErrorItem()
48 , inconclusive(errmsg.certainty == Certainty::inconclusive) in ErrorItem()
76 if (inconclusive) in toString()
97 errorItem1.inconclusive == errorItem2.inconclusive && in sameCID()
/dports/devel/cppcheck/cppcheck-2.6.3/gui/
H A Derroritem.cpp37 , inconclusive(false) in ErrorItem()
48 , inconclusive(errmsg.certainty == Certainty::inconclusive) in ErrorItem()
76 if (inconclusive) in toString()
97 errorItem1.inconclusive == errorItem2.inconclusive && in sameCID()
/dports/www/zola/zola-0.15.2/cargo-crates/test-case-1.2.1/
H A DCHANGELOG.md21 * `inconclusive` inside test case name will not be supported starting `2.0.0`
25 * Added support for three new keywords: `panics`, `matches` and `inconclusive` which can be applied…
38 `inconclusive` ignores one specific test case.- thanks to @luke_biel
41 #[test_case("XX" ; "inconclusive - parsing letters temporarily doesn't work, but it's ok")]
42 #[test_case("na" => inconclusive ())]
57 * Fixed "inconclusive" feature with different cases.
/dports/sysutils/fd/fd-8.3.0/cargo-crates/test-case-1.2.1/
H A DCHANGELOG.md21 * `inconclusive` inside test case name will not be supported starting `2.0.0`
25 * Added support for three new keywords: `panics`, `matches` and `inconclusive` which can be applied…
38 `inconclusive` ignores one specific test case.- thanks to @luke_biel
41 #[test_case("XX" ; "inconclusive - parsing letters temporarily doesn't work, but it's ok")]
42 #[test_case("na" => inconclusive ())]
57 * Fixed "inconclusive" feature with different cases.
/dports/security/suricata/suricata-6.0.4/rust/vendor/test-case/
H A DCHANGELOG.md8 * Added support for three new keywords: `panics`, `matches` and `inconclusive` which can be applied…
21 `inconclusive` ignores one specific test case.- thanks to @luke_biel
24 #[test_case("XX" ; "inconclusive - parsing letters temporarily doesn't work, but it's ok")]
25 #[test_case("na" => inconclusive ())]
40 * Fixed "inconclusive" feature with different cases.
/dports/math/kalker/kalker-1.1.0/cargo-crates/test-case-1.0.0/
H A DCHANGELOG.md5 * Added support for three new keywords: `panics`, `matches` and `inconclusive` which can be applied…
18 `inconclusive` ignores one specific test case.- thanks to @luke_biel
21 #[test_case("XX" ; "inconclusive - parsing letters temporarily doesn't work, but it's ok")]
22 #[test_case("na" => inconclusive ())]
37 * Fixed "inconclusive" feature with different cases.
/dports/devel/cppcheck-gui/cppcheck-2.6.3/htmlreport/
H A Dcheck.sh43 ../cppcheck ../gui/test --enable=all --inconclusive --xml-version=2 2> "$GUI_TEST_XML"
52 ../cppcheck ../gui/test --enable=all --inconclusive --verbose --xml-version=2 2> "$GUI_TEST_XML"
61 ../cppcheck --errorlist --inconclusive --xml-version=2 > "$ERRORLIST_XML"
/dports/devel/cppcheck/cppcheck-2.6.3/htmlreport/
H A Dcheck.sh43 ../cppcheck ../gui/test --enable=all --inconclusive --xml-version=2 2> "$GUI_TEST_XML"
52 ../cppcheck ../gui/test --enable=all --inconclusive --verbose --xml-version=2 2> "$GUI_TEST_XML"
61 ../cppcheck --errorlist --inconclusive --xml-version=2 > "$ERRORLIST_XML"
/dports/math/kalker/kalker-1.1.0/cargo-crates/test-case-1.0.0/src/
H A Dtest_case.rs26 syn::custom_keyword!(inconclusive);
55 if lookahead.peek(kw::inconclusive) { in parse()
56 let _kw = input.parse::<kw::inconclusive>()?; in parse()
128 let inconclusive = self in render() localVariable
160 if inconclusive { in render()

12345678910>>...27