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.
- cppcheck/__init__.py +55 -0
- cppcheck/cppcheck-2.9.tar.gz +0 -0
- cppcheck/data/addons/__init__.py +0 -0
- cppcheck/data/addons/cppcheck.py +39 -0
- cppcheck/data/addons/cppcheckdata.py +1529 -0
- cppcheck/data/addons/findcasts.py +33 -0
- cppcheck/data/addons/misc.py +163 -0
- cppcheck/data/addons/misra.py +4728 -0
- cppcheck/data/addons/misra_9.py +513 -0
- cppcheck/data/addons/naming.py +91 -0
- cppcheck/data/addons/namingng.py +253 -0
- cppcheck/data/addons/runaddon.py +12 -0
- cppcheck/data/addons/threadsafety.py +39 -0
- cppcheck/data/addons/y2038.py +252 -0
- cppcheck/data/cfg/avr.cfg +431 -0
- cppcheck/data/cfg/bento4.cfg +142 -0
- cppcheck/data/cfg/boost.cfg +1268 -0
- cppcheck/data/cfg/bsd.cfg +546 -0
- cppcheck/data/cfg/cairo.cfg +88 -0
- cppcheck/data/cfg/cppcheck-lib.cfg +72 -0
- cppcheck/data/cfg/cppunit.cfg +48 -0
- cppcheck/data/cfg/daca.cfg +31 -0
- cppcheck/data/cfg/dpdk.cfg +11 -0
- cppcheck/data/cfg/embedded_sql.cfg +4 -0
- cppcheck/data/cfg/emscripten.cfg +7 -0
- cppcheck/data/cfg/ginac.cfg +12848 -0
- cppcheck/data/cfg/gnu.cfg +1626 -0
- cppcheck/data/cfg/googletest.cfg +60 -0
- cppcheck/data/cfg/gtk.cfg +20584 -0
- cppcheck/data/cfg/icu.cfg +6 -0
- cppcheck/data/cfg/kde.cfg +51 -0
- cppcheck/data/cfg/libcerror.cfg +128 -0
- cppcheck/data/cfg/libcurl.cfg +487 -0
- cppcheck/data/cfg/libsigc++.cfg +36 -0
- cppcheck/data/cfg/lua.cfg +316 -0
- cppcheck/data/cfg/mfc.cfg +256 -0
- cppcheck/data/cfg/microsoft_atl.cfg +40 -0
- cppcheck/data/cfg/microsoft_sal.cfg +491 -0
- cppcheck/data/cfg/microsoft_unittest.cfg +20 -0
- cppcheck/data/cfg/motif.cfg +318 -0
- cppcheck/data/cfg/nspr.cfg +38 -0
- cppcheck/data/cfg/ntl.cfg +6907 -0
- cppcheck/data/cfg/opencv2.cfg +132 -0
- cppcheck/data/cfg/opengl.cfg +580 -0
- cppcheck/data/cfg/openmp.cfg +157 -0
- cppcheck/data/cfg/openssl.cfg +174 -0
- cppcheck/data/cfg/pcre.cfg +165 -0
- cppcheck/data/cfg/posix.cfg +6252 -0
- cppcheck/data/cfg/python.cfg +674 -0
- cppcheck/data/cfg/qt.cfg +5255 -0
- cppcheck/data/cfg/ruby.cfg +142 -0
- cppcheck/data/cfg/sdl.cfg +354 -0
- cppcheck/data/cfg/sfml.cfg +301 -0
- cppcheck/data/cfg/sqlite3.cfg +1527 -0
- cppcheck/data/cfg/std.cfg +8716 -0
- cppcheck/data/cfg/tinyxml2.cfg +56 -0
- cppcheck/data/cfg/vcl.cfg +4 -0
- cppcheck/data/cfg/windows.cfg +17941 -0
- cppcheck/data/cfg/wxsqlite3.cfg +1955 -0
- cppcheck/data/cfg/wxsvg.cfg +16905 -0
- cppcheck/data/cfg/wxwidgets.cfg +16464 -0
- cppcheck/data/cfg/zlib.cfg +1450 -0
- cppcheck/data/cppcheck-htmlreport +986 -0
- cppcheck/data/cppcheck.exe +0 -0
- cppcheck/data/platforms/aix_ppc64.xml +17 -0
- cppcheck/data/platforms/arm32-wchar_t2.xml +17 -0
- cppcheck/data/platforms/arm32-wchar_t4.xml +17 -0
- cppcheck/data/platforms/arm64-wchar_t2.xml +17 -0
- cppcheck/data/platforms/arm64-wchar_t4.xml +17 -0
- cppcheck/data/platforms/avr8.xml +18 -0
- cppcheck/data/platforms/cray_sv1.xml +17 -0
- cppcheck/data/platforms/elbrus-e1cp.xml +18 -0
- cppcheck/data/platforms/mips32.xml +18 -0
- cppcheck/data/platforms/msp430_eabi_large_datamodel.xml +17 -0
- cppcheck/data/platforms/pic16.xml +18 -0
- cppcheck/data/platforms/pic8-enhanced.xml +18 -0
- cppcheck/data/platforms/pic8.xml +18 -0
- cppcheck/data/platforms/unix32-unsigned.xml +17 -0
- cppcheck/data/platforms/unix64-unsigned.xml +17 -0
- cppcheck_py-2.9.dist-info/METADATA +76 -0
- cppcheck_py-2.9.dist-info/RECORD +84 -0
- cppcheck_py-2.9.dist-info/WHEEL +5 -0
- cppcheck_py-2.9.dist-info/entry_points.txt +4 -0
- cppcheck_py-2.9.dist-info/licenses/LICENSE.md +191 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<!-- Based on http://www.nongnu.org/avr-libc/user-manual/group__avr__stdint.html -->
|
|
3
|
+
<def format="2">
|
|
4
|
+
<!-- stdint.h -->
|
|
5
|
+
<define name="__USING_MINT8" value="0"/>
|
|
6
|
+
<define name="__CONCATenate(left, right)" value="left ## right"/>
|
|
7
|
+
<define name="__CONCAT(left, right)" value="__CONCATenate(left, right)"/>
|
|
8
|
+
<!-- Integer types capable of holding object pointers -->
|
|
9
|
+
<podtype name="intptr_t" sign="s" size="2"/>
|
|
10
|
+
<podtype name="uintptr_t" sign="u" size="2"/>
|
|
11
|
+
<!-- Minimum-width integer types -->
|
|
12
|
+
<podtype name="int_least8_t" sign="s" size="1"/>
|
|
13
|
+
<podtype name="uint_least8_t" sign="u" size="1"/>
|
|
14
|
+
<podtype name="int_least16_t" sign="s" size="2"/>
|
|
15
|
+
<podtype name="uint_least16_t" sign="u" size="2"/>
|
|
16
|
+
<podtype name="int_least32_t" sign="s" size="4"/>
|
|
17
|
+
<podtype name="uint_least32_t" sign="u" size="4"/>
|
|
18
|
+
<podtype name="int_least64_t" sign="s" size="8"/>
|
|
19
|
+
<podtype name="uint_least64_t" sign="u" size="8"/>
|
|
20
|
+
<!-- Greatest-width integer types -->
|
|
21
|
+
<podtype name="intmax_t" sign="s" size="8"/>
|
|
22
|
+
<podtype name="uintmax_t" sign="u" size="8"/>
|
|
23
|
+
<!-- ctype.h -->
|
|
24
|
+
<function name="toascii">
|
|
25
|
+
<noreturn>false</noreturn>
|
|
26
|
+
<leak-ignore/>
|
|
27
|
+
<arg nr="1">
|
|
28
|
+
<valid>0:255</valid>
|
|
29
|
+
</arg>
|
|
30
|
+
</function>
|
|
31
|
+
<!-- errno.h -->
|
|
32
|
+
<define name="EDOM" value="33"/>
|
|
33
|
+
<define name="ERANGE" value="34"/>
|
|
34
|
+
<!-- inttypes.h -->
|
|
35
|
+
<podtype name="int_farptr_t" sign="s" size="4"/>
|
|
36
|
+
<podtype name="uint_farptr_t" sign="u" size="4"/>
|
|
37
|
+
<define name="INT8_MAX" value="0x7f"/>
|
|
38
|
+
<define name="INT8_MIN" value="(-INT8_MAX - 1)"/>
|
|
39
|
+
<define name="UINT8_MAX" value="(__CONCAT(INT8_MAX, U) * 2U + 1U)"/>
|
|
40
|
+
<define name="INT16_MAX" value="0x7fff"/>
|
|
41
|
+
<define name="INT16_MIN" value="(-INT16_MAX - 1)"/>
|
|
42
|
+
<define name="UINT16_MAX" value="(__CONCAT(INT16_MAX, U) * 2U + 1U)"/>
|
|
43
|
+
<define name="INT32_MAX" value="0x7fffffffL"/>
|
|
44
|
+
<define name="INT32_MIN" value="(-INT32_MAX - 1L)"/>
|
|
45
|
+
<define name="UINT32_MAX" value="(__CONCAT(INT32_MAX, U) * 2UL + 1UL)"/>
|
|
46
|
+
<define name="INT64_MAX" value="0x7fffffffffffffffLL"/>
|
|
47
|
+
<define name="INT64_MIN" value="(-INT64_MAX - 1LL)"/>
|
|
48
|
+
<define name="UINT64_MAX" value="(__CONCAT(INT64_MAX, U) * 2ULL + 1ULL)"/>
|
|
49
|
+
<!-- Limits of minimum-width integer types -->
|
|
50
|
+
<define name="INT_LEAST8_MAX" value="INT8_MAX"/>
|
|
51
|
+
<define name="INT_LEAST8_MIN" value="INT8_MIN"/>
|
|
52
|
+
<define name="UINT_LEAST8_MAX" value="UINT8_MAX"/>
|
|
53
|
+
<define name="INT_LEAST16_MAX" value="INT16_MAX"/>
|
|
54
|
+
<define name="INT_LEAST16_MIN" value="INT16_MIN"/>
|
|
55
|
+
<define name="UINT_LEAST16_MAX" value="UINT16_MAX"/>
|
|
56
|
+
<define name="INT_LEAST32_MAX" value="INT32_MAX"/>
|
|
57
|
+
<define name="INT_LEAST32_MIN" value="INT32_MIN"/>
|
|
58
|
+
<define name="UINT_LEAST32_MAX" value="UINT32_MAX"/>
|
|
59
|
+
<define name="INT_LEAST64_MAX" value="INT64_MAX"/>
|
|
60
|
+
<define name="INT_LEAST64_MIN" value="INT64_MIN"/>
|
|
61
|
+
<define name="UINT_LEAST64_MAX" value="UINT64_MAX"/>
|
|
62
|
+
<!-- Limits of fastest minimum-width integer types -->
|
|
63
|
+
<define name="INT_FAST8_MAX" value="INT8_MAX"/>
|
|
64
|
+
<define name="INT_FAST8_MIN" value="INT8_MIN"/>
|
|
65
|
+
<define name="UINT_FAST8_MAX" value="UINT8_MAX"/>
|
|
66
|
+
<define name="INT_FAST16_MAX" value="INT16_MAX"/>
|
|
67
|
+
<define name="INT_FAST16_MIN" value="INT16_MIN"/>
|
|
68
|
+
<define name="UINT_FAST16_MAX" value="UINT16_MAX"/>
|
|
69
|
+
<define name="INT_FAST32_MAX" value="INT32_MAX"/>
|
|
70
|
+
<define name="INT_FAST32_MIN" value="INT32_MIN"/>
|
|
71
|
+
<define name="UINT_FAST32_MAX" value="UINT32_MAX"/>
|
|
72
|
+
<define name="INT_FAST64_MAX" value="INT64_MAX"/>
|
|
73
|
+
<define name="INT_FAST64_MIN" value="INT64_MIN"/>
|
|
74
|
+
<define name="UINT_FAST64_MAX" value="UINT64_MAX"/>
|
|
75
|
+
<!-- Limits of integer types capable of holding object pointers -->
|
|
76
|
+
<define name="INTPTR_MAX" value="INT16_MAX"/>
|
|
77
|
+
<define name="INTPTR_MIN" value="INT16_MIN"/>
|
|
78
|
+
<define name="UINTPTR_MAX" value="UINT16_MAX"/>
|
|
79
|
+
<!-- Limits of greatest-width integer types -->
|
|
80
|
+
<define name="INTMAX_MAX" value="INT64_MAX"/>
|
|
81
|
+
<define name="INTMAX_MIN" value="INT64_MIN"/>
|
|
82
|
+
<define name="UINTMAX_MAX" value="UINT64_MAX"/>
|
|
83
|
+
<!-- Limits of other integer types -->
|
|
84
|
+
<define name="PTRDIFF_MAX" value="INT16_MAX"/>
|
|
85
|
+
<define name="PTRDIFF_MIN" value="INT16_MIN"/>
|
|
86
|
+
<define name="SIG_ATOMIC_MAX" value="INT8_MAX"/>
|
|
87
|
+
<define name="SIG_ATOMIC_MIN" value="INT8_MIN"/>
|
|
88
|
+
<define name="SIZE_MAX" value="(__CONCAT(INT16_MAX, U))"/>
|
|
89
|
+
<!-- Macros for integer constants -->
|
|
90
|
+
<define name="INT8_C(value)" value="((int8_t) value)"/>
|
|
91
|
+
<define name="UINT8_C(value)" value="((uint8_t) __CONCAT(value, U))"/>
|
|
92
|
+
<define name="INT16_C(value)" value="value"/>
|
|
93
|
+
<define name="UINT16_C(value)" value="__CONCAT(value, U)"/>
|
|
94
|
+
<define name="INT32_C(value)" value="__CONCAT(value, L)"/>
|
|
95
|
+
<define name="UINT32_C(value)" value="__CONCAT(value, UL)"/>
|
|
96
|
+
<define name="INT64_C(value)" value="__CONCAT(value, LL)"/>
|
|
97
|
+
<define name="UINT64_C(value)" value="__CONCAT(value, ULL)"/>
|
|
98
|
+
<define name="INTMAX_C(value)" value="__CONCAT(value, LL)"/>
|
|
99
|
+
<define name="UINTMAX_C(value)" value="__CONCAT(value, ULL)"/>
|
|
100
|
+
<!-- FIXME: add macros for printf and scanf format specifiers,e.g. PRId8 -->
|
|
101
|
+
<!-- math.h -->
|
|
102
|
+
<define name="M_E" value="2.7182818284590452354"/>
|
|
103
|
+
<define name="M_LOG2E" value="1.4426950408889634074"/>
|
|
104
|
+
<define name="M_LOG10E" value="0.43429448190325182765"/>
|
|
105
|
+
<define name="M_LN2" value="0.69314718055994530942"/>
|
|
106
|
+
<define name="M_LN10" value="2.30258509299404568402"/>
|
|
107
|
+
<define name="M_PI" value="3.14159265358979323846"/>
|
|
108
|
+
<define name="M_PI_2" value="1.57079632679489661923"/>
|
|
109
|
+
<define name="M_PI_4" value="0.78539816339744830962"/>
|
|
110
|
+
<define name="M_1_PI" value="0.31830988618379067154"/>
|
|
111
|
+
<define name="M_2_PI" value="0.63661977236758134308"/>
|
|
112
|
+
<define name="M_2_SQRTPI" value="1.12837916709551257390"/>
|
|
113
|
+
<define name="M_SQRT2" value="1.41421356237309504880"/>
|
|
114
|
+
<define name="M_SQRT1_2" value="0.70710678118654752440"/>
|
|
115
|
+
<define name="powf" value="pow"/>
|
|
116
|
+
<define name="roundf" value="round"/>
|
|
117
|
+
<define name="signbitf" value="signbit"/>
|
|
118
|
+
<define name="sinf" value="sin"/>
|
|
119
|
+
<define name="sinhf" value="sinh"/>
|
|
120
|
+
<define name="sqrtf" value="sqrt"/>
|
|
121
|
+
<define name="squaref" value="square"/>
|
|
122
|
+
<define name="tanf" value="tan"/>
|
|
123
|
+
<define name="tanhf" value="tanh"/>
|
|
124
|
+
<define name="truncf" value="trunc"/>
|
|
125
|
+
<!-- The rest of the trigonometric functions are defined in std.cfg -->
|
|
126
|
+
<!-- stdio.h -->
|
|
127
|
+
<define name="fdev_set_udata(stream, u)" value="do { (stream)- > udata = u; } while(0)"/>
|
|
128
|
+
<define name="fdev_get_udata(stream)" value="((stream)- > udata)"/>
|
|
129
|
+
<define name="fdev_setup_stream" value="(stream, put, get, rwflag)"/>
|
|
130
|
+
<define name="_FDEV_SETUP_READ" value="__SRD"/>
|
|
131
|
+
<define name="_FDEV_SETUP_WRITE" value="__SWR"/>
|
|
132
|
+
<define name="_FDEV_SETUP_RW" value="(__SRD | __SWR)"/>
|
|
133
|
+
<define name="_FDEV_ERR" value="(-1)"/>
|
|
134
|
+
<define name="_FDEV_EOF" value="(-2)"/>
|
|
135
|
+
<define name="FDEV_SETUP_STREAM" value="(put, get, rwflag)"/>
|
|
136
|
+
<define name="putc(__c, __stream)" value="fputc(__c, __stream)"/>
|
|
137
|
+
<define name="putchar(__c)" value="fputc(__c, stdout)"/>
|
|
138
|
+
<define name="getc(__stream)" value="fgetc(__stream)"/>
|
|
139
|
+
<define name="getchar()" value="fgetc(stdin)"/>
|
|
140
|
+
<define name="SEEK_SET" value="0"/>
|
|
141
|
+
<define name="SEEK_CUR" value="1"/>
|
|
142
|
+
<define name="SEEK_END" value="2"/>
|
|
143
|
+
<function name="vfprintf_P">
|
|
144
|
+
<noreturn>false</noreturn>
|
|
145
|
+
<leak-ignore/>
|
|
146
|
+
<arg nr="1">
|
|
147
|
+
<not-null/>
|
|
148
|
+
<not-uninit/>
|
|
149
|
+
</arg>
|
|
150
|
+
<formatstr/>
|
|
151
|
+
<arg nr="2">
|
|
152
|
+
<formatstr/>
|
|
153
|
+
</arg>
|
|
154
|
+
<arg nr="any">
|
|
155
|
+
<not-uninit/>
|
|
156
|
+
</arg>
|
|
157
|
+
</function>
|
|
158
|
+
<function name="printf_P">
|
|
159
|
+
<noreturn>false</noreturn>
|
|
160
|
+
<leak-ignore/>
|
|
161
|
+
<formatstr/>
|
|
162
|
+
<arg nr="1">
|
|
163
|
+
<formatstr/>
|
|
164
|
+
</arg>
|
|
165
|
+
<arg nr="any">
|
|
166
|
+
<not-uninit/>
|
|
167
|
+
</arg>
|
|
168
|
+
</function>
|
|
169
|
+
<function name="sprintf_P">
|
|
170
|
+
<noreturn>false</noreturn>
|
|
171
|
+
<leak-ignore/>
|
|
172
|
+
<formatstr/>
|
|
173
|
+
<arg nr="2">
|
|
174
|
+
<formatstr/>
|
|
175
|
+
</arg>
|
|
176
|
+
<arg nr="any">
|
|
177
|
+
<not-uninit/>
|
|
178
|
+
</arg>
|
|
179
|
+
</function>
|
|
180
|
+
<function name="snprintf_P">
|
|
181
|
+
<noreturn>false</noreturn>
|
|
182
|
+
<leak-ignore/>
|
|
183
|
+
<formatstr/>
|
|
184
|
+
<arg nr="3">
|
|
185
|
+
<formatstr/>
|
|
186
|
+
</arg>
|
|
187
|
+
<arg nr="any">
|
|
188
|
+
<not-uninit/>
|
|
189
|
+
</arg>
|
|
190
|
+
</function>
|
|
191
|
+
<function name="vsprintf_P">
|
|
192
|
+
<noreturn>false</noreturn>
|
|
193
|
+
<leak-ignore/>
|
|
194
|
+
<formatstr/>
|
|
195
|
+
<arg nr="2">
|
|
196
|
+
<formatstr/>
|
|
197
|
+
</arg>
|
|
198
|
+
<arg nr="any">
|
|
199
|
+
<not-uninit/>
|
|
200
|
+
</arg>
|
|
201
|
+
</function>
|
|
202
|
+
<function name="vsnprintf_P">
|
|
203
|
+
<noreturn>false</noreturn>
|
|
204
|
+
<leak-ignore/>
|
|
205
|
+
<formatstr/>
|
|
206
|
+
<arg nr="3">
|
|
207
|
+
<formatstr/>
|
|
208
|
+
</arg>
|
|
209
|
+
<arg nr="any">
|
|
210
|
+
<not-uninit/>
|
|
211
|
+
</arg>
|
|
212
|
+
</function>
|
|
213
|
+
<function name="fprintf_P">
|
|
214
|
+
<noreturn>false</noreturn>
|
|
215
|
+
<leak-ignore/>
|
|
216
|
+
<arg nr="1">
|
|
217
|
+
<not-null/>
|
|
218
|
+
<not-uninit/>
|
|
219
|
+
</arg>
|
|
220
|
+
<formatstr/>
|
|
221
|
+
<arg nr="2">
|
|
222
|
+
<formatstr/>
|
|
223
|
+
</arg>
|
|
224
|
+
<arg nr="any">
|
|
225
|
+
<not-uninit/>
|
|
226
|
+
</arg>
|
|
227
|
+
</function>
|
|
228
|
+
<function name="fputs_P">
|
|
229
|
+
<noreturn>false</noreturn>
|
|
230
|
+
<leak-ignore/>
|
|
231
|
+
<arg nr="1">
|
|
232
|
+
<not-null/>
|
|
233
|
+
<not-uninit/>
|
|
234
|
+
</arg>
|
|
235
|
+
<arg nr="2">
|
|
236
|
+
<not-null/>
|
|
237
|
+
<not-uninit/>
|
|
238
|
+
</arg>
|
|
239
|
+
</function>
|
|
240
|
+
<function name="puts_P">
|
|
241
|
+
<noreturn>false</noreturn>
|
|
242
|
+
<leak-ignore/>
|
|
243
|
+
<arg nr="1">
|
|
244
|
+
<not-null/>
|
|
245
|
+
<not-uninit/>
|
|
246
|
+
<not-bool/>
|
|
247
|
+
<valid>0:</valid>
|
|
248
|
+
</arg>
|
|
249
|
+
</function>
|
|
250
|
+
<function name="scanf_P">
|
|
251
|
+
<noreturn>false</noreturn>
|
|
252
|
+
<leak-ignore/>
|
|
253
|
+
<arg nr="1">
|
|
254
|
+
<not-uninit/>
|
|
255
|
+
</arg>
|
|
256
|
+
<formatstr scan="true"/>
|
|
257
|
+
<arg nr="2">
|
|
258
|
+
<formatstr/>
|
|
259
|
+
</arg>
|
|
260
|
+
<arg nr="any">
|
|
261
|
+
<not-uninit/>
|
|
262
|
+
</arg>
|
|
263
|
+
</function>
|
|
264
|
+
<function name="fscanf_P">
|
|
265
|
+
<noreturn>false</noreturn>
|
|
266
|
+
<leak-ignore/>
|
|
267
|
+
<arg nr="1">
|
|
268
|
+
<not-uninit/>
|
|
269
|
+
</arg>
|
|
270
|
+
<formatstr scan="true"/>
|
|
271
|
+
<arg nr="2">
|
|
272
|
+
<formatstr/>
|
|
273
|
+
</arg>
|
|
274
|
+
<arg nr="any">
|
|
275
|
+
<not-uninit/>
|
|
276
|
+
</arg>
|
|
277
|
+
</function>
|
|
278
|
+
<function name="sscanf_P">
|
|
279
|
+
<noreturn>false</noreturn>
|
|
280
|
+
<leak-ignore/>
|
|
281
|
+
<formatstr scan="true"/>
|
|
282
|
+
<arg nr="2">
|
|
283
|
+
<formatstr/>
|
|
284
|
+
</arg>
|
|
285
|
+
</function>
|
|
286
|
+
<function name="fdevopen">
|
|
287
|
+
<noreturn>false</noreturn>
|
|
288
|
+
<arg nr="1">
|
|
289
|
+
<not-null/>
|
|
290
|
+
<not-uninit/>
|
|
291
|
+
</arg>
|
|
292
|
+
<arg nr="2">
|
|
293
|
+
<not-null/>
|
|
294
|
+
<not-uninit/>
|
|
295
|
+
</arg>
|
|
296
|
+
</function>
|
|
297
|
+
<!-- stdlib.h -->
|
|
298
|
+
<define name="__ptr_t" value="void *"/>
|
|
299
|
+
<define name="RAND_MAX" value="0x7FFF"/>
|
|
300
|
+
<function name="ltoa">
|
|
301
|
+
<noreturn>false</noreturn>
|
|
302
|
+
<leak-ignore/>
|
|
303
|
+
<arg nr="1">
|
|
304
|
+
<not-uninit/>
|
|
305
|
+
</arg>
|
|
306
|
+
<arg nr="2">
|
|
307
|
+
<not-null/>
|
|
308
|
+
<not-uninit/>
|
|
309
|
+
</arg>
|
|
310
|
+
<arg nr="3">
|
|
311
|
+
<not-null/>
|
|
312
|
+
<not-uninit/>
|
|
313
|
+
</arg>
|
|
314
|
+
</function>
|
|
315
|
+
<function name="utoa">
|
|
316
|
+
<noreturn>false</noreturn>
|
|
317
|
+
<leak-ignore/>
|
|
318
|
+
<arg nr="1">
|
|
319
|
+
<not-uninit/>
|
|
320
|
+
</arg>
|
|
321
|
+
<arg nr="2">
|
|
322
|
+
<not-null/>
|
|
323
|
+
<not-uninit/>
|
|
324
|
+
</arg>
|
|
325
|
+
<arg nr="3">
|
|
326
|
+
<not-null/>
|
|
327
|
+
<not-uninit/>
|
|
328
|
+
</arg>
|
|
329
|
+
</function>
|
|
330
|
+
<function name="ultoa">
|
|
331
|
+
<noreturn>false</noreturn>
|
|
332
|
+
<leak-ignore/>
|
|
333
|
+
<arg nr="1">
|
|
334
|
+
<not-uninit/>
|
|
335
|
+
</arg>
|
|
336
|
+
<arg nr="2">
|
|
337
|
+
<not-null/>
|
|
338
|
+
<not-uninit/>
|
|
339
|
+
</arg>
|
|
340
|
+
<arg nr="3">
|
|
341
|
+
<not-null/>
|
|
342
|
+
<not-uninit/>
|
|
343
|
+
</arg>
|
|
344
|
+
</function>
|
|
345
|
+
<function name="random">
|
|
346
|
+
<noreturn>false</noreturn>
|
|
347
|
+
<leak-ignore/>
|
|
348
|
+
</function>
|
|
349
|
+
<function name="random_r">
|
|
350
|
+
<noreturn>false</noreturn>
|
|
351
|
+
<leak-ignore/>
|
|
352
|
+
<arg nr="1">
|
|
353
|
+
<not-null/>
|
|
354
|
+
</arg>
|
|
355
|
+
</function>
|
|
356
|
+
<function name="srandom">
|
|
357
|
+
<noreturn>false</noreturn>
|
|
358
|
+
<leak-ignore/>
|
|
359
|
+
<arg nr="1">
|
|
360
|
+
<not-uninit/>
|
|
361
|
+
</arg>
|
|
362
|
+
</function>
|
|
363
|
+
<function name="dtostre">
|
|
364
|
+
<noreturn>false</noreturn>
|
|
365
|
+
<leak-ignore/>
|
|
366
|
+
<arg nr="1">
|
|
367
|
+
<not-uninit/>
|
|
368
|
+
</arg>
|
|
369
|
+
<arg nr="2">
|
|
370
|
+
<not-null/>
|
|
371
|
+
</arg>
|
|
372
|
+
</function>
|
|
373
|
+
<function name="dtostrf">
|
|
374
|
+
<noreturn>false</noreturn>
|
|
375
|
+
<leak-ignore/>
|
|
376
|
+
<arg nr="1">
|
|
377
|
+
<not-uninit/>
|
|
378
|
+
</arg>
|
|
379
|
+
<arg nr="2">
|
|
380
|
+
<not-uninit/>
|
|
381
|
+
</arg>
|
|
382
|
+
<arg nr="3">
|
|
383
|
+
<not-uninit/>
|
|
384
|
+
</arg>
|
|
385
|
+
<arg nr="4">
|
|
386
|
+
<not-null/>
|
|
387
|
+
</arg>
|
|
388
|
+
</function>
|
|
389
|
+
<define name="RANDOM_MAX" value="0x7FFFFFFF"/>
|
|
390
|
+
<define name="DTOSTR_ALWAYS_SIGN" value="0x01"/>
|
|
391
|
+
<define name="DTOSTR_PLUS_SIGN" value="0x02"/>
|
|
392
|
+
<define name="DTOSTR_UPPERCASE" value="0x04"/>
|
|
393
|
+
<!-- string.h -->
|
|
394
|
+
<function name="ffs">
|
|
395
|
+
<noreturn>false</noreturn>
|
|
396
|
+
<leak-ignore/>
|
|
397
|
+
<arg nr="1">
|
|
398
|
+
<not-uninit/>
|
|
399
|
+
</arg>
|
|
400
|
+
</function>
|
|
401
|
+
<function name="ffsl">
|
|
402
|
+
<noreturn>false</noreturn>
|
|
403
|
+
<leak-ignore/>
|
|
404
|
+
<arg nr="1">
|
|
405
|
+
<not-uninit/>
|
|
406
|
+
</arg>
|
|
407
|
+
</function>
|
|
408
|
+
<function name="ffsll">
|
|
409
|
+
<noreturn>false</noreturn>
|
|
410
|
+
<leak-ignore/>
|
|
411
|
+
<arg nr="1">
|
|
412
|
+
<not-uninit/>
|
|
413
|
+
</arg>
|
|
414
|
+
</function>
|
|
415
|
+
<function name="memccpy">
|
|
416
|
+
<noreturn>false</noreturn>
|
|
417
|
+
<leak-ignore/>
|
|
418
|
+
<arg nr="1">
|
|
419
|
+
<not-null/>
|
|
420
|
+
</arg>
|
|
421
|
+
<arg nr="2">
|
|
422
|
+
<not-uninit/>
|
|
423
|
+
</arg>
|
|
424
|
+
<arg nr="3">
|
|
425
|
+
<not-uninit/>
|
|
426
|
+
</arg>
|
|
427
|
+
<arg nr="4">
|
|
428
|
+
<not-uninit/>
|
|
429
|
+
</arg>
|
|
430
|
+
</function>
|
|
431
|
+
</def>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<def format="2">
|
|
3
|
+
<define name="AP4_DEFINE_DYNAMIC_CAST_ANCHOR" value=""/>
|
|
4
|
+
<define name="AP4_IMPLEMENT_DYNAMIC_CAST_D" value=""/>
|
|
5
|
+
<define name="AP4_FAILED(C)" value="C"/>
|
|
6
|
+
<define name="AP4_ATOM_HEADER_SIZE_64" value="16"/>
|
|
7
|
+
<define name="AP4_ATOM_HEADER_SIZE" value="8"/>
|
|
8
|
+
<define name="AP4_ATOM_MAX_NAME_SIZE" value="256"/>
|
|
9
|
+
<define name="AP4_ATOM_MAX_URI_SIZE" value="512"/>
|
|
10
|
+
<define name="AP4_AVC_PROFILE_BASELINE" value="66"/>
|
|
11
|
+
<define name="AP4_AVC_PROFILE_EXTENDED" value="88"/>
|
|
12
|
+
<define name="AP4_AVC_PROFILE_HIGH_10" value="110"/>
|
|
13
|
+
<define name="AP4_AVC_PROFILE_HIGH_422" value="122"/>
|
|
14
|
+
<define name="AP4_AVC_PROFILE_HIGH_444" value="144"/>
|
|
15
|
+
<define name="AP4_AVC_PROFILE_HIGH" value="100"/>
|
|
16
|
+
<define name="AP4_AVC_PROFILE_MAIN" value="77"/>
|
|
17
|
+
<define name="AP4_CENC_CIPHER_AES_128_CBC" value="2"/>
|
|
18
|
+
<define name="AP4_CENC_CIPHER_AES_128_CTR" value="1"/>
|
|
19
|
+
<define name="AP4_CENC_CIPHER_NONE" value="0"/>
|
|
20
|
+
<define name="AP4_CENC_SAMPLE_ENCRYPTION_FLAG_OVERRIDE_TRACK_ENCRYPTION_DEFAULTS" value="1"/>
|
|
21
|
+
<define name="AP4_CENC_SAMPLE_ENCRYPTION_FLAG_USE_SUB_SAMPLE_ENCRYPTION" value="2"/>
|
|
22
|
+
<define name="AP4_COMMAND_TAG_ES_DESCRIPTOR_REMOVE_REF" value="0x07"/>
|
|
23
|
+
<define name="AP4_COMMAND_TAG_ES_DESCRIPTOR_REMOVE" value="0x04"/>
|
|
24
|
+
<define name="AP4_COMMAND_TAG_ES_DESCRIPTOR_UPDATE" value="0x03"/>
|
|
25
|
+
<define name="AP4_COMMAND_TAG_IPMP_DESCRIPTOR_REMOVE" value="0x06"/>
|
|
26
|
+
<define name="AP4_COMMAND_TAG_IPMP_DESCRIPTOR_UPDATE" value="0x05"/>
|
|
27
|
+
<define name="AP4_COMMAND_TAG_OBJECT_DESCRIPTOR_EXECUTE" value="0x08"/>
|
|
28
|
+
<define name="AP4_COMMAND_TAG_OBJECT_DESCRIPTOR_REMOVE" value="0x02"/>
|
|
29
|
+
<define name="AP4_COMMAND_TAG_OBJECT_DESCRIPTOR_UPDATE" value="0x01"/>
|
|
30
|
+
<define name="AP4_DESCRIPTOR_TAG_DECODER_CONFIG" value="0x04"/>
|
|
31
|
+
<define name="AP4_DESCRIPTOR_TAG_DECODER_SPECIFIC_INFO" value="0x05"/>
|
|
32
|
+
<define name="AP4_DESCRIPTOR_TAG_ES" value="0x03"/>
|
|
33
|
+
<define name="AP4_DESCRIPTOR_TAG_IOD" value="0x02"/>
|
|
34
|
+
<define name="AP4_DESCRIPTOR_TAG_MP4_IOD" value="0x10"/>
|
|
35
|
+
<define name="AP4_DESCRIPTOR_TAG_MP4_OD" value="0x11"/>
|
|
36
|
+
<define name="AP4_DESCRIPTOR_TAG_OD" value="0x01"/>
|
|
37
|
+
<define name="AP4_DESCRIPTOR_TAG_SL_CONFIG" value="0x06"/>
|
|
38
|
+
<define name="AP4_DV_PROFILE_DVAV_PEN" value="1"/>
|
|
39
|
+
<define name="AP4_DV_PROFILE_DVAV_PER" value="0"/>
|
|
40
|
+
<define name="AP4_DV_PROFILE_DVHE_DEN" value="3"/>
|
|
41
|
+
<define name="AP4_DV_PROFILE_DVHE_DER" value="2"/>
|
|
42
|
+
<define name="AP4_DV_PROFILE_DVHE_DTB" value="7"/>
|
|
43
|
+
<define name="AP4_DV_PROFILE_DVHE_DTH" value="6"/>
|
|
44
|
+
<define name="AP4_DV_PROFILE_DVHE_DTR" value="4"/>
|
|
45
|
+
<define name="AP4_DV_PROFILE_DVHE_STN" value="5"/>
|
|
46
|
+
<define name="AP4_FRAG_FLAG_SAMPLE_IS_DIFFERENCE" value="0x00010000"/>
|
|
47
|
+
<define name="AP4_FULL_ATOM_HEADER_SIZE_64" value="20"/>
|
|
48
|
+
<define name="AP4_FULL_ATOM_HEADER_SIZE" value="12"/>
|
|
49
|
+
<define name="AP4_HEVC_CHROMA_FORMAT_420" value="1"/>
|
|
50
|
+
<define name="AP4_HEVC_CHROMA_FORMAT_422" value="2"/>
|
|
51
|
+
<define name="AP4_HEVC_CHROMA_FORMAT_444" value="3"/>
|
|
52
|
+
<define name="AP4_HEVC_CHROMA_FORMAT_MONOCHROME" value="0"/>
|
|
53
|
+
<define name="AP4_HEVC_PROFILE_MAIN_10" value="2"/>
|
|
54
|
+
<define name="AP4_HEVC_PROFILE_MAIN_STILL_PICTURE" value="3"/>
|
|
55
|
+
<define name="AP4_HEVC_PROFILE_MAIN" value="1"/>
|
|
56
|
+
<define name="AP4_HEVC_PROFILE_REXT" value="4"/>
|
|
57
|
+
<define name="AP4_MDHD_DEFAULT_GENERIC_TIMESCALE" value="1000"/>
|
|
58
|
+
<define name="AP4_MDHD_DEFAULT_VIDEO_TIMESCALE" value="90000"/>
|
|
59
|
+
<define name="AP4_MPEG2_STREAM_TYPE_ATSC_AC3" value="0x81"/>
|
|
60
|
+
<define name="AP4_MPEG2_STREAM_TYPE_ATSC_EAC3" value="0x81"/>
|
|
61
|
+
<define name="AP4_MPEG2_STREAM_TYPE_HEVC" value="0x24"/>
|
|
62
|
+
<define name="AP4_MPEG2_STREAM_TYPE_ISO_IEC_13818_1_PES" value="0x06"/>
|
|
63
|
+
<define name="AP4_MPEG2_TS_DEFAULT_PID_AUDIO" value="0x101"/>
|
|
64
|
+
<define name="AP4_MPEG2_TS_DEFAULT_PID_PMT" value="0x100"/>
|
|
65
|
+
<define name="AP4_MPEG2_TS_DEFAULT_PID_VIDEO" value="0x102"/>
|
|
66
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_AAC_LC" value="2"/>
|
|
67
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_AAC_LTP" value="4"/>
|
|
68
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_AAC_MAIN" value="1"/>
|
|
69
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_AAC_SCALABLE" value="6"/>
|
|
70
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_AAC_SSR" value="3"/>
|
|
71
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ALGORITHMIC_SYNTHESIS" value="16"/>
|
|
72
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ALS" value="36"/>
|
|
73
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_CELP" value="8"/>
|
|
74
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_DST" value="35"/>
|
|
75
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_AAC_ELD" value="39"/>
|
|
76
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_AAC_LC" value="17"/>
|
|
77
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_AAC_LD" value="23"/>
|
|
78
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_AAC_LTP" value="19"/>
|
|
79
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_AAC_SCALABLE" value="20"/>
|
|
80
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_BSAC" value="22"/>
|
|
81
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_CELP" value="24"/>
|
|
82
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_HILN" value="26"/>
|
|
83
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_HVXC" value="25"/>
|
|
84
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_PARAMETRIC" value="27"/>
|
|
85
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_ER_TWINVQ" value="21"/>
|
|
86
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_GENERAL_MIDI" value="15"/>
|
|
87
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_HVXC" value="9"/>
|
|
88
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_LAYER_1" value="32"/>
|
|
89
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_LAYER_2" value="33"/>
|
|
90
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_LAYER_3" value="34"/>
|
|
91
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_MAIN_SYNTHETIC" value="13"/>
|
|
92
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_MPEG_SURROUND" value="30"/>
|
|
93
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_PS" value="29"/>
|
|
94
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SBR" value="5"/>
|
|
95
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SLS_NON_CORE" value="38"/>
|
|
96
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SLS" value="37"/>
|
|
97
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SMR_MAIN" value="41"/>
|
|
98
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SMR_SIMPLE" value="40"/>
|
|
99
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_SSC" value="28"/>
|
|
100
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_TTSI" value="12"/>
|
|
101
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_TWINVQ" value="7"/>
|
|
102
|
+
<define name="AP4_MPEG4_AUDIO_OBJECT_TYPE_WAVETABLE_SYNTHESIS" value="14"/>
|
|
103
|
+
<define name="AP4_OMA_DCF_ENCRYPTION_METHOD_AES_CBC" value="1"/>
|
|
104
|
+
<define name="AP4_OMA_DCF_ENCRYPTION_METHOD_AES_CTR" value="2"/>
|
|
105
|
+
<define name="AP4_OMA_DCF_ENCRYPTION_METHOD_NULL" value="0"/>
|
|
106
|
+
<define name="AP4_OMA_DCF_PADDING_SCHEME_NONE" value="0"/>
|
|
107
|
+
<define name="AP4_OMA_DCF_PADDING_SCHEME_RFC_2630" value="1"/>
|
|
108
|
+
<define name="AP4_PROTECTION_SCHEME_VERSION_CENC_10" value="0x00010000"/>
|
|
109
|
+
<define name="AP4_PROTECTION_SCHEME_VERSION_OMA_20" value="0x00000200"/>
|
|
110
|
+
<define name="AP4_PROTECTION_SCHEME_VERSION_PIFF_10" value="0x00010000"/>
|
|
111
|
+
<define name="AP4_PROTECTION_SCHEME_VERSION_PIFF_11" value="0x00010001"/>
|
|
112
|
+
<define name="AP4_TFHD_FLAG_BASE_DATA_OFFSET_PRESENT" value="0x00001"/>
|
|
113
|
+
<define name="AP4_TFHD_FLAG_DEFAULT_BASE_IS_MOOF" value="0x20000"/>
|
|
114
|
+
<define name="AP4_TFHD_FLAG_DEFAULT_SAMPLE_DURATION_PRESENT" value="0x00008"/>
|
|
115
|
+
<define name="AP4_TFHD_FLAG_DEFAULT_SAMPLE_FLAGS_PRESENT" value="0x00020"/>
|
|
116
|
+
<define name="AP4_TFHD_FLAG_DEFAULT_SAMPLE_SIZE_PRESENT" value="0x00010"/>
|
|
117
|
+
<define name="AP4_TFHD_FLAG_DURATION_IS_EMPTY" value="0x10000"/>
|
|
118
|
+
<define name="AP4_TFHD_FLAG_SAMPLE_DESCRIPTION_INDEX_PRESENT" value="0x00002"/>
|
|
119
|
+
<define name="AP4_TRACK_DEFAULT_MOVIE_TIMESCALE" value="1000"/>
|
|
120
|
+
<define name="AP4_TRACK_FLAG_ENABLED" value="0x0001"/>
|
|
121
|
+
<define name="AP4_TRACK_FLAG_IN_MOVIE" value="0x0002"/>
|
|
122
|
+
<define name="AP4_TRACK_FLAG_IN_PREVIEW" value="0x0004"/>
|
|
123
|
+
<define name="AP4_TRUN_FLAG_DATA_OFFSET_PRESENT" value="0x0001"/>
|
|
124
|
+
<define name="AP4_TRUN_FLAG_FIRST_SAMPLE_FLAGS_PRESENT" value="0x0004"/>
|
|
125
|
+
<define name="AP4_TRUN_FLAG_SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT" value="0x0800"/>
|
|
126
|
+
<define name="AP4_TRUN_FLAG_SAMPLE_DURATION_PRESENT" value="0x0100"/>
|
|
127
|
+
<define name="AP4_TRUN_FLAG_SAMPLE_FLAGS_PRESENT" value="0x0400"/>
|
|
128
|
+
<define name="AP4_TRUN_FLAG_SAMPLE_SIZE_PRESENT" value="0x0200"/>
|
|
129
|
+
<podtype name="AP4_UI08" sign="u" size="1"/>
|
|
130
|
+
<podtype name="AP4_UI16" sign="u" size="2"/>
|
|
131
|
+
<podtype name="AP4_UI32" sign="u" size="4"/>
|
|
132
|
+
<podtype name="AP4_Result" sign="s" size="4"/>
|
|
133
|
+
<function name="BitWriter::Write">
|
|
134
|
+
<noreturn>false</noreturn>
|
|
135
|
+
<arg nr="1">
|
|
136
|
+
<not-uninit/>
|
|
137
|
+
</arg>
|
|
138
|
+
<arg nr="2">
|
|
139
|
+
<not-uninit/>
|
|
140
|
+
</arg>
|
|
141
|
+
</function>
|
|
142
|
+
</def>
|