Home
last modified time | relevance | path

Searched refs:symbolDatabase (Results 1 – 25 of 60) sorted by relevance

123

/dports/devel/cppcheck-gui/cppcheck-2.6.3/lib/
H A Dcheckbool.cpp53 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 Dcheckexceptionsafety.cpp43 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 Dcheckinternal.cpp39 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 Dcheckfunctions.cpp56 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 Dcheckstring.cpp56 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 Dcheckother.cpp87 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 Dcheckvaarg.cpp49 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 Dcheck64bit.cpp47 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 Dcheckpostfixoperator.cpp48 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in postfixOperator() local
50 for (const Scope * scope : symbolDatabase->functionScopes) { in postfixOperator()
H A Dcheckboost.cpp33 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkBoostForeachModification() local
34 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBoostForeachModification()
H A Dcheckstl.cpp396 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 Dchecksizeof.cpp46 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 Dcheckbool.cpp53 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 Dcheckexceptionsafety.cpp43 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 Dcheckinternal.cpp39 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 Dcheckfunctions.cpp56 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 Dcheckstring.cpp56 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 Dcheckother.cpp87 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 Dcheckvaarg.cpp49 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 Dcheck64bit.cpp47 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 Dcheckboost.cpp33 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in checkBoostForeachModification() local
34 for (const Scope * scope : symbolDatabase->functionScopes) { in checkBoostForeachModification()
H A Dcheckpostfixoperator.cpp48 const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase(); in postfixOperator() local
50 for (const Scope * scope : symbolDatabase->functionScopes) { in postfixOperator()
H A Dcheckstl.cpp396 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 Dchecksizeof.cpp46 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 Dcheckcondition.cpp440 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 …]

123