Advertisement
Guest User

Untitled

a guest
Jan 28th, 2011
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.63 KB | None | 0 0
  1. # 1 "grover.c"
  2. # 1 "<built-in>"
  3. # 1 "<command-line>"
  4. # 1 "grover.c"
  5. # 1 "/usr/include/stdio.h" 1 3 4
  6. # 28 "/usr/include/stdio.h" 3 4
  7. # 1 "/usr/include/features.h" 1 3 4
  8. # 313 "/usr/include/features.h" 3 4
  9. # 1 "/usr/include/bits/predefs.h" 1 3 4
  10. # 314 "/usr/include/features.h" 2 3 4
  11. # 346 "/usr/include/features.h" 3 4
  12. # 1 "/usr/include/sys/cdefs.h" 1 3 4
  13. # 353 "/usr/include/sys/cdefs.h" 3 4
  14. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  15. # 354 "/usr/include/sys/cdefs.h" 2 3 4
  16. # 347 "/usr/include/features.h" 2 3 4
  17. # 378 "/usr/include/features.h" 3 4
  18. # 1 "/usr/include/gnu/stubs.h" 1 3 4
  19.  
  20.  
  21.  
  22. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  23. # 5 "/usr/include/gnu/stubs.h" 2 3 4
  24.  
  25.  
  26. # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
  27. # 8 "/usr/include/gnu/stubs.h" 2 3 4
  28. # 379 "/usr/include/features.h" 2 3 4
  29. # 29 "/usr/include/stdio.h" 2 3 4
  30.  
  31. extern "C" {
  32.  
  33.  
  34.  
  35. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  36. # 211 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 3 4
  37. typedef unsigned int size_t;
  38. # 35 "/usr/include/stdio.h" 2 3 4
  39.  
  40. # 1 "/usr/include/bits/types.h" 1 3 4
  41. # 28 "/usr/include/bits/types.h" 3 4
  42. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  43. # 29 "/usr/include/bits/types.h" 2 3 4
  44.  
  45.  
  46. typedef unsigned char __u_char;
  47. typedef unsigned short int __u_short;
  48. typedef unsigned int __u_int;
  49. typedef unsigned long int __u_long;
  50.  
  51.  
  52. typedef signed char __int8_t;
  53. typedef unsigned char __uint8_t;
  54. typedef signed short int __int16_t;
  55. typedef unsigned short int __uint16_t;
  56. typedef signed int __int32_t;
  57. typedef unsigned int __uint32_t;
  58.  
  59.  
  60.  
  61.  
  62. __extension__ typedef signed long long int __int64_t;
  63. __extension__ typedef unsigned long long int __uint64_t;
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. __extension__ typedef long long int __quad_t;
  72. __extension__ typedef unsigned long long int __u_quad_t;
  73. # 131 "/usr/include/bits/types.h" 3 4
  74. # 1 "/usr/include/bits/typesizes.h" 1 3 4
  75. # 132 "/usr/include/bits/types.h" 2 3 4
  76.  
  77.  
  78. __extension__ typedef __u_quad_t __dev_t;
  79. __extension__ typedef unsigned int __uid_t;
  80. __extension__ typedef unsigned int __gid_t;
  81. __extension__ typedef unsigned long int __ino_t;
  82. __extension__ typedef __u_quad_t __ino64_t;
  83. __extension__ typedef unsigned int __mode_t;
  84. __extension__ typedef unsigned int __nlink_t;
  85. __extension__ typedef long int __off_t;
  86. __extension__ typedef __quad_t __off64_t;
  87. __extension__ typedef int __pid_t;
  88. __extension__ typedef struct { int __val[2]; } __fsid_t;
  89. __extension__ typedef long int __clock_t;
  90. __extension__ typedef unsigned long int __rlim_t;
  91. __extension__ typedef __u_quad_t __rlim64_t;
  92. __extension__ typedef unsigned int __id_t;
  93. __extension__ typedef long int __time_t;
  94. __extension__ typedef unsigned int __useconds_t;
  95. __extension__ typedef long int __suseconds_t;
  96.  
  97. __extension__ typedef int __daddr_t;
  98. __extension__ typedef long int __swblk_t;
  99. __extension__ typedef int __key_t;
  100.  
  101.  
  102. __extension__ typedef int __clockid_t;
  103.  
  104.  
  105. __extension__ typedef void * __timer_t;
  106.  
  107.  
  108. __extension__ typedef long int __blksize_t;
  109.  
  110.  
  111.  
  112.  
  113. __extension__ typedef long int __blkcnt_t;
  114. __extension__ typedef __quad_t __blkcnt64_t;
  115.  
  116.  
  117. __extension__ typedef unsigned long int __fsblkcnt_t;
  118. __extension__ typedef __u_quad_t __fsblkcnt64_t;
  119.  
  120.  
  121. __extension__ typedef unsigned long int __fsfilcnt_t;
  122. __extension__ typedef __u_quad_t __fsfilcnt64_t;
  123.  
  124. __extension__ typedef int __ssize_t;
  125.  
  126.  
  127.  
  128. typedef __off64_t __loff_t;
  129. typedef __quad_t *__qaddr_t;
  130. typedef char *__caddr_t;
  131.  
  132.  
  133. __extension__ typedef int __intptr_t;
  134.  
  135.  
  136. __extension__ typedef unsigned int __socklen_t;
  137. # 37 "/usr/include/stdio.h" 2 3 4
  138. # 45 "/usr/include/stdio.h" 3 4
  139. struct _IO_FILE;
  140.  
  141.  
  142.  
  143. typedef struct _IO_FILE FILE;
  144.  
  145.  
  146.  
  147.  
  148.  
  149. # 65 "/usr/include/stdio.h" 3 4
  150. typedef struct _IO_FILE __FILE;
  151. # 75 "/usr/include/stdio.h" 3 4
  152. # 1 "/usr/include/libio.h" 1 3 4
  153. # 32 "/usr/include/libio.h" 3 4
  154. # 1 "/usr/include/_G_config.h" 1 3 4
  155. # 15 "/usr/include/_G_config.h" 3 4
  156. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  157. # 16 "/usr/include/_G_config.h" 2 3 4
  158.  
  159.  
  160.  
  161.  
  162. # 1 "/usr/include/wchar.h" 1 3 4
  163. # 83 "/usr/include/wchar.h" 3 4
  164. typedef struct
  165. {
  166. int __count;
  167. union
  168. {
  169.  
  170. unsigned int __wch;
  171.  
  172.  
  173.  
  174. char __wchb[4];
  175. } __value;
  176. } __mbstate_t;
  177. # 21 "/usr/include/_G_config.h" 2 3 4
  178.  
  179. typedef struct
  180. {
  181. __off_t __pos;
  182. __mbstate_t __state;
  183. } _G_fpos_t;
  184. typedef struct
  185. {
  186. __off64_t __pos;
  187. __mbstate_t __state;
  188. } _G_fpos64_t;
  189. # 53 "/usr/include/_G_config.h" 3 4
  190. typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
  191. typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
  192. typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
  193. typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
  194. # 33 "/usr/include/libio.h" 2 3 4
  195. # 53 "/usr/include/libio.h" 3 4
  196. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h" 1 3 4
  197. # 40 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h" 3 4
  198. typedef __builtin_va_list __gnuc_va_list;
  199. # 54 "/usr/include/libio.h" 2 3 4
  200. # 170 "/usr/include/libio.h" 3 4
  201. struct _IO_jump_t; struct _IO_FILE;
  202. # 180 "/usr/include/libio.h" 3 4
  203. typedef void _IO_lock_t;
  204.  
  205.  
  206.  
  207.  
  208.  
  209. struct _IO_marker {
  210. struct _IO_marker *_next;
  211. struct _IO_FILE *_sbuf;
  212.  
  213.  
  214.  
  215. int _pos;
  216. # 203 "/usr/include/libio.h" 3 4
  217. };
  218.  
  219.  
  220. enum __codecvt_result
  221. {
  222. __codecvt_ok,
  223. __codecvt_partial,
  224. __codecvt_error,
  225. __codecvt_noconv
  226. };
  227. # 271 "/usr/include/libio.h" 3 4
  228. struct _IO_FILE {
  229. int _flags;
  230.  
  231.  
  232.  
  233.  
  234. char* _IO_read_ptr;
  235. char* _IO_read_end;
  236. char* _IO_read_base;
  237. char* _IO_write_base;
  238. char* _IO_write_ptr;
  239. char* _IO_write_end;
  240. char* _IO_buf_base;
  241. char* _IO_buf_end;
  242.  
  243. char *_IO_save_base;
  244. char *_IO_backup_base;
  245. char *_IO_save_end;
  246.  
  247. struct _IO_marker *_markers;
  248.  
  249. struct _IO_FILE *_chain;
  250.  
  251. int _fileno;
  252.  
  253.  
  254.  
  255. int _flags2;
  256.  
  257. __off_t _old_offset;
  258.  
  259.  
  260.  
  261. unsigned short _cur_column;
  262. signed char _vtable_offset;
  263. char _shortbuf[1];
  264.  
  265.  
  266.  
  267. _IO_lock_t *_lock;
  268. # 319 "/usr/include/libio.h" 3 4
  269. __off64_t _offset;
  270. # 328 "/usr/include/libio.h" 3 4
  271. void *__pad1;
  272. void *__pad2;
  273. void *__pad3;
  274. void *__pad4;
  275. size_t __pad5;
  276.  
  277. int _mode;
  278.  
  279. char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
  280.  
  281. };
  282.  
  283.  
  284.  
  285.  
  286.  
  287. struct _IO_FILE_plus;
  288.  
  289. extern struct _IO_FILE_plus _IO_2_1_stdin_;
  290. extern struct _IO_FILE_plus _IO_2_1_stdout_;
  291. extern struct _IO_FILE_plus _IO_2_1_stderr_;
  292. # 364 "/usr/include/libio.h" 3 4
  293. typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301. typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
  302. size_t __n);
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310. typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
  311.  
  312.  
  313. typedef int __io_close_fn (void *__cookie);
  314.  
  315.  
  316.  
  317.  
  318. typedef __io_read_fn cookie_read_function_t;
  319. typedef __io_write_fn cookie_write_function_t;
  320. typedef __io_seek_fn cookie_seek_function_t;
  321. typedef __io_close_fn cookie_close_function_t;
  322.  
  323.  
  324. typedef struct
  325. {
  326. __io_read_fn *read;
  327. __io_write_fn *write;
  328. __io_seek_fn *seek;
  329. __io_close_fn *close;
  330. } _IO_cookie_io_functions_t;
  331. typedef _IO_cookie_io_functions_t cookie_io_functions_t;
  332.  
  333. struct _IO_cookie_file;
  334.  
  335.  
  336. extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
  337. void *__cookie, _IO_cookie_io_functions_t __fns);
  338.  
  339.  
  340.  
  341.  
  342. extern "C" {
  343.  
  344.  
  345. extern int __underflow (_IO_FILE *);
  346. extern int __uflow (_IO_FILE *);
  347. extern int __overflow (_IO_FILE *, int);
  348. # 460 "/usr/include/libio.h" 3 4
  349. extern int _IO_getc (_IO_FILE *__fp);
  350. extern int _IO_putc (int __c, _IO_FILE *__fp);
  351. extern int _IO_feof (_IO_FILE *__fp) throw ();
  352. extern int _IO_ferror (_IO_FILE *__fp) throw ();
  353.  
  354. extern int _IO_peekc_locked (_IO_FILE *__fp);
  355.  
  356.  
  357.  
  358.  
  359.  
  360. extern void _IO_flockfile (_IO_FILE *) throw ();
  361. extern void _IO_funlockfile (_IO_FILE *) throw ();
  362. extern int _IO_ftrylockfile (_IO_FILE *) throw ();
  363. # 490 "/usr/include/libio.h" 3 4
  364. extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
  365. __gnuc_va_list, int *__restrict);
  366. extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
  367. __gnuc_va_list);
  368. extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
  369. extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
  370.  
  371. extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
  372. extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
  373.  
  374. extern void _IO_free_backup_area (_IO_FILE *) throw ();
  375. # 552 "/usr/include/libio.h" 3 4
  376. }
  377. # 76 "/usr/include/stdio.h" 2 3 4
  378.  
  379.  
  380.  
  381.  
  382. typedef __gnuc_va_list va_list;
  383. # 89 "/usr/include/stdio.h" 3 4
  384.  
  385.  
  386. typedef _G_fpos_t fpos_t;
  387.  
  388.  
  389.  
  390.  
  391.  
  392. typedef _G_fpos64_t fpos64_t;
  393. # 141 "/usr/include/stdio.h" 3 4
  394. # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
  395. # 142 "/usr/include/stdio.h" 2 3 4
  396.  
  397.  
  398.  
  399. extern struct _IO_FILE *stdin;
  400. extern struct _IO_FILE *stdout;
  401. extern struct _IO_FILE *stderr;
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409. extern int remove (__const char *__filename) throw ();
  410.  
  411. extern int rename (__const char *__old, __const char *__new) throw ();
  412.  
  413.  
  414.  
  415.  
  416. extern int renameat (int __oldfd, __const char *__old, int __newfd,
  417. __const char *__new) throw ();
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426. extern FILE *tmpfile (void) ;
  427. # 182 "/usr/include/stdio.h" 3 4
  428. extern FILE *tmpfile64 (void) ;
  429.  
  430.  
  431.  
  432. extern char *tmpnam (char *__s) throw () ;
  433.  
  434.  
  435.  
  436.  
  437.  
  438. extern char *tmpnam_r (char *__s) throw () ;
  439. # 204 "/usr/include/stdio.h" 3 4
  440. extern char *tempnam (__const char *__dir, __const char *__pfx)
  441. throw () __attribute__ ((__malloc__)) ;
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. extern int fclose (FILE *__stream);
  451.  
  452.  
  453.  
  454.  
  455. extern int fflush (FILE *__stream);
  456.  
  457. # 229 "/usr/include/stdio.h" 3 4
  458. extern int fflush_unlocked (FILE *__stream);
  459. # 239 "/usr/include/stdio.h" 3 4
  460. extern int fcloseall (void);
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470. extern FILE *fopen (__const char *__restrict __filename,
  471. __const char *__restrict __modes) ;
  472.  
  473.  
  474.  
  475.  
  476. extern FILE *freopen (__const char *__restrict __filename,
  477. __const char *__restrict __modes,
  478. FILE *__restrict __stream) ;
  479. # 272 "/usr/include/stdio.h" 3 4
  480.  
  481.  
  482. extern FILE *fopen64 (__const char *__restrict __filename,
  483. __const char *__restrict __modes) ;
  484. extern FILE *freopen64 (__const char *__restrict __filename,
  485. __const char *__restrict __modes,
  486. FILE *__restrict __stream) ;
  487.  
  488.  
  489.  
  490.  
  491. extern FILE *fdopen (int __fd, __const char *__modes) throw () ;
  492.  
  493.  
  494.  
  495.  
  496.  
  497. extern FILE *fopencookie (void *__restrict __magic_cookie,
  498. __const char *__restrict __modes,
  499. _IO_cookie_io_functions_t __io_funcs) throw () ;
  500.  
  501.  
  502.  
  503.  
  504. extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
  505. throw () ;
  506.  
  507.  
  508.  
  509.  
  510. extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () ;
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517. extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw ();
  518.  
  519.  
  520.  
  521. extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
  522. int __modes, size_t __n) throw ();
  523.  
  524.  
  525.  
  526.  
  527.  
  528. extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
  529. size_t __size) throw ();
  530.  
  531.  
  532. extern void setlinebuf (FILE *__stream) throw ();
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541. extern int fprintf (FILE *__restrict __stream,
  542. __const char *__restrict __format, ...);
  543.  
  544.  
  545.  
  546.  
  547. extern int printf (__const char *__restrict __format, ...);
  548.  
  549. extern int sprintf (char *__restrict __s,
  550. __const char *__restrict __format, ...) throw ();
  551.  
  552.  
  553.  
  554.  
  555.  
  556. extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
  557. __gnuc_va_list __arg);
  558.  
  559.  
  560.  
  561.  
  562. extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
  563.  
  564. extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
  565. __gnuc_va_list __arg) throw ();
  566.  
  567.  
  568.  
  569.  
  570.  
  571. extern int snprintf (char *__restrict __s, size_t __maxlen,
  572. __const char *__restrict __format, ...)
  573. throw () __attribute__ ((__format__ (__printf__, 3, 4)));
  574.  
  575. extern int vsnprintf (char *__restrict __s, size_t __maxlen,
  576. __const char *__restrict __format, __gnuc_va_list __arg)
  577. throw () __attribute__ ((__format__ (__printf__, 3, 0)));
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584. extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
  585. __gnuc_va_list __arg)
  586. throw () __attribute__ ((__format__ (__printf__, 2, 0))) ;
  587. extern int __asprintf (char **__restrict __ptr,
  588. __const char *__restrict __fmt, ...)
  589. throw () __attribute__ ((__format__ (__printf__, 2, 3))) ;
  590. extern int asprintf (char **__restrict __ptr,
  591. __const char *__restrict __fmt, ...)
  592. throw () __attribute__ ((__format__ (__printf__, 2, 3))) ;
  593. # 394 "/usr/include/stdio.h" 3 4
  594. extern int vdprintf (int __fd, __const char *__restrict __fmt,
  595. __gnuc_va_list __arg)
  596. __attribute__ ((__format__ (__printf__, 2, 0)));
  597. extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
  598. __attribute__ ((__format__ (__printf__, 2, 3)));
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607. extern int fscanf (FILE *__restrict __stream,
  608. __const char *__restrict __format, ...) ;
  609.  
  610.  
  611.  
  612.  
  613. extern int scanf (__const char *__restrict __format, ...) ;
  614.  
  615. extern int sscanf (__const char *__restrict __s,
  616. __const char *__restrict __format, ...) throw ();
  617. # 445 "/usr/include/stdio.h" 3 4
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626. extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
  627. __gnuc_va_list __arg)
  628. __attribute__ ((__format__ (__scanf__, 2, 0))) ;
  629.  
  630.  
  631.  
  632.  
  633.  
  634. extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
  635. __attribute__ ((__format__ (__scanf__, 1, 0))) ;
  636.  
  637.  
  638. extern int vsscanf (__const char *__restrict __s,
  639. __const char *__restrict __format, __gnuc_va_list __arg)
  640. throw () __attribute__ ((__format__ (__scanf__, 2, 0)));
  641. # 504 "/usr/include/stdio.h" 3 4
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651. extern int fgetc (FILE *__stream);
  652. extern int getc (FILE *__stream);
  653.  
  654.  
  655.  
  656.  
  657.  
  658. extern int getchar (void);
  659.  
  660. # 532 "/usr/include/stdio.h" 3 4
  661. extern int getc_unlocked (FILE *__stream);
  662. extern int getchar_unlocked (void);
  663. # 543 "/usr/include/stdio.h" 3 4
  664. extern int fgetc_unlocked (FILE *__stream);
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676. extern int fputc (int __c, FILE *__stream);
  677. extern int putc (int __c, FILE *__stream);
  678.  
  679.  
  680.  
  681.  
  682.  
  683. extern int putchar (int __c);
  684.  
  685. # 576 "/usr/include/stdio.h" 3 4
  686. extern int fputc_unlocked (int __c, FILE *__stream);
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694. extern int putc_unlocked (int __c, FILE *__stream);
  695. extern int putchar_unlocked (int __c);
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702. extern int getw (FILE *__stream);
  703.  
  704.  
  705. extern int putw (int __w, FILE *__stream);
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
  715. ;
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722. extern char *gets (char *__s) ;
  723.  
  724. # 622 "/usr/include/stdio.h" 3 4
  725. extern char *fgets_unlocked (char *__restrict __s, int __n,
  726. FILE *__restrict __stream) ;
  727. # 638 "/usr/include/stdio.h" 3 4
  728. extern __ssize_t __getdelim (char **__restrict __lineptr,
  729. size_t *__restrict __n, int __delimiter,
  730. FILE *__restrict __stream) ;
  731. extern __ssize_t getdelim (char **__restrict __lineptr,
  732. size_t *__restrict __n, int __delimiter,
  733. FILE *__restrict __stream) ;
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741. extern __ssize_t getline (char **__restrict __lineptr,
  742. size_t *__restrict __n,
  743. FILE *__restrict __stream) ;
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752. extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
  753.  
  754.  
  755.  
  756.  
  757.  
  758. extern int puts (__const char *__s);
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765. extern int ungetc (int __c, FILE *__stream);
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772. extern size_t fread (void *__restrict __ptr, size_t __size,
  773. size_t __n, FILE *__restrict __stream) ;
  774.  
  775.  
  776.  
  777.  
  778. extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
  779. size_t __n, FILE *__restrict __s);
  780.  
  781. # 699 "/usr/include/stdio.h" 3 4
  782. extern int fputs_unlocked (__const char *__restrict __s,
  783. FILE *__restrict __stream);
  784. # 710 "/usr/include/stdio.h" 3 4
  785. extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
  786. size_t __n, FILE *__restrict __stream) ;
  787. extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
  788. size_t __n, FILE *__restrict __stream);
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797. extern int fseek (FILE *__stream, long int __off, int __whence);
  798.  
  799.  
  800.  
  801.  
  802. extern long int ftell (FILE *__stream) ;
  803.  
  804.  
  805.  
  806.  
  807. extern void rewind (FILE *__stream);
  808.  
  809. # 746 "/usr/include/stdio.h" 3 4
  810. extern int fseeko (FILE *__stream, __off_t __off, int __whence);
  811.  
  812.  
  813.  
  814.  
  815. extern __off_t ftello (FILE *__stream) ;
  816. # 765 "/usr/include/stdio.h" 3 4
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823. extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
  824.  
  825.  
  826.  
  827.  
  828. extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
  829. # 788 "/usr/include/stdio.h" 3 4
  830.  
  831.  
  832.  
  833. extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
  834. extern __off64_t ftello64 (FILE *__stream) ;
  835. extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
  836. extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
  837.  
  838.  
  839.  
  840.  
  841. extern void clearerr (FILE *__stream) throw ();
  842.  
  843. extern int feof (FILE *__stream) throw () ;
  844.  
  845. extern int ferror (FILE *__stream) throw () ;
  846.  
  847.  
  848.  
  849.  
  850. extern void clearerr_unlocked (FILE *__stream) throw ();
  851. extern int feof_unlocked (FILE *__stream) throw () ;
  852. extern int ferror_unlocked (FILE *__stream) throw () ;
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861. extern void perror (__const char *__s);
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868. # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
  869. # 27 "/usr/include/bits/sys_errlist.h" 3 4
  870. extern int sys_nerr;
  871. extern __const char *__const sys_errlist[];
  872.  
  873.  
  874. extern int _sys_nerr;
  875. extern __const char *__const _sys_errlist[];
  876. # 827 "/usr/include/stdio.h" 2 3 4
  877.  
  878.  
  879.  
  880.  
  881. extern int fileno (FILE *__stream) throw () ;
  882.  
  883.  
  884.  
  885.  
  886. extern int fileno_unlocked (FILE *__stream) throw () ;
  887. # 846 "/usr/include/stdio.h" 3 4
  888. extern FILE *popen (__const char *__command, __const char *__modes) ;
  889.  
  890.  
  891.  
  892.  
  893.  
  894. extern int pclose (FILE *__stream);
  895.  
  896.  
  897.  
  898.  
  899.  
  900. extern char *ctermid (char *__s) throw ();
  901.  
  902.  
  903.  
  904.  
  905.  
  906. extern char *cuserid (char *__s);
  907.  
  908.  
  909.  
  910.  
  911. struct obstack;
  912.  
  913.  
  914. extern int obstack_printf (struct obstack *__restrict __obstack,
  915. __const char *__restrict __format, ...)
  916. throw () __attribute__ ((__format__ (__printf__, 2, 3)));
  917. extern int obstack_vprintf (struct obstack *__restrict __obstack,
  918. __const char *__restrict __format,
  919. __gnuc_va_list __args)
  920. throw () __attribute__ ((__format__ (__printf__, 2, 0)));
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928. extern void flockfile (FILE *__stream) throw ();
  929.  
  930.  
  931.  
  932. extern int ftrylockfile (FILE *__stream) throw () ;
  933.  
  934.  
  935. extern void funlockfile (FILE *__stream) throw ();
  936. # 916 "/usr/include/stdio.h" 3 4
  937. }
  938. # 2 "grover.c" 2
  939. # 1 "/usr/include/string.h" 1 3 4
  940. # 28 "/usr/include/string.h" 3 4
  941. extern "C" {
  942.  
  943.  
  944.  
  945.  
  946. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  947. # 34 "/usr/include/string.h" 2 3 4
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957. extern void *memcpy (void *__restrict __dest,
  958. __const void *__restrict __src, size_t __n)
  959. throw () __attribute__ ((__nonnull__ (1, 2)));
  960.  
  961.  
  962. extern void *memmove (void *__dest, __const void *__src, size_t __n)
  963. throw () __attribute__ ((__nonnull__ (1, 2)));
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970. extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
  971. int __c, size_t __n)
  972. throw () __attribute__ ((__nonnull__ (1, 2)));
  973.  
  974.  
  975.  
  976.  
  977.  
  978. extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
  979.  
  980.  
  981. extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
  982. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  983.  
  984.  
  985.  
  986. extern "C++"
  987. {
  988. extern void *memchr (void *__s, int __c, size_t __n)
  989. throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  990. extern __const void *memchr (__const void *__s, int __c, size_t __n)
  991. throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  992. # 92 "/usr/include/string.h" 3 4
  993. }
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004. extern "C++" void *rawmemchr (void *__s, int __c)
  1005. throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1006. extern "C++" __const void *rawmemchr (__const void *__s, int __c)
  1007. throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015. extern "C++" void *memrchr (void *__s, int __c, size_t __n)
  1016. throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1017. extern "C++" __const void *memrchr (__const void *__s, int __c, size_t __n)
  1018. throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028. extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
  1029. throw () __attribute__ ((__nonnull__ (1, 2)));
  1030.  
  1031. extern char *strncpy (char *__restrict __dest,
  1032. __const char *__restrict __src, size_t __n)
  1033. throw () __attribute__ ((__nonnull__ (1, 2)));
  1034.  
  1035.  
  1036. extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
  1037. throw () __attribute__ ((__nonnull__ (1, 2)));
  1038.  
  1039. extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
  1040. size_t __n) throw () __attribute__ ((__nonnull__ (1, 2)));
  1041.  
  1042.  
  1043. extern int strcmp (__const char *__s1, __const char *__s2)
  1044. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1045.  
  1046. extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
  1047. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1048.  
  1049.  
  1050. extern int strcoll (__const char *__s1, __const char *__s2)
  1051. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1052.  
  1053. extern size_t strxfrm (char *__restrict __dest,
  1054. __const char *__restrict __src, size_t __n)
  1055. throw () __attribute__ ((__nonnull__ (2)));
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062. # 1 "/usr/include/xlocale.h" 1 3 4
  1063. # 28 "/usr/include/xlocale.h" 3 4
  1064. typedef struct __locale_struct
  1065. {
  1066.  
  1067. struct locale_data *__locales[13];
  1068.  
  1069.  
  1070. const unsigned short int *__ctype_b;
  1071. const int *__ctype_tolower;
  1072. const int *__ctype_toupper;
  1073.  
  1074.  
  1075. const char *__names[13];
  1076. } *__locale_t;
  1077.  
  1078.  
  1079. typedef __locale_t locale_t;
  1080. # 162 "/usr/include/string.h" 2 3 4
  1081.  
  1082.  
  1083. extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
  1084. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  1085.  
  1086. extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
  1087. __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4)));
  1088.  
  1089.  
  1090.  
  1091.  
  1092. extern char *strdup (__const char *__s)
  1093. throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100. extern char *strndup (__const char *__string, size_t __n)
  1101. throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
  1102. # 208 "/usr/include/string.h" 3 4
  1103.  
  1104.  
  1105.  
  1106. extern "C++"
  1107. {
  1108. extern char *strchr (char *__s, int __c)
  1109. throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1110. extern __const char *strchr (__const char *__s, int __c)
  1111. throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1112. # 231 "/usr/include/string.h" 3 4
  1113. }
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120. extern "C++"
  1121. {
  1122. extern char *strrchr (char *__s, int __c)
  1123. throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1124. extern __const char *strrchr (__const char *__s, int __c)
  1125. throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1126. # 258 "/usr/include/string.h" 3 4
  1127. }
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138. extern "C++" char *strchrnul (char *__s, int __c)
  1139. throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1140. extern "C++" __const char *strchrnul (__const char *__s, int __c)
  1141. throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151. extern size_t strcspn (__const char *__s, __const char *__reject)
  1152. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1153.  
  1154.  
  1155. extern size_t strspn (__const char *__s, __const char *__accept)
  1156. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1157.  
  1158.  
  1159. extern "C++"
  1160. {
  1161. extern char *strpbrk (char *__s, __const char *__accept)
  1162. throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1163. extern __const char *strpbrk (__const char *__s, __const char *__accept)
  1164. throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1165. # 310 "/usr/include/string.h" 3 4
  1166. }
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173. extern "C++"
  1174. {
  1175. extern char *strstr (char *__haystack, __const char *__needle)
  1176. throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1177. extern __const char *strstr (__const char *__haystack,
  1178. __const char *__needle)
  1179. throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1180. # 338 "/usr/include/string.h" 3 4
  1181. }
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
  1190. throw () __attribute__ ((__nonnull__ (2)));
  1191.  
  1192.  
  1193.  
  1194.  
  1195. extern char *__strtok_r (char *__restrict __s,
  1196. __const char *__restrict __delim,
  1197. char **__restrict __save_ptr)
  1198. throw () __attribute__ ((__nonnull__ (2, 3)));
  1199.  
  1200. extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
  1201. char **__restrict __save_ptr)
  1202. throw () __attribute__ ((__nonnull__ (2, 3)));
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208. extern "C++" char *strcasestr (char *__haystack, __const char *__needle)
  1209. throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1210. extern "C++" __const char *strcasestr (__const char *__haystack,
  1211. __const char *__needle)
  1212. throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1213. # 380 "/usr/include/string.h" 3 4
  1214. extern void *memmem (__const void *__haystack, size_t __haystacklen,
  1215. __const void *__needle, size_t __needlelen)
  1216. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
  1217.  
  1218.  
  1219.  
  1220. extern void *__mempcpy (void *__restrict __dest,
  1221. __const void *__restrict __src, size_t __n)
  1222. throw () __attribute__ ((__nonnull__ (1, 2)));
  1223. extern void *mempcpy (void *__restrict __dest,
  1224. __const void *__restrict __src, size_t __n)
  1225. throw () __attribute__ ((__nonnull__ (1, 2)));
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231. extern size_t strlen (__const char *__s)
  1232. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238. extern size_t strnlen (__const char *__string, size_t __maxlen)
  1239. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245. extern char *strerror (int __errnum) throw ();
  1246.  
  1247. # 436 "/usr/include/string.h" 3 4
  1248. extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
  1249. throw () __attribute__ ((__nonnull__ (2)));
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255. extern char *strerror_l (int __errnum, __locale_t __l) throw ();
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261. extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
  1262.  
  1263.  
  1264.  
  1265. extern void bcopy (__const void *__src, void *__dest, size_t __n)
  1266. throw () __attribute__ ((__nonnull__ (1, 2)));
  1267.  
  1268.  
  1269. extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
  1270.  
  1271.  
  1272. extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
  1273. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1274.  
  1275.  
  1276.  
  1277. extern "C++"
  1278. {
  1279. extern char *index (char *__s, int __c)
  1280. throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1281. extern __const char *index (__const char *__s, int __c)
  1282. throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1283. # 485 "/usr/include/string.h" 3 4
  1284. }
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292. extern "C++"
  1293. {
  1294. extern char *rindex (char *__s, int __c)
  1295. throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1296. extern __const char *rindex (__const char *__s, int __c)
  1297. throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  1298. # 513 "/usr/include/string.h" 3 4
  1299. }
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307. extern int ffs (int __i) throw () __attribute__ ((__const__));
  1308.  
  1309.  
  1310.  
  1311.  
  1312. extern int ffsl (long int __l) throw () __attribute__ ((__const__));
  1313.  
  1314. __extension__ extern int ffsll (long long int __ll)
  1315. throw () __attribute__ ((__const__));
  1316.  
  1317.  
  1318.  
  1319.  
  1320. extern int strcasecmp (__const char *__s1, __const char *__s2)
  1321. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1322.  
  1323.  
  1324. extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
  1325. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331. extern int strcasecmp_l (__const char *__s1, __const char *__s2,
  1332. __locale_t __loc)
  1333. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  1334.  
  1335. extern int strncasecmp_l (__const char *__s1, __const char *__s2,
  1336. size_t __n, __locale_t __loc)
  1337. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343. extern char *strsep (char **__restrict __stringp,
  1344. __const char *__restrict __delim)
  1345. throw () __attribute__ ((__nonnull__ (1, 2)));
  1346.  
  1347.  
  1348.  
  1349.  
  1350. extern char *strsignal (int __sig) throw ();
  1351.  
  1352.  
  1353. extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
  1354. throw () __attribute__ ((__nonnull__ (1, 2)));
  1355. extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
  1356. throw () __attribute__ ((__nonnull__ (1, 2)));
  1357.  
  1358.  
  1359.  
  1360. extern char *__stpncpy (char *__restrict __dest,
  1361. __const char *__restrict __src, size_t __n)
  1362. throw () __attribute__ ((__nonnull__ (1, 2)));
  1363. extern char *stpncpy (char *__restrict __dest,
  1364. __const char *__restrict __src, size_t __n)
  1365. throw () __attribute__ ((__nonnull__ (1, 2)));
  1366.  
  1367.  
  1368.  
  1369.  
  1370. extern int strverscmp (__const char *__s1, __const char *__s2)
  1371. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  1372.  
  1373.  
  1374. extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1)));
  1375.  
  1376.  
  1377. extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385. extern "C++" char *basename (char *__filename)
  1386. throw () __asm ("basename") __attribute__ ((__nonnull__ (1)));
  1387. extern "C++" __const char *basename (__const char *__filename)
  1388. throw () __asm ("basename") __attribute__ ((__nonnull__ (1)));
  1389. # 644 "/usr/include/string.h" 3 4
  1390. }
  1391. # 3 "grover.c" 2
  1392. # 1 "/usr/include/c++/4.4/cstdlib" 1 3
  1393. # 41 "/usr/include/c++/4.4/cstdlib" 3
  1394.  
  1395. # 42 "/usr/include/c++/4.4/cstdlib" 3
  1396.  
  1397. # 1 "/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h" 1 3
  1398. # 243 "/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h" 3
  1399. # 1 "/usr/include/c++/4.4/i486-linux-gnu/bits/os_defines.h" 1 3
  1400. # 244 "/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h" 2 3
  1401.  
  1402.  
  1403. # 1 "/usr/include/c++/4.4/i486-linux-gnu/bits/cpu_defines.h" 1 3
  1404. # 247 "/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h" 2 3
  1405. # 44 "/usr/include/c++/4.4/cstdlib" 2 3
  1406. # 1 "/usr/include/c++/4.4/cstddef" 1 3
  1407. # 41 "/usr/include/c++/4.4/cstddef" 3
  1408.  
  1409. # 42 "/usr/include/c++/4.4/cstddef" 3
  1410.  
  1411.  
  1412. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  1413. # 149 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 3 4
  1414. typedef int ptrdiff_t;
  1415. # 45 "/usr/include/c++/4.4/cstddef" 2 3
  1416.  
  1417.  
  1418.  
  1419.  
  1420. namespace std __attribute__ ((__visibility__ ("default"))) {
  1421.  
  1422. using ::ptrdiff_t;
  1423. using ::size_t;
  1424.  
  1425. }
  1426. # 45 "/usr/include/c++/4.4/cstdlib" 2 3
  1427. # 68 "/usr/include/c++/4.4/cstdlib" 3
  1428. # 1 "/usr/include/stdlib.h" 1 3 4
  1429. # 33 "/usr/include/stdlib.h" 3 4
  1430. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  1431. # 34 "/usr/include/stdlib.h" 2 3 4
  1432.  
  1433. extern "C" {
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440. # 1 "/usr/include/bits/waitflags.h" 1 3 4
  1441. # 43 "/usr/include/stdlib.h" 2 3 4
  1442. # 1 "/usr/include/bits/waitstatus.h" 1 3 4
  1443. # 65 "/usr/include/bits/waitstatus.h" 3 4
  1444. # 1 "/usr/include/endian.h" 1 3 4
  1445. # 37 "/usr/include/endian.h" 3 4
  1446. # 1 "/usr/include/bits/endian.h" 1 3 4
  1447. # 38 "/usr/include/endian.h" 2 3 4
  1448. # 61 "/usr/include/endian.h" 3 4
  1449. # 1 "/usr/include/bits/byteswap.h" 1 3 4
  1450. # 28 "/usr/include/bits/byteswap.h" 3 4
  1451. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1452. # 29 "/usr/include/bits/byteswap.h" 2 3 4
  1453. # 62 "/usr/include/endian.h" 2 3 4
  1454. # 66 "/usr/include/bits/waitstatus.h" 2 3 4
  1455.  
  1456. union wait
  1457. {
  1458. int w_status;
  1459. struct
  1460. {
  1461.  
  1462. unsigned int __w_termsig:7;
  1463. unsigned int __w_coredump:1;
  1464. unsigned int __w_retcode:8;
  1465. unsigned int:16;
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473. } __wait_terminated;
  1474. struct
  1475. {
  1476.  
  1477. unsigned int __w_stopval:8;
  1478. unsigned int __w_stopsig:8;
  1479. unsigned int:16;
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486. } __wait_stopped;
  1487. };
  1488. # 44 "/usr/include/stdlib.h" 2 3 4
  1489. # 96 "/usr/include/stdlib.h" 3 4
  1490.  
  1491.  
  1492. typedef struct
  1493. {
  1494. int quot;
  1495. int rem;
  1496. } div_t;
  1497.  
  1498.  
  1499.  
  1500. typedef struct
  1501. {
  1502. long int quot;
  1503. long int rem;
  1504. } ldiv_t;
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512. __extension__ typedef struct
  1513. {
  1514. long long int quot;
  1515. long long int rem;
  1516. } lldiv_t;
  1517.  
  1518.  
  1519. # 140 "/usr/include/stdlib.h" 3 4
  1520. extern size_t __ctype_get_mb_cur_max (void) throw () ;
  1521.  
  1522.  
  1523.  
  1524.  
  1525. extern double atof (__const char *__nptr)
  1526. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  1527.  
  1528. extern int atoi (__const char *__nptr)
  1529. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  1530.  
  1531. extern long int atol (__const char *__nptr)
  1532. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538. __extension__ extern long long int atoll (__const char *__nptr)
  1539. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545. extern double strtod (__const char *__restrict __nptr,
  1546. char **__restrict __endptr)
  1547. throw () __attribute__ ((__nonnull__ (1))) ;
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553. extern float strtof (__const char *__restrict __nptr,
  1554. char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ;
  1555.  
  1556. extern long double strtold (__const char *__restrict __nptr,
  1557. char **__restrict __endptr)
  1558. throw () __attribute__ ((__nonnull__ (1))) ;
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564. extern long int strtol (__const char *__restrict __nptr,
  1565. char **__restrict __endptr, int __base)
  1566. throw () __attribute__ ((__nonnull__ (1))) ;
  1567.  
  1568. extern unsigned long int strtoul (__const char *__restrict __nptr,
  1569. char **__restrict __endptr, int __base)
  1570. throw () __attribute__ ((__nonnull__ (1))) ;
  1571.  
  1572.  
  1573.  
  1574.  
  1575. __extension__
  1576. extern long long int strtoq (__const char *__restrict __nptr,
  1577. char **__restrict __endptr, int __base)
  1578. throw () __attribute__ ((__nonnull__ (1))) ;
  1579.  
  1580. __extension__
  1581. extern unsigned long long int strtouq (__const char *__restrict __nptr,
  1582. char **__restrict __endptr, int __base)
  1583. throw () __attribute__ ((__nonnull__ (1))) ;
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589. __extension__
  1590. extern long long int strtoll (__const char *__restrict __nptr,
  1591. char **__restrict __endptr, int __base)
  1592. throw () __attribute__ ((__nonnull__ (1))) ;
  1593.  
  1594. __extension__
  1595. extern unsigned long long int strtoull (__const char *__restrict __nptr,
  1596. char **__restrict __endptr, int __base)
  1597. throw () __attribute__ ((__nonnull__ (1))) ;
  1598.  
  1599. # 240 "/usr/include/stdlib.h" 3 4
  1600. extern long int strtol_l (__const char *__restrict __nptr,
  1601. char **__restrict __endptr, int __base,
  1602. __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ;
  1603.  
  1604. extern unsigned long int strtoul_l (__const char *__restrict __nptr,
  1605. char **__restrict __endptr,
  1606. int __base, __locale_t __loc)
  1607. throw () __attribute__ ((__nonnull__ (1, 4))) ;
  1608.  
  1609. __extension__
  1610. extern long long int strtoll_l (__const char *__restrict __nptr,
  1611. char **__restrict __endptr, int __base,
  1612. __locale_t __loc)
  1613. throw () __attribute__ ((__nonnull__ (1, 4))) ;
  1614.  
  1615. __extension__
  1616. extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
  1617. char **__restrict __endptr,
  1618. int __base, __locale_t __loc)
  1619. throw () __attribute__ ((__nonnull__ (1, 4))) ;
  1620.  
  1621. extern double strtod_l (__const char *__restrict __nptr,
  1622. char **__restrict __endptr, __locale_t __loc)
  1623. throw () __attribute__ ((__nonnull__ (1, 3))) ;
  1624.  
  1625. extern float strtof_l (__const char *__restrict __nptr,
  1626. char **__restrict __endptr, __locale_t __loc)
  1627. throw () __attribute__ ((__nonnull__ (1, 3))) ;
  1628.  
  1629. extern long double strtold_l (__const char *__restrict __nptr,
  1630. char **__restrict __endptr,
  1631. __locale_t __loc)
  1632. throw () __attribute__ ((__nonnull__ (1, 3))) ;
  1633. # 311 "/usr/include/stdlib.h" 3 4
  1634. extern char *l64a (long int __n) throw () ;
  1635.  
  1636.  
  1637. extern long int a64l (__const char *__s)
  1638. throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
  1639.  
  1640.  
  1641.  
  1642.  
  1643. # 1 "/usr/include/sys/types.h" 1 3 4
  1644. # 29 "/usr/include/sys/types.h" 3 4
  1645. extern "C" {
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651. typedef __u_char u_char;
  1652. typedef __u_short u_short;
  1653. typedef __u_int u_int;
  1654. typedef __u_long u_long;
  1655. typedef __quad_t quad_t;
  1656. typedef __u_quad_t u_quad_t;
  1657. typedef __fsid_t fsid_t;
  1658.  
  1659.  
  1660.  
  1661.  
  1662. typedef __loff_t loff_t;
  1663.  
  1664.  
  1665.  
  1666. typedef __ino_t ino_t;
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673. typedef __ino64_t ino64_t;
  1674.  
  1675.  
  1676.  
  1677.  
  1678. typedef __dev_t dev_t;
  1679.  
  1680.  
  1681.  
  1682.  
  1683. typedef __gid_t gid_t;
  1684.  
  1685.  
  1686.  
  1687.  
  1688. typedef __mode_t mode_t;
  1689.  
  1690.  
  1691.  
  1692.  
  1693. typedef __nlink_t nlink_t;
  1694.  
  1695.  
  1696.  
  1697.  
  1698. typedef __uid_t uid_t;
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704. typedef __off_t off_t;
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. typedef __off64_t off64_t;
  1712.  
  1713.  
  1714.  
  1715.  
  1716. typedef __pid_t pid_t;
  1717.  
  1718.  
  1719.  
  1720.  
  1721. typedef __id_t id_t;
  1722.  
  1723.  
  1724.  
  1725.  
  1726. typedef __ssize_t ssize_t;
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732. typedef __daddr_t daddr_t;
  1733. typedef __caddr_t caddr_t;
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739. typedef __key_t key_t;
  1740. # 133 "/usr/include/sys/types.h" 3 4
  1741. # 1 "/usr/include/time.h" 1 3 4
  1742. # 58 "/usr/include/time.h" 3 4
  1743.  
  1744.  
  1745. typedef __clock_t clock_t;
  1746.  
  1747.  
  1748.  
  1749. # 74 "/usr/include/time.h" 3 4
  1750.  
  1751.  
  1752. typedef __time_t time_t;
  1753.  
  1754.  
  1755.  
  1756. # 92 "/usr/include/time.h" 3 4
  1757. typedef __clockid_t clockid_t;
  1758. # 104 "/usr/include/time.h" 3 4
  1759. typedef __timer_t timer_t;
  1760. # 134 "/usr/include/sys/types.h" 2 3 4
  1761.  
  1762.  
  1763.  
  1764. typedef __useconds_t useconds_t;
  1765.  
  1766.  
  1767.  
  1768. typedef __suseconds_t suseconds_t;
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  1775. # 148 "/usr/include/sys/types.h" 2 3 4
  1776.  
  1777.  
  1778.  
  1779. typedef unsigned long int ulong;
  1780. typedef unsigned short int ushort;
  1781. typedef unsigned int uint;
  1782. # 195 "/usr/include/sys/types.h" 3 4
  1783. typedef int int8_t __attribute__ ((__mode__ (__QI__)));
  1784. typedef int int16_t __attribute__ ((__mode__ (__HI__)));
  1785. typedef int int32_t __attribute__ ((__mode__ (__SI__)));
  1786. typedef int int64_t __attribute__ ((__mode__ (__DI__)));
  1787.  
  1788.  
  1789. typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
  1790. typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
  1791. typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
  1792. typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
  1793.  
  1794. typedef int register_t __attribute__ ((__mode__ (__word__)));
  1795. # 220 "/usr/include/sys/types.h" 3 4
  1796. # 1 "/usr/include/sys/select.h" 1 3 4
  1797. # 31 "/usr/include/sys/select.h" 3 4
  1798. # 1 "/usr/include/bits/select.h" 1 3 4
  1799. # 23 "/usr/include/bits/select.h" 3 4
  1800. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1801. # 24 "/usr/include/bits/select.h" 2 3 4
  1802. # 32 "/usr/include/sys/select.h" 2 3 4
  1803.  
  1804.  
  1805. # 1 "/usr/include/bits/sigset.h" 1 3 4
  1806. # 24 "/usr/include/bits/sigset.h" 3 4
  1807. typedef int __sig_atomic_t;
  1808.  
  1809.  
  1810.  
  1811.  
  1812. typedef struct
  1813. {
  1814. unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  1815. } __sigset_t;
  1816. # 35 "/usr/include/sys/select.h" 2 3 4
  1817.  
  1818.  
  1819.  
  1820. typedef __sigset_t sigset_t;
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826. # 1 "/usr/include/time.h" 1 3 4
  1827. # 120 "/usr/include/time.h" 3 4
  1828. struct timespec
  1829. {
  1830. __time_t tv_sec;
  1831. long int tv_nsec;
  1832. };
  1833. # 45 "/usr/include/sys/select.h" 2 3 4
  1834.  
  1835. # 1 "/usr/include/bits/time.h" 1 3 4
  1836. # 69 "/usr/include/bits/time.h" 3 4
  1837. struct timeval
  1838. {
  1839. __time_t tv_sec;
  1840. __suseconds_t tv_usec;
  1841. };
  1842. # 47 "/usr/include/sys/select.h" 2 3 4
  1843. # 55 "/usr/include/sys/select.h" 3 4
  1844. typedef long int __fd_mask;
  1845. # 67 "/usr/include/sys/select.h" 3 4
  1846. typedef struct
  1847. {
  1848.  
  1849.  
  1850.  
  1851. __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857. } fd_set;
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864. typedef __fd_mask fd_mask;
  1865. # 99 "/usr/include/sys/select.h" 3 4
  1866. extern "C" {
  1867. # 109 "/usr/include/sys/select.h" 3 4
  1868. extern int select (int __nfds, fd_set *__restrict __readfds,
  1869. fd_set *__restrict __writefds,
  1870. fd_set *__restrict __exceptfds,
  1871. struct timeval *__restrict __timeout);
  1872. # 121 "/usr/include/sys/select.h" 3 4
  1873. extern int pselect (int __nfds, fd_set *__restrict __readfds,
  1874. fd_set *__restrict __writefds,
  1875. fd_set *__restrict __exceptfds,
  1876. const struct timespec *__restrict __timeout,
  1877. const __sigset_t *__restrict __sigmask);
  1878.  
  1879.  
  1880. }
  1881. # 221 "/usr/include/sys/types.h" 2 3 4
  1882.  
  1883.  
  1884. # 1 "/usr/include/sys/sysmacros.h" 1 3 4
  1885. # 30 "/usr/include/sys/sysmacros.h" 3 4
  1886. __extension__
  1887. extern unsigned int gnu_dev_major (unsigned long long int __dev)
  1888. throw ();
  1889. __extension__
  1890. extern unsigned int gnu_dev_minor (unsigned long long int __dev)
  1891. throw ();
  1892. __extension__
  1893. extern unsigned long long int gnu_dev_makedev (unsigned int __major,
  1894. unsigned int __minor)
  1895. throw ();
  1896. # 224 "/usr/include/sys/types.h" 2 3 4
  1897.  
  1898.  
  1899.  
  1900.  
  1901. typedef __blksize_t blksize_t;
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908. typedef __blkcnt_t blkcnt_t;
  1909.  
  1910.  
  1911.  
  1912. typedef __fsblkcnt_t fsblkcnt_t;
  1913.  
  1914.  
  1915.  
  1916. typedef __fsfilcnt_t fsfilcnt_t;
  1917. # 262 "/usr/include/sys/types.h" 3 4
  1918. typedef __blkcnt64_t blkcnt64_t;
  1919. typedef __fsblkcnt64_t fsblkcnt64_t;
  1920. typedef __fsfilcnt64_t fsfilcnt64_t;
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926. # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
  1927. # 23 "/usr/include/bits/pthreadtypes.h" 3 4
  1928. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1929. # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
  1930. # 50 "/usr/include/bits/pthreadtypes.h" 3 4
  1931. typedef unsigned long int pthread_t;
  1932.  
  1933.  
  1934. typedef union
  1935. {
  1936. char __size[36];
  1937. long int __align;
  1938. } pthread_attr_t;
  1939. # 67 "/usr/include/bits/pthreadtypes.h" 3 4
  1940. typedef struct __pthread_internal_slist
  1941. {
  1942. struct __pthread_internal_slist *__next;
  1943. } __pthread_slist_t;
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949. typedef union
  1950. {
  1951. struct __pthread_mutex_s
  1952. {
  1953. int __lock;
  1954. unsigned int __count;
  1955. int __owner;
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961. int __kind;
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967. unsigned int __nusers;
  1968. __extension__ union
  1969. {
  1970. int __spins;
  1971. __pthread_slist_t __list;
  1972. };
  1973.  
  1974. } __data;
  1975. char __size[24];
  1976. long int __align;
  1977. } pthread_mutex_t;
  1978.  
  1979. typedef union
  1980. {
  1981. char __size[4];
  1982. int __align;
  1983. } pthread_mutexattr_t;
  1984.  
  1985.  
  1986.  
  1987.  
  1988. typedef union
  1989. {
  1990. struct
  1991. {
  1992. int __lock;
  1993. unsigned int __futex;
  1994. __extension__ unsigned long long int __total_seq;
  1995. __extension__ unsigned long long int __wakeup_seq;
  1996. __extension__ unsigned long long int __woken_seq;
  1997. void *__mutex;
  1998. unsigned int __nwaiters;
  1999. unsigned int __broadcast_seq;
  2000. } __data;
  2001. char __size[48];
  2002. __extension__ long long int __align;
  2003. } pthread_cond_t;
  2004.  
  2005. typedef union
  2006. {
  2007. char __size[4];
  2008. int __align;
  2009. } pthread_condattr_t;
  2010.  
  2011.  
  2012.  
  2013. typedef unsigned int pthread_key_t;
  2014.  
  2015.  
  2016.  
  2017. typedef int pthread_once_t;
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023. typedef union
  2024. {
  2025. # 170 "/usr/include/bits/pthreadtypes.h" 3 4
  2026. struct
  2027. {
  2028. int __lock;
  2029. unsigned int __nr_readers;
  2030. unsigned int __readers_wakeup;
  2031. unsigned int __writer_wakeup;
  2032. unsigned int __nr_readers_queued;
  2033. unsigned int __nr_writers_queued;
  2034.  
  2035.  
  2036. unsigned char __flags;
  2037. unsigned char __shared;
  2038. unsigned char __pad1;
  2039. unsigned char __pad2;
  2040. int __writer;
  2041. } __data;
  2042.  
  2043. char __size[32];
  2044. long int __align;
  2045. } pthread_rwlock_t;
  2046.  
  2047. typedef union
  2048. {
  2049. char __size[8];
  2050. long int __align;
  2051. } pthread_rwlockattr_t;
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057. typedef volatile int pthread_spinlock_t;
  2058.  
  2059.  
  2060.  
  2061.  
  2062. typedef union
  2063. {
  2064. char __size[20];
  2065. long int __align;
  2066. } pthread_barrier_t;
  2067.  
  2068. typedef union
  2069. {
  2070. char __size[4];
  2071. int __align;
  2072. } pthread_barrierattr_t;
  2073. # 271 "/usr/include/sys/types.h" 2 3 4
  2074.  
  2075.  
  2076. }
  2077. # 321 "/usr/include/stdlib.h" 2 3 4
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084. extern long int random (void) throw ();
  2085.  
  2086.  
  2087. extern void srandom (unsigned int __seed) throw ();
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093. extern char *initstate (unsigned int __seed, char *__statebuf,
  2094. size_t __statelen) throw () __attribute__ ((__nonnull__ (2)));
  2095.  
  2096.  
  2097.  
  2098. extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1)));
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106. struct random_data
  2107. {
  2108. int32_t *fptr;
  2109. int32_t *rptr;
  2110. int32_t *state;
  2111. int rand_type;
  2112. int rand_deg;
  2113. int rand_sep;
  2114. int32_t *end_ptr;
  2115. };
  2116.  
  2117. extern int random_r (struct random_data *__restrict __buf,
  2118. int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
  2119.  
  2120. extern int srandom_r (unsigned int __seed, struct random_data *__buf)
  2121. throw () __attribute__ ((__nonnull__ (2)));
  2122.  
  2123. extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
  2124. size_t __statelen,
  2125. struct random_data *__restrict __buf)
  2126. throw () __attribute__ ((__nonnull__ (2, 4)));
  2127.  
  2128. extern int setstate_r (char *__restrict __statebuf,
  2129. struct random_data *__restrict __buf)
  2130. throw () __attribute__ ((__nonnull__ (1, 2)));
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137. extern int rand (void) throw ();
  2138.  
  2139. extern void srand (unsigned int __seed) throw ();
  2140.  
  2141.  
  2142.  
  2143.  
  2144. extern int rand_r (unsigned int *__seed) throw ();
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152. extern double drand48 (void) throw ();
  2153. extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1)));
  2154.  
  2155.  
  2156. extern long int lrand48 (void) throw ();
  2157. extern long int nrand48 (unsigned short int __xsubi[3])
  2158. throw () __attribute__ ((__nonnull__ (1)));
  2159.  
  2160.  
  2161. extern long int mrand48 (void) throw ();
  2162. extern long int jrand48 (unsigned short int __xsubi[3])
  2163. throw () __attribute__ ((__nonnull__ (1)));
  2164.  
  2165.  
  2166. extern void srand48 (long int __seedval) throw ();
  2167. extern unsigned short int *seed48 (unsigned short int __seed16v[3])
  2168. throw () __attribute__ ((__nonnull__ (1)));
  2169. extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1)));
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175. struct drand48_data
  2176. {
  2177. unsigned short int __x[3];
  2178. unsigned short int __old_x[3];
  2179. unsigned short int __c;
  2180. unsigned short int __init;
  2181. unsigned long long int __a;
  2182. };
  2183.  
  2184.  
  2185. extern int drand48_r (struct drand48_data *__restrict __buffer,
  2186. double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
  2187. extern int erand48_r (unsigned short int __xsubi[3],
  2188. struct drand48_data *__restrict __buffer,
  2189. double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
  2190.  
  2191.  
  2192. extern int lrand48_r (struct drand48_data *__restrict __buffer,
  2193. long int *__restrict __result)
  2194. throw () __attribute__ ((__nonnull__ (1, 2)));
  2195. extern int nrand48_r (unsigned short int __xsubi[3],
  2196. struct drand48_data *__restrict __buffer,
  2197. long int *__restrict __result)
  2198. throw () __attribute__ ((__nonnull__ (1, 2)));
  2199.  
  2200.  
  2201. extern int mrand48_r (struct drand48_data *__restrict __buffer,
  2202. long int *__restrict __result)
  2203. throw () __attribute__ ((__nonnull__ (1, 2)));
  2204. extern int jrand48_r (unsigned short int __xsubi[3],
  2205. struct drand48_data *__restrict __buffer,
  2206. long int *__restrict __result)
  2207. throw () __attribute__ ((__nonnull__ (1, 2)));
  2208.  
  2209.  
  2210. extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
  2211. throw () __attribute__ ((__nonnull__ (2)));
  2212.  
  2213. extern int seed48_r (unsigned short int __seed16v[3],
  2214. struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2)));
  2215.  
  2216. extern int lcong48_r (unsigned short int __param[7],
  2217. struct drand48_data *__buffer)
  2218. throw () __attribute__ ((__nonnull__ (1, 2)));
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228. extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
  2229.  
  2230. extern void *calloc (size_t __nmemb, size_t __size)
  2231. throw () __attribute__ ((__malloc__)) ;
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242. extern void *realloc (void *__ptr, size_t __size)
  2243. throw () __attribute__ ((__warn_unused_result__));
  2244.  
  2245. extern void free (void *__ptr) throw ();
  2246.  
  2247.  
  2248.  
  2249.  
  2250. extern void cfree (void *__ptr) throw ();
  2251.  
  2252.  
  2253.  
  2254. # 1 "/usr/include/alloca.h" 1 3 4
  2255. # 25 "/usr/include/alloca.h" 3 4
  2256. # 1 "/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h" 1 3 4
  2257. # 26 "/usr/include/alloca.h" 2 3 4
  2258.  
  2259. extern "C" {
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265. extern void *alloca (size_t __size) throw ();
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271. }
  2272. # 498 "/usr/include/stdlib.h" 2 3 4
  2273.  
  2274.  
  2275.  
  2276.  
  2277. extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
  2278.  
  2279.  
  2280.  
  2281.  
  2282. extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
  2283. throw () __attribute__ ((__nonnull__ (1))) ;
  2284.  
  2285.  
  2286.  
  2287.  
  2288. extern void abort (void) throw () __attribute__ ((__noreturn__));
  2289.  
  2290.  
  2291.  
  2292. extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1)));
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299. extern "C++" int at_quick_exit (void (*__func) (void))
  2300. throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1)));
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310. extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
  2311. throw () __attribute__ ((__nonnull__ (1)));
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318. extern void exit (int __status) throw () __attribute__ ((__noreturn__));
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326. extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__));
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334. extern void _Exit (int __status) throw () __attribute__ ((__noreturn__));
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341. extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ;
  2342.  
  2343.  
  2344.  
  2345.  
  2346. extern char *__secure_getenv (__const char *__name)
  2347. throw () __attribute__ ((__nonnull__ (1))) ;
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353. extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1)));
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359. extern int setenv (__const char *__name, __const char *__value, int __replace)
  2360. throw () __attribute__ ((__nonnull__ (2)));
  2361.  
  2362.  
  2363. extern int unsetenv (__const char *__name) throw ();
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370. extern int clearenv (void) throw ();
  2371. # 604 "/usr/include/stdlib.h" 3 4
  2372. extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
  2373. # 615 "/usr/include/stdlib.h" 3 4
  2374. extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
  2375. # 625 "/usr/include/stdlib.h" 3 4
  2376. extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
  2377. # 637 "/usr/include/stdlib.h" 3 4
  2378. extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ;
  2379. # 647 "/usr/include/stdlib.h" 3 4
  2380. extern int mkstemps64 (char *__template, int __suffixlen)
  2381. __attribute__ ((__nonnull__ (1))) ;
  2382. # 658 "/usr/include/stdlib.h" 3 4
  2383. extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
  2384. # 669 "/usr/include/stdlib.h" 3 4
  2385. extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ;
  2386. # 679 "/usr/include/stdlib.h" 3 4
  2387. extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ;
  2388. # 689 "/usr/include/stdlib.h" 3 4
  2389. extern int mkostemps (char *__template, int __suffixlen, int __flags)
  2390. __attribute__ ((__nonnull__ (1))) ;
  2391. # 701 "/usr/include/stdlib.h" 3 4
  2392. extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
  2393. __attribute__ ((__nonnull__ (1))) ;
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403. extern int system (__const char *__command) ;
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410. extern char *canonicalize_file_name (__const char *__name)
  2411. throw () __attribute__ ((__nonnull__ (1))) ;
  2412. # 729 "/usr/include/stdlib.h" 3 4
  2413. extern char *realpath (__const char *__restrict __name,
  2414. char *__restrict __resolved) throw () ;
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421. typedef int (*__compar_fn_t) (__const void *, __const void *);
  2422.  
  2423.  
  2424. typedef __compar_fn_t comparison_fn_t;
  2425.  
  2426.  
  2427.  
  2428. typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434. extern void *bsearch (__const void *__key, __const void *__base,
  2435. size_t __nmemb, size_t __size, __compar_fn_t __compar)
  2436. __attribute__ ((__nonnull__ (1, 2, 5))) ;
  2437.  
  2438.  
  2439.  
  2440. extern void qsort (void *__base, size_t __nmemb, size_t __size,
  2441. __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
  2442.  
  2443. extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
  2444. __compar_d_fn_t __compar, void *__arg)
  2445. __attribute__ ((__nonnull__ (1, 4)));
  2446.  
  2447.  
  2448.  
  2449.  
  2450. extern int abs (int __x) throw () __attribute__ ((__const__)) ;
  2451. extern long int labs (long int __x) throw () __attribute__ ((__const__)) ;
  2452.  
  2453.  
  2454.  
  2455. __extension__ extern long long int llabs (long long int __x)
  2456. throw () __attribute__ ((__const__)) ;
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464. extern div_t div (int __numer, int __denom)
  2465. throw () __attribute__ ((__const__)) ;
  2466. extern ldiv_t ldiv (long int __numer, long int __denom)
  2467. throw () __attribute__ ((__const__)) ;
  2468.  
  2469.  
  2470.  
  2471.  
  2472. __extension__ extern lldiv_t lldiv (long long int __numer,
  2473. long long int __denom)
  2474. throw () __attribute__ ((__const__)) ;
  2475.  
  2476. # 802 "/usr/include/stdlib.h" 3 4
  2477. extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
  2478. int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ;
  2479.  
  2480.  
  2481.  
  2482.  
  2483. extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
  2484. int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ;
  2485.  
  2486.  
  2487.  
  2488.  
  2489. extern char *gcvt (double __value, int __ndigit, char *__buf)
  2490. throw () __attribute__ ((__nonnull__ (3))) ;
  2491.  
  2492.  
  2493.  
  2494.  
  2495. extern char *qecvt (long double __value, int __ndigit,
  2496. int *__restrict __decpt, int *__restrict __sign)
  2497. throw () __attribute__ ((__nonnull__ (3, 4))) ;
  2498. extern char *qfcvt (long double __value, int __ndigit,
  2499. int *__restrict __decpt, int *__restrict __sign)
  2500. throw () __attribute__ ((__nonnull__ (3, 4))) ;
  2501. extern char *qgcvt (long double __value, int __ndigit, char *__buf)
  2502. throw () __attribute__ ((__nonnull__ (3))) ;
  2503.  
  2504.  
  2505.  
  2506.  
  2507. extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
  2508. int *__restrict __sign, char *__restrict __buf,
  2509. size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5)));
  2510. extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
  2511. int *__restrict __sign, char *__restrict __buf,
  2512. size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5)));
  2513.  
  2514. extern int qecvt_r (long double __value, int __ndigit,
  2515. int *__restrict __decpt, int *__restrict __sign,
  2516. char *__restrict __buf, size_t __len)
  2517. throw () __attribute__ ((__nonnull__ (3, 4, 5)));
  2518. extern int qfcvt_r (long double __value, int __ndigit,
  2519. int *__restrict __decpt, int *__restrict __sign,
  2520. char *__restrict __buf, size_t __len)
  2521. throw () __attribute__ ((__nonnull__ (3, 4, 5)));
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529. extern int mblen (__const char *__s, size_t __n) throw () ;
  2530.  
  2531.  
  2532. extern int mbtowc (wchar_t *__restrict __pwc,
  2533. __const char *__restrict __s, size_t __n) throw () ;
  2534.  
  2535.  
  2536. extern int wctomb (char *__s, wchar_t __wchar) throw () ;
  2537.  
  2538.  
  2539.  
  2540. extern size_t mbstowcs (wchar_t *__restrict __pwcs,
  2541. __const char *__restrict __s, size_t __n) throw ();
  2542.  
  2543. extern size_t wcstombs (char *__restrict __s,
  2544. __const wchar_t *__restrict __pwcs, size_t __n)
  2545. throw ();
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554. extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ;
  2555. # 890 "/usr/include/stdlib.h" 3 4
  2556. extern int getsubopt (char **__restrict __optionp,
  2557. char *__const *__restrict __tokens,
  2558. char **__restrict __valuep)
  2559. throw () __attribute__ ((__nonnull__ (1, 2, 3))) ;
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565. extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1)));
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573. extern int posix_openpt (int __oflag) ;
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581. extern int grantpt (int __fd) throw ();
  2582.  
  2583.  
  2584.  
  2585. extern int unlockpt (int __fd) throw ();
  2586.  
  2587.  
  2588.  
  2589.  
  2590. extern char *ptsname (int __fd) throw () ;
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597. extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
  2598. throw () __attribute__ ((__nonnull__ (2)));
  2599.  
  2600.  
  2601. extern int getpt (void);
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608. extern int getloadavg (double __loadavg[], int __nelem)
  2609. throw () __attribute__ ((__nonnull__ (1)));
  2610. # 958 "/usr/include/stdlib.h" 3 4
  2611. }
  2612. # 69 "/usr/include/c++/4.4/cstdlib" 2 3
  2613. # 100 "/usr/include/c++/4.4/cstdlib" 3
  2614. namespace std __attribute__ ((__visibility__ ("default"))) {
  2615.  
  2616. using ::div_t;
  2617. using ::ldiv_t;
  2618.  
  2619. using ::abort;
  2620. using ::abs;
  2621. using ::atexit;
  2622. using ::atof;
  2623. using ::atoi;
  2624. using ::atol;
  2625. using ::bsearch;
  2626. using ::calloc;
  2627. using ::div;
  2628. using ::exit;
  2629. using ::free;
  2630. using ::getenv;
  2631. using ::labs;
  2632. using ::ldiv;
  2633. using ::malloc;
  2634.  
  2635. using ::mblen;
  2636. using ::mbstowcs;
  2637. using ::mbtowc;
  2638.  
  2639. using ::qsort;
  2640. using ::rand;
  2641. using ::realloc;
  2642. using ::srand;
  2643. using ::strtod;
  2644. using ::strtol;
  2645. using ::strtoul;
  2646. using ::system;
  2647.  
  2648. using ::wcstombs;
  2649. using ::wctomb;
  2650.  
  2651.  
  2652. inline long
  2653. abs(long __i) { return labs(__i); }
  2654.  
  2655. inline ldiv_t
  2656. div(long __i, long __j) { return ldiv(__i, __j); }
  2657.  
  2658. }
  2659. # 157 "/usr/include/c++/4.4/cstdlib" 3
  2660. namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) {
  2661.  
  2662.  
  2663. using ::lldiv_t;
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669. using ::_Exit;
  2670.  
  2671.  
  2672. inline long long
  2673. abs(long long __x) { return __x >= 0 ? __x : -__x; }
  2674.  
  2675.  
  2676. using ::llabs;
  2677.  
  2678. inline lldiv_t
  2679. div(long long __n, long long __d)
  2680. { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
  2681.  
  2682. using ::lldiv;
  2683. # 190 "/usr/include/c++/4.4/cstdlib" 3
  2684. using ::atoll;
  2685. using ::strtoll;
  2686. using ::strtoull;
  2687.  
  2688. using ::strtof;
  2689. using ::strtold;
  2690.  
  2691. }
  2692.  
  2693. namespace std __attribute__ ((__visibility__ ("default"))) {
  2694.  
  2695.  
  2696. using ::__gnu_cxx::lldiv_t;
  2697.  
  2698. using ::__gnu_cxx::_Exit;
  2699. using ::__gnu_cxx::abs;
  2700.  
  2701. using ::__gnu_cxx::llabs;
  2702. using ::__gnu_cxx::div;
  2703. using ::__gnu_cxx::lldiv;
  2704.  
  2705. using ::__gnu_cxx::atoll;
  2706. using ::__gnu_cxx::strtof;
  2707. using ::__gnu_cxx::strtoll;
  2708. using ::__gnu_cxx::strtoull;
  2709. using ::__gnu_cxx::strtold;
  2710.  
  2711. }
  2712. # 4 "grover.c" 2
  2713. # 1 "grover.h" 1
  2714. # 10 "grover.h"
  2715. # 1 "/usr/local/include/sndfile.h" 1 3
  2716. # 36 "/usr/local/include/sndfile.h" 3
  2717. extern "C" {
  2718. # 46 "/usr/local/include/sndfile.h" 3
  2719. enum
  2720. {
  2721. SF_FORMAT_WAV = 0x010000,
  2722. SF_FORMAT_AIFF = 0x020000,
  2723. SF_FORMAT_AU = 0x030000,
  2724. SF_FORMAT_RAW = 0x040000,
  2725. SF_FORMAT_PAF = 0x050000,
  2726. SF_FORMAT_SVX = 0x060000,
  2727. SF_FORMAT_NIST = 0x070000,
  2728. SF_FORMAT_VOC = 0x080000,
  2729. SF_FORMAT_IRCAM = 0x0A0000,
  2730. SF_FORMAT_W64 = 0x0B0000,
  2731. SF_FORMAT_MAT4 = 0x0C0000,
  2732. SF_FORMAT_MAT5 = 0x0D0000,
  2733. SF_FORMAT_PVF = 0x0E0000,
  2734. SF_FORMAT_XI = 0x0F0000,
  2735. SF_FORMAT_HTK = 0x100000,
  2736. SF_FORMAT_SDS = 0x110000,
  2737. SF_FORMAT_AVR = 0x120000,
  2738. SF_FORMAT_WAVEX = 0x130000,
  2739. SF_FORMAT_SD2 = 0x160000,
  2740. SF_FORMAT_FLAC = 0x170000,
  2741. SF_FORMAT_CAF = 0x180000,
  2742. SF_FORMAT_WVE = 0x190000,
  2743. SF_FORMAT_OGG = 0x200000,
  2744. SF_FORMAT_MPC2K = 0x210000,
  2745. SF_FORMAT_RF64 = 0x220000,
  2746.  
  2747.  
  2748.  
  2749. SF_FORMAT_PCM_S8 = 0x0001,
  2750. SF_FORMAT_PCM_16 = 0x0002,
  2751. SF_FORMAT_PCM_24 = 0x0003,
  2752. SF_FORMAT_PCM_32 = 0x0004,
  2753.  
  2754. SF_FORMAT_PCM_U8 = 0x0005,
  2755.  
  2756. SF_FORMAT_FLOAT = 0x0006,
  2757. SF_FORMAT_DOUBLE = 0x0007,
  2758.  
  2759. SF_FORMAT_ULAW = 0x0010,
  2760. SF_FORMAT_ALAW = 0x0011,
  2761. SF_FORMAT_IMA_ADPCM = 0x0012,
  2762. SF_FORMAT_MS_ADPCM = 0x0013,
  2763.  
  2764. SF_FORMAT_GSM610 = 0x0020,
  2765. SF_FORMAT_VOX_ADPCM = 0x0021,
  2766.  
  2767. SF_FORMAT_G721_32 = 0x0030,
  2768. SF_FORMAT_G723_24 = 0x0031,
  2769. SF_FORMAT_G723_40 = 0x0032,
  2770.  
  2771. SF_FORMAT_DWVW_12 = 0x0040,
  2772. SF_FORMAT_DWVW_16 = 0x0041,
  2773. SF_FORMAT_DWVW_24 = 0x0042,
  2774. SF_FORMAT_DWVW_N = 0x0043,
  2775.  
  2776. SF_FORMAT_DPCM_8 = 0x0050,
  2777. SF_FORMAT_DPCM_16 = 0x0051,
  2778.  
  2779. SF_FORMAT_VORBIS = 0x0060,
  2780.  
  2781.  
  2782.  
  2783. SF_ENDIAN_FILE = 0x00000000,
  2784. SF_ENDIAN_LITTLE = 0x10000000,
  2785. SF_ENDIAN_BIG = 0x20000000,
  2786. SF_ENDIAN_CPU = 0x30000000,
  2787.  
  2788. SF_FORMAT_SUBMASK = 0x0000FFFF,
  2789. SF_FORMAT_TYPEMASK = 0x0FFF0000,
  2790. SF_FORMAT_ENDMASK = 0x30000000
  2791. } ;
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799. enum
  2800. { SFC_GET_LIB_VERSION = 0x1000,
  2801. SFC_GET_LOG_INFO = 0x1001,
  2802. SFC_GET_CURRENT_SF_INFO = 0x1002,
  2803.  
  2804.  
  2805. SFC_GET_NORM_DOUBLE = 0x1010,
  2806. SFC_GET_NORM_FLOAT = 0x1011,
  2807. SFC_SET_NORM_DOUBLE = 0x1012,
  2808. SFC_SET_NORM_FLOAT = 0x1013,
  2809. SFC_SET_SCALE_FLOAT_INT_READ = 0x1014,
  2810. SFC_SET_SCALE_INT_FLOAT_WRITE = 0x1015,
  2811.  
  2812. SFC_GET_SIMPLE_FORMAT_COUNT = 0x1020,
  2813. SFC_GET_SIMPLE_FORMAT = 0x1021,
  2814.  
  2815. SFC_GET_FORMAT_INFO = 0x1028,
  2816.  
  2817. SFC_GET_FORMAT_MAJOR_COUNT = 0x1030,
  2818. SFC_GET_FORMAT_MAJOR = 0x1031,
  2819. SFC_GET_FORMAT_SUBTYPE_COUNT = 0x1032,
  2820. SFC_GET_FORMAT_SUBTYPE = 0x1033,
  2821.  
  2822. SFC_CALC_SIGNAL_MAX = 0x1040,
  2823. SFC_CALC_NORM_SIGNAL_MAX = 0x1041,
  2824. SFC_CALC_MAX_ALL_CHANNELS = 0x1042,
  2825. SFC_CALC_NORM_MAX_ALL_CHANNELS = 0x1043,
  2826. SFC_GET_SIGNAL_MAX = 0x1044,
  2827. SFC_GET_MAX_ALL_CHANNELS = 0x1045,
  2828.  
  2829. SFC_SET_ADD_PEAK_CHUNK = 0x1050,
  2830. SFC_SET_ADD_HEADER_PAD_CHUNK = 0x1051,
  2831.  
  2832. SFC_UPDATE_HEADER_NOW = 0x1060,
  2833. SFC_SET_UPDATE_HEADER_AUTO = 0x1061,
  2834.  
  2835. SFC_FILE_TRUNCATE = 0x1080,
  2836.  
  2837. SFC_SET_RAW_START_OFFSET = 0x1090,
  2838.  
  2839. SFC_SET_DITHER_ON_WRITE = 0x10A0,
  2840. SFC_SET_DITHER_ON_READ = 0x10A1,
  2841.  
  2842. SFC_GET_DITHER_INFO_COUNT = 0x10A2,
  2843. SFC_GET_DITHER_INFO = 0x10A3,
  2844.  
  2845. SFC_GET_EMBED_FILE_INFO = 0x10B0,
  2846.  
  2847. SFC_SET_CLIPPING = 0x10C0,
  2848. SFC_GET_CLIPPING = 0x10C1,
  2849.  
  2850. SFC_GET_INSTRUMENT = 0x10D0,
  2851. SFC_SET_INSTRUMENT = 0x10D1,
  2852.  
  2853. SFC_GET_LOOP_INFO = 0x10E0,
  2854.  
  2855. SFC_GET_BROADCAST_INFO = 0x10F0,
  2856. SFC_SET_BROADCAST_INFO = 0x10F1,
  2857.  
  2858. SFC_GET_CHANNEL_MAP_INFO = 0x1100,
  2859. SFC_SET_CHANNEL_MAP_INFO = 0x1101,
  2860.  
  2861. SFC_RAW_DATA_NEEDS_ENDSWAP = 0x1110,
  2862.  
  2863.  
  2864. SFC_WAVEX_SET_AMBISONIC = 0x1200,
  2865. SFC_WAVEX_GET_AMBISONIC = 0x1201,
  2866.  
  2867. SFC_SET_VBR_ENCODING_QUALITY = 0x1300,
  2868.  
  2869.  
  2870. SFC_TEST_IEEE_FLOAT_REPLACE = 0x6001,
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878. SFC_SET_ADD_DITHER_ON_WRITE = 0x1070,
  2879. SFC_SET_ADD_DITHER_ON_READ = 0x1071
  2880. } ;
  2881. # 216 "/usr/local/include/sndfile.h" 3
  2882. enum
  2883. { SF_STR_TITLE = 0x01,
  2884. SF_STR_COPYRIGHT = 0x02,
  2885. SF_STR_SOFTWARE = 0x03,
  2886. SF_STR_ARTIST = 0x04,
  2887. SF_STR_COMMENT = 0x05,
  2888. SF_STR_DATE = 0x06,
  2889. SF_STR_ALBUM = 0x07,
  2890. SF_STR_LICENSE = 0x08,
  2891. SF_STR_TRACKNUMBER = 0x09,
  2892. SF_STR_GENRE = 0x10
  2893. } ;
  2894. # 237 "/usr/local/include/sndfile.h" 3
  2895. enum
  2896. {
  2897. SF_FALSE = 0,
  2898. SF_TRUE = 1,
  2899.  
  2900.  
  2901. SFM_READ = 0x10,
  2902. SFM_WRITE = 0x20,
  2903. SFM_RDWR = 0x30,
  2904.  
  2905. SF_AMBISONIC_NONE = 0x40,
  2906. SF_AMBISONIC_B_FORMAT = 0x41
  2907. } ;
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915. enum
  2916. { SF_ERR_NO_ERROR = 0,
  2917. SF_ERR_UNRECOGNISED_FORMAT = 1,
  2918. SF_ERR_SYSTEM = 2,
  2919. SF_ERR_MALFORMED_FILE = 3,
  2920. SF_ERR_UNSUPPORTED_ENCODING = 4
  2921. } ;
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927. enum
  2928. { SF_CHANNEL_MAP_INVALID = 0,
  2929. SF_CHANNEL_MAP_MONO = 1,
  2930. SF_CHANNEL_MAP_LEFT,
  2931. SF_CHANNEL_MAP_RIGHT,
  2932. SF_CHANNEL_MAP_CENTER,
  2933. SF_CHANNEL_MAP_FRONT_LEFT,
  2934. SF_CHANNEL_MAP_FRONT_RIGHT,
  2935. SF_CHANNEL_MAP_FRONT_CENTER,
  2936. SF_CHANNEL_MAP_REAR_CENTER,
  2937. SF_CHANNEL_MAP_REAR_LEFT,
  2938. SF_CHANNEL_MAP_REAR_RIGHT,
  2939. SF_CHANNEL_MAP_LFE,
  2940. SF_CHANNEL_MAP_FRONT_LEFT_OF_CENTER,
  2941. SF_CHANNEL_MAP_FRONT_RIGHT_OF_CENTER,
  2942. SF_CHANNEL_MAP_SIDE_LEFT,
  2943. SF_CHANNEL_MAP_SIDE_RIGHT,
  2944. SF_CHANNEL_MAP_TOP_CENTER,
  2945. SF_CHANNEL_MAP_TOP_FRONT_LEFT,
  2946. SF_CHANNEL_MAP_TOP_FRONT_RIGHT,
  2947. SF_CHANNEL_MAP_TOP_FRONT_CENTER,
  2948. SF_CHANNEL_MAP_TOP_REAR_LEFT,
  2949. SF_CHANNEL_MAP_TOP_REAR_RIGHT,
  2950. SF_CHANNEL_MAP_TOP_REAR_CENTER,
  2951.  
  2952. SF_CHANNEL_MAP_AMBISONIC_B_W,
  2953. SF_CHANNEL_MAP_AMBISONIC_B_X,
  2954. SF_CHANNEL_MAP_AMBISONIC_B_Y,
  2955. SF_CHANNEL_MAP_AMBISONIC_B_Z,
  2956.  
  2957. SF_CHANNEL_MAP_MAX
  2958. } ;
  2959.  
  2960.  
  2961.  
  2962.  
  2963. typedef struct SNDFILE_tag SNDFILE ;
  2964. # 317 "/usr/local/include/sndfile.h" 3
  2965. typedef loff_t sf_count_t ;
  2966. # 327 "/usr/local/include/sndfile.h" 3
  2967. struct SF_INFO
  2968. { sf_count_t frames ;
  2969. int samplerate ;
  2970. int channels ;
  2971. int format ;
  2972. int sections ;
  2973. int seekable ;
  2974. } ;
  2975.  
  2976. typedef struct SF_INFO SF_INFO ;
  2977. # 349 "/usr/local/include/sndfile.h" 3
  2978. typedef struct
  2979. { int format ;
  2980. const char *name ;
  2981. const char *extension ;
  2982. } SF_FORMAT_INFO ;
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990. enum
  2991. { SFD_DEFAULT_LEVEL = 0,
  2992. SFD_CUSTOM_LEVEL = 0x40000000,
  2993.  
  2994. SFD_NO_DITHER = 500,
  2995. SFD_WHITE = 501,
  2996. SFD_TRIANGULAR_PDF = 502
  2997. } ;
  2998.  
  2999. typedef struct
  3000. { int type ;
  3001. double level ;
  3002. const char *name ;
  3003. } SF_DITHER_INFO ;
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009. typedef struct
  3010. { sf_count_t offset ;
  3011. sf_count_t length ;
  3012. } SF_EMBED_FILE_INFO ;
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018. enum
  3019. {
  3020.  
  3021.  
  3022. SF_LOOP_NONE = 800,
  3023. SF_LOOP_FORWARD,
  3024. SF_LOOP_BACKWARD,
  3025. SF_LOOP_ALTERNATING
  3026. } ;
  3027.  
  3028. typedef struct
  3029. { int gain ;
  3030. char basenote, detune ;
  3031. char velocity_lo, velocity_hi ;
  3032. char key_lo, key_hi ;
  3033. int loop_count ;
  3034.  
  3035. struct
  3036. { int mode ;
  3037. unsigned int start ;
  3038. unsigned int end ;
  3039. unsigned int count ;
  3040. } loops [16] ;
  3041. } SF_INSTRUMENT ;
  3042.  
  3043.  
  3044.  
  3045.  
  3046. typedef struct
  3047. {
  3048. short time_sig_num ;
  3049. short time_sig_den ;
  3050. int loop_mode ;
  3051.  
  3052. int num_beats ;
  3053.  
  3054.  
  3055.  
  3056. float bpm ;
  3057.  
  3058.  
  3059.  
  3060. int root_key ;
  3061. int future [6] ;
  3062. } SF_LOOP_INFO ;
  3063. # 456 "/usr/local/include/sndfile.h" 3
  3064. typedef struct { char description [256] ; char originator [32] ; char originator_reference [32] ; char origination_date [10] ; char origination_time [8] ; unsigned int time_reference_low ; unsigned int time_reference_high ; short version ; char umid [64] ; char reserved [190] ; unsigned int coding_history_size ; char coding_history [256] ; } SF_BROADCAST_INFO ;
  3065.  
  3066.  
  3067.  
  3068.  
  3069. typedef sf_count_t (*sf_vio_get_filelen) (void *user_data) ;
  3070. typedef sf_count_t (*sf_vio_seek) (sf_count_t offset, int whence, void *user_data) ;
  3071. typedef sf_count_t (*sf_vio_read) (void *ptr, sf_count_t count, void *user_data) ;
  3072. typedef sf_count_t (*sf_vio_write) (const void *ptr, sf_count_t count, void *user_data) ;
  3073. typedef sf_count_t (*sf_vio_tell) (void *user_data) ;
  3074.  
  3075. struct SF_VIRTUAL_IO
  3076. { sf_vio_get_filelen get_filelen ;
  3077. sf_vio_seek seek ;
  3078. sf_vio_read read ;
  3079. sf_vio_write write ;
  3080. sf_vio_tell tell ;
  3081. } ;
  3082.  
  3083. typedef struct SF_VIRTUAL_IO SF_VIRTUAL_IO ;
  3084. # 484 "/usr/local/include/sndfile.h" 3
  3085. SNDFILE* sf_open (const char *path, int mode, SF_INFO *sfinfo) ;
  3086. # 499 "/usr/local/include/sndfile.h" 3
  3087. SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
  3088.  
  3089. SNDFILE* sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) ;
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096. int sf_error (SNDFILE *sndfile) ;
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103. const char* sf_strerror (SNDFILE *sndfile) ;
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111. const char* sf_error_number (int errnum) ;
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119. int sf_perror (SNDFILE *sndfile) ;
  3120. int sf_error_str (SNDFILE *sndfile, char* str, size_t len) ;
  3121.  
  3122.  
  3123.  
  3124.  
  3125. int sf_command (SNDFILE *sndfile, int command, void *data, int datasize) ;
  3126.  
  3127.  
  3128.  
  3129.  
  3130. int sf_format_check (const SF_INFO *info) ;
  3131. # 557 "/usr/local/include/sndfile.h" 3
  3132. sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ;
  3133. # 568 "/usr/local/include/sndfile.h" 3
  3134. int sf_set_string (SNDFILE *sndfile, int str_type, const char* str) ;
  3135.  
  3136. const char* sf_get_string (SNDFILE *sndfile, int str_type) ;
  3137.  
  3138.  
  3139.  
  3140.  
  3141. const char * sf_version_string (void) ;
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147. sf_count_t sf_read_raw (SNDFILE *sndfile, void *ptr, sf_count_t bytes) ;
  3148. sf_count_t sf_write_raw (SNDFILE *sndfile, const void *ptr, sf_count_t bytes) ;
  3149. # 595 "/usr/local/include/sndfile.h" 3
  3150. sf_count_t sf_readf_short (SNDFILE *sndfile, short *ptr, sf_count_t frames) ;
  3151. sf_count_t sf_writef_short (SNDFILE *sndfile, const short *ptr, sf_count_t frames) ;
  3152.  
  3153. sf_count_t sf_readf_int (SNDFILE *sndfile, int *ptr, sf_count_t frames) ;
  3154. sf_count_t sf_writef_int (SNDFILE *sndfile, const int *ptr, sf_count_t frames) ;
  3155.  
  3156. sf_count_t sf_readf_float (SNDFILE *sndfile, float *ptr, sf_count_t frames) ;
  3157. sf_count_t sf_writef_float (SNDFILE *sndfile, const float *ptr, sf_count_t frames) ;
  3158.  
  3159. sf_count_t sf_readf_double (SNDFILE *sndfile, double *ptr, sf_count_t frames) ;
  3160. sf_count_t sf_writef_double (SNDFILE *sndfile, const double *ptr, sf_count_t frames) ;
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168. sf_count_t sf_read_short (SNDFILE *sndfile, short *ptr, sf_count_t items) ;
  3169. sf_count_t sf_write_short (SNDFILE *sndfile, const short *ptr, sf_count_t items) ;
  3170.  
  3171. sf_count_t sf_read_int (SNDFILE *sndfile, int *ptr, sf_count_t items) ;
  3172. sf_count_t sf_write_int (SNDFILE *sndfile, const int *ptr, sf_count_t items) ;
  3173.  
  3174. sf_count_t sf_read_float (SNDFILE *sndfile, float *ptr, sf_count_t items) ;
  3175. sf_count_t sf_write_float (SNDFILE *sndfile, const float *ptr, sf_count_t items) ;
  3176.  
  3177. sf_count_t sf_read_double (SNDFILE *sndfile, double *ptr, sf_count_t items) ;
  3178. sf_count_t sf_write_double (SNDFILE *sndfile, const double *ptr, sf_count_t items) ;
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186. int sf_close (SNDFILE *sndfile) ;
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194. void sf_write_sync (SNDFILE *sndfile) ;
  3195. # 661 "/usr/local/include/sndfile.h" 3
  3196. }
  3197. # 11 "grover.h" 2
  3198. # 1 "/usr/include/math.h" 1 3 4
  3199. # 30 "/usr/include/math.h" 3 4
  3200. extern "C" {
  3201.  
  3202.  
  3203.  
  3204. # 1 "/usr/include/bits/huge_val.h" 1 3 4
  3205. # 35 "/usr/include/math.h" 2 3 4
  3206.  
  3207. # 1 "/usr/include/bits/huge_valf.h" 1 3 4
  3208. # 37 "/usr/include/math.h" 2 3 4
  3209. # 1 "/usr/include/bits/huge_vall.h" 1 3 4
  3210. # 38 "/usr/include/math.h" 2 3 4
  3211.  
  3212.  
  3213. # 1 "/usr/include/bits/inf.h" 1 3 4
  3214. # 41 "/usr/include/math.h" 2 3 4
  3215.  
  3216.  
  3217. # 1 "/usr/include/bits/nan.h" 1 3 4
  3218. # 44 "/usr/include/math.h" 2 3 4
  3219.  
  3220.  
  3221.  
  3222. # 1 "/usr/include/bits/mathdef.h" 1 3 4
  3223. # 26 "/usr/include/bits/mathdef.h" 3 4
  3224. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  3225. # 27 "/usr/include/bits/mathdef.h" 2 3 4
  3226. # 38 "/usr/include/bits/mathdef.h" 3 4
  3227. typedef long double float_t;
  3228.  
  3229. typedef long double double_t;
  3230. # 48 "/usr/include/math.h" 2 3 4
  3231. # 71 "/usr/include/math.h" 3 4
  3232. # 1 "/usr/include/bits/mathcalls.h" 1 3 4
  3233. # 53 "/usr/include/bits/mathcalls.h" 3 4
  3234.  
  3235.  
  3236. extern double acos (double __x) throw (); extern double __acos (double __x) throw ();
  3237.  
  3238. extern double asin (double __x) throw (); extern double __asin (double __x) throw ();
  3239.  
  3240. extern double atan (double __x) throw (); extern double __atan (double __x) throw ();
  3241.  
  3242. extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw ();
  3243.  
  3244.  
  3245. extern double cos (double __x) throw (); extern double __cos (double __x) throw ();
  3246.  
  3247. extern double sin (double __x) throw (); extern double __sin (double __x) throw ();
  3248.  
  3249. extern double tan (double __x) throw (); extern double __tan (double __x) throw ();
  3250.  
  3251.  
  3252.  
  3253.  
  3254. extern double cosh (double __x) throw (); extern double __cosh (double __x) throw ();
  3255.  
  3256. extern double sinh (double __x) throw (); extern double __sinh (double __x) throw ();
  3257.  
  3258. extern double tanh (double __x) throw (); extern double __tanh (double __x) throw ();
  3259.  
  3260.  
  3261.  
  3262.  
  3263. extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw ();
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270. extern double acosh (double __x) throw (); extern double __acosh (double __x) throw ();
  3271.  
  3272. extern double asinh (double __x) throw (); extern double __asinh (double __x) throw ();
  3273.  
  3274. extern double atanh (double __x) throw (); extern double __atanh (double __x) throw ();
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282. extern double exp (double __x) throw (); extern double __exp (double __x) throw ();
  3283.  
  3284.  
  3285. extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw ();
  3286.  
  3287.  
  3288. extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw ();
  3289.  
  3290.  
  3291. extern double log (double __x) throw (); extern double __log (double __x) throw ();
  3292.  
  3293.  
  3294. extern double log10 (double __x) throw (); extern double __log10 (double __x) throw ();
  3295.  
  3296.  
  3297. extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw ();
  3298.  
  3299.  
  3300.  
  3301.  
  3302. extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw ();
  3303.  
  3304. extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw ();
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310. extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw ();
  3311.  
  3312.  
  3313. extern double log1p (double __x) throw (); extern double __log1p (double __x) throw ();
  3314.  
  3315.  
  3316. extern double logb (double __x) throw (); extern double __logb (double __x) throw ();
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323. extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw ();
  3324.  
  3325.  
  3326. extern double log2 (double __x) throw (); extern double __log2 (double __x) throw ();
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335. extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw ();
  3336.  
  3337.  
  3338. extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw ();
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344. extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw ();
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351. extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw ();
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360. extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__));
  3361.  
  3362.  
  3363. extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__));
  3364.  
  3365.  
  3366. extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__));
  3367.  
  3368.  
  3369. extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw ();
  3370.  
  3371.  
  3372.  
  3373.  
  3374. extern int __isinf (double __value) throw () __attribute__ ((__const__));
  3375.  
  3376.  
  3377. extern int __finite (double __value) throw () __attribute__ ((__const__));
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383. extern int isinf (double __value) throw () __attribute__ ((__const__));
  3384.  
  3385.  
  3386. extern int finite (double __value) throw () __attribute__ ((__const__));
  3387.  
  3388.  
  3389. extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw ();
  3390.  
  3391.  
  3392.  
  3393. extern double significand (double __x) throw (); extern double __significand (double __x) throw ();
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399. extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__));
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406. extern double nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (__const char *__tagb) throw () __attribute__ ((__const__));
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412. extern int __isnan (double __value) throw () __attribute__ ((__const__));
  3413.  
  3414.  
  3415.  
  3416. extern int isnan (double __value) throw () __attribute__ ((__const__));
  3417.  
  3418.  
  3419. extern double j0 (double) throw (); extern double __j0 (double) throw ();
  3420. extern double j1 (double) throw (); extern double __j1 (double) throw ();
  3421. extern double jn (int, double) throw (); extern double __jn (int, double) throw ();
  3422. extern double y0 (double) throw (); extern double __y0 (double) throw ();
  3423. extern double y1 (double) throw (); extern double __y1 (double) throw ();
  3424. extern double yn (int, double) throw (); extern double __yn (int, double) throw ();
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431. extern double erf (double) throw (); extern double __erf (double) throw ();
  3432. extern double erfc (double) throw (); extern double __erfc (double) throw ();
  3433. extern double lgamma (double) throw (); extern double __lgamma (double) throw ();
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440. extern double tgamma (double) throw (); extern double __tgamma (double) throw ();
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446. extern double gamma (double) throw (); extern double __gamma (double) throw ();
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453. extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw ();
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461. extern double rint (double __x) throw (); extern double __rint (double __x) throw ();
  3462.  
  3463.  
  3464. extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__));
  3465.  
  3466. extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__));
  3467.  
  3468.  
  3469.  
  3470. extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw ();
  3471.  
  3472.  
  3473.  
  3474. extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw ();
  3475.  
  3476.  
  3477.  
  3478. extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw ();
  3479.  
  3480.  
  3481.  
  3482.  
  3483. extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw ();
  3484.  
  3485.  
  3486.  
  3487. extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw ();
  3488.  
  3489.  
  3490.  
  3491. extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__));
  3492.  
  3493.  
  3494.  
  3495. extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__));
  3496.  
  3497.  
  3498.  
  3499.  
  3500. extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw ();
  3501.  
  3502.  
  3503.  
  3504.  
  3505.  
  3506.  
  3507. extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw ();
  3508. extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw ();
  3509.  
  3510.  
  3511.  
  3512. extern long int lround (double __x) throw (); extern long int __lround (double __x) throw ();
  3513. extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw ();
  3514.  
  3515.  
  3516.  
  3517. extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw ();
  3518.  
  3519.  
  3520. extern double fmax (double __x, double __y) throw (); extern double __fmax (double __x, double __y) throw ();
  3521.  
  3522.  
  3523. extern double fmin (double __x, double __y) throw (); extern double __fmin (double __x, double __y) throw ();
  3524.  
  3525.  
  3526.  
  3527. extern int __fpclassify (double __value) throw ()
  3528. __attribute__ ((__const__));
  3529.  
  3530.  
  3531. extern int __signbit (double __value) throw ()
  3532. __attribute__ ((__const__));
  3533.  
  3534.  
  3535.  
  3536. extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw ();
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545. extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw ();
  3546. # 72 "/usr/include/math.h" 2 3 4
  3547. # 94 "/usr/include/math.h" 3 4
  3548. # 1 "/usr/include/bits/mathcalls.h" 1 3 4
  3549. # 53 "/usr/include/bits/mathcalls.h" 3 4
  3550.  
  3551.  
  3552. extern float acosf (float __x) throw (); extern float __acosf (float __x) throw ();
  3553.  
  3554. extern float asinf (float __x) throw (); extern float __asinf (float __x) throw ();
  3555.  
  3556. extern float atanf (float __x) throw (); extern float __atanf (float __x) throw ();
  3557.  
  3558. extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw ();
  3559.  
  3560.  
  3561. extern float cosf (float __x) throw (); extern float __cosf (float __x) throw ();
  3562.  
  3563. extern float sinf (float __x) throw (); extern float __sinf (float __x) throw ();
  3564.  
  3565. extern float tanf (float __x) throw (); extern float __tanf (float __x) throw ();
  3566.  
  3567.  
  3568.  
  3569.  
  3570. extern float coshf (float __x) throw (); extern float __coshf (float __x) throw ();
  3571.  
  3572. extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw ();
  3573.  
  3574. extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw ();
  3575.  
  3576.  
  3577.  
  3578.  
  3579. extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw ();
  3580.  
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586. extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw ();
  3587.  
  3588. extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw ();
  3589.  
  3590. extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw ();
  3591.  
  3592.  
  3593.  
  3594.  
  3595.  
  3596.  
  3597.  
  3598. extern float expf (float __x) throw (); extern float __expf (float __x) throw ();
  3599.  
  3600.  
  3601. extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw ();
  3602.  
  3603.  
  3604. extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw ();
  3605.  
  3606.  
  3607. extern float logf (float __x) throw (); extern float __logf (float __x) throw ();
  3608.  
  3609.  
  3610. extern float log10f (float __x) throw (); extern float __log10f (float __x) throw ();
  3611.  
  3612.  
  3613. extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw ();
  3614.  
  3615.  
  3616.  
  3617.  
  3618. extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw ();
  3619.  
  3620. extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw ();
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626. extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw ();
  3627.  
  3628.  
  3629. extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw ();
  3630.  
  3631.  
  3632. extern float logbf (float __x) throw (); extern float __logbf (float __x) throw ();
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639. extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw ();
  3640.  
  3641.  
  3642. extern float log2f (float __x) throw (); extern float __log2f (float __x) throw ();
  3643.  
  3644.  
  3645.  
  3646.  
  3647.  
  3648.  
  3649.  
  3650.  
  3651. extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw ();
  3652.  
  3653.  
  3654. extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw ();
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660. extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw ();
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667. extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw ();
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676. extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__));
  3677.  
  3678.  
  3679. extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__));
  3680.  
  3681.  
  3682. extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__));
  3683.  
  3684.  
  3685. extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw ();
  3686.  
  3687.  
  3688.  
  3689.  
  3690. extern int __isinff (float __value) throw () __attribute__ ((__const__));
  3691.  
  3692.  
  3693. extern int __finitef (float __value) throw () __attribute__ ((__const__));
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699. extern int isinff (float __value) throw () __attribute__ ((__const__));
  3700.  
  3701.  
  3702. extern int finitef (float __value) throw () __attribute__ ((__const__));
  3703.  
  3704.  
  3705. extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw ();
  3706.  
  3707.  
  3708.  
  3709. extern float significandf (float __x) throw (); extern float __significandf (float __x) throw ();
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715. extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__));
  3716.  
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722. extern float nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) throw () __attribute__ ((__const__));
  3723.  
  3724.  
  3725.  
  3726.  
  3727.  
  3728. extern int __isnanf (float __value) throw () __attribute__ ((__const__));
  3729.  
  3730.  
  3731.  
  3732. extern int isnanf (float __value) throw () __attribute__ ((__const__));
  3733.  
  3734.  
  3735. extern float j0f (float) throw (); extern float __j0f (float) throw ();
  3736. extern float j1f (float) throw (); extern float __j1f (float) throw ();
  3737. extern float jnf (int, float) throw (); extern float __jnf (int, float) throw ();
  3738. extern float y0f (float) throw (); extern float __y0f (float) throw ();
  3739. extern float y1f (float) throw (); extern float __y1f (float) throw ();
  3740. extern float ynf (int, float) throw (); extern float __ynf (int, float) throw ();
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.  
  3747. extern float erff (float) throw (); extern float __erff (float) throw ();
  3748. extern float erfcf (float) throw (); extern float __erfcf (float) throw ();
  3749. extern float lgammaf (float) throw (); extern float __lgammaf (float) throw ();
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756. extern float tgammaf (float) throw (); extern float __tgammaf (float) throw ();
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762. extern float gammaf (float) throw (); extern float __gammaf (float) throw ();
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769. extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw ();
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777. extern float rintf (float __x) throw (); extern float __rintf (float __x) throw ();
  3778.  
  3779.  
  3780. extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__));
  3781.  
  3782. extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__));
  3783.  
  3784.  
  3785.  
  3786. extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw ();
  3787.  
  3788.  
  3789.  
  3790. extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw ();
  3791.  
  3792.  
  3793.  
  3794. extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw ();
  3795.  
  3796.  
  3797.  
  3798.  
  3799. extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw ();
  3800.  
  3801.  
  3802.  
  3803. extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw ();
  3804.  
  3805.  
  3806.  
  3807. extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__));
  3808.  
  3809.  
  3810.  
  3811. extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__));
  3812.  
  3813.  
  3814.  
  3815.  
  3816. extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw ();
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.  
  3823. extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw ();
  3824. extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw ();
  3825.  
  3826.  
  3827.  
  3828. extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw ();
  3829. extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw ();
  3830.  
  3831.  
  3832.  
  3833. extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw ();
  3834.  
  3835.  
  3836. extern float fmaxf (float __x, float __y) throw (); extern float __fmaxf (float __x, float __y) throw ();
  3837.  
  3838.  
  3839. extern float fminf (float __x, float __y) throw (); extern float __fminf (float __x, float __y) throw ();
  3840.  
  3841.  
  3842.  
  3843. extern int __fpclassifyf (float __value) throw ()
  3844. __attribute__ ((__const__));
  3845.  
  3846.  
  3847. extern int __signbitf (float __value) throw ()
  3848. __attribute__ ((__const__));
  3849.  
  3850.  
  3851.  
  3852. extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw ();
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861. extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw ();
  3862. # 95 "/usr/include/math.h" 2 3 4
  3863. # 145 "/usr/include/math.h" 3 4
  3864. # 1 "/usr/include/bits/mathcalls.h" 1 3 4
  3865. # 53 "/usr/include/bits/mathcalls.h" 3 4
  3866.  
  3867.  
  3868. extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw ();
  3869.  
  3870. extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw ();
  3871.  
  3872. extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw ();
  3873.  
  3874. extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw ();
  3875.  
  3876.  
  3877. extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw ();
  3878.  
  3879. extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw ();
  3880.  
  3881. extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw ();
  3882.  
  3883.  
  3884.  
  3885.  
  3886. extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw ();
  3887.  
  3888. extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw ();
  3889.  
  3890. extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw ();
  3891.  
  3892.  
  3893.  
  3894.  
  3895. extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw ();
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902. extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw ();
  3903.  
  3904. extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw ();
  3905.  
  3906. extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw ();
  3907.  
  3908.  
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914. extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw ();
  3915.  
  3916.  
  3917. extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw ();
  3918.  
  3919.  
  3920. extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw ();
  3921.  
  3922.  
  3923. extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw ();
  3924.  
  3925.  
  3926. extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw ();
  3927.  
  3928.  
  3929. extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw ();
  3930.  
  3931.  
  3932.  
  3933.  
  3934. extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw ();
  3935.  
  3936. extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw ();
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942. extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw ();
  3943.  
  3944.  
  3945. extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw ();
  3946.  
  3947.  
  3948. extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw ();
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955. extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw ();
  3956.  
  3957.  
  3958. extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw ();
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967. extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw ();
  3968.  
  3969.  
  3970. extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw ();
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976. extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw ();
  3977.  
  3978.  
  3979.  
  3980.  
  3981.  
  3982.  
  3983. extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw ();
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992. extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__));
  3993.  
  3994.  
  3995. extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__));
  3996.  
  3997.  
  3998. extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__));
  3999.  
  4000.  
  4001. extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw ();
  4002.  
  4003.  
  4004.  
  4005.  
  4006. extern int __isinfl (long double __value) throw () __attribute__ ((__const__));
  4007.  
  4008.  
  4009. extern int __finitel (long double __value) throw () __attribute__ ((__const__));
  4010.  
  4011.  
  4012.  
  4013.  
  4014.  
  4015. extern int isinfl (long double __value) throw () __attribute__ ((__const__));
  4016.  
  4017.  
  4018. extern int finitel (long double __value) throw () __attribute__ ((__const__));
  4019.  
  4020.  
  4021. extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw ();
  4022.  
  4023.  
  4024.  
  4025. extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw ();
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031. extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__));
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038. extern long double nanl (__const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) throw () __attribute__ ((__const__));
  4039.  
  4040.  
  4041.  
  4042.  
  4043.  
  4044. extern int __isnanl (long double __value) throw () __attribute__ ((__const__));
  4045.  
  4046.  
  4047.  
  4048. extern int isnanl (long double __value) throw () __attribute__ ((__const__));
  4049.  
  4050.  
  4051. extern long double j0l (long double) throw (); extern long double __j0l (long double) throw ();
  4052. extern long double j1l (long double) throw (); extern long double __j1l (long double) throw ();
  4053. extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw ();
  4054. extern long double y0l (long double) throw (); extern long double __y0l (long double) throw ();
  4055. extern long double y1l (long double) throw (); extern long double __y1l (long double) throw ();
  4056. extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw ();
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063. extern long double erfl (long double) throw (); extern long double __erfl (long double) throw ();
  4064. extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw ();
  4065. extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw ();
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072. extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw ();
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078. extern long double gammal (long double) throw (); extern long double __gammal (long double) throw ();
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085. extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw ();
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093. extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw ();
  4094.  
  4095.  
  4096. extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__));
  4097.  
  4098. extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__));
  4099.  
  4100.  
  4101.  
  4102. extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw ();
  4103.  
  4104.  
  4105.  
  4106. extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw ();
  4107.  
  4108.  
  4109.  
  4110. extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw ();
  4111.  
  4112.  
  4113.  
  4114.  
  4115. extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw ();
  4116.  
  4117.  
  4118.  
  4119. extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw ();
  4120.  
  4121.  
  4122.  
  4123. extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__));
  4124.  
  4125.  
  4126.  
  4127. extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__));
  4128.  
  4129.  
  4130.  
  4131.  
  4132. extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw ();
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139. extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw ();
  4140. extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw ();
  4141.  
  4142.  
  4143.  
  4144. extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw ();
  4145. extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw ();
  4146.  
  4147.  
  4148.  
  4149. extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw ();
  4150.  
  4151.  
  4152. extern long double fmaxl (long double __x, long double __y) throw (); extern long double __fmaxl (long double __x, long double __y) throw ();
  4153.  
  4154.  
  4155. extern long double fminl (long double __x, long double __y) throw (); extern long double __fminl (long double __x, long double __y) throw ();
  4156.  
  4157.  
  4158.  
  4159. extern int __fpclassifyl (long double __value) throw ()
  4160. __attribute__ ((__const__));
  4161.  
  4162.  
  4163. extern int __signbitl (long double __value) throw ()
  4164. __attribute__ ((__const__));
  4165.  
  4166.  
  4167.  
  4168. extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw ();
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177. extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw ();
  4178. # 146 "/usr/include/math.h" 2 3 4
  4179. # 161 "/usr/include/math.h" 3 4
  4180. extern int signgam;
  4181. # 202 "/usr/include/math.h" 3 4
  4182. enum
  4183. {
  4184. FP_NAN,
  4185.  
  4186. FP_INFINITE,
  4187.  
  4188. FP_ZERO,
  4189.  
  4190. FP_SUBNORMAL,
  4191.  
  4192. FP_NORMAL
  4193.  
  4194. };
  4195. # 295 "/usr/include/math.h" 3 4
  4196. typedef enum
  4197. {
  4198. _IEEE_ = -1,
  4199. _SVID_,
  4200. _XOPEN_,
  4201. _POSIX_,
  4202. _ISOC_
  4203. } _LIB_VERSION_TYPE;
  4204.  
  4205.  
  4206.  
  4207.  
  4208. extern _LIB_VERSION_TYPE _LIB_VERSION;
  4209. # 318 "/usr/include/math.h" 3 4
  4210. struct __exception
  4211.  
  4212.  
  4213.  
  4214. {
  4215. int type;
  4216. char *name;
  4217. double arg1;
  4218. double arg2;
  4219. double retval;
  4220. };
  4221.  
  4222.  
  4223. extern int matherr (struct __exception *__exc) throw ();
  4224. # 476 "/usr/include/math.h" 3 4
  4225. }
  4226. # 12 "grover.h" 2
  4227.  
  4228. # 1 "/usr/local/include/aubio/aubio.h" 1 3
  4229. # 151 "/usr/local/include/aubio/aubio.h" 3
  4230. extern "C"
  4231. {
  4232.  
  4233.  
  4234.  
  4235. # 1 "/usr/local/include/aubio/types.h" 1 3
  4236. # 31 "/usr/local/include/aubio/types.h" 3
  4237. extern "C" {
  4238. # 41 "/usr/local/include/aubio/types.h" 3
  4239. typedef float smpl_t;
  4240. # 51 "/usr/local/include/aubio/types.h" 3
  4241. typedef double lsmp_t;
  4242. # 60 "/usr/local/include/aubio/types.h" 3
  4243. typedef unsigned int uint_t;
  4244.  
  4245. typedef int sint_t;
  4246.  
  4247. typedef char char_t;
  4248.  
  4249.  
  4250. }
  4251. # 157 "/usr/local/include/aubio/aubio.h" 2 3
  4252. # 1 "/usr/local/include/aubio/fvec.h" 1 3
  4253. # 25 "/usr/local/include/aubio/fvec.h" 3
  4254. extern "C" {
  4255. # 38 "/usr/local/include/aubio/fvec.h" 3
  4256. typedef struct {
  4257. uint_t length;
  4258. smpl_t *data;
  4259. } fvec_t;
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266. fvec_t * new_fvec(uint_t length);
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272. void del_fvec(fvec_t *s);
  4273. # 65 "/usr/local/include/aubio/fvec.h" 3
  4274. smpl_t fvec_read_sample(fvec_t *s, uint_t position);
  4275. # 77 "/usr/local/include/aubio/fvec.h" 3
  4276. void fvec_write_sample(fvec_t *s, smpl_t data, uint_t position);
  4277. # 88 "/usr/local/include/aubio/fvec.h" 3
  4278. smpl_t * fvec_get_data(fvec_t *s);
  4279.  
  4280.  
  4281.  
  4282.  
  4283.  
  4284.  
  4285. void fvec_print(fvec_t *s);
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293. void fvec_set(fvec_t *s, smpl_t val);
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300. void fvec_zeros(fvec_t *s);
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307. void fvec_ones(fvec_t *s);
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314. void fvec_rev(fvec_t *s);
  4315. # 135 "/usr/local/include/aubio/fvec.h" 3
  4316. void fvec_weight(fvec_t *s, fvec_t *weight);
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324. void fvec_copy(fvec_t *s, fvec_t *t);
  4325.  
  4326.  
  4327. }
  4328. # 158 "/usr/local/include/aubio/aubio.h" 2 3
  4329. # 1 "/usr/local/include/aubio/cvec.h" 1 3
  4330. # 25 "/usr/local/include/aubio/cvec.h" 3
  4331. extern "C" {
  4332. # 39 "/usr/local/include/aubio/cvec.h" 3
  4333. typedef struct {
  4334. uint_t length;
  4335. smpl_t *norm;
  4336. smpl_t *phas;
  4337. } cvec_t;
  4338. # 56 "/usr/local/include/aubio/cvec.h" 3
  4339. cvec_t * new_cvec(uint_t length);
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345. void del_cvec(cvec_t *s);
  4346. # 74 "/usr/local/include/aubio/cvec.h" 3
  4347. void cvec_write_norm(cvec_t *s, smpl_t data, uint_t position);
  4348. # 86 "/usr/local/include/aubio/cvec.h" 3
  4349. void cvec_write_phas(cvec_t *s, smpl_t data, uint_t position);
  4350. # 97 "/usr/local/include/aubio/cvec.h" 3
  4351. smpl_t cvec_read_norm(cvec_t *s, uint_t position);
  4352. # 108 "/usr/local/include/aubio/cvec.h" 3
  4353. smpl_t cvec_read_phas(cvec_t *s, uint_t position);
  4354. # 118 "/usr/local/include/aubio/cvec.h" 3
  4355. smpl_t * cvec_get_norm(cvec_t *s);
  4356. # 128 "/usr/local/include/aubio/cvec.h" 3
  4357. smpl_t * cvec_get_phas(cvec_t *s);
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364. void cvec_print(cvec_t *s);
  4365.  
  4366.  
  4367.  
  4368.  
  4369.  
  4370.  
  4371.  
  4372. void cvec_set(cvec_t *s, smpl_t val);
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379. void cvec_zeros(cvec_t *s);
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386. void cvec_ones(cvec_t *s);
  4387.  
  4388.  
  4389. }
  4390. # 159 "/usr/local/include/aubio/aubio.h" 2 3
  4391. # 1 "/usr/local/include/aubio/lvec.h" 1 3
  4392. # 25 "/usr/local/include/aubio/lvec.h" 3
  4393. extern "C" {
  4394. # 39 "/usr/local/include/aubio/lvec.h" 3
  4395. typedef struct {
  4396. uint_t length;
  4397. lsmp_t *data;
  4398. } lvec_t;
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405. lvec_t * new_lvec(uint_t length);
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411. void del_lvec(lvec_t *s);
  4412. # 66 "/usr/local/include/aubio/lvec.h" 3
  4413. lsmp_t lvec_read_sample(lvec_t *s, uint_t position);
  4414. # 78 "/usr/local/include/aubio/lvec.h" 3
  4415. void lvec_write_sample(lvec_t *s, lsmp_t data, uint_t position);
  4416. # 89 "/usr/local/include/aubio/lvec.h" 3
  4417. lsmp_t * lvec_get_data(lvec_t *s);
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424. void lvec_print(lvec_t *s);
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432. void lvec_set(lvec_t *s, smpl_t val);
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439. void lvec_zeros(lvec_t *s);
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445.  
  4446. void lvec_ones(lvec_t *s);
  4447.  
  4448.  
  4449. }
  4450. # 160 "/usr/local/include/aubio/aubio.h" 2 3
  4451. # 1 "/usr/local/include/aubio/fmat.h" 1 3
  4452. # 25 "/usr/local/include/aubio/fmat.h" 3
  4453. extern "C" {
  4454. # 38 "/usr/local/include/aubio/fmat.h" 3
  4455. typedef struct {
  4456. uint_t length;
  4457. uint_t height;
  4458. smpl_t **data;
  4459. } fmat_t;
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467. fmat_t * new_fmat(uint_t length, uint_t channels);
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473. void del_fmat(fmat_t *s);
  4474. # 68 "/usr/local/include/aubio/fmat.h" 3
  4475. smpl_t fmat_read_sample(fmat_t *s, uint_t channel, uint_t position);
  4476. # 81 "/usr/local/include/aubio/fmat.h" 3
  4477. void fmat_write_sample(fmat_t *s, smpl_t data, uint_t channel, uint_t position);
  4478. # 92 "/usr/local/include/aubio/fmat.h" 3
  4479. smpl_t * fmat_get_channel(fmat_t *s, uint_t channel);
  4480. # 104 "/usr/local/include/aubio/fmat.h" 3
  4481. void fmat_put_channel(fmat_t *s, smpl_t * data, uint_t channel);
  4482. # 114 "/usr/local/include/aubio/fmat.h" 3
  4483. smpl_t ** fmat_get_data(fmat_t *s);
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490. void fmat_print(fmat_t *s);
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.  
  4498. void fmat_set(fmat_t *s, smpl_t val);
  4499.  
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505. void fmat_zeros(fmat_t *s);
  4506.  
  4507.  
  4508.  
  4509.  
  4510.  
  4511.  
  4512. void fmat_ones(fmat_t *s);
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518.  
  4519. void fmat_rev(fmat_t *s);
  4520. # 161 "/usr/local/include/aubio/fmat.h" 3
  4521. void fmat_weight(fmat_t *s, fmat_t *weight);
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529. void fmat_copy(fmat_t *s, fmat_t *t);
  4530.  
  4531.  
  4532. }
  4533. # 161 "/usr/local/include/aubio/aubio.h" 2 3
  4534. # 1 "/usr/local/include/aubio/musicutils.h" 1 3
  4535. # 29 "/usr/local/include/aubio/musicutils.h" 3
  4536. extern "C" {
  4537. # 46 "/usr/local/include/aubio/musicutils.h" 3
  4538. fvec_t *new_aubio_window (char_t * window_type, uint_t size);
  4539. # 58 "/usr/local/include/aubio/musicutils.h" 3
  4540. smpl_t aubio_unwrap2pi (smpl_t phase);
  4541.  
  4542.  
  4543. smpl_t aubio_bintomidi (smpl_t bin, smpl_t samplerate, smpl_t fftsize);
  4544.  
  4545.  
  4546. smpl_t aubio_miditobin (smpl_t midi, smpl_t samplerate, smpl_t fftsize);
  4547.  
  4548.  
  4549. smpl_t aubio_bintofreq (smpl_t bin, smpl_t samplerate, smpl_t fftsize);
  4550.  
  4551.  
  4552. smpl_t aubio_freqtobin (smpl_t freq, smpl_t samplerate, smpl_t fftsize);
  4553.  
  4554.  
  4555. smpl_t aubio_freqtomidi (smpl_t freq);
  4556.  
  4557.  
  4558. smpl_t aubio_miditofreq (smpl_t midi);
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566. void aubio_cleanup (void);
  4567. # 96 "/usr/local/include/aubio/musicutils.h" 3
  4568. smpl_t aubio_zero_crossing_rate (fvec_t * v);
  4569. # 107 "/usr/local/include/aubio/musicutils.h" 3
  4570. smpl_t aubio_db_spl (fvec_t * v);
  4571. # 117 "/usr/local/include/aubio/musicutils.h" 3
  4572. uint_t aubio_silence_detection (fvec_t * v, smpl_t threshold);
  4573. # 127 "/usr/local/include/aubio/musicutils.h" 3
  4574. smpl_t aubio_level_detection (fvec_t * v, smpl_t threshold);
  4575.  
  4576.  
  4577. }
  4578. # 162 "/usr/local/include/aubio/aubio.h" 2 3
  4579. # 1 "/usr/local/include/aubio/temporal/resampler.h" 1 3
  4580. # 34 "/usr/local/include/aubio/temporal/resampler.h" 3
  4581. extern "C" {
  4582.  
  4583.  
  4584.  
  4585. typedef struct _aubio_resampler_t aubio_resampler_t;
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593. aubio_resampler_t *new_aubio_resampler (smpl_t ratio, uint_t type);
  4594.  
  4595.  
  4596. void del_aubio_resampler (aubio_resampler_t * s);
  4597. # 58 "/usr/local/include/aubio/temporal/resampler.h" 3
  4598. void aubio_resampler_do (aubio_resampler_t * s, fvec_t * input,
  4599. fvec_t * output);
  4600.  
  4601.  
  4602. }
  4603. # 163 "/usr/local/include/aubio/aubio.h" 2 3
  4604. # 1 "/usr/local/include/aubio/temporal/filter.h" 1 3
  4605. # 64 "/usr/local/include/aubio/temporal/filter.h" 3
  4606. extern "C" {
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612. typedef struct _aubio_filter_t aubio_filter_t;
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620. void aubio_filter_do (aubio_filter_t * f, fvec_t * in);
  4621. # 87 "/usr/local/include/aubio/temporal/filter.h" 3
  4622. void aubio_filter_do_outplace (aubio_filter_t * f, fvec_t * in, fvec_t * out);
  4623. # 96 "/usr/local/include/aubio/temporal/filter.h" 3
  4624. void aubio_filter_do_filtfilt (aubio_filter_t * f, fvec_t * in, fvec_t * tmp);
  4625. # 105 "/usr/local/include/aubio/temporal/filter.h" 3
  4626. lvec_t *aubio_filter_get_feedback (aubio_filter_t * f);
  4627. # 114 "/usr/local/include/aubio/temporal/filter.h" 3
  4628. lvec_t *aubio_filter_get_feedforward (aubio_filter_t * f);
  4629. # 123 "/usr/local/include/aubio/temporal/filter.h" 3
  4630. uint_t aubio_filter_get_order (aubio_filter_t * f);
  4631. # 132 "/usr/local/include/aubio/temporal/filter.h" 3
  4632. uint_t aubio_filter_get_samplerate (aubio_filter_t * f);
  4633. # 142 "/usr/local/include/aubio/temporal/filter.h" 3
  4634. uint_t aubio_filter_set_samplerate (aubio_filter_t * f, uint_t samplerate);
  4635.  
  4636.  
  4637.  
  4638.  
  4639.  
  4640.  
  4641. void aubio_filter_do_reset (aubio_filter_t * f);
  4642. # 161 "/usr/local/include/aubio/temporal/filter.h" 3
  4643. aubio_filter_t *new_aubio_filter (uint_t order);
  4644.  
  4645.  
  4646.  
  4647.  
  4648.  
  4649.  
  4650. void del_aubio_filter (aubio_filter_t * f);
  4651.  
  4652.  
  4653. }
  4654. # 164 "/usr/local/include/aubio/aubio.h" 2 3
  4655. # 1 "/usr/local/include/aubio/temporal/biquad.h" 1 3
  4656. # 41 "/usr/local/include/aubio/temporal/biquad.h" 3
  4657. extern "C" {
  4658. # 54 "/usr/local/include/aubio/temporal/biquad.h" 3
  4659. uint_t aubio_filter_set_biquad (aubio_filter_t * f, lsmp_t b0, lsmp_t b1,
  4660. lsmp_t b2, lsmp_t a1, lsmp_t a2);
  4661. # 66 "/usr/local/include/aubio/temporal/biquad.h" 3
  4662. aubio_filter_t *new_aubio_filter_biquad (lsmp_t b0, lsmp_t b1, lsmp_t b2,
  4663. lsmp_t a1, lsmp_t a2);
  4664.  
  4665.  
  4666. }
  4667. # 165 "/usr/local/include/aubio/aubio.h" 2 3
  4668. # 1 "/usr/local/include/aubio/temporal/a_weighting.h" 1 3
  4669. # 58 "/usr/local/include/aubio/temporal/a_weighting.h" 3
  4670. extern "C" {
  4671. # 70 "/usr/local/include/aubio/temporal/a_weighting.h" 3
  4672. aubio_filter_t *new_aubio_filter_a_weighting (uint_t samplerate);
  4673. # 80 "/usr/local/include/aubio/temporal/a_weighting.h" 3
  4674. uint_t aubio_filter_set_a_weighting (aubio_filter_t * f, uint_t samplerate);
  4675.  
  4676.  
  4677. }
  4678. # 166 "/usr/local/include/aubio/aubio.h" 2 3
  4679. # 1 "/usr/local/include/aubio/temporal/c_weighting.h" 1 3
  4680. # 58 "/usr/local/include/aubio/temporal/c_weighting.h" 3
  4681. extern "C" {
  4682. # 70 "/usr/local/include/aubio/temporal/c_weighting.h" 3
  4683. aubio_filter_t *new_aubio_filter_c_weighting (uint_t samplerate);
  4684. # 80 "/usr/local/include/aubio/temporal/c_weighting.h" 3
  4685. uint_t aubio_filter_set_c_weighting (aubio_filter_t * f, uint_t samplerate);
  4686.  
  4687.  
  4688. }
  4689. # 167 "/usr/local/include/aubio/aubio.h" 2 3
  4690. # 1 "/usr/local/include/aubio/spectral/fft.h" 1 3
  4691. # 31 "/usr/local/include/aubio/spectral/fft.h" 3
  4692. extern "C" {
  4693. # 42 "/usr/local/include/aubio/spectral/fft.h" 3
  4694. typedef struct _aubio_fft_t aubio_fft_t;
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701. aubio_fft_t * new_aubio_fft (uint_t size);
  4702.  
  4703.  
  4704.  
  4705.  
  4706.  
  4707. void del_aubio_fft(aubio_fft_t * s);
  4708. # 64 "/usr/local/include/aubio/spectral/fft.h" 3
  4709. void aubio_fft_do (aubio_fft_t *s, fvec_t * input, cvec_t * spectrum);
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717. void aubio_fft_rdo (aubio_fft_t *s, cvec_t * spectrum, fvec_t * output);
  4718. # 81 "/usr/local/include/aubio/spectral/fft.h" 3
  4719. void aubio_fft_do_complex (aubio_fft_t *s, fvec_t * input, fvec_t * compspec);
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727. void aubio_fft_rdo_complex (aubio_fft_t *s, fvec_t * compspec, fvec_t * output);
  4728.  
  4729.  
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735. void aubio_fft_get_spectrum(fvec_t * compspec, cvec_t * spectrum);
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742. void aubio_fft_get_realimag(cvec_t * spectrum, fvec_t * compspec);
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.  
  4750. void aubio_fft_get_phas(fvec_t * compspec, cvec_t * spectrum);
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757. void aubio_fft_get_imag(cvec_t * spectrum, fvec_t * compspec);
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765. void aubio_fft_get_norm(fvec_t * compspec, cvec_t * spectrum);
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772. void aubio_fft_get_real(cvec_t * spectrum, fvec_t * compspec);
  4773.  
  4774.  
  4775. }
  4776. # 168 "/usr/local/include/aubio/aubio.h" 2 3
  4777. # 1 "/usr/local/include/aubio/spectral/phasevoc.h" 1 3
  4778. # 36 "/usr/local/include/aubio/spectral/phasevoc.h" 3
  4779. extern "C" {
  4780.  
  4781.  
  4782.  
  4783. typedef struct _aubio_pvoc_t aubio_pvoc_t;
  4784.  
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  
  4791. aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s);
  4792.  
  4793.  
  4794.  
  4795.  
  4796.  
  4797. void del_aubio_pvoc(aubio_pvoc_t *pv);
  4798. # 68 "/usr/local/include/aubio/spectral/phasevoc.h" 3
  4799. void aubio_pvoc_do(aubio_pvoc_t *pv, fvec_t *in, cvec_t * fftgrain);
  4800. # 81 "/usr/local/include/aubio/spectral/phasevoc.h" 3
  4801. void aubio_pvoc_rdo(aubio_pvoc_t *pv, cvec_t * fftgrain, fvec_t *out);
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.  
  4808. uint_t aubio_pvoc_get_win(aubio_pvoc_t* pv);
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814. uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv);
  4815.  
  4816.  
  4817. }
  4818. # 169 "/usr/local/include/aubio/aubio.h" 2 3
  4819. # 1 "/usr/local/include/aubio/spectral/filterbank.h" 1 3
  4820. # 34 "/usr/local/include/aubio/spectral/filterbank.h" 3
  4821. extern "C"
  4822. {
  4823.  
  4824.  
  4825.  
  4826. typedef struct _aubio_filterbank_t aubio_filterbank_t;
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834. aubio_filterbank_t *new_aubio_filterbank (uint_t n_filters, uint_t win_s);
  4835.  
  4836.  
  4837.  
  4838.  
  4839.  
  4840.  
  4841. void del_aubio_filterbank (aubio_filterbank_t * fb);
  4842. # 63 "/usr/local/include/aubio/spectral/filterbank.h" 3
  4843. void aubio_filterbank_do (aubio_filterbank_t * fb, cvec_t * in, fvec_t * out);
  4844.  
  4845.  
  4846.  
  4847.  
  4848.  
  4849.  
  4850. fmat_t *aubio_filterbank_get_coeffs (aubio_filterbank_t * f);
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858. uint_t aubio_filterbank_set_coeffs (aubio_filterbank_t * f, fmat_t * filters);
  4859.  
  4860.  
  4861. }
  4862. # 170 "/usr/local/include/aubio/aubio.h" 2 3
  4863. # 1 "/usr/local/include/aubio/spectral/filterbank_mel.h" 1 3
  4864. # 38 "/usr/local/include/aubio/spectral/filterbank_mel.h" 3
  4865. extern "C"
  4866. {
  4867. # 52 "/usr/local/include/aubio/spectral/filterbank_mel.h" 3
  4868. uint_t aubio_filterbank_set_triangle_bands (aubio_filterbank_t * fb,
  4869. fvec_t * freqs, smpl_t samplerate);
  4870. # 63 "/usr/local/include/aubio/spectral/filterbank_mel.h" 3
  4871. uint_t aubio_filterbank_set_mel_coeffs_slaney (aubio_filterbank_t * fb,
  4872. smpl_t samplerate);
  4873.  
  4874.  
  4875. }
  4876. # 171 "/usr/local/include/aubio/aubio.h" 2 3
  4877. # 1 "/usr/local/include/aubio/spectral/mfcc.h" 1 3
  4878. # 32 "/usr/local/include/aubio/spectral/mfcc.h" 3
  4879. extern "C"
  4880. {
  4881.  
  4882.  
  4883.  
  4884. typedef struct _aubio_mfcc_t aubio_mfcc_t;
  4885. # 47 "/usr/local/include/aubio/spectral/mfcc.h" 3
  4886. aubio_mfcc_t *new_aubio_mfcc (uint_t buf_size,
  4887. uint_t n_filters, uint_t n_coeffs, uint_t samplerate);
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894. void del_aubio_mfcc (aubio_mfcc_t * mf);
  4895. # 64 "/usr/local/include/aubio/spectral/mfcc.h" 3
  4896. void aubio_mfcc_do (aubio_mfcc_t * mf, cvec_t * in, fvec_t * out);
  4897.  
  4898.  
  4899. }
  4900. # 172 "/usr/local/include/aubio/aubio.h" 2 3
  4901. # 1 "/usr/local/include/aubio/spectral/specdesc.h" 1 3
  4902. # 148 "/usr/local/include/aubio/spectral/specdesc.h" 3
  4903. extern "C" {
  4904.  
  4905.  
  4906.  
  4907. typedef struct _aubio_specdesc_t aubio_specdesc_t;
  4908. # 163 "/usr/local/include/aubio/spectral/specdesc.h" 3
  4909. void aubio_specdesc_do (aubio_specdesc_t * o, cvec_t * fftgrain,
  4910. fvec_t * desc);
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918. aubio_specdesc_t *new_aubio_specdesc (char_t * method, uint_t buf_size);
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925. void del_aubio_specdesc (aubio_specdesc_t * o);
  4926.  
  4927.  
  4928. }
  4929. # 173 "/usr/local/include/aubio/aubio.h" 2 3
  4930. # 1 "/usr/local/include/aubio/pitch/pitch.h" 1 3
  4931. # 25 "/usr/local/include/aubio/pitch/pitch.h" 3
  4932. extern "C" {
  4933. # 38 "/usr/local/include/aubio/pitch/pitch.h" 3
  4934. typedef struct _aubio_pitch_t aubio_pitch_t;
  4935. # 47 "/usr/local/include/aubio/pitch/pitch.h" 3
  4936. void aubio_pitch_do (aubio_pitch_t * o, fvec_t * in, fvec_t * out);
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944. uint_t aubio_pitch_set_tolerance (aubio_pitch_t * o, smpl_t tol);
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951. void del_aubio_pitch (aubio_pitch_t * o);
  4952. # 72 "/usr/local/include/aubio/pitch/pitch.h" 3
  4953. aubio_pitch_t *new_aubio_pitch (char_t * method,
  4954. uint_t buf_size, uint_t hop_size, uint_t samplerate);
  4955.  
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962. uint_t aubio_pitch_set_unit (aubio_pitch_t * o, char_t * mode);
  4963.  
  4964.  
  4965. }
  4966. # 174 "/usr/local/include/aubio/aubio.h" 2 3
  4967. # 1 "/usr/local/include/aubio/onset/onset.h" 1 3
  4968. # 41 "/usr/local/include/aubio/onset/onset.h" 3
  4969. extern "C" {
  4970.  
  4971.  
  4972.  
  4973. typedef struct _aubio_onset_t aubio_onset_t;
  4974. # 55 "/usr/local/include/aubio/onset/onset.h" 3
  4975. aubio_onset_t * new_aubio_onset (char_t * method,
  4976. uint_t buf_size, uint_t hop_size, uint_t samplerate);
  4977. # 65 "/usr/local/include/aubio/onset/onset.h" 3
  4978. void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset);
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986. uint_t aubio_onset_set_silence(aubio_onset_t * o, smpl_t silence);
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994. uint_t aubio_onset_set_threshold(aubio_onset_t * o, smpl_t threshold);
  4995. # 90 "/usr/local/include/aubio/onset/onset.h" 3
  4996. uint_t aubio_onset_set_minioi(aubio_onset_t * o, uint_t minioi);
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003. void del_aubio_onset(aubio_onset_t * o);
  5004.  
  5005.  
  5006. }
  5007. # 175 "/usr/local/include/aubio/aubio.h" 2 3
  5008. # 1 "/usr/local/include/aubio/onset/peakpicker.h" 1 3
  5009. # 31 "/usr/local/include/aubio/onset/peakpicker.h" 3
  5010. extern "C" {
  5011.  
  5012.  
  5013.  
  5014. typedef struct _aubio_peakpicker_t aubio_peakpicker_t;
  5015.  
  5016.  
  5017. aubio_peakpicker_t * new_aubio_peakpicker(void);
  5018.  
  5019. void aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * in, fvec_t * out);
  5020.  
  5021. void del_aubio_peakpicker(aubio_peakpicker_t * p);
  5022.  
  5023.  
  5024. fvec_t *aubio_peakpicker_get_thresholded_input (aubio_peakpicker_t * p);
  5025.  
  5026. uint_t aubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold);
  5027.  
  5028. smpl_t aubio_peakpicker_get_threshold(aubio_peakpicker_t * p);
  5029.  
  5030.  
  5031. }
  5032. # 176 "/usr/local/include/aubio/aubio.h" 2 3
  5033. # 1 "/usr/local/include/aubio/tempo/tempo.h" 1 3
  5034. # 34 "/usr/local/include/aubio/tempo/tempo.h" 3
  5035. extern "C" {
  5036.  
  5037.  
  5038.  
  5039. typedef struct _aubio_tempo_t aubio_tempo_t;
  5040.  
  5041.  
  5042. aubio_tempo_t * new_aubio_tempo (char_t * method,
  5043. uint_t buf_size, uint_t hop_size, uint_t samplerate);
  5044.  
  5045.  
  5046. void aubio_tempo_do (aubio_tempo_t *o, fvec_t * input, fvec_t * tempo);
  5047.  
  5048.  
  5049. uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence);
  5050.  
  5051.  
  5052. uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold);
  5053. # 60 "/usr/local/include/aubio/tempo/tempo.h" 3
  5054. smpl_t aubio_tempo_get_bpm(aubio_tempo_t * bt);
  5055. # 70 "/usr/local/include/aubio/tempo/tempo.h" 3
  5056. smpl_t aubio_tempo_get_confidence(aubio_tempo_t * bt);
  5057.  
  5058.  
  5059. void del_aubio_tempo(aubio_tempo_t * o);
  5060.  
  5061.  
  5062. }
  5063. # 177 "/usr/local/include/aubio/aubio.h" 2 3
  5064. # 193 "/usr/local/include/aubio/aubio.h" 3
  5065. }
  5066. # 14 "grover.h" 2
  5067. # 1 "/usr/include/aubio/sndfileio.h" 1 3 4
  5068. # 27 "/usr/include/aubio/sndfileio.h" 3 4
  5069. extern "C" {
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075. typedef struct _aubio_sndfile_t aubio_sndfile_t;
  5076.  
  5077.  
  5078.  
  5079. aubio_sndfile_t * new_aubio_sndfile_ro (const char * inputfile);
  5080.  
  5081.  
  5082.  
  5083. aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const char * outputname);
  5084.  
  5085.  
  5086.  
  5087. int aubio_sndfile_open_wo (aubio_sndfile_t * file, const char * outputname);
  5088.  
  5089.  
  5090.  
  5091. int aubio_sndfile_read(aubio_sndfile_t * file, int frames, fvec_t * read);
  5092.  
  5093.  
  5094.  
  5095. int aubio_sndfile_write(aubio_sndfile_t * file, int frames, fvec_t * write);
  5096.  
  5097.  
  5098.  
  5099. int del_aubio_sndfile(aubio_sndfile_t * file);
  5100.  
  5101.  
  5102.  
  5103. void aubio_sndfile_info(aubio_sndfile_t * file);
  5104.  
  5105.  
  5106.  
  5107. uint_t aubio_sndfile_channels(aubio_sndfile_t * file);
  5108. uint_t aubio_sndfile_samplerate(aubio_sndfile_t * file);
  5109.  
  5110.  
  5111. }
  5112. # 15 "grover.h" 2
  5113. # 1 "/usr/include/aubio/beattracking.h" 1 3 4
  5114. # 40 "/usr/include/aubio/beattracking.h" 3 4
  5115. extern "C" {
  5116.  
  5117.  
  5118.  
  5119. typedef struct _aubio_beattracking_t aubio_beattracking_t;
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127. aubio_beattracking_t * new_aubio_beattracking(uint_t winlen, uint_t channels);
  5128. # 61 "/usr/include/aubio/beattracking.h" 3 4
  5129. void aubio_beattracking_do(aubio_beattracking_t * bt, fvec_t * dfframes, fvec_t * out);
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135. void del_aubio_beattracking(aubio_beattracking_t * p);
  5136.  
  5137.  
  5138. }
  5139. # 16 "grover.h" 2
  5140.  
  5141. struct _aubio_sndfile_t {
  5142. SNDFILE *handle;
  5143. int samplerate;
  5144. int channels;
  5145. int format;
  5146. float *tmpdata;
  5147. int size;
  5148. };
  5149.  
  5150. aubio_sndfile_t * new_aubio_sndfile_ro(const char* outputname);
  5151. int aubio_sndfile_read_mono(aubio_sndfile_t * f, int frames, fvec_t * read);
  5152. int aubio_process(smpl_t ** input, smpl_t ** output, int nframes);
  5153. # 5 "grover.c" 2
  5154.  
  5155. fvec_t * tempo_out = __null;
  5156. int overlap_size = 256;
  5157. fvec_t * woodblock = __null;
  5158. fvec_t * obuf = __null;
  5159. fvec_t * ibuf = __null;
  5160. unsigned int pos = 0;
  5161. int usejack = 0;
  5162. aubio_tempo_t * bt = __null;
  5163. smpl_t istactus = 0;
  5164. smpl_t isonset = 0;
  5165.  
  5166. int main(int argc, char **argv) {
  5167. tempo_out = new_fvec(2);
  5168. woodblock = new_fvec(overlap_size);
  5169. obuf = new_fvec(overlap_size);
  5170. ibuf = new_fvec(overlap_size);
  5171. aubio_sndfile_t * media_file = new_aubio_sndfile_ro("everyday.wav");
  5172. printf("%d\n", media_file->samplerate);
  5173. printf("%d\n", media_file->size);
  5174.  
  5175. int samplerate = media_file->samplerate;
  5176.  
  5177.  
  5178.  
  5179. int frames_read = 0;
  5180. printf("reading file.. ");
  5181. while (overlap_size == aubio_sndfile_read_mono(media_file, overlap_size, woodblock)) {
  5182. frames_read += overlap_size;
  5183. }
  5184. printf("done reading file!\n");
  5185.  
  5186. printf("%d", frames_read);
  5187. printf("\n");
  5188. return 0;
  5189. }
  5190.  
  5191. int aubio_sndfile_read_mono (aubio_sndfile_t * f, int frames, fvec_t * read) {
  5192. sf_count_t read_frames;
  5193. int i, j, channels = f->channels;
  5194. int nsamples = frames * channels;
  5195. int aread;
  5196. smpl_t *pread;
  5197.  
  5198.  
  5199. if (nsamples >= f->size) {
  5200. fprintf(stderr, "Maximum aubio_sndfile_read buffer size exceeded.");
  5201. return -1;
  5202.  
  5203.  
  5204.  
  5205.  
  5206. }
  5207.  
  5208.  
  5209.  
  5210. read_frames = sf_read_float (f->handle, f->tmpdata, nsamples);
  5211.  
  5212. aread = (int) floor (read_frames / (float) channels);
  5213.  
  5214.  
  5215. pread = (smpl_t *) fvec_get_data (read);
  5216. for (i = 0; i < channels; i++) {
  5217. for (j = 0; j < aread; j++) {
  5218. pread[j] += (smpl_t) f->tmpdata[channels * j + i];
  5219. }
  5220. }
  5221. for (j = 0; j < aread; j++) {
  5222. pread[j] /= (smpl_t)channels;
  5223. }
  5224.  
  5225. return aread;
  5226. }
  5227.  
  5228. aubio_sndfile_t * new_aubio_sndfile_ro(const char* outputname) {
  5229. aubio_sndfile_t * f = (aubio_sndfile_t*)malloc(sizeof(aubio_sndfile_t));
  5230. SF_INFO sfinfo;
  5231. memset(&sfinfo,0,sizeof (sfinfo));
  5232.  
  5233. f->handle = sf_open (outputname, SFM_READ, &sfinfo);
  5234.  
  5235. if (f->handle == __null) {
  5236. fprintf(stderr, "Failed opening %s: %s\n", outputname, sf_strerror (__null));
  5237. return __null;
  5238. }
  5239.  
  5240. if (sfinfo.channels > 6) {
  5241. fprintf(stderr, "Not able to process more than %d channels\n", 6);
  5242. return __null;
  5243. }
  5244.  
  5245. f->size = 4096*sfinfo.channels;
  5246. f->tmpdata = (float*)malloc((f->size)*sizeof(float));
  5247.  
  5248. f->samplerate = sfinfo.samplerate;
  5249. f->channels = sfinfo.channels;
  5250. f->format = sfinfo.format;
  5251.  
  5252. return f;
  5253. }
  5254.  
  5255. int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
  5256. unsigned int j;
  5257. for (j=0;j<(unsigned)nframes;j++) {
  5258. if(usejack) {
  5259.  
  5260. fvec_write_sample(ibuf, input[0][j], pos);
  5261.  
  5262. output[0][j] = fvec_read_sample(obuf, pos);
  5263. }
  5264.  
  5265. if (pos == overlap_size-1) {
  5266.  
  5267. aubio_tempo_do (bt,ibuf,tempo_out);
  5268. istactus = fvec_read_sample (tempo_out, 0);
  5269. isonset = fvec_read_sample (tempo_out, 1);
  5270. if (istactus > 0.) {
  5271.  
  5272. } else {
  5273.  
  5274. }
  5275.  
  5276. pos = -1;
  5277. }
  5278. pos++;
  5279. }
  5280. return 1;
  5281. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement