input
来自「antlr最新版本V3源代码」· 代码 · 共 3,480 行 · 第 1/5 页
TXT
3,480 行
{ SEGV_MAPERR = 1, SEGV_ACCERR};enum{ BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR};enum{ TRAP_BRKPT = 1, TRAP_TRACE};enum{ CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED};enum{ POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP};# 273 "/usr/include/bits/siginfo.h" 3 4typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); void *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t;enum{ SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4};# 211 "/usr/include/signal.h" 2 3 4extern int sigemptyset (sigset_t *__set);extern int sigfillset (sigset_t *__set);extern int sigaddset (sigset_t *__set, int __signo);extern int sigdelset (sigset_t *__set, int __signo);extern int sigismember ( sigset_t *__set, int __signo);# 243 "/usr/include/signal.h" 3 4# 1 "/usr/include/bits/sigaction.h" 1 3 4# 25 "/usr/include/bits/sigaction.h" 3 4struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); };# 244 "/usr/include/signal.h" 2 3 4extern int sigprocmask (int __how, sigset_t *__restrict __set, sigset_t *__restrict __oset);extern int sigsuspend ( sigset_t *__set);extern int sigaction (int __sig, struct sigaction *__restrict __act, struct sigaction *__restrict __oact);extern int sigpending (sigset_t *__set);extern int sigwait ( sigset_t *__restrict __set, int *__restrict __sig);extern int sigwaitinfo ( sigset_t *__restrict __set, siginfo_t *__restrict __info);extern int sigtimedwait ( sigset_t *__restrict __set, siginfo_t *__restrict __info, struct timespec *__restrict __timeout);extern int sigqueue (__pid_t __pid, int __sig, union sigval __val) ;# 299 "/usr/include/signal.h" 3 4extern char * _sys_siglist[65];extern char * sys_siglist[65];struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; };# 323 "/usr/include/signal.h" 3 4extern int sigvec (int __sig, struct sigvec *__vec, struct sigvec *__ovec);# 1 "/usr/include/bits/sigcontext.h" 1 3 4# 28 "/usr/include/bits/sigcontext.h" 3 4# 1 "/usr/include/asm/sigcontext.h" 1 3 4# 18 "/usr/include/asm/sigcontext.h" 3 4struct _fpreg { unsigned short significand[4]; unsigned short exponent;};struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3];};struct _xmmreg { unsigned long element[4];};struct _fpstate { unsigned long cw; unsigned long sw; unsigned long tag; unsigned long ipoff; unsigned long cssel; unsigned long dataoff; unsigned long datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; unsigned long _fxsr_env[6]; unsigned long mxcsr; unsigned long reserved; struct _fpxreg _fxsr_st[8]; struct _xmmreg _xmm[8]; unsigned long padding[56];};struct sigcontext { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; unsigned long edi; unsigned long esi; unsigned long ebp; unsigned long esp; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long trapno; unsigned long err; unsigned long eip; unsigned short cs, __csh; unsigned long eflags; unsigned long esp_at_signal; unsigned short ss, __ssh; struct _fpstate * fpstate; unsigned long oldmask; unsigned long cr2;};# 29 "/usr/include/bits/sigcontext.h" 2 3 4# 329 "/usr/include/signal.h" 2 3 4extern int sigreturn (struct sigcontext *__scp);# 341 "/usr/include/signal.h" 3 4extern int siginterrupt (int __sig, int __interrupt);# 1 "/usr/include/bits/sigstack.h" 1 3 4# 26 "/usr/include/bits/sigstack.h" 3 4struct sigstack { void *ss_sp; int ss_onstack; };enum{ SS_ONSTACK = 1, SS_DISABLE};# 50 "/usr/include/bits/sigstack.h" 3 4typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t;# 344 "/usr/include/signal.h" 2 3 4# 352 "/usr/include/signal.h" 3 4extern int sigstack (struct sigstack *__ss, struct sigstack *__oss);extern int sigaltstack ( struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss);# 380 "/usr/include/signal.h" 3 4# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4# 381 "/usr/include/signal.h" 2 3 4# 1 "/usr/include/bits/sigthread.h" 1 3 4# 31 "/usr/include/bits/sigthread.h" 3 4extern int pthread_sigmask (int __how, __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask);extern int pthread_kill (pthread_t __threadid, int __signo);# 382 "/usr/include/signal.h" 2 3 4extern int __libc_current_sigrtmin (void);extern int __libc_current_sigrtmax (void);# 127 "./test.priv.h" 2# 135 "./test.priv.h"# 1 "/usr/include/curses.h" 1 3 4# 58 "/usr/include/curses.h" 3 4# 1 "/usr/include/ncurses/ncurses_dll.h" 1 3 4# 59 "/usr/include/curses.h" 2 3 4# 106 "/usr/include/curses.h" 3 4typedef unsigned long chtype;# 1 "/usr/include/stdio.h" 1 3 4# 30 "/usr/include/stdio.h" 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 1 3 4# 35 "/usr/include/stdio.h" 2 3 4# 44 "/usr/include/stdio.h" 3 4typedef struct _IO_FILE FILE;# 62 "/usr/include/stdio.h" 3 4typedef struct _IO_FILE __FILE;# 72 "/usr/include/stdio.h" 3 4# 1 "/usr/include/libio.h" 1 3 4# 32 "/usr/include/libio.h" 3 4# 1 "/usr/include/_G_config.h" 1 3 4# 14 "/usr/include/_G_config.h" 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 1 3 4# 354 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 3 4typedef unsigned int wint_t;# 15 "/usr/include/_G_config.h" 2 3 4# 24 "/usr/include/_G_config.h" 3 4# 1 "/usr/include/wchar.h" 1 3 4# 48 "/usr/include/wchar.h" 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 1 3 4# 49 "/usr/include/wchar.h" 2 3 4# 1 "/usr/include/bits/wchar.h" 1 3 4# 51 "/usr/include/wchar.h" 2 3 4# 76 "/usr/include/wchar.h" 3 4typedef struct{ int __count; union { wint_t __wch; char __wchb[4]; } __value;} __mbstate_t;# 25 "/usr/include/_G_config.h" 2 3 4typedef struct{ __off_t __pos; __mbstate_t __state;} _G_fpos_t;typedef struct{ __off64_t __pos; __mbstate_t __state;} _G_fpos64_t;# 44 "/usr/include/_G_config.h" 3 4# 1 "/usr/include/gconv.h" 1 3 4# 28 "/usr/include/gconv.h" 3 4# 1 "/usr/include/wchar.h" 1 3 4# 48 "/usr/include/wchar.h" 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 1 3 4# 49 "/usr/include/wchar.h" 2 3 4# 29 "/usr/include/gconv.h" 2 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h" 1 3 4# 32 "/usr/include/gconv.h" 2 3 4enum{ __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR};enum{ __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002};struct __gconv_step;struct __gconv_step_data;struct __gconv_loaded_object;struct __gconv_trans_data;typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, unsigned char **, unsigned char *, unsigned char **, size_t *, int, int);typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);typedef int (*__gconv_init_fct) (struct __gconv_step *);typedef void (*__gconv_end_fct) (struct __gconv_step *);typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, unsigned char *, unsigned char **, unsigned char *, unsigned char **, size_t *);typedef int (*__gconv_trans_context_fct) (void *, unsigned char *, unsigned char *, unsigned char *, unsigned char *);typedef int (*__gconv_trans_query_fct) ( char *, char ***, size_t *);typedef int (*__gconv_trans_init_fct) (void **, const char *);typedef void (*__gconv_trans_end_fct) (void *);struct __gconv_trans_data{ __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next;};struct __gconv_step{ struct __gconv_loaded_object *__shlib_handle; char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data;};struct __gconv_step_data{ unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans;};typedef struct __gconv_info{ size_t __nsteps; struct __gconv_step *__steps; struct __gconv_step_data __data [];} *__gconv_t;# 45 "/usr/include/_G_config.h" 2 3 4typedef union{ struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined;} _G_iconv_t;typedef int _G_int16_t ;typedef int _G_int32_t ;typedef unsigned int _G_uint16_t ;typedef unsigned int _G_uint32_t ;# 33 "/usr/include/libio.h" 2 3 4# 53 "/usr/include/libio.h" 3 4# 1 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stdarg.h" 1 3 4# 43 "/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stdarg.h" 3 4typedef int __gnuc_va_list;# 54 "/usr/include/libio.h" 2 3 4# 166 "/usr/include/libio.h" 3 4struct _IO_jump_t; struct _IO_FILE;# 176 "/usr/include/libio.h" 3 4typedef void _IO_lock_t;struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos;# 199 "/usr/include/libio.h" 3 4};enum __codecvt_result{ __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv};# 267 "/usr/include/libio.h" 3 4struct _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;# 315 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)];};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_;# 354 "/usr/include/libio.h" 3 4typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);typedef __ssize_t __io_write_fn (void *__cookie, char *__buf, size_t __n);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?