]>
Commit | Line | Data |
---|---|---|
1 | # 1 "../../spandsp-0.0.4/src/gsm0610_decode.c" | |
2 | # 1 "/DEVEL/embedded/blackfin-sources/uclinux-dist/user/eworldcom-stuff/spandsp/build/src//" | |
3 | # 1 "<built-in>" | |
4 | # 1 "<command line>" | |
5 | # 1 "../../spandsp-0.0.4/src/gsm0610_decode.c" | |
6 | # 34 "../../spandsp-0.0.4/src/gsm0610_decode.c" | |
7 | # 1 "./config.h" 1 | |
8 | # 35 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
9 | ||
10 | ||
11 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4 | |
12 | # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4 | |
13 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 1 3 4 | |
14 | # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4 | |
15 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_config.h" 1 3 4 | |
16 | # 36 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 | |
17 | ||
18 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_arch_features.h" 1 3 4 | |
19 | # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 | |
20 | # 356 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4 | |
21 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/cdefs.h" 1 3 4 | |
22 | # 357 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 | |
23 | # 33 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 2 3 4 | |
24 | # 38 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
25 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 1 3 4 | |
26 | # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 | |
27 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 1 3 4 | |
28 | # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 | |
29 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4 | |
30 | # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 2 3 4 | |
31 | # 39 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 | |
32 | typedef signed char int8_t; | |
33 | typedef short int int16_t; | |
34 | typedef int int32_t; | |
35 | ||
36 | ||
37 | ||
38 | __extension__ | |
39 | typedef long long int int64_t; | |
40 | ||
41 | ||
42 | ||
43 | ||
44 | typedef unsigned char uint8_t; | |
45 | typedef unsigned short int uint16_t; | |
46 | ||
47 | typedef unsigned int uint32_t; | |
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | __extension__ | |
54 | typedef unsigned long long int uint64_t; | |
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | typedef signed char int_least8_t; | |
62 | typedef short int int_least16_t; | |
63 | typedef int int_least32_t; | |
64 | ||
65 | ||
66 | ||
67 | __extension__ | |
68 | typedef long long int int_least64_t; | |
69 | ||
70 | ||
71 | ||
72 | typedef unsigned char uint_least8_t; | |
73 | typedef unsigned short int uint_least16_t; | |
74 | typedef unsigned int uint_least32_t; | |
75 | ||
76 | ||
77 | ||
78 | __extension__ | |
79 | typedef unsigned long long int uint_least64_t; | |
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | typedef signed char int_fast8_t; | |
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | typedef int int_fast16_t; | |
93 | typedef int int_fast32_t; | |
94 | __extension__ | |
95 | typedef long long int int_fast64_t; | |
96 | ||
97 | ||
98 | ||
99 | typedef unsigned char uint_fast8_t; | |
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | typedef unsigned int uint_fast16_t; | |
106 | typedef unsigned int uint_fast32_t; | |
107 | __extension__ | |
108 | typedef unsigned long long int uint_fast64_t; | |
109 | # 128 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 | |
110 | typedef int intptr_t; | |
111 | ||
112 | ||
113 | typedef unsigned int uintptr_t; | |
114 | # 140 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 | |
115 | __extension__ | |
116 | typedef long long int intmax_t; | |
117 | __extension__ | |
118 | typedef unsigned long long int uintmax_t; | |
119 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 2 3 4 | |
120 | # 276 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 | |
121 | ||
122 | # 290 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 | |
123 | typedef struct | |
124 | { | |
125 | long long int quot; | |
126 | long long int rem; | |
127 | } imaxdiv_t; | |
128 | ||
129 | ||
130 | ||
131 | ||
132 | ||
133 | extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
134 | ||
135 | ||
136 | extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) | |
137 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
138 | ||
139 | ||
140 | extern intmax_t strtoimax (__const char *__restrict __nptr, | |
141 | char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); | |
142 | ||
143 | ||
144 | extern uintmax_t strtoumax (__const char *__restrict __nptr, | |
145 | char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); | |
146 | # 326 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 | |
147 | ||
148 | # 39 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
149 | ||
150 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 1 3 4 | |
151 | # 27 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 3 4 | |
152 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 1 3 4 | |
153 | # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
154 | ||
155 | ||
156 | ||
157 | ||
158 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_val.h" 1 3 4 | |
159 | # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
160 | ||
161 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_valf.h" 1 3 4 | |
162 | # 37 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
163 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_vall.h" 1 3 4 | |
164 | # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
165 | ||
166 | ||
167 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/inf.h" 1 3 4 | |
168 | # 41 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
169 | ||
170 | ||
171 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/nan.h" 1 3 4 | |
172 | # 44 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
173 | ||
174 | ||
175 | ||
176 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 1 3 4 | |
177 | # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 3 4 | |
178 | typedef double float_t; | |
179 | ||
180 | typedef double double_t; | |
181 | # 48 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
182 | # 71 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
183 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 1 3 4 | |
184 | # 53 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
185 | ||
186 | ||
187 | extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); | |
188 | ||
189 | extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); | |
190 | ||
191 | extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); | |
192 | ||
193 | extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); | |
194 | ||
195 | ||
196 | extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); | |
197 | ||
198 | extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); | |
199 | ||
200 | extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); | |
201 | ||
202 | ||
203 | ||
204 | ||
205 | extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); | |
206 | ||
207 | extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); | |
208 | ||
209 | extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); | |
210 | ||
211 | # 87 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
212 | ||
213 | ||
214 | extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); | |
215 | ||
216 | extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); | |
217 | ||
218 | extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); | |
219 | ||
220 | ||
221 | ||
222 | ||
223 | ||
224 | ||
225 | ||
226 | extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); | |
227 | ||
228 | ||
229 | extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); | |
230 | ||
231 | ||
232 | extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); | |
233 | ||
234 | ||
235 | extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); | |
236 | ||
237 | ||
238 | extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); | |
239 | ||
240 | ||
241 | extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); | |
242 | ||
243 | # 127 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
244 | ||
245 | ||
246 | extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); | |
247 | ||
248 | ||
249 | extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); | |
250 | ||
251 | ||
252 | extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); | |
253 | ||
254 | ||
255 | ||
256 | ||
257 | ||
258 | ||
259 | extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); | |
260 | ||
261 | ||
262 | extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); | |
263 | ||
264 | ||
265 | ||
266 | ||
267 | ||
268 | ||
269 | ||
270 | ||
271 | extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); | |
272 | ||
273 | ||
274 | extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); | |
275 | ||
276 | ||
277 | ||
278 | ||
279 | ||
280 | extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); | |
281 | ||
282 | ||
283 | ||
284 | ||
285 | ||
286 | ||
287 | extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); | |
288 | ||
289 | ||
290 | ||
291 | ||
292 | ||
293 | ||
294 | ||
295 | ||
296 | extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
297 | ||
298 | ||
299 | extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
300 | ||
301 | ||
302 | extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
303 | ||
304 | ||
305 | extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); | |
306 | ||
307 | ||
308 | ||
309 | ||
310 | extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
311 | ||
312 | ||
313 | extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
314 | ||
315 | ||
316 | ||
317 | ||
318 | ||
319 | extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
320 | ||
321 | ||
322 | extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
323 | ||
324 | ||
325 | extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); | |
326 | ||
327 | ||
328 | ||
329 | extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); | |
330 | ||
331 | ||
332 | ||
333 | ||
334 | ||
335 | extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
336 | ||
337 | ||
338 | ||
339 | ||
340 | ||
341 | ||
342 | extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
343 | ||
344 | ||
345 | ||
346 | ||
347 | ||
348 | extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
349 | ||
350 | ||
351 | ||
352 | extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
353 | ||
354 | ||
355 | extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); | |
356 | extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); | |
357 | extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); | |
358 | extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); | |
359 | extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); | |
360 | extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); | |
361 | ||
362 | ||
363 | ||
364 | ||
365 | ||
366 | ||
367 | extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); | |
368 | extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); | |
369 | extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); | |
370 | ||
371 | ||
372 | ||
373 | ||
374 | ||
375 | ||
376 | extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); | |
377 | ||
378 | ||
379 | ||
380 | ||
381 | ||
382 | extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); | |
383 | ||
384 | ||
385 | ||
386 | ||
387 | ||
388 | ||
389 | extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); | |
390 | ||
391 | ||
392 | ||
393 | ||
394 | ||
395 | ||
396 | ||
397 | extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); | |
398 | ||
399 | ||
400 | extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
401 | ||
402 | extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
403 | ||
404 | ||
405 | ||
406 | extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); | |
407 | ||
408 | ||
409 | ||
410 | extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); | |
411 | ||
412 | ||
413 | ||
414 | extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); | |
415 | ||
416 | ||
417 | ||
418 | ||
419 | extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); | |
420 | ||
421 | ||
422 | ||
423 | extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); | |
424 | ||
425 | ||
426 | ||
427 | extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
428 | ||
429 | ||
430 | ||
431 | extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
432 | ||
433 | ||
434 | ||
435 | ||
436 | extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); | |
437 | ||
438 | ||
439 | ||
440 | ||
441 | ||
442 | ||
443 | extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); | |
444 | extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); | |
445 | ||
446 | ||
447 | ||
448 | extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); | |
449 | extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); | |
450 | ||
451 | ||
452 | ||
453 | extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); | |
454 | ||
455 | ||
456 | extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); | |
457 | ||
458 | ||
459 | extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); | |
460 | ||
461 | ||
462 | ||
463 | extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) | |
464 | __attribute__ ((__const__)); | |
465 | ||
466 | ||
467 | extern int __signbit (double __value) __attribute__ ((__nothrow__)) | |
468 | __attribute__ ((__const__)); | |
469 | ||
470 | ||
471 | ||
472 | extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); | |
473 | ||
474 | ||
475 | ||
476 | ||
477 | ||
478 | ||
479 | ||
480 | ||
481 | extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); | |
482 | # 72 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
483 | # 94 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
484 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 1 3 4 | |
485 | # 53 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
486 | ||
487 | ||
488 | extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); | |
489 | ||
490 | extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); | |
491 | ||
492 | extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); | |
493 | ||
494 | extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); | |
495 | ||
496 | ||
497 | extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); | |
498 | ||
499 | extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); | |
500 | ||
501 | extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); | |
502 | ||
503 | ||
504 | ||
505 | ||
506 | extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); | |
507 | ||
508 | extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); | |
509 | ||
510 | extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); | |
511 | ||
512 | # 87 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
513 | ||
514 | ||
515 | extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); | |
516 | ||
517 | extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); | |
518 | ||
519 | extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); | |
520 | ||
521 | ||
522 | ||
523 | ||
524 | ||
525 | ||
526 | ||
527 | extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); | |
528 | ||
529 | ||
530 | extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); | |
531 | ||
532 | ||
533 | extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); | |
534 | ||
535 | ||
536 | extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); | |
537 | ||
538 | ||
539 | extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); | |
540 | ||
541 | ||
542 | extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); | |
543 | ||
544 | # 127 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 | |
545 | ||
546 | ||
547 | extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); | |
548 | ||
549 | ||
550 | extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); | |
551 | ||
552 | ||
553 | extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); | |
554 | ||
555 | ||
556 | ||
557 | ||
558 | ||
559 | ||
560 | extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); | |
561 | ||
562 | ||
563 | extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); | |
564 | ||
565 | ||
566 | ||
567 | ||
568 | ||
569 | ||
570 | ||
571 | ||
572 | extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); | |
573 | ||
574 | ||
575 | extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); | |
576 | ||
577 | ||
578 | ||
579 | ||
580 | ||
581 | extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); | |
582 | ||
583 | ||
584 | ||
585 | ||
586 | ||
587 | ||
588 | extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); | |
589 | ||
590 | ||
591 | ||
592 | ||
593 | ||
594 | ||
595 | ||
596 | ||
597 | extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
598 | ||
599 | ||
600 | extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
601 | ||
602 | ||
603 | extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
604 | ||
605 | ||
606 | extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); | |
607 | ||
608 | ||
609 | ||
610 | ||
611 | extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
612 | ||
613 | ||
614 | extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
615 | ||
616 | ||
617 | ||
618 | ||
619 | ||
620 | extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
621 | ||
622 | ||
623 | extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
624 | ||
625 | ||
626 | extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); | |
627 | ||
628 | ||
629 | ||
630 | extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); | |
631 | ||
632 | ||
633 | ||
634 | ||
635 | ||
636 | extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
637 | ||
638 | ||
639 | ||
640 | ||
641 | ||
642 | ||
643 | extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
644 | ||
645 | ||
646 | ||
647 | ||
648 | ||
649 | extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
650 | ||
651 | ||
652 | ||
653 | extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
654 | ||
655 | ||
656 | extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); | |
657 | extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); | |
658 | extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); | |
659 | extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); | |
660 | extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); | |
661 | extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); | |
662 | ||
663 | ||
664 | ||
665 | ||
666 | ||
667 | ||
668 | extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); | |
669 | extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); | |
670 | extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); | |
671 | ||
672 | ||
673 | ||
674 | ||
675 | ||
676 | ||
677 | extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); | |
678 | ||
679 | ||
680 | ||
681 | ||
682 | ||
683 | extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); | |
684 | ||
685 | ||
686 | ||
687 | ||
688 | ||
689 | ||
690 | extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); | |
691 | ||
692 | ||
693 | ||
694 | ||
695 | ||
696 | ||
697 | ||
698 | extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); | |
699 | ||
700 | ||
701 | extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
702 | ||
703 | extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
704 | ||
705 | ||
706 | ||
707 | extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); | |
708 | ||
709 | ||
710 | ||
711 | extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); | |
712 | ||
713 | ||
714 | ||
715 | extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); | |
716 | ||
717 | ||
718 | ||
719 | ||
720 | extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); | |
721 | ||
722 | ||
723 | ||
724 | extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); | |
725 | ||
726 | ||
727 | ||
728 | extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
729 | ||
730 | ||
731 | ||
732 | extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
733 | ||
734 | ||
735 | ||
736 | ||
737 | extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); | |
738 | ||
739 | ||
740 | ||
741 | ||
742 | ||
743 | ||
744 | extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); | |
745 | extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); | |
746 | ||
747 | ||
748 | ||
749 | extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); | |
750 | extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); | |
751 | ||
752 | ||
753 | ||
754 | extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); | |
755 | ||
756 | ||
757 | extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); | |
758 | ||
759 | ||
760 | extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); | |
761 | ||
762 | ||
763 | ||
764 | extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) | |
765 | __attribute__ ((__const__)); | |
766 | ||
767 | ||
768 | extern int __signbitf (float __value) __attribute__ ((__nothrow__)) | |
769 | __attribute__ ((__const__)); | |
770 | ||
771 | ||
772 | ||
773 | extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); | |
774 | ||
775 | ||
776 | ||
777 | ||
778 | ||
779 | ||
780 | ||
781 | ||
782 | extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); | |
783 | # 95 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 | |
784 | # 157 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
785 | extern int signgam; | |
786 | # 198 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
787 | enum | |
788 | { | |
789 | FP_NAN, | |
790 | ||
791 | FP_INFINITE, | |
792 | ||
793 | FP_ZERO, | |
794 | ||
795 | FP_SUBNORMAL, | |
796 | ||
797 | FP_NORMAL | |
798 | ||
799 | }; | |
800 | # 284 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
801 | typedef enum | |
802 | { | |
803 | _IEEE_ = -1, | |
804 | _SVID_, | |
805 | _XOPEN_, | |
806 | _POSIX_, | |
807 | _ISOC_ | |
808 | } _LIB_VERSION_TYPE; | |
809 | ||
810 | ||
811 | ||
812 | ||
813 | extern _LIB_VERSION_TYPE _LIB_VERSION; | |
814 | # 309 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
815 | struct exception | |
816 | ||
817 | { | |
818 | int type; | |
819 | char *name; | |
820 | double arg1; | |
821 | double arg2; | |
822 | double retval; | |
823 | }; | |
824 | ||
825 | ||
826 | ||
827 | ||
828 | extern int matherr (struct exception *__exc); | |
829 | # 465 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 | |
830 | ||
831 | # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 2 3 4 | |
832 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 1 3 4 | |
833 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 | |
834 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 1 3 4 | |
835 | # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 | |
836 | ||
837 | ||
838 | # 67 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 | |
839 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 | |
840 | # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
841 | extern double _Complex cacos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cacos (double _Complex __z) __attribute__ ((__nothrow__)); | |
842 | ||
843 | extern double _Complex casin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __casin (double _Complex __z) __attribute__ ((__nothrow__)); | |
844 | ||
845 | extern double _Complex catan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __catan (double _Complex __z) __attribute__ ((__nothrow__)); | |
846 | ||
847 | ||
848 | extern double _Complex ccos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ccos (double _Complex __z) __attribute__ ((__nothrow__)); | |
849 | ||
850 | extern double _Complex csin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csin (double _Complex __z) __attribute__ ((__nothrow__)); | |
851 | ||
852 | extern double _Complex ctan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ctan (double _Complex __z) __attribute__ ((__nothrow__)); | |
853 | ||
854 | ||
855 | ||
856 | ||
857 | ||
858 | extern double _Complex cacosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cacosh (double _Complex __z) __attribute__ ((__nothrow__)); | |
859 | ||
860 | extern double _Complex casinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __casinh (double _Complex __z) __attribute__ ((__nothrow__)); | |
861 | ||
862 | extern double _Complex catanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __catanh (double _Complex __z) __attribute__ ((__nothrow__)); | |
863 | ||
864 | ||
865 | extern double _Complex ccosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ccosh (double _Complex __z) __attribute__ ((__nothrow__)); | |
866 | ||
867 | extern double _Complex csinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csinh (double _Complex __z) __attribute__ ((__nothrow__)); | |
868 | ||
869 | extern double _Complex ctanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ctanh (double _Complex __z) __attribute__ ((__nothrow__)); | |
870 | ||
871 | ||
872 | ||
873 | ||
874 | ||
875 | extern double _Complex cexp (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cexp (double _Complex __z) __attribute__ ((__nothrow__)); | |
876 | ||
877 | ||
878 | extern double _Complex clog (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __clog (double _Complex __z) __attribute__ ((__nothrow__)); | |
879 | # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
880 | extern double _Complex cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__)); extern double _Complex __cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__)); | |
881 | ||
882 | ||
883 | extern double _Complex csqrt (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csqrt (double _Complex __z) __attribute__ ((__nothrow__)); | |
884 | ||
885 | ||
886 | ||
887 | ||
888 | ||
889 | extern double cabs (double _Complex __z) __attribute__ ((__nothrow__)); extern double __cabs (double _Complex __z) __attribute__ ((__nothrow__)); | |
890 | ||
891 | ||
892 | extern double carg (double _Complex __z) __attribute__ ((__nothrow__)); extern double __carg (double _Complex __z) __attribute__ ((__nothrow__)); | |
893 | ||
894 | ||
895 | extern double _Complex conj (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __conj (double _Complex __z) __attribute__ ((__nothrow__)); | |
896 | ||
897 | ||
898 | extern double _Complex cproj (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cproj (double _Complex __z) __attribute__ ((__nothrow__)); | |
899 | ||
900 | ||
901 | ||
902 | ||
903 | ||
904 | extern double cimag (double _Complex __z) __attribute__ ((__nothrow__)); extern double __cimag (double _Complex __z) __attribute__ ((__nothrow__)); | |
905 | ||
906 | ||
907 | extern double creal (double _Complex __z) __attribute__ ((__nothrow__)); extern double __creal (double _Complex __z) __attribute__ ((__nothrow__)); | |
908 | # 68 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 | |
909 | # 81 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 | |
910 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 | |
911 | # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
912 | extern float _Complex cacosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cacosf (float _Complex __z) __attribute__ ((__nothrow__)); | |
913 | ||
914 | extern float _Complex casinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __casinf (float _Complex __z) __attribute__ ((__nothrow__)); | |
915 | ||
916 | extern float _Complex catanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __catanf (float _Complex __z) __attribute__ ((__nothrow__)); | |
917 | ||
918 | ||
919 | extern float _Complex ccosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ccosf (float _Complex __z) __attribute__ ((__nothrow__)); | |
920 | ||
921 | extern float _Complex csinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csinf (float _Complex __z) __attribute__ ((__nothrow__)); | |
922 | ||
923 | extern float _Complex ctanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ctanf (float _Complex __z) __attribute__ ((__nothrow__)); | |
924 | ||
925 | ||
926 | ||
927 | ||
928 | ||
929 | extern float _Complex cacoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cacoshf (float _Complex __z) __attribute__ ((__nothrow__)); | |
930 | ||
931 | extern float _Complex casinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __casinhf (float _Complex __z) __attribute__ ((__nothrow__)); | |
932 | ||
933 | extern float _Complex catanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __catanhf (float _Complex __z) __attribute__ ((__nothrow__)); | |
934 | ||
935 | ||
936 | extern float _Complex ccoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ccoshf (float _Complex __z) __attribute__ ((__nothrow__)); | |
937 | ||
938 | extern float _Complex csinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csinhf (float _Complex __z) __attribute__ ((__nothrow__)); | |
939 | ||
940 | extern float _Complex ctanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ctanhf (float _Complex __z) __attribute__ ((__nothrow__)); | |
941 | ||
942 | ||
943 | ||
944 | ||
945 | ||
946 | extern float _Complex cexpf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cexpf (float _Complex __z) __attribute__ ((__nothrow__)); | |
947 | ||
948 | ||
949 | extern float _Complex clogf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __clogf (float _Complex __z) __attribute__ ((__nothrow__)); | |
950 | # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
951 | extern float _Complex cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__)); extern float _Complex __cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__)); | |
952 | ||
953 | ||
954 | extern float _Complex csqrtf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csqrtf (float _Complex __z) __attribute__ ((__nothrow__)); | |
955 | ||
956 | ||
957 | ||
958 | ||
959 | ||
960 | extern float cabsf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cabsf (float _Complex __z) __attribute__ ((__nothrow__)); | |
961 | ||
962 | ||
963 | extern float cargf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cargf (float _Complex __z) __attribute__ ((__nothrow__)); | |
964 | ||
965 | ||
966 | extern float _Complex conjf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __conjf (float _Complex __z) __attribute__ ((__nothrow__)); | |
967 | ||
968 | ||
969 | extern float _Complex cprojf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cprojf (float _Complex __z) __attribute__ ((__nothrow__)); | |
970 | ||
971 | ||
972 | ||
973 | ||
974 | ||
975 | extern float cimagf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cimagf (float _Complex __z) __attribute__ ((__nothrow__)); | |
976 | ||
977 | ||
978 | extern float crealf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __crealf (float _Complex __z) __attribute__ ((__nothrow__)); | |
979 | # 82 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 | |
980 | # 97 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 | |
981 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 | |
982 | # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
983 | extern long double _Complex cacosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cacosl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
984 | ||
985 | extern long double _Complex casinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __casinl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
986 | ||
987 | extern long double _Complex catanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __catanl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
988 | ||
989 | ||
990 | extern long double _Complex ccosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ccosl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
991 | ||
992 | extern long double _Complex csinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csinl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
993 | ||
994 | extern long double _Complex ctanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ctanl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
995 | ||
996 | ||
997 | ||
998 | ||
999 | ||
1000 | extern long double _Complex cacoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cacoshl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1001 | ||
1002 | extern long double _Complex casinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __casinhl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1003 | ||
1004 | extern long double _Complex catanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __catanhl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1005 | ||
1006 | ||
1007 | extern long double _Complex ccoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ccoshl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1008 | ||
1009 | extern long double _Complex csinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csinhl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1010 | ||
1011 | extern long double _Complex ctanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ctanhl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1012 | ||
1013 | ||
1014 | ||
1015 | ||
1016 | ||
1017 | extern long double _Complex cexpl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cexpl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1018 | ||
1019 | ||
1020 | extern long double _Complex clogl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __clogl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1021 | # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 | |
1022 | extern long double _Complex cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__)); extern long double _Complex __cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__)); | |
1023 | ||
1024 | ||
1025 | extern long double _Complex csqrtl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csqrtl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1026 | ||
1027 | ||
1028 | ||
1029 | ||
1030 | ||
1031 | extern long double cabsl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cabsl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1032 | ||
1033 | ||
1034 | extern long double cargl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cargl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1035 | ||
1036 | ||
1037 | extern long double _Complex conjl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __conjl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1038 | ||
1039 | ||
1040 | extern long double _Complex cprojl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cprojl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1041 | ||
1042 | ||
1043 | ||
1044 | ||
1045 | ||
1046 | extern long double cimagl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cimagl (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1047 | ||
1048 | ||
1049 | extern long double creall (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __creall (long double _Complex __z) __attribute__ ((__nothrow__)); | |
1050 | # 98 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | ||
1057 | ||
1058 | ||
1059 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 2 3 4 | |
1060 | # 41 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
1061 | ||
1062 | ||
1063 | ||
1064 | ||
1065 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 1 3 4 | |
1066 | # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1067 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 | |
1068 | # 214 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 3 4 | |
1069 | typedef long unsigned int size_t; | |
1070 | # 36 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 | |
1071 | ||
1072 | ||
1073 | # 98 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1074 | ||
1075 | ||
1076 | typedef struct | |
1077 | { | |
1078 | int quot; | |
1079 | int rem; | |
1080 | } div_t; | |
1081 | ||
1082 | ||
1083 | ||
1084 | typedef struct | |
1085 | { | |
1086 | long int quot; | |
1087 | long int rem; | |
1088 | } ldiv_t; | |
1089 | ||
1090 | ||
1091 | ||
1092 | ||
1093 | ||
1094 | ||
1095 | ||
1096 | __extension__ typedef struct | |
1097 | { | |
1098 | long long int quot; | |
1099 | long long int rem; | |
1100 | } lldiv_t; | |
1101 | ||
1102 | ||
1103 | # 151 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1104 | ||
1105 | ||
1106 | ||
1107 | extern double atof (__const char *__nptr) | |
1108 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1109 | ||
1110 | ||
1111 | extern int atoi (__const char *__nptr) | |
1112 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1113 | ||
1114 | extern long int atol (__const char *__nptr) | |
1115 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1116 | ||
1117 | ||
1118 | ||
1119 | ||
1120 | ||
1121 | __extension__ extern long long int atoll (__const char *__nptr) | |
1122 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1123 | ||
1124 | ||
1125 | ||
1126 | ||
1127 | ||
1128 | ||
1129 | extern double strtod (__const char *__restrict __nptr, | |
1130 | char **__restrict __endptr) | |
1131 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1132 | ||
1133 | ||
1134 | ||
1135 | ||
1136 | ||
1137 | extern float strtof (__const char *__restrict __nptr, | |
1138 | char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1139 | ||
1140 | extern long double strtold (__const char *__restrict __nptr, | |
1141 | char **__restrict __endptr) | |
1142 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1143 | ||
1144 | ||
1145 | ||
1146 | ||
1147 | ||
1148 | ||
1149 | extern long int strtol (__const char *__restrict __nptr, | |
1150 | char **__restrict __endptr, int __base) | |
1151 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1152 | ||
1153 | extern unsigned long int strtoul (__const char *__restrict __nptr, | |
1154 | char **__restrict __endptr, int __base) | |
1155 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1156 | ||
1157 | ||
1158 | ||
1159 | ||
1160 | __extension__ | |
1161 | extern long long int strtoq (__const char *__restrict __nptr, | |
1162 | char **__restrict __endptr, int __base) | |
1163 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1164 | ||
1165 | __extension__ | |
1166 | extern unsigned long long int strtouq (__const char *__restrict __nptr, | |
1167 | char **__restrict __endptr, int __base) | |
1168 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1169 | ||
1170 | ||
1171 | ||
1172 | ||
1173 | ||
1174 | __extension__ | |
1175 | extern long long int strtoll (__const char *__restrict __nptr, | |
1176 | char **__restrict __endptr, int __base) | |
1177 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1178 | ||
1179 | __extension__ | |
1180 | extern unsigned long long int strtoull (__const char *__restrict __nptr, | |
1181 | char **__restrict __endptr, int __base) | |
1182 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1183 | ||
1184 | # 297 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1185 | extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; | |
1186 | ||
1187 | ||
1188 | extern long int a64l (__const char *__s) | |
1189 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
1190 | ||
1191 | ||
1192 | ||
1193 | ||
1194 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 1 3 4 | |
1195 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1196 | ||
1197 | ||
1198 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 1 3 4 | |
1199 | # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4 | |
1200 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4 | |
1201 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 | |
1202 | ||
1203 | ||
1204 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 | |
1205 | # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 | |
1206 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 1 3 4 | |
1207 | # 10 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 3 4 | |
1208 | typedef unsigned short __kernel_dev_t; | |
1209 | typedef unsigned long __kernel_ino_t; | |
1210 | typedef unsigned short __kernel_mode_t; | |
1211 | typedef unsigned short __kernel_nlink_t; | |
1212 | typedef long __kernel_off_t; | |
1213 | typedef int __kernel_pid_t; | |
1214 | typedef unsigned int __kernel_ipc_pid_t; | |
1215 | typedef unsigned int __kernel_uid_t; | |
1216 | typedef unsigned int __kernel_gid_t; | |
1217 | typedef unsigned int __kernel_size_t; | |
1218 | typedef int __kernel_ssize_t; | |
1219 | typedef int __kernel_ptrdiff_t; | |
1220 | typedef long __kernel_time_t; | |
1221 | typedef long __kernel_suseconds_t; | |
1222 | typedef long __kernel_clock_t; | |
1223 | typedef int __kernel_daddr_t; | |
1224 | typedef char * __kernel_caddr_t; | |
1225 | typedef unsigned short __kernel_uid16_t; | |
1226 | typedef unsigned short __kernel_gid16_t; | |
1227 | typedef unsigned int __kernel_uid32_t; | |
1228 | typedef unsigned int __kernel_gid32_t; | |
1229 | typedef unsigned short __kernel_old_uid_t; | |
1230 | typedef unsigned short __kernel_old_gid_t; | |
1231 | typedef long long __kernel_loff_t; | |
1232 | typedef __kernel_dev_t __kernel_old_dev_t; | |
1233 | ||
1234 | typedef struct { | |
1235 | ||
1236 | ||
1237 | ||
1238 | int __val[2]; | |
1239 | ||
1240 | } __kernel_fsid_t; | |
1241 | # 33 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 | |
1242 | ||
1243 | ||
1244 | typedef unsigned char __u_char; | |
1245 | typedef unsigned short int __u_short; | |
1246 | typedef unsigned int __u_int; | |
1247 | typedef unsigned long int __u_long; | |
1248 | ||
1249 | ||
1250 | typedef signed char __int8_t; | |
1251 | typedef unsigned char __uint8_t; | |
1252 | typedef signed short int __int16_t; | |
1253 | typedef unsigned short int __uint16_t; | |
1254 | typedef signed int __int32_t; | |
1255 | typedef unsigned int __uint32_t; | |
1256 | ||
1257 | ||
1258 | ||
1259 | ||
1260 | __extension__ typedef signed long long int __int64_t; | |
1261 | __extension__ typedef unsigned long long int __uint64_t; | |
1262 | ||
1263 | ||
1264 | ||
1265 | ||
1266 | ||
1267 | ||
1268 | ||
1269 | __extension__ typedef long long int __quad_t; | |
1270 | __extension__ typedef unsigned long long int __u_quad_t; | |
1271 | # 135 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4 | |
1272 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/typesizes.h" 1 3 4 | |
1273 | # 136 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 | |
1274 | ||
1275 | ||
1276 | __extension__ typedef __u_quad_t __dev_t; | |
1277 | __extension__ typedef unsigned int __uid_t; | |
1278 | __extension__ typedef unsigned int __gid_t; | |
1279 | __extension__ typedef unsigned long int __ino_t; | |
1280 | __extension__ typedef __u_quad_t __ino64_t; | |
1281 | __extension__ typedef unsigned int __mode_t; | |
1282 | __extension__ typedef unsigned int __nlink_t; | |
1283 | __extension__ typedef long int __off_t; | |
1284 | __extension__ typedef __quad_t __off64_t; | |
1285 | __extension__ typedef int __pid_t; | |
1286 | __extension__ typedef struct { int __val[2]; } __fsid_t; | |
1287 | __extension__ typedef long int __clock_t; | |
1288 | __extension__ typedef unsigned long int __rlim_t; | |
1289 | __extension__ typedef __u_quad_t __rlim64_t; | |
1290 | __extension__ typedef unsigned int __id_t; | |
1291 | __extension__ typedef long int __time_t; | |
1292 | __extension__ typedef unsigned int __useconds_t; | |
1293 | __extension__ typedef long int __suseconds_t; | |
1294 | ||
1295 | __extension__ typedef int __daddr_t; | |
1296 | __extension__ typedef long int __swblk_t; | |
1297 | __extension__ typedef int __key_t; | |
1298 | ||
1299 | ||
1300 | __extension__ typedef int __clockid_t; | |
1301 | ||
1302 | ||
1303 | __extension__ typedef void * __timer_t; | |
1304 | ||
1305 | ||
1306 | __extension__ typedef long int __blksize_t; | |
1307 | ||
1308 | ||
1309 | ||
1310 | ||
1311 | __extension__ typedef long int __blkcnt_t; | |
1312 | __extension__ typedef __quad_t __blkcnt64_t; | |
1313 | ||
1314 | ||
1315 | __extension__ typedef unsigned long int __fsblkcnt_t; | |
1316 | __extension__ typedef __u_quad_t __fsblkcnt64_t; | |
1317 | ||
1318 | ||
1319 | __extension__ typedef unsigned long int __fsfilcnt_t; | |
1320 | __extension__ typedef __u_quad_t __fsfilcnt64_t; | |
1321 | ||
1322 | __extension__ typedef long int __ssize_t; | |
1323 | ||
1324 | ||
1325 | ||
1326 | typedef __off64_t __loff_t; | |
1327 | typedef __quad_t *__qaddr_t; | |
1328 | typedef char *__caddr_t; | |
1329 | ||
1330 | ||
1331 | __extension__ typedef int __intptr_t; | |
1332 | ||
1333 | ||
1334 | __extension__ typedef unsigned int __socklen_t; | |
1335 | ||
1336 | ||
1337 | ||
1338 | ||
1339 | ||
1340 | typedef __kernel_ipc_pid_t __ipc_pid_t; | |
1341 | ||
1342 | ||
1343 | ||
1344 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4 | |
1345 | # 23 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4 | |
1346 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4 | |
1347 | # 91 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4 | |
1348 | struct __sched_param | |
1349 | { | |
1350 | int __sched_priority; | |
1351 | }; | |
1352 | # 24 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 2 3 4 | |
1353 | ||
1354 | ||
1355 | struct _pthread_fastlock | |
1356 | { | |
1357 | long int __status; | |
1358 | int __spinlock; | |
1359 | ||
1360 | }; | |
1361 | ||
1362 | ||
1363 | ||
1364 | typedef struct _pthread_descr_struct *_pthread_descr; | |
1365 | ||
1366 | ||
1367 | ||
1368 | ||
1369 | ||
1370 | typedef struct __pthread_attr_s | |
1371 | { | |
1372 | int __detachstate; | |
1373 | int __schedpolicy; | |
1374 | struct __sched_param __schedparam; | |
1375 | int __inheritsched; | |
1376 | int __scope; | |
1377 | size_t __guardsize; | |
1378 | int __stackaddr_set; | |
1379 | void *__stackaddr; | |
1380 | size_t __stacksize; | |
1381 | } pthread_attr_t; | |
1382 | ||
1383 | ||
1384 | ||
1385 | typedef struct | |
1386 | { | |
1387 | struct _pthread_fastlock __c_lock; | |
1388 | _pthread_descr __c_waiting; | |
1389 | } pthread_cond_t; | |
1390 | ||
1391 | ||
1392 | ||
1393 | typedef struct | |
1394 | { | |
1395 | int __dummy; | |
1396 | } pthread_condattr_t; | |
1397 | ||
1398 | ||
1399 | typedef unsigned int pthread_key_t; | |
1400 | ||
1401 | ||
1402 | ||
1403 | ||
1404 | ||
1405 | typedef struct | |
1406 | { | |
1407 | int __m_reserved; | |
1408 | int __m_count; | |
1409 | _pthread_descr __m_owner; | |
1410 | int __m_kind; | |
1411 | struct _pthread_fastlock __m_lock; | |
1412 | } pthread_mutex_t; | |
1413 | ||
1414 | ||
1415 | ||
1416 | typedef struct | |
1417 | { | |
1418 | int __mutexkind; | |
1419 | } pthread_mutexattr_t; | |
1420 | ||
1421 | ||
1422 | ||
1423 | typedef int pthread_once_t; | |
1424 | # 140 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4 | |
1425 | typedef unsigned long int pthread_t; | |
1426 | # 207 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 | |
1427 | # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1428 | ||
1429 | ||
1430 | ||
1431 | typedef __u_char u_char; | |
1432 | typedef __u_short u_short; | |
1433 | typedef __u_int u_int; | |
1434 | typedef __u_long u_long; | |
1435 | typedef __quad_t quad_t; | |
1436 | typedef __u_quad_t u_quad_t; | |
1437 | typedef __fsid_t fsid_t; | |
1438 | ||
1439 | ||
1440 | ||
1441 | ||
1442 | typedef __loff_t loff_t; | |
1443 | ||
1444 | ||
1445 | ||
1446 | typedef __ino_t ino_t; | |
1447 | # 62 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1448 | typedef __dev_t dev_t; | |
1449 | ||
1450 | ||
1451 | ||
1452 | ||
1453 | typedef __gid_t gid_t; | |
1454 | ||
1455 | ||
1456 | ||
1457 | ||
1458 | typedef __mode_t mode_t; | |
1459 | ||
1460 | ||
1461 | ||
1462 | ||
1463 | typedef __nlink_t nlink_t; | |
1464 | ||
1465 | ||
1466 | ||
1467 | ||
1468 | typedef __uid_t uid_t; | |
1469 | ||
1470 | ||
1471 | ||
1472 | ||
1473 | ||
1474 | typedef __off_t off_t; | |
1475 | # 100 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1476 | typedef __pid_t pid_t; | |
1477 | ||
1478 | ||
1479 | ||
1480 | ||
1481 | typedef __id_t id_t; | |
1482 | ||
1483 | ||
1484 | ||
1485 | ||
1486 | typedef __ssize_t ssize_t; | |
1487 | ||
1488 | ||
1489 | ||
1490 | ||
1491 | ||
1492 | typedef __daddr_t daddr_t; | |
1493 | typedef __caddr_t caddr_t; | |
1494 | ||
1495 | ||
1496 | ||
1497 | ||
1498 | ||
1499 | typedef __key_t key_t; | |
1500 | # 133 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1501 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4 | |
1502 | # 75 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 | |
1503 | ||
1504 | ||
1505 | typedef __time_t time_t; | |
1506 | ||
1507 | ||
1508 | ||
1509 | # 93 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 | |
1510 | typedef __clockid_t clockid_t; | |
1511 | # 105 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 | |
1512 | typedef __timer_t timer_t; | |
1513 | # 134 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1514 | # 147 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1515 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 | |
1516 | # 148 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1517 | ||
1518 | ||
1519 | ||
1520 | typedef unsigned long int ulong; | |
1521 | typedef unsigned short int ushort; | |
1522 | typedef unsigned int uint; | |
1523 | # 201 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1524 | typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
1525 | typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
1526 | typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
1527 | typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
1528 | ||
1529 | typedef int register_t __attribute__ ((__mode__ (__word__))); | |
1530 | # 217 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1531 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 1 3 4 | |
1532 | # 37 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 3 4 | |
1533 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/endian.h" 1 3 4 | |
1534 | # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 2 3 4 | |
1535 | # 218 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1536 | ||
1537 | ||
1538 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 1 3 4 | |
1539 | # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 | |
1540 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/select.h" 1 3 4 | |
1541 | # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 | |
1542 | ||
1543 | ||
1544 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 1 3 4 | |
1545 | # 23 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 3 4 | |
1546 | typedef int __sig_atomic_t; | |
1547 | ||
1548 | ||
1549 | ||
1550 | ||
1551 | typedef struct | |
1552 | { | |
1553 | unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
1554 | } __sigset_t; | |
1555 | # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 | |
1556 | ||
1557 | ||
1558 | ||
1559 | typedef __sigset_t sigset_t; | |
1560 | ||
1561 | ||
1562 | ||
1563 | ||
1564 | ||
1565 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4 | |
1566 | # 121 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 | |
1567 | struct timespec | |
1568 | { | |
1569 | __time_t tv_sec; | |
1570 | long int tv_nsec; | |
1571 | }; | |
1572 | # 45 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 | |
1573 | ||
1574 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 1 3 4 | |
1575 | # 73 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 3 4 | |
1576 | struct timeval | |
1577 | { | |
1578 | __time_t tv_sec; | |
1579 | __suseconds_t tv_usec; | |
1580 | }; | |
1581 | # 47 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 | |
1582 | ||
1583 | ||
1584 | typedef __suseconds_t suseconds_t; | |
1585 | ||
1586 | ||
1587 | ||
1588 | ||
1589 | ||
1590 | typedef long int __fd_mask; | |
1591 | # 67 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 | |
1592 | typedef struct | |
1593 | { | |
1594 | ||
1595 | ||
1596 | ||
1597 | ||
1598 | ||
1599 | ||
1600 | __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; | |
1601 | ||
1602 | ||
1603 | } fd_set; | |
1604 | ||
1605 | ||
1606 | ||
1607 | ||
1608 | ||
1609 | ||
1610 | typedef __fd_mask fd_mask; | |
1611 | # 99 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 | |
1612 | ||
1613 | # 109 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 | |
1614 | extern int select (int __nfds, fd_set *__restrict __readfds, | |
1615 | fd_set *__restrict __writefds, | |
1616 | fd_set *__restrict __exceptfds, | |
1617 | struct timeval *__restrict __timeout); | |
1618 | # 128 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 | |
1619 | ||
1620 | # 221 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1621 | ||
1622 | ||
1623 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 1 3 4 | |
1624 | # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 3 4 | |
1625 | __extension__ | |
1626 | static __inline unsigned int gnu_dev_major (unsigned long long int __dev) | |
1627 | __attribute__ ((__nothrow__)); | |
1628 | __extension__ | |
1629 | static __inline unsigned int gnu_dev_minor (unsigned long long int __dev) | |
1630 | __attribute__ ((__nothrow__)); | |
1631 | __extension__ | |
1632 | static __inline unsigned long long int gnu_dev_makedev (unsigned int __major, | |
1633 | unsigned int __minor) | |
1634 | __attribute__ ((__nothrow__)); | |
1635 | ||
1636 | ||
1637 | __extension__ static __inline unsigned int | |
1638 | __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) | |
1639 | { | |
1640 | return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); | |
1641 | } | |
1642 | ||
1643 | __extension__ static __inline unsigned int | |
1644 | __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) | |
1645 | { | |
1646 | return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); | |
1647 | } | |
1648 | ||
1649 | __extension__ static __inline unsigned long long int | |
1650 | __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) | |
1651 | { | |
1652 | return ((__minor & 0xff) | ((__major & 0xfff) << 8) | |
1653 | | (((unsigned long long int) (__minor & ~0xff)) << 12) | |
1654 | | (((unsigned long long int) (__major & ~0xfff)) << 32)); | |
1655 | } | |
1656 | # 224 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1657 | # 235 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1658 | typedef __blkcnt_t blkcnt_t; | |
1659 | ||
1660 | ||
1661 | ||
1662 | typedef __fsblkcnt_t fsblkcnt_t; | |
1663 | ||
1664 | ||
1665 | ||
1666 | typedef __fsfilcnt_t fsfilcnt_t; | |
1667 | # 270 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 | |
1668 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4 | |
1669 | # 271 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 | |
1670 | ||
1671 | ||
1672 | ||
1673 | # 307 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 | |
1674 | ||
1675 | ||
1676 | ||
1677 | ||
1678 | ||
1679 | ||
1680 | extern long int random (void) __attribute__ ((__nothrow__)); | |
1681 | ||
1682 | ||
1683 | extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); | |
1684 | ||
1685 | ||
1686 | ||
1687 | ||
1688 | ||
1689 | extern char *initstate (unsigned int __seed, char *__statebuf, | |
1690 | size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
1691 | ||
1692 | ||
1693 | ||
1694 | extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1695 | ||
1696 | ||
1697 | ||
1698 | ||
1699 | ||
1700 | ||
1701 | ||
1702 | struct random_data | |
1703 | { | |
1704 | int32_t *fptr; | |
1705 | int32_t *rptr; | |
1706 | int32_t *state; | |
1707 | int rand_type; | |
1708 | int rand_deg; | |
1709 | int rand_sep; | |
1710 | int32_t *end_ptr; | |
1711 | }; | |
1712 | ||
1713 | extern int random_r (struct random_data *__restrict __buf, | |
1714 | int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1715 | ||
1716 | extern int srandom_r (unsigned int __seed, struct random_data *__buf) | |
1717 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
1718 | ||
1719 | extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, | |
1720 | size_t __statelen, | |
1721 | struct random_data *__restrict __buf) | |
1722 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); | |
1723 | ||
1724 | extern int setstate_r (char *__restrict __statebuf, | |
1725 | struct random_data *__restrict __buf) | |
1726 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1727 | ||
1728 | ||
1729 | ||
1730 | ||
1731 | ||
1732 | ||
1733 | extern int rand (void) __attribute__ ((__nothrow__)); | |
1734 | ||
1735 | extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); | |
1736 | ||
1737 | ||
1738 | ||
1739 | ||
1740 | extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); | |
1741 | # 382 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1742 | extern double drand48 (void) __attribute__ ((__nothrow__)); | |
1743 | extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1744 | ||
1745 | ||
1746 | ||
1747 | extern long int lrand48 (void) __attribute__ ((__nothrow__)); | |
1748 | extern long int nrand48 (unsigned short int __xsubi[3]) | |
1749 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1750 | ||
1751 | ||
1752 | extern long int mrand48 (void) __attribute__ ((__nothrow__)); | |
1753 | extern long int jrand48 (unsigned short int __xsubi[3]) | |
1754 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1755 | ||
1756 | ||
1757 | extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); | |
1758 | extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
1759 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1760 | extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1761 | ||
1762 | ||
1763 | ||
1764 | ||
1765 | ||
1766 | struct drand48_data | |
1767 | { | |
1768 | unsigned short int __x[3]; | |
1769 | unsigned short int __old_x[3]; | |
1770 | unsigned short int __c; | |
1771 | unsigned short int __init; | |
1772 | unsigned long long int __a; | |
1773 | }; | |
1774 | ||
1775 | ||
1776 | ||
1777 | extern int drand48_r (struct drand48_data *__restrict __buffer, | |
1778 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1779 | extern int erand48_r (unsigned short int __xsubi[3], | |
1780 | struct drand48_data *__restrict __buffer, | |
1781 | double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1782 | ||
1783 | ||
1784 | ||
1785 | extern int lrand48_r (struct drand48_data *__restrict __buffer, | |
1786 | long int *__restrict __result) | |
1787 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1788 | extern int nrand48_r (unsigned short int __xsubi[3], | |
1789 | struct drand48_data *__restrict __buffer, | |
1790 | long int *__restrict __result) | |
1791 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1792 | ||
1793 | ||
1794 | extern int mrand48_r (struct drand48_data *__restrict __buffer, | |
1795 | long int *__restrict __result) | |
1796 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1797 | extern int jrand48_r (unsigned short int __xsubi[3], | |
1798 | struct drand48_data *__restrict __buffer, | |
1799 | long int *__restrict __result) | |
1800 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1801 | ||
1802 | ||
1803 | extern int srand48_r (long int __seedval, struct drand48_data *__buffer) | |
1804 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
1805 | ||
1806 | extern int seed48_r (unsigned short int __seed16v[3], | |
1807 | struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1808 | ||
1809 | extern int lcong48_r (unsigned short int __param[7], | |
1810 | struct drand48_data *__buffer) | |
1811 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
1812 | ||
1813 | ||
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
1822 | ||
1823 | extern void *calloc (size_t __nmemb, size_t __size) | |
1824 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
1825 | ||
1826 | ||
1827 | ||
1828 | ||
1829 | ||
1830 | ||
1831 | ||
1832 | extern void *realloc (void *__ptr, size_t __size) | |
1833 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); | |
1834 | ||
1835 | extern void free (void *__ptr) __attribute__ ((__nothrow__)); | |
1836 | ||
1837 | ||
1838 | ||
1839 | ||
1840 | extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); | |
1841 | ||
1842 | ||
1843 | ||
1844 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 1 3 4 | |
1845 | # 25 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 3 4 | |
1846 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 | |
1847 | # 26 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 2 3 4 | |
1848 | ||
1849 | ||
1850 | ||
1851 | ||
1852 | ||
1853 | ||
1854 | ||
1855 | extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); | |
1856 | ||
1857 | ||
1858 | ||
1859 | ||
1860 | ||
1861 | ||
1862 | ||
1863 | ||
1864 | # 485 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 | |
1865 | ||
1866 | ||
1867 | ||
1868 | ||
1869 | extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; | |
1870 | # 498 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1871 | ||
1872 | ||
1873 | extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
1874 | ||
1875 | ||
1876 | ||
1877 | extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1878 | ||
1879 | ||
1880 | ||
1881 | ||
1882 | ||
1883 | extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) | |
1884 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1885 | ||
1886 | ||
1887 | ||
1888 | ||
1889 | ||
1890 | ||
1891 | extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
1892 | ||
1893 | ||
1894 | ||
1895 | ||
1896 | ||
1897 | ||
1898 | extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
1899 | ||
1900 | ||
1901 | ||
1902 | ||
1903 | ||
1904 | ||
1905 | extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1906 | ||
1907 | ||
1908 | ||
1909 | ||
1910 | extern char *__secure_getenv (__const char *__name) | |
1911 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1912 | ||
1913 | ||
1914 | ||
1915 | ||
1916 | ||
1917 | extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
1918 | ||
1919 | ||
1920 | ||
1921 | ||
1922 | ||
1923 | extern int setenv (__const char *__name, __const char *__value, int __replace) | |
1924 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
1925 | ||
1926 | ||
1927 | extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); | |
1928 | # 570 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1929 | extern int clearenv (void) __attribute__ ((__nothrow__)); | |
1930 | # 579 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1931 | extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1932 | # 590 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1933 | extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; | |
1934 | # 610 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1935 | extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
1936 | ||
1937 | ||
1938 | ||
1939 | ||
1940 | ||
1941 | ||
1942 | ||
1943 | ||
1944 | extern int system (__const char *__command) ; | |
1945 | ||
1946 | # 639 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
1947 | extern char *realpath (__const char *__restrict __name, | |
1948 | char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
1949 | ||
1950 | ||
1951 | ||
1952 | ||
1953 | ||
1954 | ||
1955 | typedef int (*__compar_fn_t) (__const void *, __const void *); | |
1956 | ||
1957 | ||
1958 | ||
1959 | ||
1960 | ||
1961 | ||
1962 | ||
1963 | ||
1964 | ||
1965 | extern void *bsearch (__const void *__key, __const void *__base, | |
1966 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
1967 | __attribute__ ((__nonnull__ (1, 2, 5))) ; | |
1968 | ||
1969 | ||
1970 | ||
1971 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
1972 | __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); | |
1973 | ||
1974 | ||
1975 | ||
1976 | extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
1977 | extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
1978 | ||
1979 | ||
1980 | ||
1981 | __extension__ extern long long int llabs (long long int __x) | |
1982 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
1983 | ||
1984 | ||
1985 | ||
1986 | ||
1987 | ||
1988 | ||
1989 | ||
1990 | extern div_t div (int __numer, int __denom) | |
1991 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
1992 | extern ldiv_t ldiv (long int __numer, long int __denom) | |
1993 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
1994 | ||
1995 | ||
1996 | ||
1997 | ||
1998 | __extension__ extern lldiv_t lldiv (long long int __numer, | |
1999 | long long int __denom) | |
2000 | __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; | |
2001 | ||
2002 | # 720 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
2003 | extern char *gcvt (double __value, int __ndigit, char *__buf) | |
2004 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; | |
2005 | # 786 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
2006 | extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; | |
2007 | # 863 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 | |
2008 | ||
2009 | # 46 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2010 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 1 3 4 | |
2011 | # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 3 4 | |
2012 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 1 3 4 | |
2013 | # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2014 | ||
2015 | ||
2016 | ||
2017 | ||
2018 | ||
2019 | # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 | |
2020 | # 34 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 2 3 4 | |
2021 | ||
2022 | ||
2023 | ||
2024 | ||
2025 | extern void *memcpy (void *__restrict __dest, | |
2026 | __const void *__restrict __src, size_t __n) | |
2027 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2028 | ||
2029 | ||
2030 | extern void *memmove (void *__dest, __const void *__src, size_t __n) | |
2031 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2032 | ||
2033 | ||
2034 | ||
2035 | ||
2036 | ||
2037 | ||
2038 | extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, | |
2039 | int __c, size_t __n) | |
2040 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2041 | ||
2042 | ||
2043 | ||
2044 | ||
2045 | ||
2046 | extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2047 | ||
2048 | ||
2049 | extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) | |
2050 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2051 | ||
2052 | ||
2053 | extern void *memchr (__const void *__s, int __c, size_t __n) | |
2054 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2055 | ||
2056 | # 82 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2057 | ||
2058 | ||
2059 | extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) | |
2060 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2061 | ||
2062 | extern char *strncpy (char *__restrict __dest, | |
2063 | __const char *__restrict __src, size_t __n) | |
2064 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2065 | ||
2066 | ||
2067 | extern char *strcat (char *__restrict __dest, __const char *__restrict __src) | |
2068 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2069 | ||
2070 | extern char *strncat (char *__restrict __dest, __const char *__restrict __src, | |
2071 | size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2072 | ||
2073 | ||
2074 | extern int strcmp (__const char *__s1, __const char *__s2) | |
2075 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2076 | ||
2077 | extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) | |
2078 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2079 | ||
2080 | ||
2081 | extern int strcoll (__const char *__s1, __const char *__s2) | |
2082 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2083 | ||
2084 | extern size_t strxfrm (char *__restrict __dest, | |
2085 | __const char *__restrict __src, size_t __n) | |
2086 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2087 | ||
2088 | # 130 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2089 | extern char *strdup (__const char *__s) | |
2090 | __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); | |
2091 | # 165 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2092 | ||
2093 | ||
2094 | extern char *strchr (__const char *__s, int __c) | |
2095 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2096 | ||
2097 | extern char *strrchr (__const char *__s, int __c) | |
2098 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2099 | ||
2100 | # 181 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2101 | ||
2102 | ||
2103 | ||
2104 | extern size_t strcspn (__const char *__s, __const char *__reject) | |
2105 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2106 | ||
2107 | ||
2108 | extern size_t strspn (__const char *__s, __const char *__accept) | |
2109 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2110 | ||
2111 | extern char *strpbrk (__const char *__s, __const char *__accept) | |
2112 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2113 | ||
2114 | extern char *strstr (__const char *__haystack, __const char *__needle) | |
2115 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2116 | ||
2117 | ||
2118 | ||
2119 | extern char *strtok (char *__restrict __s, __const char *__restrict __delim) | |
2120 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2121 | ||
2122 | # 212 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2123 | extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, | |
2124 | char **__restrict __save_ptr) | |
2125 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); | |
2126 | # 244 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2127 | ||
2128 | ||
2129 | extern size_t strlen (__const char *__s) | |
2130 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2131 | ||
2132 | # 258 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2133 | ||
2134 | ||
2135 | extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); | |
2136 | ||
2137 | # 285 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2138 | extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen) | |
2139 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2140 | ||
2141 | extern char * strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("_" "__glibc_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); | |
2142 | # 306 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2143 | extern void bcopy (__const void *__src, void *__dest, size_t __n) | |
2144 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2145 | ||
2146 | ||
2147 | extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
2148 | ||
2149 | ||
2150 | extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) | |
2151 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2152 | ||
2153 | ||
2154 | extern char *index (__const char *__s, int __c) | |
2155 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2156 | ||
2157 | ||
2158 | extern char *rindex (__const char *__s, int __c) | |
2159 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
2160 | # 339 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2161 | extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); | |
2162 | # 352 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2163 | extern int strcasecmp (__const char *__s1, __const char *__s2) | |
2164 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2165 | ||
2166 | ||
2167 | extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) | |
2168 | __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
2169 | # 375 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2170 | extern char *strsep (char **__restrict __stringp, | |
2171 | __const char *__restrict __delim) | |
2172 | __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2173 | # 429 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 | |
2174 | extern size_t strlcat(char *__restrict dst, const char *__restrict src, | |
2175 | size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2176 | extern size_t strlcpy(char *__restrict dst, const char *__restrict src, | |
2177 | size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
2178 | ||
2179 | ||
2180 | ||
2181 | # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 2 3 4 | |
2182 | # 47 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2183 | ||
2184 | # 1 "../../spandsp-0.0.4/src/spandsp/telephony.h" 1 | |
2185 | # 41 "../../spandsp-0.0.4/src/spandsp/telephony.h" | |
2186 | typedef int (span_rx_handler_t)(void *s, const int16_t amp[], int len); | |
2187 | ||
2188 | ||
2189 | typedef int (span_mod_handler_t)(void *s, int16_t amp[], int len); | |
2190 | ||
2191 | ||
2192 | typedef int (span_tx_handler_t)(void *s, int16_t amp[], int max_len); | |
2193 | # 49 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2194 | # 1 "../../spandsp-0.0.4/src/spandsp/bitstream.h" 1 | |
2195 | # 39 "../../spandsp-0.0.4/src/spandsp/bitstream.h" | |
2196 | typedef struct | |
2197 | { | |
2198 | unsigned int bitstream; | |
2199 | unsigned int residue; | |
2200 | } bitstream_state_t; | |
2201 | # 56 "../../spandsp-0.0.4/src/spandsp/bitstream.h" | |
2202 | void bitstream_put(bitstream_state_t *s, uint8_t **c, unsigned int value, int bits); | |
2203 | ||
2204 | void bitstream_put2(bitstream_state_t *s, uint8_t **c, unsigned int value, int bits); | |
2205 | ||
2206 | ||
2207 | ||
2208 | ||
2209 | ||
2210 | ||
2211 | unsigned int bitstream_get(bitstream_state_t *s, const uint8_t **c, int bits); | |
2212 | ||
2213 | unsigned int bitstream_get2(bitstream_state_t *s, const uint8_t **c, int bits); | |
2214 | ||
2215 | ||
2216 | ||
2217 | ||
2218 | void bitstream_flush(bitstream_state_t *s, uint8_t **c); | |
2219 | ||
2220 | void bitstream_flush2(bitstream_state_t *s, uint8_t **c); | |
2221 | ||
2222 | ||
2223 | ||
2224 | ||
2225 | bitstream_state_t *bitstream_init(bitstream_state_t *s); | |
2226 | # 50 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2227 | # 1 "../../spandsp-0.0.4/src/spandsp/dc_restore.h" 1 | |
2228 | # 59 "../../spandsp-0.0.4/src/spandsp/dc_restore.h" | |
2229 | typedef struct | |
2230 | { | |
2231 | int32_t state; | |
2232 | } dc_restore_state_t; | |
2233 | ||
2234 | ||
2235 | ||
2236 | ||
2237 | ||
2238 | ||
2239 | static __inline__ void dc_restore_init(dc_restore_state_t *dc) | |
2240 | { | |
2241 | dc->state = 0; | |
2242 | } | |
2243 | ||
2244 | ||
2245 | static __inline__ int16_t dc_restore(dc_restore_state_t *dc, int16_t sample) | |
2246 | { | |
2247 | dc->state += ((((int32_t) sample << 15) - dc->state) >> 14); | |
2248 | return (int16_t) (sample - (dc->state >> 15)); | |
2249 | } | |
2250 | ||
2251 | ||
2252 | static __inline__ int16_t dc_restore_estimate(dc_restore_state_t *dc) | |
2253 | { | |
2254 | return (int16_t) (dc->state >> 15); | |
2255 | } | |
2256 | ||
2257 | ||
2258 | static __inline__ int16_t saturate(int32_t amp) | |
2259 | { | |
2260 | int16_t amp16; | |
2261 | ||
2262 | ||
2263 | amp16 = (int16_t) amp; | |
2264 | if (amp == amp16) | |
2265 | return amp16; | |
2266 | if (amp > (32767)) | |
2267 | return (32767); | |
2268 | return (-32767-1); | |
2269 | } | |
2270 | ||
2271 | ||
2272 | static __inline__ int16_t fsaturatef(float famp) | |
2273 | { | |
2274 | if (famp > 32767.0) | |
2275 | return (32767); | |
2276 | if (famp < -32768.0) | |
2277 | return (-32767-1); | |
2278 | return (int16_t) rintf(famp); | |
2279 | } | |
2280 | ||
2281 | ||
2282 | static __inline__ int16_t fsaturate(double damp) | |
2283 | { | |
2284 | if (damp > 32767.0) | |
2285 | return (32767); | |
2286 | if (damp < -32768.0) | |
2287 | return (-32767-1); | |
2288 | return (int16_t) (__extension__ ({ __typeof__(*(0 ? (__typeof__ (0 ? (double *) 0 : (void *) ((((__typeof__(damp)) 0.25) && ((__typeof__(damp)) 0.25 - 1))))) 0 : (__typeof__ (0 ? (__typeof__(damp) *) 0 : (void *) (!((((__typeof__(damp)) 0.25) && ((__typeof__(damp)) 0.25 - 1)))))) 0)) __tgmres; if (sizeof (damp) == sizeof (double) || __builtin_classify_type (damp) != 8) __tgmres = rint (damp); else if (sizeof (damp) == sizeof (float)) __tgmres = rintf (damp); else __tgmres = rint (damp); __tgmres; })); | |
2289 | } | |
2290 | # 51 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2291 | # 1 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" 1 | |
2292 | # 51 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" | |
2293 | enum | |
2294 | { | |
2295 | GSM0610_PACKING_NONE, | |
2296 | GSM0610_PACKING_WAV49, | |
2297 | GSM0610_PACKING_VOIP | |
2298 | }; | |
2299 | ||
2300 | ||
2301 | ||
2302 | ||
2303 | typedef struct | |
2304 | { | |
2305 | int16_t LARc[8]; | |
2306 | int16_t Nc[4]; | |
2307 | int16_t bc[4]; | |
2308 | int16_t Mc[4]; | |
2309 | int16_t xmaxc[4]; | |
2310 | int16_t xMc[4][13]; | |
2311 | } gsm0610_frame_t; | |
2312 | ||
2313 | ||
2314 | ||
2315 | ||
2316 | ||
2317 | typedef struct | |
2318 | { | |
2319 | ||
2320 | int packing; | |
2321 | ||
2322 | int16_t dp0[280]; | |
2323 | ||
2324 | ||
2325 | int16_t z1; | |
2326 | int32_t L_z2; | |
2327 | ||
2328 | int16_t mp; | |
2329 | ||
2330 | ||
2331 | int16_t u[8]; | |
2332 | int16_t LARpp[2][8]; | |
2333 | int16_t j; | |
2334 | ||
2335 | ||
2336 | int16_t nrp; | |
2337 | ||
2338 | int16_t v[9]; | |
2339 | ||
2340 | int16_t msr; | |
2341 | ||
2342 | ||
2343 | int16_t e[50]; | |
2344 | } gsm0610_state_t; | |
2345 | # 113 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" | |
2346 | gsm0610_state_t *gsm0610_init(gsm0610_state_t *s, int packing); | |
2347 | ||
2348 | ||
2349 | ||
2350 | ||
2351 | int gsm0610_release(gsm0610_state_t *s); | |
2352 | ||
2353 | ||
2354 | ||
2355 | ||
2356 | ||
2357 | int gsm0610_set_packing(gsm0610_state_t *s, int packing); | |
2358 | ||
2359 | ||
2360 | ||
2361 | ||
2362 | ||
2363 | ||
2364 | ||
2365 | int gsm0610_encode(gsm0610_state_t *s, uint8_t code[], const int16_t amp[], int quant); | |
2366 | ||
2367 | ||
2368 | ||
2369 | ||
2370 | ||
2371 | ||
2372 | ||
2373 | int gsm0610_decode(gsm0610_state_t *s, int16_t amp[], const uint8_t code[], int quant); | |
2374 | ||
2375 | int gsm0610_pack_none(uint8_t c[], const gsm0610_frame_t *s); | |
2376 | ||
2377 | ||
2378 | ||
2379 | ||
2380 | ||
2381 | int gsm0610_pack_wav49(uint8_t c[], const gsm0610_frame_t *s); | |
2382 | ||
2383 | ||
2384 | ||
2385 | ||
2386 | ||
2387 | int gsm0610_pack_voip(uint8_t c[], const gsm0610_frame_t *s); | |
2388 | ||
2389 | int gsm0610_unpack_none(gsm0610_frame_t *s, const uint8_t c[]); | |
2390 | ||
2391 | ||
2392 | ||
2393 | ||
2394 | ||
2395 | int gsm0610_unpack_wav49(gsm0610_frame_t *s, const uint8_t c[]); | |
2396 | ||
2397 | ||
2398 | ||
2399 | ||
2400 | ||
2401 | int gsm0610_unpack_voip(gsm0610_frame_t *s, const uint8_t c[]); | |
2402 | # 52 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2403 | ||
2404 | # 1 "../../spandsp-0.0.4/src/gsm0610_local.h" 1 | |
2405 | # 38 "../../spandsp-0.0.4/src/gsm0610_local.h" | |
2406 | static __inline__ int16_t gsm_add(int16_t a, int16_t b) | |
2407 | { | |
2408 | # 53 "../../spandsp-0.0.4/src/gsm0610_local.h" | |
2409 | int32_t sum; | |
2410 | ||
2411 | sum = (int32_t) a + (int32_t) b; | |
2412 | return saturate(sum); | |
2413 | ||
2414 | } | |
2415 | ||
2416 | ||
2417 | static __inline__ int32_t gsm_l_add(int32_t a, int32_t b) | |
2418 | { | |
2419 | # 76 "../../spandsp-0.0.4/src/gsm0610_local.h" | |
2420 | uint32_t A; | |
2421 | ||
2422 | if (a < 0) | |
2423 | { | |
2424 | if (b >= 0) | |
2425 | return a + b; | |
2426 | ||
2427 | A = (uint32_t) -(a + 1) + (uint32_t) -(b + 1); | |
2428 | return (A >= (2147483647)) ? (-2147483647-1) : -(int32_t) A - 2; | |
2429 | } | |
2430 | ||
2431 | if (b <= 0) | |
2432 | return a + b; | |
2433 | ||
2434 | A = (uint32_t) a + (uint32_t) b; | |
2435 | return (A > (2147483647)) ? (2147483647) : A; | |
2436 | ||
2437 | } | |
2438 | ||
2439 | ||
2440 | static __inline__ int16_t gsm_sub(int16_t a, int16_t b) | |
2441 | { | |
2442 | int32_t diff; | |
2443 | ||
2444 | diff = (int32_t) a - (int32_t) b; | |
2445 | return saturate(diff); | |
2446 | } | |
2447 | ||
2448 | ||
2449 | static __inline__ int16_t gsm_mult(int16_t a, int16_t b) | |
2450 | { | |
2451 | if (a == (-32767-1) && b == (-32767-1)) | |
2452 | return (32767); | |
2453 | ||
2454 | return (int16_t) (((int32_t) a * (int32_t) b) >> 15); | |
2455 | } | |
2456 | ||
2457 | ||
2458 | static __inline__ int32_t gsm_l_mult(int16_t a, int16_t b) | |
2459 | { | |
2460 | ((void) (0)); | |
2461 | return ((int32_t) a * (int32_t) b) << 1; | |
2462 | } | |
2463 | ||
2464 | ||
2465 | static __inline__ int16_t gsm_mult_r(int16_t a, int16_t b) | |
2466 | { | |
2467 | int32_t prod; | |
2468 | ||
2469 | if (b == (-32767-1) && a == (-32767-1)) | |
2470 | return (32767); | |
2471 | ||
2472 | prod = (int32_t) a * (int32_t) b + 16384; | |
2473 | prod >>= 15; | |
2474 | return (int16_t) (prod & 0xFFFF); | |
2475 | } | |
2476 | ||
2477 | ||
2478 | static __inline__ int16_t gsm_abs(int16_t a) | |
2479 | { | |
2480 | return (a == (-32767-1)) ? (32767) : (int16_t) abs(a); | |
2481 | } | |
2482 | ||
2483 | ||
2484 | static __inline__ int16_t gsm_asr(int16_t a, int n) | |
2485 | { | |
2486 | if (n >= 16) | |
2487 | return -(a < 0); | |
2488 | ||
2489 | if (n <= -16) | |
2490 | return 0; | |
2491 | ||
2492 | if (n < 0) | |
2493 | return a << -n; | |
2494 | ||
2495 | return a >> n; | |
2496 | } | |
2497 | ||
2498 | ||
2499 | static __inline__ int16_t gsm_asl(int16_t a, int n) | |
2500 | { | |
2501 | if (n >= 16) | |
2502 | return 0; | |
2503 | ||
2504 | if (n <= -16) | |
2505 | return -(a < 0); | |
2506 | ||
2507 | if (n < 0) | |
2508 | return gsm_asr(a, -n); | |
2509 | ||
2510 | return a << n; | |
2511 | } | |
2512 | ||
2513 | ||
2514 | extern void gsm0610_long_term_predictor(gsm0610_state_t *s, | |
2515 | int16_t d[40], | |
2516 | int16_t *dp, | |
2517 | int16_t e[40], | |
2518 | int16_t dpp[40], | |
2519 | int16_t *Nc, | |
2520 | int16_t *bc); | |
2521 | ||
2522 | extern void gsm0610_lpc_analysis(gsm0610_state_t *s, | |
2523 | int16_t amp[160], | |
2524 | int16_t LARc[8]); | |
2525 | ||
2526 | extern void gsm0610_preprocess(gsm0610_state_t *s, | |
2527 | const int16_t amp[], | |
2528 | int16_t so[]); | |
2529 | ||
2530 | extern void gsm0610_short_term_analysis_filter(gsm0610_state_t *s, | |
2531 | int16_t LARc[8], | |
2532 | int16_t amp[160]); | |
2533 | ||
2534 | extern void gsm0610_long_term_synthesis_filtering(gsm0610_state_t *s, | |
2535 | int16_t Ncr, | |
2536 | int16_t bcr, | |
2537 | int16_t erp[40], | |
2538 | int16_t *drp); | |
2539 | ||
2540 | extern void gsm0610_rpe_decoding(gsm0610_state_t *s, | |
2541 | int16_t xmaxcr, | |
2542 | int16_t Mcr, | |
2543 | int16_t *xMcr, | |
2544 | int16_t erp[40]); | |
2545 | ||
2546 | extern void gsm0610_rpe_encoding(gsm0610_state_t *s, | |
2547 | int16_t *e, | |
2548 | int16_t *xmaxc, | |
2549 | int16_t *Mc, | |
2550 | int16_t xMc[13]); | |
2551 | ||
2552 | extern void gsm0610_short_term_synthesis_filter(gsm0610_state_t *s, | |
2553 | int16_t LARcr[8], | |
2554 | int16_t drp[40], | |
2555 | int16_t amp[160]); | |
2556 | ||
2557 | extern int16_t gsm0610_norm(int32_t a); | |
2558 | # 54 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 | |
2559 | ||
2560 | ||
2561 | ||
2562 | static void postprocessing(gsm0610_state_t *s, int16_t amp[]) | |
2563 | { | |
2564 | int k; | |
2565 | int16_t msr; | |
2566 | int16_t tmp; | |
2567 | ||
2568 | msr = s->msr; | |
2569 | for (k = 0; k < 160; k++) | |
2570 | { | |
2571 | tmp = gsm_mult_r(msr, 28180); | |
2572 | ||
2573 | msr = gsm_add(amp[k], tmp); | |
2574 | ||
2575 | amp[k] = (int16_t) (gsm_add(msr, msr) & 0xFFF8); | |
2576 | } | |
2577 | ||
2578 | s->msr = msr; | |
2579 | } | |
2580 | ||
2581 | ||
2582 | static void decode_a_frame(gsm0610_state_t *s, | |
2583 | int16_t amp[160], | |
2584 | gsm0610_frame_t *f) | |
2585 | { | |
2586 | int j; | |
2587 | int k; | |
2588 | int16_t erp[40]; | |
2589 | int16_t wt[160]; | |
2590 | int16_t *drp; | |
2591 | ||
2592 | drp = s->dp0 + 120; | |
2593 | for (j = 0; j < 4; j++) | |
2594 | { | |
2595 | gsm0610_rpe_decoding(s, f->xmaxc[j], f->Mc[j], f->xMc[j], erp); | |
2596 | gsm0610_long_term_synthesis_filtering(s, f->Nc[j], f->bc[j], erp, drp); | |
2597 | for (k = 0; k < 40; k++) | |
2598 | wt[j*40 + k] = drp[k]; | |
2599 | ||
2600 | } | |
2601 | ||
2602 | ||
2603 | gsm0610_short_term_synthesis_filter(s, f->LARc, wt, amp); | |
2604 | postprocessing(s, amp); | |
2605 | } | |
2606 | ||
2607 | ||
2608 | int gsm0610_unpack_none(gsm0610_frame_t *s, const uint8_t c[]) | |
2609 | { | |
2610 | int i; | |
2611 | int j; | |
2612 | int k; | |
2613 | ||
2614 | i = 0; | |
2615 | for (j = 0; j < 8; j++) | |
2616 | s->LARc[j] = c[i++]; | |
2617 | for (j = 0; j < 4; j++) | |
2618 | { | |
2619 | s->Nc[j] = c[i++]; | |
2620 | s->bc[j] = c[i++]; | |
2621 | s->Mc[j] = c[i++]; | |
2622 | s->xmaxc[j] = c[i++]; | |
2623 | for (k = 0; k < 13; k++) | |
2624 | s->xMc[j][k] = c[i++]; | |
2625 | } | |
2626 | return 76; | |
2627 | } | |
2628 | ||
2629 | ||
2630 | int gsm0610_unpack_wav49(gsm0610_frame_t *s, const uint8_t c[]) | |
2631 | { | |
2632 | uint16_t sr; | |
2633 | int i; | |
2634 | ||
2635 | sr = *c++; | |
2636 | s->LARc[0] = sr & 0x3F; | |
2637 | sr >>= 6; | |
2638 | sr |= (uint16_t) *c++ << 2; | |
2639 | s->LARc[1] = sr & 0x3F; | |
2640 | sr >>= 6; | |
2641 | sr |= (uint16_t) *c++ << 4; | |
2642 | s->LARc[2] = sr & 0x1F; | |
2643 | sr >>= 5; | |
2644 | s->LARc[3] = sr & 0x1F; | |
2645 | sr >>= 5; | |
2646 | sr |= (uint16_t) *c++ << 2; | |
2647 | s->LARc[4] = sr & 0xF; | |
2648 | sr >>= 4; | |
2649 | s->LARc[5] = sr & 0xF; | |
2650 | sr >>= 4; | |
2651 | sr |= (uint16_t) *c++ << 2; | |
2652 | s->LARc[6] = sr & 0x7; | |
2653 | sr >>= 3; | |
2654 | s->LARc[7] = sr & 0x7; | |
2655 | sr >>= 3; | |
2656 | ||
2657 | for (i = 0; i < 4; i++) | |
2658 | { | |
2659 | sr |= (uint16_t) *c++ << 4; | |
2660 | s->Nc[i] = sr & 0x7F; | |
2661 | sr >>= 7; | |
2662 | s->bc[i] = sr & 0x3; | |
2663 | sr >>= 2; | |
2664 | s->Mc[i] = sr & 0x3; | |
2665 | sr >>= 2; | |
2666 | sr |= (uint16_t) *c++ << 1; | |
2667 | s->xmaxc[i] = sr & 0x3F; | |
2668 | sr >>= 6; | |
2669 | s->xMc[i][0] = sr & 0x7; | |
2670 | sr >>= 3; | |
2671 | sr = *c++; | |
2672 | s->xMc[i][1] = sr & 0x7; | |
2673 | sr >>= 3; | |
2674 | s->xMc[i][2] = sr & 0x7; | |
2675 | sr >>= 3; | |
2676 | sr |= (uint16_t) *c++ << 2; | |
2677 | s->xMc[i][3] = sr & 0x7; | |
2678 | sr >>= 3; | |
2679 | s->xMc[i][4] = sr & 0x7; | |
2680 | sr >>= 3; | |
2681 | s->xMc[i][5] = sr & 0x7; | |
2682 | sr >>= 3; | |
2683 | sr |= (uint16_t) *c++ << 1; | |
2684 | s->xMc[i][6] = sr & 0x7; | |
2685 | sr >>= 3; | |
2686 | s->xMc[i][7] = sr & 0x7; | |
2687 | sr >>= 3; | |
2688 | s->xMc[i][8] = sr & 0x7; | |
2689 | sr >>= 3; | |
2690 | sr = *c++; | |
2691 | s->xMc[i][9] = sr & 0x7; | |
2692 | sr >>= 3; | |
2693 | s->xMc[i][10] = sr & 0x7; | |
2694 | sr >>= 3; | |
2695 | sr |= (uint16_t) *c++ << 2; | |
2696 | s->xMc[i][11] = sr & 0x7; | |
2697 | sr >>= 3; | |
2698 | s->xMc[i][12] = sr & 0x7; | |
2699 | sr >>= 3; | |
2700 | } | |
2701 | ||
2702 | s++; | |
2703 | sr |= (uint16_t) *c++ << 4; | |
2704 | s->LARc[0] = sr & 0x3F; | |
2705 | sr >>= 6; | |
2706 | s->LARc[1] = sr & 0x3F; | |
2707 | sr >>= 6; | |
2708 | sr = *c++; | |
2709 | s->LARc[2] = sr & 0x1F; | |
2710 | sr >>= 5; | |
2711 | sr |= (uint16_t) *c++ << 3; | |
2712 | s->LARc[3] = sr & 0x1F; | |
2713 | sr >>= 5; | |
2714 | s->LARc[4] = sr & 0xF; | |
2715 | sr >>= 4; | |
2716 | sr |= (uint16_t) *c++ << 2; | |
2717 | s->LARc[5] = sr & 0xF; | |
2718 | sr >>= 4; | |
2719 | s->LARc[6] = sr & 0x7; | |
2720 | sr >>= 3; | |
2721 | s->LARc[7] = sr & 0x7; | |
2722 | sr >>= 3; | |
2723 | ||
2724 | for (i = 0; i < 4; i++) | |
2725 | { | |
2726 | sr = *c++; | |
2727 | s->Nc[i] = sr & 0x7F; | |
2728 | sr >>= 7; | |
2729 | sr |= (uint16_t) *c++ << 1; | |
2730 | s->bc[i] = sr & 0x3; | |
2731 | sr >>= 2; | |
2732 | s->Mc[i] = sr & 0x3; | |
2733 | sr >>= 2; | |
2734 | sr |= (uint16_t) *c++ << 5; | |
2735 | s->xmaxc[i] = sr & 0x3F; | |
2736 | sr >>= 6; | |
2737 | s->xMc[i][0] = sr & 0x7; | |
2738 | sr >>= 3; | |
2739 | s->xMc[i][1] = sr & 0x7; | |
2740 | sr >>= 3; | |
2741 | sr |= (uint16_t) *c++ << 1; | |
2742 | s->xMc[i][2] = sr & 0x7; | |
2743 | sr >>= 3; | |
2744 | s->xMc[i][3] = sr & 0x7; | |
2745 | sr >>= 3; | |
2746 | s->xMc[i][4] = sr & 0x7; | |
2747 | sr >>= 3; | |
2748 | sr = *c++; | |
2749 | s->xMc[i][5] = sr & 0x7; | |
2750 | sr >>= 3; | |
2751 | s->xMc[i][6] = sr & 0x7; | |
2752 | sr >>= 3; | |
2753 | sr |= (uint16_t) *c++ << 2; | |
2754 | s->xMc[i][7] = sr & 0x7; | |
2755 | sr >>= 3; | |
2756 | s->xMc[i][8] = sr & 0x7; | |
2757 | sr >>= 3; | |
2758 | s->xMc[i][9] = sr & 0x7; | |
2759 | sr >>= 3; | |
2760 | sr |= (uint16_t) *c++ << 1; | |
2761 | s->xMc[i][10] = sr & 0x7; | |
2762 | sr >>= 3; | |
2763 | s->xMc[i][11] = sr & 0x7; | |
2764 | sr >>= 3; | |
2765 | s->xMc[i][12] = sr & 0x7; | |
2766 | sr >>= 3; | |
2767 | } | |
2768 | return 65; | |
2769 | } | |
2770 | ||
2771 | ||
2772 | int gsm0610_unpack_voip(gsm0610_frame_t *s, const uint8_t c[33]) | |
2773 | { | |
2774 | int i; | |
2775 | ||
2776 | s->LARc[0] = (*c++ & 0xF) << 2; | |
2777 | s->LARc[0] |= (*c >> 6) & 0x3; | |
2778 | s->LARc[1] = *c++ & 0x3F; | |
2779 | s->LARc[2] = (*c >> 3) & 0x1F; | |
2780 | s->LARc[3] = (*c++ & 0x7) << 2; | |
2781 | s->LARc[3] |= (*c >> 6) & 0x3; | |
2782 | s->LARc[4] = (*c >> 2) & 0xF; | |
2783 | s->LARc[5] = (*c++ & 0x3) << 2; | |
2784 | s->LARc[5] |= (*c >> 6) & 0x3; | |
2785 | s->LARc[6] = (*c >> 3) & 0x7; | |
2786 | s->LARc[7] = *c++ & 0x7; | |
2787 | ||
2788 | for (i = 0; i < 4; i++) | |
2789 | { | |
2790 | s->Nc[i] = (*c >> 1) & 0x7F; | |
2791 | s->bc[i] = (*c++ & 0x1) << 1; | |
2792 | s->bc[i] |= (*c >> 7) & 0x1; | |
2793 | s->Mc[i] = (*c >> 5) & 0x3; | |
2794 | s->xmaxc[i] = (*c++ & 0x1F) << 1; | |
2795 | s->xmaxc[i] |= (*c >> 7) & 0x1; | |
2796 | s->xMc[i][0] = (*c >> 4) & 0x7; | |
2797 | s->xMc[i][1] = (*c >> 1) & 0x7; | |
2798 | s->xMc[i][2] = (*c++ & 0x1) << 2; | |
2799 | s->xMc[i][2] |= (*c >> 6) & 0x3; | |
2800 | s->xMc[i][3] = (*c >> 3) & 0x7; | |
2801 | s->xMc[i][4] = *c++ & 0x7; | |
2802 | s->xMc[i][5] = (*c >> 5) & 0x7; | |
2803 | s->xMc[i][6] = (*c >> 2) & 0x7; | |
2804 | s->xMc[i][7] = (*c++ & 0x3) << 1; | |
2805 | s->xMc[i][7] |= (*c >> 7) & 0x1; | |
2806 | s->xMc[i][8] = (*c >> 4) & 0x7; | |
2807 | s->xMc[i][9] = (*c >> 1) & 0x7; | |
2808 | s->xMc[i][10] = (*c++ & 0x1) << 2; | |
2809 | s->xMc[i][10] |= (*c >> 6) & 0x3; | |
2810 | s->xMc[i][11] = (*c >> 3) & 0x7; | |
2811 | s->xMc[i][12] = *c++ & 0x7; | |
2812 | } | |
2813 | return 33; | |
2814 | } | |
2815 | ||
2816 | ||
2817 | int gsm0610_decode(gsm0610_state_t *s, int16_t amp[], const uint8_t code[], int quant) | |
2818 | { | |
2819 | gsm0610_frame_t frame[2]; | |
2820 | const uint8_t *c; | |
2821 | int bytes; | |
2822 | int i; | |
2823 | ||
2824 | c = code; | |
2825 | for (i = 0; i < quant; i++) | |
2826 | { | |
2827 | switch (s->packing) | |
2828 | { | |
2829 | default: | |
2830 | case GSM0610_PACKING_NONE: | |
2831 | if ((bytes = gsm0610_unpack_none(frame, c)) >= 0) | |
2832 | { | |
2833 | decode_a_frame(s, amp, frame); | |
2834 | amp += 160; | |
2835 | } | |
2836 | break; | |
2837 | case GSM0610_PACKING_WAV49: | |
2838 | if ((bytes = gsm0610_unpack_wav49(frame, c)) >= 0) | |
2839 | { | |
2840 | decode_a_frame(s, amp, frame); | |
2841 | amp += 160; | |
2842 | decode_a_frame(s, amp, frame + 1); | |
2843 | amp += 160; | |
2844 | } | |
2845 | break; | |
2846 | case GSM0610_PACKING_VOIP: | |
2847 | if ((bytes = gsm0610_unpack_voip(frame, c)) >= 0) | |
2848 | { | |
2849 | decode_a_frame(s, amp, frame); | |
2850 | amp += 160; | |
2851 | } | |
2852 | break; | |
2853 | } | |
2854 | ||
2855 | if (bytes < 0) | |
2856 | return 0; | |
2857 | c += bytes; | |
2858 | } | |
2859 | ||
2860 | return quant*160; | |
2861 | } |