Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 698069 Details for
Bug 911809
gcc 4.8.0 creates incorrect code at optimization level O2 and higher
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
loop.c test case
loop.c (text/x-csrc), 130.54 KB, created by
Orion Poplawski
on 2013-02-16 03:30:54 UTC
(
hide
)
Description:
loop.c test case
Filename:
MIME Type:
Creator:
Orion Poplawski
Created:
2013-02-16 03:30:54 UTC
Size:
130.54 KB
patch
obsolete
>typedef long unsigned int size_t; > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > > >typedef long int __fsword_t; > >typedef long int __ssize_t; > > >typedef long int __syscall_slong_t; > >typedef unsigned long int __syscall_ulong_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > >typedef struct _IO_FILE __FILE; > > > > >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; >typedef __builtin_va_list __gnuc_va_list; >struct _IO_jump_t; struct _IO_FILE; >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; > __off64_t _offset; > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); > > > > >typedef __gnuc_va_list va_list; >typedef __off_t off_t; >typedef __ssize_t ssize_t; > > > > > > > >typedef _G_fpos_t fpos_t; > > > > > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); > >extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int renameat (int __oldfd, const char *__old, int __newfd, > const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern char *tempnam (const char *__dir, const char *__pfx) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > >extern int fflush_unlocked (FILE *__stream); > > > > > > >extern FILE *fopen (const char *__restrict __filename, > const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *freopen (const char *__restrict __filename, > const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > >extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > const char *__restrict __format, ...); > > > > >extern int printf (const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > >extern int vdprintf (int __fd, const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (const char *__restrict __s, > const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") > > __attribute__ ((__warn_unused_result__)); >extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") > __attribute__ ((__warn_unused_result__)); >extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) > > ; > > > > > > > > >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); > > >extern int vsscanf (const char *__restrict __s, > const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") > > > > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") > > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); >extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); >extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)) __attribute__ ((__deprecated__)); > > >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fputs (const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, const fpos_t *__pos); > > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (const char *__s); > > > > > > >extern int sys_nerr; >extern const char *const sys_errlist[]; > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern FILE *popen (const char *__command, const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} > > >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, const char *__restrict __format, > ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > const char *__restrict __format, ...); >extern int __printf_chk (int __flag, const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, const char *__restrict __format, > __gnuc_va_list __ap); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >printf (const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vprintf (const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vfprintf (FILE *__restrict __stream, > const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} > > >extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt, > ...) __attribute__ ((__format__ (__printf__, 3, 4))); >extern int __vdprintf_chk (int __fd, int __flag, > const char *__restrict __fmt, __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 3, 0))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >dprintf (int __fd, const char *__restrict __fmt, ...) >{ > return __dprintf_chk (__fd, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); >} >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_warn (char *__str) __asm__ ("" "gets") > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >gets (char *__str) >{ > if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) > return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); > return __gets_warn (__str); >} > > >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") > > __attribute__ ((__warn_unused_result__)); >extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") > > > __attribute__ ((__warn_unused_result__)); >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") > > > __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} > > > > > > >typedef int wchar_t; > > > > > > > > > > > > > > >static __inline unsigned int >__bswap_32 (unsigned int __bsx) >{ > return __builtin_bswap32 (__bsx); >} >static __inline __uint64_t >__bswap_64 (__uint64_t __bsx) >{ > return __builtin_bswap64 (__bsx); >} > >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern long double strtold (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > >extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; >typedef __pid_t pid_t; > > > > > >typedef __id_t id_t; >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; > > >typedef __clock_t clock_t; > > > > > >typedef __time_t time_t; > > > >typedef __clockid_t clockid_t; >typedef __timer_t timer_t; > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); > > >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; > > > >typedef __sigset_t sigset_t; > > > > > >struct timespec > { > __time_t tv_sec; > __syscall_slong_t tv_nsec; > }; > >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; > >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > > > >extern long int __fdelt_chk (long int __d); >extern long int __fdelt_warn (long int __d) > __attribute__((__warning__ ("bit outside of fd_set selected"))); > > > > > > > >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned long long int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} > > > > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; >typedef unsigned long int pthread_t; > > >union pthread_attr_t >{ > char __size[56]; > long int __align; >}; > >typedef union pthread_attr_t pthread_attr_t; > > > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __shared; > unsigned long int __pad1; > unsigned long int __pad2; > > > unsigned int __flags; > > } __data; > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; > > > > > > > > > >extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > >extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > > > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (const char *__name, const char *__value, int __replace) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); >extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int system (const char *__command) __attribute__ ((__warn_unused_result__)); > >extern char *realpath (const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (const void *, const void *); > > > >extern void *bsearch (const void *__key, const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); >extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > >extern size_t wcstombs (char *__restrict __s, > const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int getsubopt (char **__restrict __optionp, > char *const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern __inline double >__attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} > > > > >extern char *__realpath_chk (const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__warn_unused_result__)); >extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__warn_unused_result__)) > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > { > > > > > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > } > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > } > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} > > > > > > > > > > > > > > > > > > > > > > > > >extern void *memcpy (void *__restrict __dest, const void *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, const void *__src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern void *memchr (const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > >typedef struct __locale_struct >{ > > struct __locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; > > >extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > > > > > >extern char *strdup (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > >extern char *strchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern char *strrchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (const char *__s, const char *__reject) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *strpbrk (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *strstr (const char *__haystack, const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > > >extern size_t strlen (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); > >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *index (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern char *rindex (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >extern int strcasecmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *strsep (char **__restrict __stringp, > const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *__rawmemchr (const void *__s, int __c); >extern __inline size_t __strcspn_c1 (const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} >extern __inline size_t __strspn_c1 (const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} >extern __inline char *__strpbrk_c2 (const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} >extern char *__strsep_g (char **__stringp, const char *__delim); >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} >extern char *__strdup (const char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); >extern char *__strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); > > > > >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))) > ; >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len) >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0 > && (!__builtin_constant_p (__ch) || __ch != 0)) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len) >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > >extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); >extern char *__stpncpy_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__ , __leaf__)) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > > > > > > > > > > > >struct flock > { > short int l_type; > short int l_whence; > > __off_t l_start; > __off_t l_len; > > > > > __pid_t l_pid; > }; > > >struct stat > { > __dev_t st_dev; > > > > > __ino_t st_ino; > > > > > > > > __nlink_t st_nlink; > __mode_t st_mode; > > __uid_t st_uid; > __gid_t st_gid; > > int __pad0; > > __dev_t st_rdev; > > > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; > __syscall_slong_t __unused[3]; > }; >extern int fcntl (int __fd, int __cmd, ...); >extern int open (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); >extern int openat (int __fd, const char *__file, int __oflag, ...) > __attribute__ ((__nonnull__ (2))); >extern int creat (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1))); >extern int lockf (int __fd, int __cmd, off_t __len); >extern int posix_fadvise (int __fd, off_t __offset, off_t __len, > int __advise) __attribute__ ((__nothrow__ , __leaf__)); >extern int posix_fallocate (int __fd, off_t __offset, off_t __len); >extern int __open_2 (const char *__path, int __oflag) __attribute__ ((__nonnull__ (1))); >extern int __open_alias (const char *__path, int __oflag, ...) __asm__ ("" "open") > __attribute__ ((__nonnull__ (1))); > > > > > > >extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more"))) > ; >extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT in second argument needs 3 arguments"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >open (const char *__path, int __oflag, ...) >{ > if (__builtin_va_arg_pack_len () > 1) > __open_too_many_args (); > > if (__builtin_constant_p (__oflag)) > { > if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) > { > __open_missing_mode (); > return __open_2 (__path, __oflag); > } > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); > } > > if (__builtin_va_arg_pack_len () < 1) > return __open_2 (__path, __oflag); > > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); >} >extern int __openat_2 (int __fd, const char *__path, int __oflag) > __attribute__ ((__nonnull__ (2))); >extern int __openat_alias (int __fd, const char *__path, int __oflag, ...) __asm__ ("" "openat") > > __attribute__ ((__nonnull__ (2))); >extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more"))) > ; >extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT in third argument needs 4 arguments"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >openat (int __fd, const char *__path, int __oflag, ...) >{ > if (__builtin_va_arg_pack_len () > 1) > __openat_too_many_args (); > > if (__builtin_constant_p (__oflag)) > { > if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) > { > __openat_missing_mode (); > return __openat_2 (__fd, __path, __oflag); > } > return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); > } > > if (__builtin_va_arg_pack_len () < 1) > return __openat_2 (__fd, __path, __oflag); > > return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); >} > > > > > > >extern int flock (int __fd, int __operation) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int stat (const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); >extern int fstatat (int __fd, const char *__restrict __file, > struct stat *__restrict __buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int lstat (const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int chmod (const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int fchmodat (int __fd, const char *__file, __mode_t __mode, > int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); >extern int mkdir (const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkdirat (int __fd, const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > >extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknodat (int __fd, const char *__path, __mode_t __mode, > __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int mkfifo (const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int utimensat (int __fd, const char *__path, > const struct timespec __times[2], > int __flags) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, const char *__filename, > struct stat *__stat_buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); >extern int __xmknod (int __ver, const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, const char *__path, > __mode_t __mode, __dev_t *__dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) stat (const char *__path, struct stat *__statbuf) >{ > return __xstat (1, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) lstat (const char *__path, struct stat *__statbuf) >{ > return __lxstat (1, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (1, __fd, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) > >{ > return __fxstatat (1, __fd, __filename, __statbuf, __flag); >} > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) mknod (const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (0, __path, __mode, &__dev); >} > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) > >{ > return __xmknodat (0, __fd, __path, __mode, &__dev); >} > > >typedef void VOID; >typedef void *VOIDP; >typedef char *_fcd; >typedef char char8; >typedef unsigned char uchar8; >typedef char int8; >typedef unsigned char uint8; >typedef short int int16; >typedef unsigned short int uint16; >typedef int int32; >typedef unsigned int uint32; >typedef int intn; >typedef unsigned int uintn; >typedef int intf; >typedef float float32; >typedef double float64; >typedef long hdf_pint_t; > > >typedef struct > { > uint16 tag; > uint16 ref; > } >DFdi; > > > >typedef enum >{ > AN_UNDEF = -1, > AN_DATA_LABEL = 0, > AN_DATA_DESC, > AN_FILE_LABEL, > AN_FILE_DESC >} ann_type; > > >typedef struct hdf_ntinfo_t > { > char type_name[9]; > char byte_order[13]; > } >hdf_ntinfo_t; > > >typedef int32 HFILEID; > >typedef intn (*hdf_termfunc_t)(void); > > > > > > >typedef struct bitrec_t > { > int32 acc_id; > int32 bit_id; > > > int32 block_offset, > max_offset, > byte_offset; > > intn count, > buf_read; > uint8 access; > uint8 mode; > uint8 bits; > uint8 *bytep; > uint8 *bytez; > uint8 *bytea; > } >bitrec_t; > > >extern > >const uint8 maskc[9] > > > > > ; > > >extern > >const uint32 maskl[33] > ; >typedef enum > { > COMP_MODEL_STDIO = 0 > } >comp_model_t; > > >typedef enum > { > COMP_CODE_NONE = 0, > COMP_CODE_RLE, > COMP_CODE_NBIT, > COMP_CODE_SKPHUFF, > COMP_CODE_DEFLATE, > COMP_CODE_SZIP, > COMP_CODE_INVALID, > COMP_CODE_JPEG, > COMP_CODE_IMCOMP = 12 > > > } >comp_coder_t; >extern uint16 compress_map[]; >typedef union tag_model_info > { > struct > { > int32 nt; > intn ndim; > int32 *dims; > } > dim; > } >model_info; > >typedef union tag_comp_info > { > struct > { > > intn quality; > > intn force_baseline; > > > > > } > jpeg; > struct > { > > int32 nt; > intn sign_ext; > intn fill_one; > intn start_bit; > intn bit_len; > } > nbit; > struct > { > > intn skp_size; > } > skphuff; > struct > { > > intn level; > } > deflate; > struct > { > int32 options_mask; > int32 pixels_per_block; > int32 pixels_per_scanline; > int32 bits_per_pixel; > int32 pixels; > } > szip; > > } >comp_info; >extern > > > > > > >int32 error_top > > > >; >typedef enum > { > DFE_NONE = 0, > > DFE_FNF, > DFE_DENIED, > DFE_ALROPEN, > DFE_TOOMANY, > DFE_BADNAME, > DFE_BADACC, > DFE_BADOPEN, > DFE_NOTOPEN, > DFE_CANTCLOSE, > DFE_READERROR, > DFE_WRITEERROR, > DFE_SEEKERROR, > DFE_RDONLY, > DFE_BADSEEK, > > > DFE_PUTELEM, > DFE_GETELEM, > DFE_CANTLINK, > DFE_CANTSYNC, > > > DFE_BADGROUP, > DFE_GROUPSETUP, > DFE_PUTGROUP, > DFE_GROUPWRITE, > > > DFE_DFNULL, > DFE_ILLTYPE, > DFE_BADDDLIST, > DFE_NOTDFFILE, > DFE_SEEDTWICE, > DFE_NOSUCHTAG, > DFE_NOFREEDD, > DFE_BADTAG, > DFE_BADREF, > DFE_NOMATCH, > DFE_NOTINSET, > DFE_BADOFFSET, > DFE_CORRUPT, > DFE_NOREF, > DFE_DUPDD, > DFE_CANTMOD, > DFE_DIFFFILES, > DFE_BADAID, > DFE_OPENAID, > DFE_CANTFLUSH, > DFE_CANTUPDATE, > DFE_CANTHASH, > DFE_CANTDELDD, > DFE_CANTDELHASH, > DFE_CANTACCESS, > DFE_CANTENDACCESS, > DFE_TABLEFULL, > DFE_NOTINTABLE, > > > DFE_UNSUPPORTED, > DFE_NOSPACE, > DFE_BADCALL, > DFE_BADPTR, > DFE_BADLEN, > DFE_NOTENOUGH, > DFE_NOVALS, > DFE_ARGS, > DFE_INTERNAL, > DFE_NORESET, > DFE_GENAPP, > > > DFE_UNINIT, > DFE_CANTINIT, > DFE_CANTSHUTDOWN, > > > DFE_BADDIM, > DFE_BADFP, > DFE_BADDATATYPE, > DFE_BADMCTYPE, > DFE_BADNUMTYPE, > DFE_BADORDER, > DFE_RANGE, > DFE_BADCONV, > DFE_BADTYPE, > DFE_NOVGREP, > > > DFE_BADSCHEME, > DFE_BADMODEL, > DFE_BADCODER, > DFE_MODEL, > DFE_CODER, > DFE_CINIT, > DFE_CDECODE, > DFE_CENCODE, > DFE_CTERM, > DFE_CSEEK, > DFE_MINIT, > DFE_COMPINFO, > DFE_CANTCOMP, > DFE_CANTDECOMP, > DFE_NOENCODER, > DFE_NOSZLIB, > DFE_COMPVERSION, > DFE_READCOMP, > DFE_NODIM, > DFE_BADRIG, > DFE_RINOTFOUND, > DFE_BADATTR, > DFE_LUTNOTFOUND, > DFE_GRNOTFOUND, > > > DFE_BADTABLE, > DFE_BADSDG, > DFE_BADNDG, > > > DFE_VGSIZE, > DFE_VTAB, > DFE_CANTADDELEM, > DFE_BADVGNAME, > DFE_BADVGCLASS, > > > DFE_BADFIELDS, > DFE_NOVS, > DFE_SYMSIZE, > DFE_BADATTACH, > DFE_BADVSNAME, > DFE_BADVSCLASS, > DFE_VSWRITE, > DFE_VSREAD, > DFE_BADVH, > DFE_FIELDSSET, > > DFE_VSCANTCREATE, > DFE_VGCANTCREATE, > > > DFE_CANTATTACH, > DFE_CANTDETACH, > > > DFE_BITREAD, > DFE_BITWRITE, > DFE_BITSEEK, > > > DFE_TBBTINS, > > > DFE_BVNEW, > DFE_BVSET, > DFE_BVGET, > DFE_BVFIND > } >hdf_err_code_t; > extern int32 Hopen > (const char *path, intn acc_mode, int16 ndds); > > extern intn Hclose > (int32 file_id); > > extern int32 Hstartread > (int32 file_id, uint16 tag, uint16 ref); > > extern intn Hnextread > (int32 access_id, uint16 tag, uint16 ref, intn origin); > > extern intn Hexist > (int32 file_id, uint16 search_tag, uint16 search_ref); > > extern intn Hinquire > (int32 access_id, int32 * pfile_id, uint16 * ptag, > uint16 * pref, int32 * plength, int32 * poffset, > int32 * pposn, int16 * paccess, int16 * pspecial); > > extern int32 Hstartwrite > (int32 file_id, uint16 tag, uint16 ref, int32 length); > > extern int32 Hstartaccess > (int32 file_id, uint16 tag, uint16 ref, uint32 flags); > > extern intn Hsetlength > (int32 file_id, int32 length); > > extern intn Happendable > (int32 aid); > > extern intn HPisappendable > (int32 aid); > > extern intn HPregister_term_func > (hdf_termfunc_t term_func); > > extern intn Hseek > (int32 access_id, int32 offset, intn origin); > > extern int32 Htell > (int32 access_id); > > extern int32 Hread > (int32 access_id, int32 length, void * data); > > extern int32 Hwrite > (int32 access_id, int32 length, const void * data); > > extern int32 Htrunc > (int32 access_id, int32 trunc_len); > > extern intn Hendaccess > (int32 access_id); > > extern intn HDgetc > (int32 access_id); > > extern intn HDputc > (uint8 c, int32 access_id); > > extern int32 Hgetelement > (int32 file_id, uint16 tag, uint16 ref, uint8 * data); > > extern int32 Hputelement > (int32 file_id, uint16 tag, uint16 ref, const uint8 * data, int32 length); > > extern int32 Hlength > (int32 file_id, uint16 tag, uint16 ref); > > extern int32 Hoffset > (int32 file_id, uint16 tag, uint16 ref); > > extern intn Hsync > (int32 file_id); > > extern intn Hcache > (int32 file_id, intn cache_on); > > extern intn Hgetlibversion > (uint32 * majorv, uint32 * minorv, > uint32 * releasev, char * string); > > extern intn Hgetfileversion > (int32 file_id, uint32 * majorv, uint32 * minorv, > uint32 * release, char * string); > > extern intn Hsetaccesstype(int32 access_id, uintn accesstype); > > extern uint16 HDmake_special_tag > (uint16 tag); > > extern intn HDis_special_tag > (uint16 tag); > > extern uint16 HDbase_tag > (uint16 tag); > > extern int HDerr > (int32 file_id); > > extern intn HDvalidfid > (int32 file_id); > > extern const char *HDgettagdesc > (uint16 tag); > > extern char *HDgettagsname > (uint16 tag); > > extern intn HDgettagnum > (const char *tag_name); > > extern char *HDgetNTdesc > (int32 nt); > > extern const char *HDfidtoname > (int32 fid); > > extern intn Hgetntinfo > (int32 numbertype, hdf_ntinfo_t *nt_info); > > extern intn Hishdf > (const char * filename); > > extern intn Hfidinquire > (int32 file_id, char ** fname, intn * acc_mode, > intn * attach); > > extern intn Hshutdown(void); > > extern void HPend(void); > > extern intn HDdont_atexit(void); >extern intn Hdupdd(int32 file_id, > uint16 tag, > uint16 ref, > uint16 old_tag, > uint16 old_ref >); >extern int32 Hnumber(int32 file_id, > uint16 tag >); >extern uint16 Hnewref(int32 file_id >); >extern uint16 Htagnewref(int32 file_id, > uint16 tag >); >extern intn Hfind(int32 file_id, > uint16 search_tag, > uint16 search_ref, > uint16 *find_tag, > > uint16 *find_ref, > > int32 *find_offset, > int32 *find_length, > intn direction > > >); >extern intn >HDcheck_tagref(int32 file_id, > uint16 tag, > uint16 ref ); >extern intn >HDreuse_tagref(int32 file_id, > uint16 tag, > uint16 ref ); >extern intn Hdeldd(int32 file_id, > uint16 tag, > uint16 ref >); > > > > > > extern void * HDmemfill > (void * dest, const void * src, uint32 item_size, uint32 num_items); > > extern char *HIstrncpy > (char * dest, const char * source, intn len); > > extern int32 HDspaceleft > (void); > extern intn HDc2fstr > (char * str, intn len); > > extern char *HDf2cstring > (_fcd fdesc, intn len); > > extern intn HDflush > (int32 file_id); > > extern intn HDpackFstring > (char * src, char * dest, intn len); > > > > > extern int32 HLcreate > (int32 file_id, uint16 tag, uint16 ref, int32 block_length, > int32 number_blocks); > > extern intn HLconvert > (int32 aid, int32 block_length, int32 number_blocks); > > extern int HDinqblockinfo > (int32 aid, int32 *length, int32 *first_length, int32 *block_length, > int32 *number_blocks); > > extern intn HLsetblockinfo > (int32 aid, int32 block_size, int32 num_blocks); > > extern intn HLgetblockinfo > (int32 aid, int32* block_size, int32* num_blocks); > > extern intn HLgetdatainfo > (int32 file_id, uint8 *buf, uintn start_block, > uintn info_count, int32 *offsetarray, int32 *lengtharray); > > > > > > extern int32 HXcreate > (int32 file_id, uint16 tag, uint16 ref, const char * extern_file_name, > int32 offset, int32 start_len); > > extern intn HXsetcreatedir > (const char *dir); > > extern intn HXsetdir > (const char *dir); > > > > > extern int32 HCcreate > (int32 file_id, uint16 tag, uint16 ref, > comp_model_t model_type, model_info * m_info, > comp_coder_t coder_type, comp_info * c_info); > > extern intn HCPgetcompress > (int32 file_id, uint16 data_tag, uint16 data_ref, > comp_coder_t *coder_type, comp_info * c_info); > > extern intn HCPgetcompinfo > (int32 file_id, uint16 data_tag, uint16 data_ref, > comp_coder_t *coder_type, comp_info * c_info); > > extern intn HCPgetcomptype > (int32 file_id, uint16 data_tag, uint16 data_ref, > comp_coder_t *coder_type); > > extern intn HCPgetdatasize > (int32 file_id, uint16 data_tag, uint16 data_ref, > int32* comp_size, int32* orig_size); > > intn HCget_config_info ( comp_coder_t coder_type, uint32 *compression_config_info); > > extern int32 HCPquery_encode_header(comp_model_t model_type, model_info * m_info, > comp_coder_t coder_type, comp_info * c_info); > > extern intn HCPencode_header(uint8 *p, comp_model_t model_type, model_info * m_info, > comp_coder_t coder_type, comp_info * c_info); > > extern intn HCPdecode_header(uint8 *p, comp_model_t *model_type, model_info * m_info, > comp_coder_t *coder_type, comp_info * c_info); > > > > > > extern intn HCPsetup_szip_parms ( comp_info *c_info, int32 nt, int32 ncomp, int32 ndims, int32 *dims, int32 *cdims); > > > > extern intn HBconvert > (int32 aid); > > > > > extern int32 HRPconvert > (int32 fid, uint16 tag, uint16 ref, int32 xdim, int32 ydim,int16 scheme, comp_info *cinfo, uintn pixel_size); > > > > > > extern const char *HEstring > (hdf_err_code_t error_code); > > extern void HEpush > (hdf_err_code_t error_code, const char * function_name, > const char * file_name, intn line); > > extern void HEreport > (const char *,...); > > extern void HEprint > (FILE * stream, int32 print_level); > > extern int16 HEvalue > (int32 level); > > extern void HEPclear > (void); > > extern intn HEshutdown(void); > > > > > extern int32 Hstartbitread > (int32 file_id, uint16 tag, uint16 ref); > > extern int32 Hstartbitwrite > (int32 file_id, uint16 tag, uint16 ref, int32 length); > > extern intn Hbitappendable > (int32 bitid); > > extern intn Hbitwrite > (int32 bitid, intn count, uint32 data); > > extern intn Hbitread > (int32 bitid, intn count, uint32 *data); > > extern intn Hbitseek > (int32 bitid, int32 byte_offset, intn bit_offset); > > extern intn Hgetbit > (int32 bitid); > > extern int32 Hendbitaccess > (int32 bitfile_id, intn flushbit); > > extern intn HPbitshutdown(void); > > > > > extern uint16 DFfindnextref > (int32 file_id, uint16 tag, uint16 lref); > > > > > extern intn DFputcomp > (int32 file_id, uint16 tag, uint16 ref, const uint8 * image, > int32 xdim, int32 ydim, uint8 * palette, uint8 * newpal, > int16 scheme, comp_info * cinfo); > > extern int DFgetcomp > (int32 file_id, uint16 tag, uint16 ref, uint8 * image, > int32 xdim, int32 ydim, uint16 scheme); > > > > > extern int32 DFCIrle > (const void * buf, void * bufto, int32 len); > > extern int32 DFCIunrle > (uint8 * buf, uint8 *bufto, int32 outlen, int resetsave); > > > > > extern void DFCIimcomp > (int32 xdim, int32 ydim, const uint8 *in, uint8 out[], > uint8 in_pal[], uint8 out_pal[], int mode); > > extern void DFCIunimcomp > (int32 xdim, int32 ydim, uint8 in[], uint8 out[]); > > > > > > extern intn DFCIjpeg > (int32 file_id, uint16 tag, uint16 ref, int32 xdim, int32 ydim, > const void * image, int16 scheme, comp_info * scheme_info); > > > > > > extern intn DFCIunjpeg > (int32 file_id, uint16 tag, uint16 ref, void * image, int32 xdim, > int32 ydim, int16 scheme); > > > > > extern int32 DFdiread > (int32 file_id, uint16 tag, uint16 ref); > > extern intn DFdiget > (int32 list, uint16 * ptag, uint16 * pref); > > extern intn DFdinobj > (int32 list); > > extern int32 DFdisetup > (int maxsize); > > extern intn DFdiput > (int32 list, uint16 tag, uint16 ref); > > extern intn DFdiwrite > (int32 file_id, int32 list, uint16 tag, uint16 ref); > > extern void DFdifree > (int32 groupID); > > > > > extern intn DFPgetpal > (const char * filename, void * palette); > > extern intn DFPputpal > (const char * filename, const void * palette, intn overwrite, const char * filemode); > > extern intn DFPaddpal > (const char * filename, const void * palette); > > extern intn DFPnpals > (const char * filename); > > extern intn DFPreadref > (const char * filename, uint16 ref); > > extern intn DFPwriteref > (const char * filename, uint16 ref); > > extern intn DFPrestart > (void); > > extern uint16 DFPlastref > (void); > > > > > extern int DFR8setcompress > (int32 scheme, comp_info * cinfo); > > extern intn DFR8getdims > (const char * filename, int32 * pxdim, int32 * pydim, > int * pispal); > > extern intn DFR8getimage > (const char * filename, uint8 * image, int32 xdim, int32 ydim, > uint8 * pal); > > extern intn DFR8setpalette > (uint8 * pal); > > extern intn DFR8putimage > (const char * filename, const void * image, int32 xdim, int32 ydim, uint16 compress); > > extern intn DFR8addimage > (const char * filename, const void * image, int32 xdim, int32 ydim, uint16 compress); > > extern intn DFR8nimages > (const char * filename); > > extern intn DFR8readref > (const char * filename, uint16 ref); > > extern intn DFR8writeref > (const char * filename, uint16 ref); > > extern intn DFR8restart > (void); > > extern uint16 DFR8lastref > (void); > > extern intn DFR8getpalref(uint16 *pal_ref); > > extern intn DFR8Pshutdown(void); > > > > > extern intn DFGRgetlutdims > (const char * filename, int32 * pxdim, int32 * pydim, > intn * pncomps, intn * pil); > > extern intn DFGRreqlutil > (intn il); > > extern intn DFGRgetlut > (const char * filename, void * lut, int32 xdim, int32 ydim); > > extern intn DFGRgetimdims > (const char * filename, int32 * pxdim, int32 * pydim, > intn * pncomps, intn * pil); > > extern intn DFGRreqimil > (intn il); > > extern intn DFGRgetimage > (const char * filename, void * image, int32 xdim, int32 ydim); > > extern intn DFGRsetcompress > (int32 scheme, comp_info * cinfo); > > extern intn DFGRsetlutdims > (int32 xdim, int32 ydim, intn ncomps, intn il); > > extern intn DFGRsetlut > (void * lut, int32 xdim, int32 ydim); > > extern intn DFGRaddlut > (const char * filename, void * lut, int32 xdim, int32 ydim); > > extern intn DFGRsetimdims > (int32 xdim, int32 ydim, intn ncomps, intn il); > > extern intn DFGRaddimage > (const char * filename, void * image, int32 xdim, int32 ydim); > > extern intn DFGRputimage > (const char * filename, void * image, int32 xdim, int32 ydim); > > extern intn DFGRreadref > (const char * filename, uint16 ref); > > extern uint16 DFGRIlastref > (void); > > extern intn DFGRIgetdims > (const char * filename, int32 * pxdim, int32 * pydim, > intn * pncomps, intn * pil, intn type); > > extern intn DFGRIreqil > (intn il, intn type); > > extern intn DFGRIgetimlut > (const char * filename, void * imlut, int32 xdim, int32 ydim, intn type, > intn isfortran, int *compressed, uint16 *compr_type, int *has_pal); > > extern intn DFGRIsetdims > (int32 xdim, int32 ydim, intn ncomps, intn type); > > extern intn DFGRIsetil > (intn il, intn type); > > extern intn DFGRIrestart > (void); > > extern intn DFGRIaddimlut > (const char * filename, const void * imlut, int32 xdim, int32 ydim, intn type, > intn isfortran, intn newfile); > > extern intn DFGRPshutdown(void); > > > > > extern intn DF24getdims > (const char * filename, int32 * pxdim, int32 * pydim, > intn * pil); > > extern intn DF24reqil > (intn il); > > extern intn DF24getimage > (const char * filename, void * image, int32 xdim, int32 ydim); > > extern intn DF24setdims > (int32 xdim, int32 ydim); > > extern intn DF24setil > (intn il); > > extern intn DF24setcompress > (int32 type, comp_info * cinfo); > > extern intn DF24restart > (void); > > extern intn DF24addimage > (const char * filename, const void * image, int32 xdim, int32 ydim); > > extern intn DF24putimage > (const char * filename, const void * image, int32 xdim, int32 ydim); > > extern intn DF24nimages > (const char * filename); > > extern intn DF24readref > (const char * filename, uint16 ref); > > extern uint16 DF24lastref > (void); > > > > > > extern int32 DFANgetlablen > (const char * filename, uint16 tag, uint16 ref); > > extern intn DFANgetlabel > (const char * filename, uint16 tag, uint16 ref, char * label, > int32 maxlen); > > extern int32 DFANgetdesclen > (const char * filename, uint16 tag, uint16 ref); > > extern intn DFANgetdesc > (const char * filename, uint16 tag, uint16 ref, char * desc, > int32 maxlen); > > extern int32 DFANgetfidlen > (int32 file_id, intn isfirst); > > extern int32 DFANgetfid > (int32 file_id, char * id, int32 maxlen, intn isfirst); > > extern int32 DFANgetfdslen > (int32 file_id, intn isfirst); > > extern int32 DFANgetfds > (int32 file_id, char * desc, int32 maxlen, intn isfirst); > > extern intn DFANputlabel > (const char * filename, uint16 tag, uint16 ref, char * label); > > extern intn DFANputdesc > (const char * filename, uint16 tag, uint16 ref, char * desc, > int32 desclen); > > extern intn DFANaddfid > (int32 file_id, char * id); > > extern intn DFANaddfds > (int32 file_id, char * desc, int32 desclen); > > extern uint16 DFANlastref > (void); > > extern intn DFANlablist > (const char * filename, uint16 tag, uint16 reflist[], > char * labellist, intn listsize, intn maxlen, intn startpos); > > extern intn DFANclear > (void); > > extern intn DFANIclear > (void); > > extern uint16 DFANIlocate > (int32 file_id, int type, uint16 tag, uint16 ref); > > extern int DFANIaddentry > (int type, uint16 annref, uint16 datatag, uint16 dataref); > > extern int32 DFANIgetannlen > (const char * filename, uint16 tag, uint16 ref, int type); > > extern intn DFANIgetann > (const char * filename, uint16 tag, uint16 ref, uint8 * ann, > int32 maxlen, int type, int isfortran); > > extern intn DFANIputann > (const char * filename, uint16 tag, uint16 ref, uint8 * ann, > int32 annlen, int type); > > extern int DFANIlablist > (const char * filename, uint16 tag, uint16 reflist[], > uint8 * labellist, int listsize, int maxlen, int startpos, > int isfortran); > > extern int DFANIaddfann > (int32 file_id, char * ann, int32 annlen, int type); > > extern int32 DFANIgetfannlen > (int32 file_id, int type, int isfirst); > > extern int32 DFANIgetfann > (int32 file_id, char * ann, int32 maxlen, int type, int isfirst); > > extern intn DFANPshutdown(void); > > > > > > extern int DFSDgetdims > (const char * filename, intn * prank, int32 sizes[], intn maxrank); > > extern int DFSDgetdatastrs > (char * label, char * unit, char * format, char * coordsys); > > extern int DFSDgetdimstrs > (int dim, char * label, char * unit, char * format); > > extern int DFSDgetdatalen > (int * llabel, int * lunit, int * lformat, int * lcoordsys); > > extern int DFSDgetdimlen > (int dim, int * llabel, int * lunit, int * lformat); > > extern int DFSDgetdimscale > (intn dim, int32 maxsize, void * scale); > > extern int DFSDgetrange > (void * pmax, void * pmin); > > extern int DFSDgetdata > (const char * filename, intn rank, int32 maxsizes[], void * data); > > extern int DFSDsetlengths > (int maxlen_label, int maxlen_unit, int maxlen_format, > int maxlen_coordsys); > > extern int DFSDsetdims > (intn rank, int32 dimsizes[]); > > extern int DFSDsetdatastrs > (const char * label, const char * unit, const char * format, const char * coordsys); > > extern int DFSDsetdimstrs > (int dim, const char * label, const char * unit, const char * format); > > extern int DFSDsetdimscale > (intn dim, int32 dimsize, void * scale); > > extern int DFSDsetrange > (void * maxi, void * mini); > > extern int DFSDputdata > (const char * filename, intn rank, int32 dimsizes[], void * data); > > extern int DFSDadddata > (const char * filename, intn rank, int32 dimsizes[], void * data); > > extern int DFSDrestart > (void); > > extern int32 DFSDndatasets > (char * filename); > > extern int DFSDclear > (void); > > extern uint16 DFSDlastref > (void); > > extern int DFSDreadref > (char * filename, uint16 ref); > > extern int DFSDgetslice > (const char * filename, int32 winst[], int32 windims[], void * data, > int32 dims[]); > > extern int DFSDstartslice > (const char * filename); > > extern int DFSDputslice > (int32 winend[], void * data, int32 dims[]); > > extern int DFSDendslice > (void); > > extern int DFSDsetNT > (int32 numbertype); > > extern int DFSDsetorder > (int arrayorder); > > extern int DFSDgetNT > (int32 * pnumbertype); > > extern intn DFSDpre32sdg > (char * filename, uint16 ref, intn * ispre32); > > extern int DFSDsetcal > (float64 cal, float64 cal_err, float64 ioff, > float64 ioff_err, int32 cal_nt); > > extern int DFSDgetcal > (float64 * pcal, float64 * pcal_err, float64 * pioff, > float64 * pioff_err, int32 * cal_nt); > > extern int DFSDwriteref > (const char * filename, uint16 ref); > > extern int DFSDsetfillvalue > (void * fill_value); > > extern int DFSDgetfillvalue > (void * fill_value); > > extern int DFSDstartslab > (const char * filename); > > extern int DFSDwriteslab > (int32 start[], int32 stride[], int32 count[], > void * data); > > extern int DFSDendslab > (void); > > extern int DFSDreadslab > (const char *filename, int32 start[], int32 slab_size[], > int32 stride[], void * buffer, int32 buffer_size[]); > > extern intn DFSDPshutdown(void); > > > > > > extern int DFKNTsize > (int32 number_type); > > extern int32 DFKisnativeNT > (int32 numbertype); > > extern int32 DFKislitendNT > (int32 numbertype); > > extern int8 DFKgetPNSC > (int32 numbertype, int32 machinetype); > > extern intn DFKsetNT > (int32 ntype); > > extern int32 DFKconvert > (void * source, void * dest, int32 ntype, int32 num_elm, > int16 acc_mode, int32 source_stride, int32 dest_stride); > > > > > > extern intn DFKnb1b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKnb2b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKnb4b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKnb8b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > > > > extern intn DFKsb2b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKsb4b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKsb8b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > > > > extern intn DFKui2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKui2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKui4i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKui4s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo4i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo4s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKui4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKui8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKuo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui4i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui4s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo4i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo4s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlui8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKluo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > extern intn DFKmi2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKmi2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKmo2b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlmi2i > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlmi2s > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlmo2b > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > > > > > extern intn DFKvi4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKvo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKvi8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKvo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlvi4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlvo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlvi8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlvo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > > > > extern intn DFKci4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKco4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKci8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKco8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlci4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlco4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlci8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlco8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > > > > extern intn DFKpi4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKpo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKpi8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKpo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlpi4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlpo4f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlpi8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > extern intn DFKlpo8f > (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride); > > > >extern int32 ANstart(int32 file_id); > >extern intn ANfileinfo(int32 an_id, int32 *n_file_label, int32 *n_file_desc, > int32 *n_obj_label, int32 *n_obj_desc); > >extern int32 ANend(int32 an_id); > >extern int32 ANcreate(int32 an_id, uint16 elem_tag, uint16 elem_ref, > ann_type type); > >extern int32 ANcreatef(int32 an_id, ann_type type); > >extern int32 ANselect(int32 an_id, int32 idx, ann_type type); > >extern intn ANnumann(int32 an_id, ann_type type, uint16 elem_tag, > uint16 elem_ref); > >extern intn ANannlist(int32 an_id, ann_type type, uint16 elem_tag, > uint16 elem_ref, int32 ann_list[]); > >extern int32 ANannlen(int32 ann_id); > >extern int32 ANwriteann(int32 ann_id, const char *ann, int32 annlen); > >extern int32 ANreadann(int32 ann_id, char *ann, int32 maxlen); > >extern intn ANendaccess(int32 ann_id); > >extern int32 ANget_tagref(int32 an_id, int32 idx, ann_type type, > uint16 *ann_tag, uint16 *ann_ref); > >extern int32 ANid2tagref(int32 an_id, uint16 *ann_tag, uint16 *ann_ref); > >extern int32 ANtagref2id(int32 an_id, uint16 ann_tag, uint16 ann_ref); > >extern uint16 ANatype2tag(ann_type atype); > >extern ann_type ANtag2atype(uint16 atag); > > > > > >extern intn rigcompare(void * k1, void * k2, intn cmparg); > >extern int32 GRstart(int32 hdf_file_id); > >extern intn GRfileinfo(int32 grid,int32 *n_datasets,int32 *n_attrs); > >extern intn GRend(int32 grid); > >extern int32 GRcreate(int32 grid,const char *name,int32 ncomp,int32 nt,int32 il, > int32 dimsizes[2]); > >extern int32 GRselect(int32 grid,int32 idx); > >extern int32 GRnametoindex(int32 grid,const char *name); > >extern intn GRgetiminfo(int32 riid,char *name,int32 *ncomp,int32 *nt,int32 *il, > int32 dimsizes[2],int32 *n_attr); > >extern intn GRgetnluts(int32 riid); > >extern intn GRwriteimage(int32 riid,int32 start[2],int32 stride[2], > int32 count[2],void * data); > >extern intn GRreadimage(int32 riid,int32 start[2],int32 stride[2], > int32 count[2],void * data); > >extern intn GRendaccess(int32 riid); > >extern uint16 GRidtoref(int32 riid); > >extern int32 GRreftoindex(int32 grid,uint16 ref); > >extern intn GRreqlutil(int32 riid,intn il); > >extern intn GRreqimageil(int32 riid,intn il); > >extern int32 GRgetlutid(int32 riid,int32 idx); > >extern uint16 GRluttoref(int32 lutid); > >extern intn GRgetlutinfo(int32 riid,int32 *ncomp,int32 *nt, > int32 *il,int32 *nentries); > >extern intn GRwritelut(int32 riid,int32 ncomps,int32 nt, > int32 il,int32 nentries,void * data); > >extern intn GRreadlut(int32 lutid,void * data); > >extern intn GRsetexternalfile(int32 riid,const char *filename,int32 offset); > >extern intn GRsetaccesstype(int32 riid,uintn accesstype); > >extern intn GRsetcompress(int32 riid,comp_coder_t comp_type,comp_info *cinfo); > >extern intn GRgetcompress(int32 riid,comp_coder_t* comp_type,comp_info *cinfo); > >extern intn GRgetcompinfo(int32 riid,comp_coder_t* comp_type,comp_info *cinfo); > >extern intn GRsetattr(int32 id,const char *name,int32 attr_nt,int32 count,const void * data); > >extern intn GRattrinfo(int32 id,int32 idx,char *name,int32 *attr_nt,int32 *count); > >extern intn GRgetattr(int32 id,int32 idx,void * data); > >extern int32 GRfindattr(int32 id,const char *name); > >extern intn GRgetcomptype (int32 riid, comp_coder_t *comp_type); > >extern intn GRPshutdown(void); > > >extern intn GR2bmapped(int32 riid, intn *tobe_mapped, intn *created_byGR); >typedef union hdf_chunk_def_u >{ > > int32 chunk_lengths[32]; > > struct > { > int32 chunk_lengths[32]; > int32 comp_type; > int32 model_type; > comp_info cinfo; > model_info minfo; > }comp; > > struct > { > int32 chunk_lengths[32]; > intn start_bit; > intn bit_len; > intn sign_ext; > intn fill_one; > } nbit; > >} HDF_CHUNK_DEF; >extern intn GRsetchunk > (int32 riid, > HDF_CHUNK_DEF chunk_def, > int32 flags ); >extern intn GRgetchunkinfo > (int32 riid, > HDF_CHUNK_DEF *chunk_def, > int32 *flags ); >extern intn GRwritechunk > (int32 riid, > int32 *origin, > const void *datap ); >extern intn GRreadchunk > (int32 riid, > int32 *origin, > void *datap ); >extern intn GRsetchunkcache > (int32 riid, > int32 maxcache, > int32 flags ); > extern intn Vsetattr > (int32 vgid, const char *attrname, int32 datatype, > int32 count, const void * values); > extern intn Vnattrs > (int32 vgid); > extern intn Vnattrs2 > (int32 vgid); > extern intn Vnoldattrs > (int32 vgid); > extern intn Vfindattr > (int32 vgid, const char *attrname); > extern intn Vattrinfo > (int32 vgid, intn attrindex, char *name, > int32 *datatype, int32 *count, int32 *size); > extern intn Vattrinfo2 > (int32 vgid, intn attrindex, char *name, int32 *datatype, > int32 *count, int32 *size, int32 *nfields, uint16 *refnum); > extern intn Vgetattr > (int32 vgid, intn attrindex, void * values); > extern intn Vgetattr2 > (int32 vgid, intn attrindex, void * values); > extern int32 Vgetversion > (int32 vgid); > extern intn VSfindex > (int32 vsid, const char *fieldname, int32 *fldindex); > extern intn VSsetattr > (int32 vsid, int32 findex, const char *attrname, > int32 datatype, int32 count, const void * values); > extern intn VSnattrs > (int32 vsid); > extern intn VSfnattrs > (int32 vsid, int32 findex); > extern intn VSfindattr > (int32 vsid, int32 findex, const char *attrname); > extern intn VSattrinfo > (int32 vsid, int32 findex, intn attrindex, > char *name, int32 *datatype, int32 *count, > int32 *size); > extern intn VSgetattr > (int32 vsid, int32 findex, intn attrindex, > void * values); > extern intn VSisattr > (int32 vsid); > > > > extern int32 vicheckcompat > (HFILEID f); > > extern int32 vimakecompat > (HFILEID f); > > extern int32 vcheckcompat > (char * fs); > > extern int32 vmakecompat > (char * fs); > > > > > extern int32 VSelts > (int32 vkey); > > extern int32 VSgetinterlace > (int32 vkey); > > extern intn VSsetinterlace > (int32 vkey, int32 interlace); > > extern int32 VSgetfields > (int32 vkey, char * fields); > > extern intn VSfexist > (int32 vkey, char * fields); > > extern int32 VSsizeof > (int32 vkey, char * fields); > > extern void VSdump > (int32 vkey); > > extern int32 VSsetname > (int32 vkey, const char * vsname); > > extern int32 VSsetclass > (int32 vkey, const char * vsclass); > > extern int32 VSgetname > (int32 vkey, char * vsname); > > extern int32 VSgetclass > (int32 vkey, char * vsclass); > > extern intn VSinquire > (int32 vkey, int32 * nelt, int32 * interlace, > char * fields, int32 * eltsize, char * vsname); > > extern intn VSisinternal > (const char *vsclass); > > extern int32 VSlone > (HFILEID f, int32 * idarray, int32 asize); > > extern int32 Vlone > (HFILEID f, int32 * idarray, int32 asize); > > extern int32 Vfind > (HFILEID f, const char * vgname); > > extern int32 VSfind > (HFILEID f, const char * vsname); > > extern int32 Vfindclass > (HFILEID f, const char * vgclass); > > extern int32 VSfindclass > (HFILEID f, const char * vsclass); > > extern intn VSofclass > (int32 id, const char *vsclass, uintn start_vd, > uintn array_size, uint16 *refarray); > > extern intn VSgetvdatas > (int32 id, uintn start_vd, uintn array_size, uint16 *refarray); > > extern intn VSsetblocksize > (int32 vkey, int32 block_size); > > extern intn VSsetnumblocks > (int32 vkey, int32 num_blocks); > > extern intn VSgetblockinfo > (int32 vkey, int32* block_size, int32* num_blocks); > > extern void Vsetzap > (void); > > > > > extern intn vcompare > (void * k1, void * k2, intn cmparg); > > extern intn vcompareref > (void * k1, void * k2, intn cmparg); > > extern void vdestroynode > (void * n); > > extern void vtfreekey > (void * k); > > extern intn Vinitialize > (HFILEID f); > > extern intn Vfinish > (HFILEID f); > > extern HFILEID Vopen > (char *path, intn acc_mode, int16 ndds); > > extern intn Vclose > (HFILEID f); > > extern int32 vexistvg > (HFILEID f, uint16 vgid); > > extern int32 Vattach > (HFILEID f, int32 vgid, const char * accesstype); > > extern int32 Vdetach > (int32 vkey); > > extern int32 Vinsert > (int32 vkey, int32 vskey); > > > extern int32 Vflocate > (int32 vkey, char * field); > > extern intn Vinqtagref > (int32 vkey, int32 tag, int32 ref); > > extern int32 Vntagrefs > (int32 vkey); > > extern int32 Vnrefs > (int32 vkey,int32 tag); > > extern int32 Vgettagrefs > (int32 vkey, int32 tagarray[], int32 refarray[], int32 n); > > extern int32 Vgetuservgs > (int32 id, int32 start_ref, int32 n_vgs, int32 *refarray); > > extern intn Vgettagref > (int32 vkey, int32 which, int32 * tag, int32 * ref); > > extern int32 VQueryref > (int32 vkey); > > extern int32 VQuerytag > (int32 vkey); > > extern int32 Vaddtagref > (int32 vkey, int32 tag, int32 ref); > > extern int32 Ventries > (HFILEID f, int32 vgid); > > extern int32 Vsetname > (int32 vkey, const char * vgname); > > extern int32 Vsetclass > (int32 vkey, const char * vgclass); > > extern intn Visvg > (int32 vkey, int32 id); > > extern intn Visvs > (int32 vkey, int32 id); > > extern int32 Vgetid > (HFILEID f, int32 vgid); > > extern int32 Vgetnext > (int32 vkey, int32 id); > > extern int32 Vgetname > (int32 vkey, char * vgname); > > extern int32 Vgetnamelen > (int32 vkey, uint16 * name_len); > > extern int32 Vgetclassnamelen > (int32 vkey, uint16 * classname_len); > > extern int32 Vgetclass > (int32 vkey, char * vgclass); > > extern intn Vinquire > (int32 vkey, int32 * nentries, char * vgname); > > extern int32 Vdelete > (int32 f, int32 ref); > > extern intn Vgisinternal > (int32 vkey); > > extern intn Visinternal > (const char *classname); > > extern intn Vgetvgroups > (int32 id, uintn start_vg, uintn n_vgs, uint16 *refarray); >extern intn >Vdeletetagref(int32 vkey, > int32 tag, > int32 ref ); > > extern intn VPshutdown(void); > > > > > extern int32 scanattrs > (const char * attrs, int32 * attrc, char *** attrv); > > > > > extern int32 VHstoredata > (HFILEID f, const char * field, const uint8 *buf, int32 n, int32 datatype, > const char * vsname, const char * vsclass); > > extern int32 VHstoredatam > (HFILEID f, const char * field, const uint8 *buf, int32 n, int32 datatype, > const char * vsname, const char * vsclass, int32 order); > > extern int32 VHmakegroup > (HFILEID f, int32 tagarray[], int32 refarray[], int32 n, > const char * vgname, const char * vgclass); > > > > > > extern intn VSPhshutdown(void); > > extern int32 vexistvs > (HFILEID f, uint16 vsref); > > extern void vsdestroynode > (void * n); > > extern void vfdestroynode > (void * n); > > extern int32 VSattach > (HFILEID f, int32 vsref, const char * accesstype); > > extern int32 VSdetach > (int32 vkey); > > extern int32 VSQuerytag > (int32 vkey); > > extern int32 VSQueryref > (int32 vkey); > > extern int32 VSgetid > (HFILEID f, int32 vsref); > > extern int32 VSgetversion > (int32 vkey); > > extern int32 VSdelete > (int32 f, int32 ref); > > extern int32 VSappendable > (int32 vkey, int32 blk); > > > > > > extern intn VSsetfields > (int32 vkey, const char * fields); > > extern intn VSfdefine > (int32 vkey, const char * field, int32 localtype, int32 order); > > extern int32 VFnfields > (int32 vkey); > > extern char *VFfieldname > (int32 vkey, int32 idx); > > extern int32 VFfieldtype > (int32 vkey, int32 idx); > > extern int32 VFfieldisize > (int32 vkey, int32 idx); > > extern int32 VFfieldesize > (int32 vkey, int32 idx); > > extern int32 VFfieldorder > (int32 vkey, int32 idx); > > extern intn VSsetexternalfile > (int32 vkey, const char *filename, int32 offset); > > extern intn VSgetexternalfile > (int32 vkey, uintn name_len, char *filename, int32* offset); > > extern intn VSgetexternalinfo > (int32 vkey, uintn name_len, char *filename, int32* offset, > int32* length); > > extern intn VSfpack > (int32 vsid, intn packtype, const char *fields_in_buf, > void * buf, intn bufsz, intn n_records, > const char *fields, void * fldbufpt[]); > > > > > extern intn VSPshutdown(void); > > extern int32 VSseek > (int32 vkey, int32 eltpos); > > extern int32 VSread > (int32 vkey, uint8 buf[], int32 nelt, int32 interlace); > > extern int32 VSwrite > (int32 vkey, const uint8 buf[], int32 nelt, int32 interlace); >typedef struct hdf_ddinfo_t >{ > uint16 tag; > uint16 ref; > int32 offset; > int32 length; >} hdf_ddinfo_t; > > > > extern intn ANgetdatainfo > (int32 ann_id, int32 *offset, int32 *length); > > extern intn HDgetdatainfo > (int32 file_id, uint16 data_tag, uint16 data_ref, > int32 *chk_coord, uintn start_block, uintn info_count, > int32 *offsetarray, int32 *lengtharray); > > extern intn VSgetdatainfo > (int32 vsid, uintn start_block, uintn info_count, > int32 *offsetarray, int32 *lengtharray); > > extern intn VSgetattdatainfo > (int32 vsid, int32 findex, intn attrindex, int32 *offset, int32 *length); > > extern intn Vgetattdatainfo > (int32 vgid, intn attrindex, int32 *offset, int32 *length); > > extern intn GRgetdatainfo > (int32 riid, uintn start_block, uintn info_count, > int32 *offsetarray, int32 *lengtharray); > > extern intn GRgetattdatainfo > (int32 id, int32 attrindex, int32 *offset, int32 *length); > > extern intn GRgetpalinfo(int32 gr_id, uintn pal_count, hdf_ddinfo_t *palinfo_array); >typedef int16 gr_interlace_t; >extern > >int num_errs > > > >, Verbosity > > > > ; >intn fuzzy_memcmp(const void *s1, const void *s2, int32 len, intn fuzz_factor); >void print_mismatched(const void *s1, const void *s2, int32 size2cmp); > > > >intn make_datafilename(char* basename, char* testfile, unsigned int size); > >void test_an(void); >void test_an_2(void); >void test_anfile(void); >void test_man(void); >void test_hblocks(void); >void test_hextelt(void); >void test_hfile(void); >void test_hfile1(void); >void test_r24(void); >void test_GR(void); >void test_r8(void); >void test_pal(void); >void test_sdmms(void); >void test_sdnmms(void); >void test_tsdstr(void); >void test_vers(void); >void test_slab(void); >void test_litend(void); >void test_vsets(void); >void test_vnameclass(void); >void test_vset_attr(void); >void test_vspack(void); >void test_comp(void); >void test_bitio(void); >void test_tbbt(void); >void test_macros(void); >void test_conv(void); >void test_nbit(void); >void test_mgr(void); >void test_mgr_attr(void); >void test_mgr_compress(void); >void test_bitvect(void); >void test_chunks(void); >void test_buffer(void); >void test_datainfo(void); >void test_datainfo(void); >void test_attdatainfo(void); > >static float32 f32[10][10], tf32[10][10]; >static float32 f32scale[10], tf32scale[10]; >static float32 f32max = (float32) 40.0, f32min = (float32) 0.0; >static float32 tf32max, tf32min; > >static int8 i8[10][10], ti8[10][10]; >static int8 i8scale[10], ti8scale[10]; >static int8 i8max = 127, i8min = -128; >static int8 ti8max, ti8min; > >static uint8 ui8[10][10], tui8[10][10]; >static uint8 ui8scale[10], tui8scale[10]; >static uint8 ui8max = 255, ui8min = 0; >static uint8 tui8max, tui8min; > >static int16 i16[10][10], ti16[10][10]; >static int16 i16scale[10], ti16scale[10]; >static int16 i16max = 1200, i16min = -1200; >static int16 ti16max, ti16min; > >static uint16 ui16[10][10], tui16[10][10]; >static uint16 ui16scale[10], tui16scale[10]; >static uint16 ui16max = 20000, ui16min = 0; >static uint16 tui16max, tui16min; > >static int32 i32[10][10], ti32[10][10]; >static int32 i32scale[10], ti32scale[10]; >static int32 i32max = 99999999, i32min = -999999999; >static int32 ti32max, ti32min; > >static uint32 ui32[10][10], tui32[10][10]; >static uint32 ui32scale[10], tui32scale[10]; >static uint32 ui32max = 999999999, ui32min = 0; >static uint32 tui32max, tui32min; > >void >main(void) >{ > int i, j, err, err1, err2, ret; > intn rank; > int32 dims[2]; > > rank = 2; > dims[0] = 10; > dims[1] = 10; > > printf("Creating arrays...\n"); > > for (i = 0; i < 10; i++) > { > printf("i=%d\n",i); > for (j = 0; j < 10; j++) > { > f32[i][j] = (float32)((i * 40) + j); > > i8[i][j] = (int8) ((i * 20) - 100 + j); > ui8[i][j] = (uint8) ((i * 20) + j); > > i16[i][j] = (int16) ((i * 6000) - 30000 + j); > ui16[i][j] = (uint16) ((i * 6000) + j); > > i32[i][j] = (int32) ((i * 60000) - 300000 + j); > ui32[i][j] = (uint32) ((i * 400000000) + j); > } > > f32scale[i] = (float32) ((i * 40) + j); > > i8scale[i] = (int8) ((i * 20) - 100 + j); > ui8scale[i] = (uint8) ((i * 20) + j); > > i16scale[i] = (int16) ((i * 6000) - 30000 + j); > ui16scale[i] = (uint16) ((i * 6000) + j); > > i32scale[i] = (int32) ((i * 60000) - 300000 + j); > ui32scale[i] = (uint32) ((i * 400000000) + j); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 911809
: 698069