cppcheck-py 2.9__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. cppcheck/__init__.py +55 -0
  2. cppcheck/cppcheck-2.9.tar.gz +0 -0
  3. cppcheck/data/addons/__init__.py +0 -0
  4. cppcheck/data/addons/cppcheck.py +39 -0
  5. cppcheck/data/addons/cppcheckdata.py +1529 -0
  6. cppcheck/data/addons/findcasts.py +33 -0
  7. cppcheck/data/addons/misc.py +163 -0
  8. cppcheck/data/addons/misra.py +4728 -0
  9. cppcheck/data/addons/misra_9.py +513 -0
  10. cppcheck/data/addons/naming.py +91 -0
  11. cppcheck/data/addons/namingng.py +253 -0
  12. cppcheck/data/addons/runaddon.py +12 -0
  13. cppcheck/data/addons/threadsafety.py +39 -0
  14. cppcheck/data/addons/y2038.py +252 -0
  15. cppcheck/data/cfg/avr.cfg +431 -0
  16. cppcheck/data/cfg/bento4.cfg +142 -0
  17. cppcheck/data/cfg/boost.cfg +1268 -0
  18. cppcheck/data/cfg/bsd.cfg +546 -0
  19. cppcheck/data/cfg/cairo.cfg +88 -0
  20. cppcheck/data/cfg/cppcheck-lib.cfg +72 -0
  21. cppcheck/data/cfg/cppunit.cfg +48 -0
  22. cppcheck/data/cfg/daca.cfg +31 -0
  23. cppcheck/data/cfg/dpdk.cfg +11 -0
  24. cppcheck/data/cfg/embedded_sql.cfg +4 -0
  25. cppcheck/data/cfg/emscripten.cfg +7 -0
  26. cppcheck/data/cfg/ginac.cfg +12848 -0
  27. cppcheck/data/cfg/gnu.cfg +1626 -0
  28. cppcheck/data/cfg/googletest.cfg +60 -0
  29. cppcheck/data/cfg/gtk.cfg +20584 -0
  30. cppcheck/data/cfg/icu.cfg +6 -0
  31. cppcheck/data/cfg/kde.cfg +51 -0
  32. cppcheck/data/cfg/libcerror.cfg +128 -0
  33. cppcheck/data/cfg/libcurl.cfg +487 -0
  34. cppcheck/data/cfg/libsigc++.cfg +36 -0
  35. cppcheck/data/cfg/lua.cfg +316 -0
  36. cppcheck/data/cfg/mfc.cfg +256 -0
  37. cppcheck/data/cfg/microsoft_atl.cfg +40 -0
  38. cppcheck/data/cfg/microsoft_sal.cfg +491 -0
  39. cppcheck/data/cfg/microsoft_unittest.cfg +20 -0
  40. cppcheck/data/cfg/motif.cfg +318 -0
  41. cppcheck/data/cfg/nspr.cfg +38 -0
  42. cppcheck/data/cfg/ntl.cfg +6907 -0
  43. cppcheck/data/cfg/opencv2.cfg +132 -0
  44. cppcheck/data/cfg/opengl.cfg +580 -0
  45. cppcheck/data/cfg/openmp.cfg +157 -0
  46. cppcheck/data/cfg/openssl.cfg +174 -0
  47. cppcheck/data/cfg/pcre.cfg +165 -0
  48. cppcheck/data/cfg/posix.cfg +6252 -0
  49. cppcheck/data/cfg/python.cfg +674 -0
  50. cppcheck/data/cfg/qt.cfg +5255 -0
  51. cppcheck/data/cfg/ruby.cfg +142 -0
  52. cppcheck/data/cfg/sdl.cfg +354 -0
  53. cppcheck/data/cfg/sfml.cfg +301 -0
  54. cppcheck/data/cfg/sqlite3.cfg +1527 -0
  55. cppcheck/data/cfg/std.cfg +8716 -0
  56. cppcheck/data/cfg/tinyxml2.cfg +56 -0
  57. cppcheck/data/cfg/vcl.cfg +4 -0
  58. cppcheck/data/cfg/windows.cfg +17941 -0
  59. cppcheck/data/cfg/wxsqlite3.cfg +1955 -0
  60. cppcheck/data/cfg/wxsvg.cfg +16905 -0
  61. cppcheck/data/cfg/wxwidgets.cfg +16464 -0
  62. cppcheck/data/cfg/zlib.cfg +1450 -0
  63. cppcheck/data/cppcheck-htmlreport +986 -0
  64. cppcheck/data/cppcheck.exe +0 -0
  65. cppcheck/data/platforms/aix_ppc64.xml +17 -0
  66. cppcheck/data/platforms/arm32-wchar_t2.xml +17 -0
  67. cppcheck/data/platforms/arm32-wchar_t4.xml +17 -0
  68. cppcheck/data/platforms/arm64-wchar_t2.xml +17 -0
  69. cppcheck/data/platforms/arm64-wchar_t4.xml +17 -0
  70. cppcheck/data/platforms/avr8.xml +18 -0
  71. cppcheck/data/platforms/cray_sv1.xml +17 -0
  72. cppcheck/data/platforms/elbrus-e1cp.xml +18 -0
  73. cppcheck/data/platforms/mips32.xml +18 -0
  74. cppcheck/data/platforms/msp430_eabi_large_datamodel.xml +17 -0
  75. cppcheck/data/platforms/pic16.xml +18 -0
  76. cppcheck/data/platforms/pic8-enhanced.xml +18 -0
  77. cppcheck/data/platforms/pic8.xml +18 -0
  78. cppcheck/data/platforms/unix32-unsigned.xml +17 -0
  79. cppcheck/data/platforms/unix64-unsigned.xml +17 -0
  80. cppcheck_py-2.9.dist-info/METADATA +76 -0
  81. cppcheck_py-2.9.dist-info/RECORD +84 -0
  82. cppcheck_py-2.9.dist-info/WHEEL +5 -0
  83. cppcheck_py-2.9.dist-info/entry_points.txt +4 -0
  84. cppcheck_py-2.9.dist-info/licenses/LICENSE.md +191 -0
