PageRenderTime 364ms CodeModel.GetById 181ms app.highlight 12ms RepoModel.GetById 169ms app.codeStats 0ms

/Lib/plat-linux2/TYPES.py

http://unladen-swallow.googlecode.com/
Python | 170 lines | 119 code | 36 blank | 15 comment | 0 complexity | 887ba679dcfc073508ba157da3f8f4f1 MD5 | raw file
  1# Generated by h2py from /usr/include/sys/types.h
  2_SYS_TYPES_H = 1
  3
  4# Included from features.h
  5_FEATURES_H = 1
  6__USE_ANSI = 1
  7__FAVOR_BSD = 1
  8_ISOC99_SOURCE = 1
  9_POSIX_SOURCE = 1
 10_POSIX_C_SOURCE = 199506L
 11_XOPEN_SOURCE = 600
 12_XOPEN_SOURCE_EXTENDED = 1
 13_LARGEFILE64_SOURCE = 1
 14_BSD_SOURCE = 1
 15_SVID_SOURCE = 1
 16_BSD_SOURCE = 1
 17_SVID_SOURCE = 1
 18__USE_ISOC99 = 1
 19_POSIX_SOURCE = 1
 20_POSIX_C_SOURCE = 2
 21_POSIX_C_SOURCE = 199506L
 22__USE_POSIX = 1
 23__USE_POSIX2 = 1
 24__USE_POSIX199309 = 1
 25__USE_POSIX199506 = 1
 26__USE_XOPEN = 1
 27__USE_XOPEN_EXTENDED = 1
 28__USE_UNIX98 = 1
 29_LARGEFILE_SOURCE = 1
 30__USE_XOPEN2K = 1
 31__USE_ISOC99 = 1
 32__USE_XOPEN_EXTENDED = 1
 33__USE_LARGEFILE = 1
 34__USE_LARGEFILE64 = 1
 35__USE_FILE_OFFSET64 = 1
 36__USE_MISC = 1
 37__USE_BSD = 1
 38__USE_SVID = 1
 39__USE_GNU = 1
 40__USE_REENTRANT = 1
 41__STDC_IEC_559__ = 1
 42__STDC_IEC_559_COMPLEX__ = 1
 43__STDC_ISO_10646__ = 200009L
 44__GNU_LIBRARY__ = 6
 45__GLIBC__ = 2
 46__GLIBC_MINOR__ = 2
 47
 48# Included from sys/cdefs.h
 49_SYS_CDEFS_H = 1
 50def __PMT(args): return args
 51
 52def __P(args): return args
 53
 54def __PMT(args): return args
 55
 56def __STRING(x): return #x
 57
 58__flexarr = []
 59__flexarr = [0]
 60__flexarr = []
 61__flexarr = [1]
 62def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
 63
 64def __attribute__(xyz): return
 65
 66def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
 67
 68def __attribute_format_arg__(x): return
 69
 70__USE_LARGEFILE = 1
 71__USE_LARGEFILE64 = 1
 72__USE_EXTERN_INLINES = 1
 73
 74# Included from gnu/stubs.h
 75
 76# Included from bits/types.h
 77_BITS_TYPES_H = 1
 78__FD_SETSIZE = 1024
 79
 80# Included from bits/pthreadtypes.h
 81_BITS_PTHREADTYPES_H = 1
 82
 83# Included from bits/sched.h
 84SCHED_OTHER = 0
 85SCHED_FIFO = 1
 86SCHED_RR = 2
 87CSIGNAL = 0x000000ff
 88CLONE_VM = 0x00000100
 89CLONE_FS = 0x00000200
 90CLONE_FILES = 0x00000400
 91CLONE_SIGHAND = 0x00000800
 92CLONE_PID = 0x00001000
 93CLONE_PTRACE = 0x00002000
 94CLONE_VFORK = 0x00004000
 95__defined_schedparam = 1
 96
 97# Included from time.h
 98_TIME_H = 1
 99
100# Included from bits/time.h
101_BITS_TIME_H = 1
102CLOCKS_PER_SEC = 1000000l
103CLOCK_REALTIME = 0
104CLOCK_PROCESS_CPUTIME_ID = 2
105CLOCK_THREAD_CPUTIME_ID = 3
106TIMER_ABSTIME = 1
107_STRUCT_TIMEVAL = 1
108CLK_TCK = CLOCKS_PER_SEC
109__clock_t_defined = 1
110__time_t_defined = 1
111__clockid_t_defined = 1
112__timer_t_defined = 1
113__timespec_defined = 1
114def __isleap(year): return \
115
116__BIT_TYPES_DEFINED__ = 1
117
118# Included from endian.h
119_ENDIAN_H = 1
120__LITTLE_ENDIAN = 1234
121__BIG_ENDIAN = 4321
122__PDP_ENDIAN = 3412
123
124# Included from bits/endian.h
125__BYTE_ORDER = __LITTLE_ENDIAN
126__FLOAT_WORD_ORDER = __BYTE_ORDER
127LITTLE_ENDIAN = __LITTLE_ENDIAN
128BIG_ENDIAN = __BIG_ENDIAN
129PDP_ENDIAN = __PDP_ENDIAN
130BYTE_ORDER = __BYTE_ORDER
131
132# Included from sys/select.h
133_SYS_SELECT_H = 1
134
135# Included from bits/select.h
136def __FD_ZERO(fdsp): return \
137
138def __FD_ZERO(set): return \
139
140
141# Included from bits/sigset.h
142_SIGSET_H_types = 1
143_SIGSET_H_fns = 1
144def __sigmask(sig): return \
145
146def __sigemptyset(set): return \
147
148def __sigfillset(set): return \
149
150def __sigisemptyset(set): return \
151
152def __FDELT(d): return ((d) / __NFDBITS)
153
154FD_SETSIZE = __FD_SETSIZE
155def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp)
156
157
158# Included from sys/sysmacros.h
159_SYS_SYSMACROS_H = 1
160def major(dev): return ((int)(((dev) >> 8) & 0xff))
161
162def minor(dev): return ((int)((dev) & 0xff))
163
164def major(dev): return (((dev).__val[1] >> 8) & 0xff)
165
166def minor(dev): return ((dev).__val[1] & 0xff)
167
168def major(dev): return (((dev).__val[0] >> 8) & 0xff)
169
170def minor(dev): return ((dev).__val[0] & 0xff)