/dports/devel/cppcheck-gui/cppcheck-2.6.3/lib/ |
H A D | checkbool.cpp | 53 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIncrementBoolean() local 54 for (const Scope * scope : symbolDatabase->functionScopes) { in checkIncrementBoolean() 97 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBitwiseOnBoolean() 138 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolWithInt() 191 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfFuncReturningBool() 253 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolWithBool() 295 for (const Scope * scope : symbolDatabase->functionScopes) { in checkAssignBoolToPointer() 319 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolExpressionWithInt() 385 for (const Scope &scope : symbolDatabase->scopeList) { in pointerArithBool() 438 for (const Scope * scope : symbolDatabase->functionScopes) { in checkAssignBoolToFloat() [all …]
|
H A D | checkexceptionsafety.cpp | 43 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in destructors() local 46 for (const Scope * scope : symbolDatabase->functionScopes) { in destructors() 91 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in deallocThrow() local 95 for (const Scope * scope : symbolDatabase->functionScopes) { in deallocThrow() 163 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in checkRethrowCopy() local 165 for (const Scope &scope : symbolDatabase->scopeList) { in checkRethrowCopy() 205 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in checkCatchExceptionByValue() local 207 for (const Scope &scope : symbolDatabase->scopeList) { in checkCatchExceptionByValue() 276 for (const Scope * scope : symbolDatabase->functionScopes) { in nothrowThrows() 320 for (const Scope * scope : symbolDatabase->functionScopes) { in unhandledExceptionSpecification() [all …]
|
H A D | checkinternal.cpp | 39 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkTokenMatchPatterns() local 40 for (const Scope *scope : symbolDatabase->functionScopes) { in checkTokenMatchPatterns() 131 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkTokenSimpleMatchPatterns() local 132 for (const Scope* scope : symbolDatabase->functionScopes) { in checkTokenSimpleMatchPatterns() 215 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkMissingPercentCharacter() local 216 for (const Scope* scope : symbolDatabase->functionScopes) { in checkMissingPercentCharacter() 257 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkUnknownPattern() local 258 for (const Scope* scope : symbolDatabase->functionScopes) { in checkUnknownPattern() 292 for (const Scope* scope : symbolDatabase->functionScopes) { in checkRedundantNextPrevious() 323 for (const Scope* scope : symbolDatabase->functionScopes) { in checkExtraWhitespace() [all …]
|
H A D | checkfunctions.cpp | 56 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkProhibitedFunctions() local 57 for (const Scope *scope : symbolDatabase->functionScopes) { in checkProhibitedFunctions() 99 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in invalidFunctionUsage() local 100 for (const Scope *scope : symbolDatabase->functionScopes) { in invalidFunctionUsage() 195 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIgnoredReturnValue() local 196 for (const Scope *scope : symbolDatabase->functionScopes) { in checkIgnoredReturnValue() 256 for (const Scope *scope : symbolDatabase->functionScopes) { in checkMissingReturn() 372 for (const Scope *scope : symbolDatabase->functionScopes) { in checkMathFunctions() 454 for (const Scope *scope : symbolDatabase->functionScopes) { in memsetZeroBytes() 493 for (const Scope *scope : symbolDatabase->functionScopes) { in memsetInvalid2ndParam() [all …]
|
H A D | checkstring.cpp | 56 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in stringLiteralWrite() local 57 for (const Scope * scope : symbolDatabase->functionScopes) { in stringLiteralWrite() 168 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSuspiciousStringCompare() local 169 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSuspiciousStringCompare() 225 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in strPlusChar() local 226 for (const Scope * scope : symbolDatabase->functionScopes) { in strPlusChar() 257 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIncorrectStringCompare() local 258 for (const Scope * scope : symbolDatabase->functionScopes) { in checkIncorrectStringCompare() 325 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in overlappingStrcmp() local 326 for (const Scope * scope : symbolDatabase->functionScopes) { in overlappingStrcmp() [all …]
|
H A D | checkother.cpp | 87 for (const Scope * scope : symbolDatabase->functionScopes) { in checkCastIntToCharAndBack() 155 for (const Scope * scope : symbolDatabase->functionScopes) { in clarifyCalculation() 224 for (const Scope * scope : symbolDatabase->functionScopes) { in clarifyStatement() 260 for (const Scope &scope : symbolDatabase->scopeList) { in checkSuspiciousSemicolon() 291 for (const Scope * scope : symbolDatabase->functionScopes) { in warningOldStylePointerCast() 342 for (const Scope * scope : symbolDatabase->functionScopes) { in invalidPointerCast() 432 for (const Scope *scope : symbolDatabase->functionScopes) { in checkRedundantAssignment() 735 for (const Scope & scope : symbolDatabase->scopeList) { in checkSuspiciousCaseInSwitch() 1939 for (const Scope & scope : symbolDatabase->scopeList) { in checkDuplicateBranch() 2129 getConstFunctions(symbolDatabase, constFunctions); in checkDuplicateExpression() [all …]
|
H A D | checkvaarg.cpp | 49 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in va_start_argument() local 50 const std::size_t functions = symbolDatabase->functionScopes.size(); in va_start_argument() 54 const Scope* scope = symbolDatabase->functionScopes[i]; in va_start_argument() 100 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in va_list_usage() local 101 for (const Variable* var : symbolDatabase->variableList()) { in va_list_usage()
|
H A D | check64bit.cpp | 47 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in pointerassignment() local 50 for (const Scope * scope : symbolDatabase->functionScopes) { in pointerassignment() 88 for (const Scope * scope : symbolDatabase->functionScopes) { in pointerassignment()
|
H A D | checkpostfixoperator.cpp | 48 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in postfixOperator() local 50 for (const Scope * scope : symbolDatabase->functionScopes) { in postfixOperator()
|
H A D | checkboost.cpp | 33 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkBoostForeachModification() local 34 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBoostForeachModification()
|
H A D | checkstl.cpp | 396 for (const Variable* var : symbolDatabase->variableList()) { in iterators() 405 for (const Variable* var : symbolDatabase->variableList()) { in iterators() 711 for (const Scope * scope : symbolDatabase->functionScopes) { in mismatchingContainers() 960 analyzer.analyze(symbolDatabase); in invalidContainer() 1129 for (const Scope &scope : symbolDatabase->scopeList) { in stlOutOfBounds() 1251 for (const Scope &scope : symbolDatabase->scopeList) { in erase() 1371 for (const Scope &scope : symbolDatabase->scopeList) { in if_find() 1671 for (const Scope &scope : symbolDatabase->scopeList) { in redundantCondition() 1710 for (const Scope &scope : symbolDatabase->scopeList) { in missingComparison() 1807 for (const Scope &scope : symbolDatabase->scopeList) { in string_c_str() [all …]
|
H A D | checksizeof.cpp | 46 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForNumericParameter() local 47 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForNumericParameter() 73 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForArrayParameter() local 74 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForArrayParameter() 112 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForPointerSize() local 113 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForPointerSize()
|
/dports/devel/cppcheck/cppcheck-2.6.3/lib/ |
H A D | checkbool.cpp | 53 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIncrementBoolean() local 54 for (const Scope * scope : symbolDatabase->functionScopes) { in checkIncrementBoolean() 97 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBitwiseOnBoolean() 138 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolWithInt() 191 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfFuncReturningBool() 253 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolWithBool() 295 for (const Scope * scope : symbolDatabase->functionScopes) { in checkAssignBoolToPointer() 319 for (const Scope * scope : symbolDatabase->functionScopes) { in checkComparisonOfBoolExpressionWithInt() 385 for (const Scope &scope : symbolDatabase->scopeList) { in pointerArithBool() 438 for (const Scope * scope : symbolDatabase->functionScopes) { in checkAssignBoolToFloat() [all …]
|
H A D | checkexceptionsafety.cpp | 43 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in destructors() local 46 for (const Scope * scope : symbolDatabase->functionScopes) { in destructors() 91 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in deallocThrow() local 95 for (const Scope * scope : symbolDatabase->functionScopes) { in deallocThrow() 163 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in checkRethrowCopy() local 165 for (const Scope &scope : symbolDatabase->scopeList) { in checkRethrowCopy() 205 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in checkCatchExceptionByValue() local 207 for (const Scope &scope : symbolDatabase->scopeList) { in checkCatchExceptionByValue() 276 for (const Scope * scope : symbolDatabase->functionScopes) { in nothrowThrows() 320 for (const Scope * scope : symbolDatabase->functionScopes) { in unhandledExceptionSpecification() [all …]
|
H A D | checkinternal.cpp | 39 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkTokenMatchPatterns() local 40 for (const Scope *scope : symbolDatabase->functionScopes) { in checkTokenMatchPatterns() 131 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkTokenSimpleMatchPatterns() local 132 for (const Scope* scope : symbolDatabase->functionScopes) { in checkTokenSimpleMatchPatterns() 215 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkMissingPercentCharacter() local 216 for (const Scope* scope : symbolDatabase->functionScopes) { in checkMissingPercentCharacter() 257 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkUnknownPattern() local 258 for (const Scope* scope : symbolDatabase->functionScopes) { in checkUnknownPattern() 292 for (const Scope* scope : symbolDatabase->functionScopes) { in checkRedundantNextPrevious() 323 for (const Scope* scope : symbolDatabase->functionScopes) { in checkExtraWhitespace() [all …]
|
H A D | checkfunctions.cpp | 56 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkProhibitedFunctions() local 57 for (const Scope *scope : symbolDatabase->functionScopes) { in checkProhibitedFunctions() 99 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in invalidFunctionUsage() local 100 for (const Scope *scope : symbolDatabase->functionScopes) { in invalidFunctionUsage() 195 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIgnoredReturnValue() local 196 for (const Scope *scope : symbolDatabase->functionScopes) { in checkIgnoredReturnValue() 256 for (const Scope *scope : symbolDatabase->functionScopes) { in checkMissingReturn() 372 for (const Scope *scope : symbolDatabase->functionScopes) { in checkMathFunctions() 454 for (const Scope *scope : symbolDatabase->functionScopes) { in memsetZeroBytes() 493 for (const Scope *scope : symbolDatabase->functionScopes) { in memsetInvalid2ndParam() [all …]
|
H A D | checkstring.cpp | 56 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in stringLiteralWrite() local 57 for (const Scope * scope : symbolDatabase->functionScopes) { in stringLiteralWrite() 168 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSuspiciousStringCompare() local 169 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSuspiciousStringCompare() 225 const SymbolDatabase* symbolDatabase = mTokenizer->getSymbolDatabase(); in strPlusChar() local 226 for (const Scope * scope : symbolDatabase->functionScopes) { in strPlusChar() 257 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkIncorrectStringCompare() local 258 for (const Scope * scope : symbolDatabase->functionScopes) { in checkIncorrectStringCompare() 325 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in overlappingStrcmp() local 326 for (const Scope * scope : symbolDatabase->functionScopes) { in overlappingStrcmp() [all …]
|
H A D | checkother.cpp | 87 for (const Scope * scope : symbolDatabase->functionScopes) { in checkCastIntToCharAndBack() 155 for (const Scope * scope : symbolDatabase->functionScopes) { in clarifyCalculation() 224 for (const Scope * scope : symbolDatabase->functionScopes) { in clarifyStatement() 260 for (const Scope &scope : symbolDatabase->scopeList) { in checkSuspiciousSemicolon() 291 for (const Scope * scope : symbolDatabase->functionScopes) { in warningOldStylePointerCast() 342 for (const Scope * scope : symbolDatabase->functionScopes) { in invalidPointerCast() 432 for (const Scope *scope : symbolDatabase->functionScopes) { in checkRedundantAssignment() 735 for (const Scope & scope : symbolDatabase->scopeList) { in checkSuspiciousCaseInSwitch() 1939 for (const Scope & scope : symbolDatabase->scopeList) { in checkDuplicateBranch() 2129 getConstFunctions(symbolDatabase, constFunctions); in checkDuplicateExpression() [all …]
|
H A D | checkvaarg.cpp | 49 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in va_start_argument() local 50 const std::size_t functions = symbolDatabase->functionScopes.size(); in va_start_argument() 54 const Scope* scope = symbolDatabase->functionScopes[i]; in va_start_argument() 100 const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase(); in va_list_usage() local 101 for (const Variable* var : symbolDatabase->variableList()) { in va_list_usage()
|
H A D | check64bit.cpp | 47 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in pointerassignment() local 50 for (const Scope * scope : symbolDatabase->functionScopes) { in pointerassignment() 88 for (const Scope * scope : symbolDatabase->functionScopes) { in pointerassignment()
|
H A D | checkboost.cpp | 33 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkBoostForeachModification() local 34 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBoostForeachModification()
|
H A D | checkpostfixoperator.cpp | 48 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in postfixOperator() local 50 for (const Scope * scope : symbolDatabase->functionScopes) { in postfixOperator()
|
H A D | checkstl.cpp | 396 for (const Variable* var : symbolDatabase->variableList()) { in iterators() 405 for (const Variable* var : symbolDatabase->variableList()) { in iterators() 711 for (const Scope * scope : symbolDatabase->functionScopes) { in mismatchingContainers() 960 analyzer.analyze(symbolDatabase); in invalidContainer() 1129 for (const Scope &scope : symbolDatabase->scopeList) { in stlOutOfBounds() 1251 for (const Scope &scope : symbolDatabase->scopeList) { in erase() 1371 for (const Scope &scope : symbolDatabase->scopeList) { in if_find() 1671 for (const Scope &scope : symbolDatabase->scopeList) { in redundantCondition() 1710 for (const Scope &scope : symbolDatabase->scopeList) { in missingComparison() 1807 for (const Scope &scope : symbolDatabase->scopeList) { in string_c_str() [all …]
|
H A D | checksizeof.cpp | 46 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForNumericParameter() local 47 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForNumericParameter() 73 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForArrayParameter() local 74 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForArrayParameter() 112 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkSizeofForPointerSize() local 113 for (const Scope * scope : symbolDatabase->functionScopes) { in checkSizeofForPointerSize()
|
H A D | checkcondition.cpp | 440 for (const Scope &scope : symbolDatabase->scopeList) { in duplicateCondition() 489 for (const Scope &scope : symbolDatabase->scopeList) { in multiCondition() 574 for (const Scope &scope : symbolDatabase->scopeList) { in multiCondition2() 1046 for (const Scope * scope : symbolDatabase->functionScopes) { in checkIncorrectLogicOperator() 1273 for (const Scope * scope : symbolDatabase->functionScopes) { in checkModuloAlwaysTrueFalse() 1327 for (const Scope * scope : symbolDatabase->functionScopes) { in clarifyCondition() 1389 for (const Scope * scope : symbolDatabase->functionScopes) { in alwaysTrueFalse() 1621 for (const Scope * scope : symbolDatabase->functionScopes) { in checkPointerAdditionResultNotNull() 1666 for (const Scope *scope : symbolDatabase->functionScopes) { in checkDuplicateConditionalAssign() 1723 for (const Scope * scope : symbolDatabase->functionScopes) { in checkAssignmentInCondition() [all …]
|