@@ -0,0 +1,318 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <function name="MrmCloseHierarchy">
4
+ <noreturn>false</noreturn>
5
+ <arg nr="1">
6
+ <not-uninit/>
7
+ </arg>
8
+ </function>
9
+ <function name="MrmOpenHierarchy">
10
+ <noreturn>false</noreturn>
11
+ <use-retval/>
12
+ <arg nr="4"/>
13
+ </function>
14
+ <function name="MrmOpenHierarchyPerDisplay">
15
+ <noreturn>false</noreturn>
16
+ <use-retval/>
17
+ <arg nr="5"/>
18
+ </function>
19
+ <function name="XmFontListEntryFree">
20
+ <noreturn>false</noreturn>
21
+ <arg nr="1">
22
+ <not-uninit/>
23
+ </arg>
24
+ </function>
25
+ <function name="XmFontListCreate,XmFontListAppendEntry">
26
+ <noreturn>false</noreturn>
27
+ <use-retval/>
28
+ <arg nr="1">
29
+ <not-uninit/>
30
+ </arg>
31
+ <arg nr="2">
32
+ <not-uninit/>
33
+ </arg>
34
+ </function>
35
+ <function name="XmStringCreateLocalized">
36
+ <noreturn>false</noreturn>
37
+ <use-retval/>
38
+ <leak-ignore/>
39
+ <arg nr="1">
40
+ <not-null/>
41
+ <not-uninit/>
42
+ </arg>
43
+ </function>
44
+ <function name="XmStringCreateSimple">
45
+ <noreturn>false</noreturn>
46
+ <use-retval/>
47
+ <leak-ignore/>
48
+ <arg nr="1">
49
+ <not-null/>
50
+ <not-uninit/>
51
+ </arg>
52
+ </function>
53
+ <function name="XmStringFree">
54
+ <noreturn>false</noreturn>
55
+ <arg nr="1">
56
+ <not-uninit/>
57
+ </arg>
58
+ </function>
59
+ <function name="XmStringGenerate">
60
+ <noreturn>false</noreturn>
61
+ <leak-ignore/>
62
+ <arg nr="4"/>
63
+ </function>
64
+ <function name="XmTextGetString,XmTextGetStringWcs">
65
+ <noreturn>false</noreturn>
66
+ <leak-ignore/>
67
+ <arg nr="1">
68
+ <not-uninit/>
69
+ </arg>
70
+ </function>
71
+ <resource>
72
+ <dealloc>MrmCloseHierarchy</dealloc>
73
+ <alloc init="true">MrmOpenHierarchy</alloc>
74
+ <alloc init="true">MrmOpenHierarchyPerDisplay</alloc>
75
+ </resource>
76
+ <!-- May cause false positives:
77
+ <resource>
78
+ <dealloc>XmClipboardUnlock</dealloc>
79
+ <alloc>XmClipboardLock</alloc>
80
+ </resource>
81
+ -->
82
+ <resource>
83
+ <dealloc>XmStringFree</dealloc>
84
+ <alloc init="true">XmStringCreateLocalized</alloc>
85
+ <alloc init="true">XmStringCreateSimple</alloc>
86
+ <alloc init="true">XmStringGenerate</alloc>
87
+ <alloc>XmCvtCTToXmString</alloc>
88
+ </resource>
89
+ <resource>
90
+ <dealloc>XtFree</dealloc>
91
+ <alloc>XmFontListEntryGetTag</alloc>
92
+ <alloc>XmTextGetString</alloc>
93
+ <alloc>XmCvtXmStringToCT</alloc>
94
+ <alloc>XmWidgetGetBaselines</alloc>
95
+ </resource>
96
+ <resource>
97
+ <dealloc>XmFontListEntryFree</dealloc>
98
+ <alloc init="true">XmFontListCreate</alloc>
99
+ <alloc init="true">XmFontListAppendEntry</alloc>
100
+ </resource>
101
+ <!-- Intrinsics, not Motif... -->
102
+ <function name="XtAddCallback">
103
+ <leak-ignore/>
104
+ <returnValue type="void"/>
105
+ <arg nr="1">
106
+ <not-uninit/>
107
+ </arg>
108
+ <arg nr="2">
109
+ <not-uninit/>
110
+ </arg>
111
+ <arg nr="4"/>
112
+ </function>
113
+ <function name="XtAddCallbacks">
114
+ <leak-ignore/>
115
+ <returnValue type="void"/>
116
+ <arg nr="1">
117
+ <not-uninit/>
118
+ </arg>
119
+ <arg nr="2">
120
+ <not-uninit/>
121
+ </arg>
122
+ <arg nr="3"/>
123
+ </function>
124
+ <function name="XtAsprintf">
125
+ <leak-ignore/>
126
+ <returnValue type="Cardinal"/>
127
+ <arg nr="1"/>
128
+ <arg nr="2">
129
+ <formatstr/>
130
+ <not-null/>
131
+ <not-uninit/>
132
+ </arg>
133
+ </function>
134
+ <function name="XtCalloc">
135
+ <noreturn>false</noreturn>
136
+ <use-retval/>
137
+ <arg nr="1">
138
+ <not-uninit/>
139
+ </arg>
140
+ <arg nr="2">
141
+ <not-uninit/>
142
+ </arg>
143
+ </function>
144
+ <function name="XtDisplay,XtDisplayOfObject">
145
+ <leak-ignore/>
146
+ <noreturn>false</noreturn>
147
+ <use-retval/>
148
+ <returnValue type="Display *"/>
149
+ <arg nr="1">
150
+ <not-uninit/>
151
+ </arg>
152
+ </function>
153
+ <function name="XtFree">
154
+ <noreturn>false</noreturn>
155
+ <arg nr="1">
156
+ <not-uninit/>
157
+ </arg>
158
+ </function>
159
+ <!-- int XtSetArg(Arg arg, String name, XtArgVal value); -->
160
+ <function name="XtSetArg">
161
+ <noreturn>false</noreturn>
162
+ <leak-ignore/>
163
+ <arg nr="1"/>
164
+ <arg nr="2">
165
+ <not-uninit/>
166
+ <strz/>
167
+ </arg>
168
+ <arg nr="3">
169
+ <not-uninit/>
170
+ </arg>
171
+ </function>
172
+ <function name="XtSetValues,XtGetValues">
173
+ <noreturn>false</noreturn>
174
+ <leak-ignore/>
175
+ <arg nr="3"/>
176
+ </function>
177
+ <function name="XtSetSubvalues,XtGetSubvalues">
178
+ <noreturn>false</noreturn>
179
+ <leak-ignore/>
180
+ <arg nr="5"/>
181
+ </function>
182
+ <function name="XtMalloc,XtNew,XtNewString">
183
+ <noreturn>false</noreturn>
184
+ <use-retval/>
185
+ <arg nr="1">
186
+ <not-uninit/>
187
+ </arg>
188
+ </function>
189
+ <function name="XtRemoveAllCallbacks">
190
+ <leak-ignore/>
191
+ <returnValue type="void"/>
192
+ <arg nr="1">
193
+ <not-uninit/>
194
+ </arg>
195
+ <arg nr="2">
196
+ <not-uninit/>
197
+ </arg>
198
+ </function>
199
+ <function name="XtRemoveCallback">
200
+ <leak-ignore/>
201
+ <returnValue type="void"/>
202
+ <arg nr="1">
203
+ <not-uninit/>
204
+ </arg>
205
+ <arg nr="2">
206
+ <not-uninit/>
207
+ </arg>
208
+ <arg nr="4"/>
209
+ </function>
210
+ <function name="XtRemoveCallbacks">
211
+ <leak-ignore/>
212
+ <returnValue type="void"/>
213
+ <arg nr="1">
214
+ <not-uninit/>
215
+ </arg>
216
+ <arg nr="2">
217
+ <not-uninit/>
218
+ </arg>
219
+ <arg nr="3"/>
220
+ </function>
221
+ <function name="XtWindow,XtWindowOfObject">
222
+ <leak-ignore/>
223
+ <use-retval/>
224
+ <returnValue type="Window"/>
225
+ <arg nr="1">
226
+ <not-uninit/>
227
+ </arg>
228
+ </function>
229
+ <function name="XtVaGetValues,XtVaSetValues">
230
+ <leak-ignore/>
231
+ <use-retval/>
232
+ <arg nr="1">
233
+ <not-uninit/>
234
+ </arg>
235
+ <arg nr="any">
236
+ <not-uninit/>
237
+ </arg>
238
+ </function>
239
+ <resource>
240
+ <dealloc>XtFree</dealloc>
241
+ <alloc init="true">XtMalloc</alloc>
242
+ <alloc init="true">XtCalloc</alloc>
243
+ <alloc init="true">XtRealloc</alloc>
244
+ <alloc init="true">XtNew</alloc>
245
+ <alloc init="true">XtNewString</alloc>
246
+ </resource>
247
+ <define name="ClipboardFail" value="0"/>
248
+ <define name="ClipboardSuccess" value="1"/>
249
+ <define name="True" value="1"/>
250
+ <define name="False" value="0"/>
251
+ <podtype name="Boolean" sign="u"/>
252
+ <podtype name="Cardinal" sign="u"/>
253
+ <podtype name="Dimension" sign="u"/>
254
+ <podtype name="Pixel" sign="u"/>
255
+ <podtype name="Position" sign="u"/>
256
+ <podtype name="Widget"/>
257
+ <podtype name="XtValueMask" sign="u"/>
258
+ <podtype name="XtIntervalId" sign="u"/>
259
+ <podtype name="XtInputId" sign="u"/>
260
+ <podtype name="XtSignalId" sign="u"/>
261
+ <podtype name="XtGeometryMask" sign="u"/>
262
+ <podtype name="XtGCMask" sign="u"/>
263
+ <!-- X11... -->
264
+ <function name="XOpenDisplay">
265
+ <use-retval/>
266
+ <noreturn>false</noreturn>
267
+ <returnValue type="Display *"/>
268
+ <leak-ignore/>
269
+ <arg nr="1">
270
+ <not-uninit/>
271
+ <strz/>
272
+ </arg>
273
+ </function>
274
+ <function name="XCloseDisplay">
275
+ <noreturn>false</noreturn>
276
+ <returnValue type="int"/>
277
+ <leak-ignore/>
278
+ <arg nr="1">
279
+ <not-uninit/>
280
+ </arg>
281
+ </function>
282
+ <!-- https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#id2656808 -->
283
+ <!-- XFree(void *data); -->
284
+ <function name="XFree">
285
+ <noreturn>false</noreturn>
286
+ <arg nr="1">
287
+ <not-null/>
288
+ <not-bool/>
289
+ </arg>
290
+ </function>
291
+ <function name="XtDatabase">
292
+ <noreturn>false</noreturn>
293
+ <leak-ignore/>
294
+ <arg nr="1">
295
+ <not-uninit/>
296
+ </arg>
297
+ </function>
298
+ <function name="XtScreen,XtScreenOfObject">
299
+ <noreturn>false</noreturn>
300
+ <use-retval/>
301
+ <leak-ignore/>
302
+ <arg nr="1">
303
+ <not-uninit/>
304
+ </arg>
305
+ </function>
306
+ <function name="XtScreenDatabase">
307
+ <noreturn>false</noreturn>
308
+ <leak-ignore/>
309
+ <arg nr="1">
310
+ <not-uninit/>
311
+ </arg>
312
+ </function>
313
+ <resource>
314
+ <alloc init="true">XOpenDisplay</alloc>
315
+ <dealloc>XCloseDisplay</dealloc>
316
+ </resource>
317
+ <podtype name="XrmDatabase"/>
318
+ </def>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0"?>
2
+ <!-- Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc-like functions.
3
+ The API is used in the Mozilla clients, many of Red Hat's and Oracle's server applications, and other software offerings.
4
+ Ref.:
5
+ https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
6
+ -->
7
+ <def>
8
+ <define name="PR_EXPORT(__type)" value=""/>
9
+ <define name="PR_EXPORT_DATA(__type)" value=""/>
10
+ <define name="PR_IMPORT(__type)" value=""/>
11
+ <define name="PR_IMPORT_DATA(__type)" value=""/>
12
+ <define name="PR_EXTERN(__type)" value=""/>
13
+ <define name="PR_IMPLEMENT(__type)" value=""/>
14
+ <define name="PR_EXTERN_DATA(__type)" value=""/>
15
+ <define name="PR_IMPLEMENT_DATA(__type)" value=""/>
16
+ <define name="PR_STATIC_CALLBACK(__x)" value=""/>
17
+ <define name="PR_BIT(n)" value="((PRUint32)1 &lt;&lt; (n))"/>
18
+ <define name="PR_BITMASK(n)" value="(PR_BIT(n) - 1)"/>
19
+ <define name="PR_ROUNDUP(x,y)" value="((((x)+((y)-1))/(y))*(y))"/>
20
+ <define name="PR_MIN(x,y)" value="((x)&lt;(y)?(x):(y))"/>
21
+ <define name="PR_MAX(x,y)" value="((x)&gt;(y)?(x):(y))"/>
22
+ <define name="PR_ABS(x)" value="((x)&lt;0?-(x):(x))"/>
23
+ <define name="PR_ARRAY_SIZE(a)" value="(sizeof(a)/sizeof((a)[0]))"/>
24
+ <define name="PR_INT16_MAX" value="32767"/>
25
+ <define name="PR_INT16_MIN" value="(-32768)"/>
26
+ <define name="PR_UINT16_MAX" value="65535U"/>
27
+ <define name="PR_INT8_MAX" value="127"/>
28
+ <define name="PR_INT8_MIN" value="(-128)"/>
29
+ <define name="PR_UINT8_MAX" value="255U"/>
30
+ <podtype name="PRUint8" sign="u" size="1"/>
31
+ <podtype name="PRInt8" sign="s" size="1"/>
32
+ <podtype name="PRUint16" sign="u" size="2"/>
33
+ <podtype name="PRInt16" sign="s" size="2"/>
34
+ <podtype name="PRUint32" sign="u" size="4"/>
35
+ <podtype name="PRInt32" sign="s" size="4"/>
36
+ <podtype name="PRUint64" sign="u" size="8"/>
37
+ <podtype name="PRInt64" sign="s" size="8"/>
38
+ </def>