1 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
2 | # 1 "<built-in>" 1 |
---|
3 | # 1 "<built-in>" 3 |
---|
4 | # 168 "<built-in>" 3 |
---|
5 | # 1 "<command line>" 1 |
---|
6 | # 1 "<built-in>" 2 |
---|
7 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
8 | # 16 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
9 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h" 1 |
---|
10 | # 28 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h" |
---|
11 | # 1 "/usr/include/TargetConditionals.h" 1 3 4 |
---|
12 | # 29 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h" 2 |
---|
13 | # 17 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
14 | |
---|
15 | |
---|
16 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h" 1 |
---|
17 | # 51 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h" |
---|
18 | namespace __sanitizer { |
---|
19 | |
---|
20 | |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | typedef unsigned long uptr; |
---|
26 | typedef signed long sptr; |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | typedef uptr uhwptr; |
---|
34 | |
---|
35 | typedef unsigned char u8; |
---|
36 | typedef unsigned short u16; |
---|
37 | typedef unsigned int u32; |
---|
38 | typedef unsigned long long u64; |
---|
39 | typedef signed char s8; |
---|
40 | typedef signed short s16; |
---|
41 | typedef signed int s32; |
---|
42 | typedef signed long long s64; |
---|
43 | typedef int fd_t; |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | typedef u64 OFF_T; |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | typedef u64 OFF64_T; |
---|
55 | |
---|
56 | |
---|
57 | typedef uptr operator_new_size_type; |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | } |
---|
62 | |
---|
63 | extern "C" { |
---|
64 | |
---|
65 | |
---|
66 | __attribute__((visibility("default"))) |
---|
67 | void __sanitizer_set_report_path(const char *path); |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | __attribute__((visibility("default"))) __attribute__((weak)) |
---|
73 | void __sanitizer_sandbox_on_notify(void *reserved); |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | __attribute__((visibility("default"))) __attribute__((weak)) |
---|
79 | void __sanitizer_report_error_summary(const char *error_summary); |
---|
80 | |
---|
81 | __attribute__((visibility("default"))) void __sanitizer_cov_dump(); |
---|
82 | __attribute__((visibility("default"))) void __sanitizer_cov(void *pc); |
---|
83 | __attribute__((visibility("default"))) |
---|
84 | void __sanitizer_annotate_contiguous_container(void *beg, void *end, |
---|
85 | void *old_mid, void *new_mid); |
---|
86 | } |
---|
87 | |
---|
88 | |
---|
89 | using namespace __sanitizer; |
---|
90 | # 171 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h" |
---|
91 | typedef __attribute__((aligned(1))) u16 uu16; |
---|
92 | typedef __attribute__((aligned(1))) u32 uu32; |
---|
93 | typedef __attribute__((aligned(1))) u64 uu64; |
---|
94 | typedef __attribute__((aligned(1))) s16 us16; |
---|
95 | typedef __attribute__((aligned(1))) s32 us32; |
---|
96 | typedef __attribute__((aligned(1))) s64 us64; |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | |
---|
103 | typedef void* thread_return_t; |
---|
104 | |
---|
105 | |
---|
106 | typedef thread_return_t ( *thread_callback_t)(void* arg); |
---|
107 | |
---|
108 | |
---|
109 | namespace __sanitizer { |
---|
110 | void __attribute__((noreturn)) Die(); |
---|
111 | |
---|
112 | |
---|
113 | __attribute__((visibility("default"))) |
---|
114 | void __attribute__((noreturn)) CheckFailed(const char *file, int line, const char *cond, |
---|
115 | u64 v1, u64 v2); |
---|
116 | } |
---|
117 | # 283 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h" |
---|
118 | enum LinkerInitialized { LINKER_INITIALIZED = 0 }; |
---|
119 | # 20 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
120 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" 1 |
---|
121 | # 21 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
122 | namespace __sanitizer { |
---|
123 | extern unsigned struct_utsname_sz; |
---|
124 | extern unsigned struct_stat_sz; |
---|
125 | |
---|
126 | extern unsigned struct_stat64_sz; |
---|
127 | |
---|
128 | extern unsigned struct_rusage_sz; |
---|
129 | extern unsigned struct_passwd_sz; |
---|
130 | extern unsigned struct_group_sz; |
---|
131 | extern unsigned siginfo_t_sz; |
---|
132 | extern unsigned struct_itimerval_sz; |
---|
133 | extern unsigned pthread_t_sz; |
---|
134 | extern unsigned pthread_cond_t_sz; |
---|
135 | extern unsigned pid_t_sz; |
---|
136 | extern unsigned timeval_sz; |
---|
137 | extern unsigned uid_t_sz; |
---|
138 | extern unsigned mbstate_t_sz; |
---|
139 | extern unsigned struct_timezone_sz; |
---|
140 | extern unsigned struct_tms_sz; |
---|
141 | extern unsigned struct_itimerspec_sz; |
---|
142 | extern unsigned struct_sigevent_sz; |
---|
143 | extern unsigned struct_sched_param_sz; |
---|
144 | extern unsigned struct_statfs_sz; |
---|
145 | extern unsigned struct_statfs64_sz; |
---|
146 | |
---|
147 | |
---|
148 | extern unsigned ucontext_t_sz; |
---|
149 | # 187 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
150 | struct __sanitizer_iovec { |
---|
151 | void *iov_base; |
---|
152 | uptr iov_len; |
---|
153 | }; |
---|
154 | |
---|
155 | |
---|
156 | typedef unsigned long __sanitizer_pthread_key_t; |
---|
157 | |
---|
158 | |
---|
159 | |
---|
160 | |
---|
161 | struct __sanitizer_ether_addr { |
---|
162 | u8 octet[6]; |
---|
163 | }; |
---|
164 | |
---|
165 | struct __sanitizer_tm { |
---|
166 | int tm_sec; |
---|
167 | int tm_min; |
---|
168 | int tm_hour; |
---|
169 | int tm_mday; |
---|
170 | int tm_mon; |
---|
171 | int tm_year; |
---|
172 | int tm_wday; |
---|
173 | int tm_yday; |
---|
174 | int tm_isdst; |
---|
175 | long int tm_gmtoff; |
---|
176 | const char *tm_zone; |
---|
177 | }; |
---|
178 | # 228 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
179 | struct __sanitizer_msghdr { |
---|
180 | void *msg_name; |
---|
181 | unsigned msg_namelen; |
---|
182 | struct __sanitizer_iovec *msg_iov; |
---|
183 | unsigned msg_iovlen; |
---|
184 | void *msg_control; |
---|
185 | unsigned msg_controllen; |
---|
186 | int msg_flags; |
---|
187 | }; |
---|
188 | struct __sanitizer_cmsghdr { |
---|
189 | unsigned cmsg_len; |
---|
190 | int cmsg_level; |
---|
191 | int cmsg_type; |
---|
192 | }; |
---|
193 | # 260 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
194 | struct __sanitizer_dirent { |
---|
195 | unsigned long long d_ino; |
---|
196 | unsigned long long d_seekoff; |
---|
197 | unsigned short d_reclen; |
---|
198 | |
---|
199 | }; |
---|
200 | # 321 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
201 | const int pthread_attr_t_max_sz = 128; |
---|
202 | union __sanitizer_pthread_attr_t { |
---|
203 | char size[pthread_attr_t_max_sz]; |
---|
204 | void *align; |
---|
205 | }; |
---|
206 | |
---|
207 | |
---|
208 | |
---|
209 | |
---|
210 | typedef unsigned __sanitizer_sigset_t; |
---|
211 | |
---|
212 | |
---|
213 | |
---|
214 | |
---|
215 | |
---|
216 | |
---|
217 | |
---|
218 | struct __sanitizer_sigaction { |
---|
219 | union { |
---|
220 | void (*sa_handler)(int sig); |
---|
221 | void (*sa_sigaction)(int sig, void *siginfo, void *uctx); |
---|
222 | }; |
---|
223 | __sanitizer_sigset_t sa_mask; |
---|
224 | int sa_flags; |
---|
225 | |
---|
226 | |
---|
227 | |
---|
228 | }; |
---|
229 | |
---|
230 | struct __sanitizer_kernel_sigset_t { |
---|
231 | u8 sig[8]; |
---|
232 | }; |
---|
233 | |
---|
234 | struct __sanitizer_kernel_sigaction_t { |
---|
235 | union { |
---|
236 | void (*sigaction)(int signo, void *info, void *ctx); |
---|
237 | void (*handler)(int signo); |
---|
238 | }; |
---|
239 | unsigned long sa_flags; |
---|
240 | void (*sa_restorer)(void); |
---|
241 | __sanitizer_kernel_sigset_t sa_mask; |
---|
242 | }; |
---|
243 | |
---|
244 | extern uptr sig_ign; |
---|
245 | extern uptr sig_dfl; |
---|
246 | extern uptr sa_siginfo; |
---|
247 | |
---|
248 | |
---|
249 | |
---|
250 | |
---|
251 | |
---|
252 | extern int af_inet; |
---|
253 | extern int af_inet6; |
---|
254 | uptr __sanitizer_in_addr_sz(int af); |
---|
255 | # 385 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
256 | struct __sanitizer_addrinfo { |
---|
257 | int ai_flags; |
---|
258 | int ai_family; |
---|
259 | int ai_socktype; |
---|
260 | int ai_protocol; |
---|
261 | |
---|
262 | unsigned ai_addrlen; |
---|
263 | char *ai_canonname; |
---|
264 | void *ai_addr; |
---|
265 | |
---|
266 | |
---|
267 | |
---|
268 | |
---|
269 | |
---|
270 | struct __sanitizer_addrinfo *ai_next; |
---|
271 | }; |
---|
272 | |
---|
273 | struct __sanitizer_hostent { |
---|
274 | char *h_name; |
---|
275 | char **h_aliases; |
---|
276 | int h_addrtype; |
---|
277 | int h_length; |
---|
278 | char **h_addr_list; |
---|
279 | }; |
---|
280 | |
---|
281 | struct __sanitizer_pollfd { |
---|
282 | int fd; |
---|
283 | short events; |
---|
284 | short revents; |
---|
285 | }; |
---|
286 | |
---|
287 | |
---|
288 | typedef unsigned __sanitizer_nfds_t; |
---|
289 | # 440 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
290 | extern unsigned path_max; |
---|
291 | |
---|
292 | struct __sanitizer_wordexp_t { |
---|
293 | uptr we_wordc; |
---|
294 | char **we_wordv; |
---|
295 | uptr we_offs; |
---|
296 | }; |
---|
297 | # 479 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
298 | struct __sanitizer_ifconf { |
---|
299 | int ifc_len; |
---|
300 | union { |
---|
301 | void *ifcu_req; |
---|
302 | } ifc_ifcu; |
---|
303 | |
---|
304 | } __attribute__((packed)); |
---|
305 | |
---|
306 | |
---|
307 | |
---|
308 | |
---|
309 | |
---|
310 | |
---|
311 | extern unsigned struct_arpreq_sz; |
---|
312 | extern unsigned struct_ifreq_sz; |
---|
313 | extern unsigned struct_termios_sz; |
---|
314 | extern unsigned struct_winsize_sz; |
---|
315 | # 568 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
316 | extern unsigned IOCTL_NOT_PRESENT; |
---|
317 | |
---|
318 | extern unsigned IOCTL_FIOASYNC; |
---|
319 | extern unsigned IOCTL_FIOCLEX; |
---|
320 | extern unsigned IOCTL_FIOGETOWN; |
---|
321 | extern unsigned IOCTL_FIONBIO; |
---|
322 | extern unsigned IOCTL_FIONCLEX; |
---|
323 | extern unsigned IOCTL_FIOSETOWN; |
---|
324 | extern unsigned IOCTL_SIOCADDMULTI; |
---|
325 | extern unsigned IOCTL_SIOCATMARK; |
---|
326 | extern unsigned IOCTL_SIOCDELMULTI; |
---|
327 | extern unsigned IOCTL_SIOCGIFADDR; |
---|
328 | extern unsigned IOCTL_SIOCGIFBRDADDR; |
---|
329 | extern unsigned IOCTL_SIOCGIFCONF; |
---|
330 | extern unsigned IOCTL_SIOCGIFDSTADDR; |
---|
331 | extern unsigned IOCTL_SIOCGIFFLAGS; |
---|
332 | extern unsigned IOCTL_SIOCGIFMETRIC; |
---|
333 | extern unsigned IOCTL_SIOCGIFMTU; |
---|
334 | extern unsigned IOCTL_SIOCGIFNETMASK; |
---|
335 | extern unsigned IOCTL_SIOCGPGRP; |
---|
336 | extern unsigned IOCTL_SIOCSIFADDR; |
---|
337 | extern unsigned IOCTL_SIOCSIFBRDADDR; |
---|
338 | extern unsigned IOCTL_SIOCSIFDSTADDR; |
---|
339 | extern unsigned IOCTL_SIOCSIFFLAGS; |
---|
340 | extern unsigned IOCTL_SIOCSIFMETRIC; |
---|
341 | extern unsigned IOCTL_SIOCSIFMTU; |
---|
342 | extern unsigned IOCTL_SIOCSIFNETMASK; |
---|
343 | extern unsigned IOCTL_SIOCSPGRP; |
---|
344 | extern unsigned IOCTL_TIOCCONS; |
---|
345 | extern unsigned IOCTL_TIOCEXCL; |
---|
346 | extern unsigned IOCTL_TIOCGETD; |
---|
347 | extern unsigned IOCTL_TIOCGPGRP; |
---|
348 | extern unsigned IOCTL_TIOCGWINSZ; |
---|
349 | extern unsigned IOCTL_TIOCMBIC; |
---|
350 | extern unsigned IOCTL_TIOCMBIS; |
---|
351 | extern unsigned IOCTL_TIOCMGET; |
---|
352 | extern unsigned IOCTL_TIOCMSET; |
---|
353 | extern unsigned IOCTL_TIOCNOTTY; |
---|
354 | extern unsigned IOCTL_TIOCNXCL; |
---|
355 | extern unsigned IOCTL_TIOCOUTQ; |
---|
356 | extern unsigned IOCTL_TIOCPKT; |
---|
357 | extern unsigned IOCTL_TIOCSCTTY; |
---|
358 | extern unsigned IOCTL_TIOCSETD; |
---|
359 | extern unsigned IOCTL_TIOCSPGRP; |
---|
360 | extern unsigned IOCTL_TIOCSTI; |
---|
361 | extern unsigned IOCTL_TIOCSWINSZ; |
---|
362 | # 977 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" |
---|
363 | extern const int errno_EOWNERDEAD; |
---|
364 | } |
---|
365 | # 21 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
366 | |
---|
367 | # 1 "/usr/include/arpa/inet.h" 1 3 4 |
---|
368 | # 89 "/usr/include/arpa/inet.h" 3 4 |
---|
369 | # 1 "/usr/include/_types.h" 1 3 4 |
---|
370 | # 27 "/usr/include/_types.h" 3 4 |
---|
371 | # 1 "/usr/include/sys/_types.h" 1 3 4 |
---|
372 | # 32 "/usr/include/sys/_types.h" 3 4 |
---|
373 | # 1 "/usr/include/sys/cdefs.h" 1 3 4 |
---|
374 | # 33 "/usr/include/sys/_types.h" 2 3 4 |
---|
375 | # 1 "/usr/include/machine/_types.h" 1 3 4 |
---|
376 | # 34 "/usr/include/machine/_types.h" 3 4 |
---|
377 | # 1 "/usr/include/i386/_types.h" 1 3 4 |
---|
378 | # 37 "/usr/include/i386/_types.h" 3 4 |
---|
379 | typedef signed char __int8_t; |
---|
380 | |
---|
381 | |
---|
382 | |
---|
383 | typedef unsigned char __uint8_t; |
---|
384 | typedef short __int16_t; |
---|
385 | typedef unsigned short __uint16_t; |
---|
386 | typedef int __int32_t; |
---|
387 | typedef unsigned int __uint32_t; |
---|
388 | typedef long long __int64_t; |
---|
389 | typedef unsigned long long __uint64_t; |
---|
390 | |
---|
391 | typedef long __darwin_intptr_t; |
---|
392 | typedef unsigned int __darwin_natural_t; |
---|
393 | # 70 "/usr/include/i386/_types.h" 3 4 |
---|
394 | typedef int __darwin_ct_rune_t; |
---|
395 | |
---|
396 | |
---|
397 | |
---|
398 | |
---|
399 | |
---|
400 | typedef union { |
---|
401 | char __mbstate8[128]; |
---|
402 | long long _mbstateL; |
---|
403 | } __mbstate_t; |
---|
404 | |
---|
405 | typedef __mbstate_t __darwin_mbstate_t; |
---|
406 | |
---|
407 | |
---|
408 | typedef int __darwin_ptrdiff_t; |
---|
409 | |
---|
410 | |
---|
411 | |
---|
412 | |
---|
413 | |
---|
414 | typedef long unsigned int __darwin_size_t; |
---|
415 | |
---|
416 | |
---|
417 | |
---|
418 | |
---|
419 | |
---|
420 | typedef __builtin_va_list __darwin_va_list; |
---|
421 | |
---|
422 | |
---|
423 | |
---|
424 | |
---|
425 | |
---|
426 | typedef int __darwin_wchar_t; |
---|
427 | |
---|
428 | |
---|
429 | |
---|
430 | |
---|
431 | typedef __darwin_wchar_t __darwin_rune_t; |
---|
432 | |
---|
433 | |
---|
434 | typedef int __darwin_wint_t; |
---|
435 | |
---|
436 | |
---|
437 | |
---|
438 | |
---|
439 | typedef unsigned long __darwin_clock_t; |
---|
440 | typedef __uint32_t __darwin_socklen_t; |
---|
441 | typedef long __darwin_ssize_t; |
---|
442 | typedef long __darwin_time_t; |
---|
443 | # 35 "/usr/include/machine/_types.h" 2 3 4 |
---|
444 | # 34 "/usr/include/sys/_types.h" 2 3 4 |
---|
445 | # 58 "/usr/include/sys/_types.h" 3 4 |
---|
446 | struct __darwin_pthread_handler_rec |
---|
447 | { |
---|
448 | void (*__routine)(void *); |
---|
449 | void *__arg; |
---|
450 | struct __darwin_pthread_handler_rec *__next; |
---|
451 | }; |
---|
452 | struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; }; |
---|
453 | struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; }; |
---|
454 | struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; }; |
---|
455 | struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; }; |
---|
456 | struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; |
---|
457 | struct _opaque_pthread_once_t { long __sig; char __opaque[4]; }; |
---|
458 | struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; }; |
---|
459 | struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; }; |
---|
460 | struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; }; |
---|
461 | # 94 "/usr/include/sys/_types.h" 3 4 |
---|
462 | typedef __int64_t __darwin_blkcnt_t; |
---|
463 | typedef __int32_t __darwin_blksize_t; |
---|
464 | typedef __int32_t __darwin_dev_t; |
---|
465 | typedef unsigned int __darwin_fsblkcnt_t; |
---|
466 | typedef unsigned int __darwin_fsfilcnt_t; |
---|
467 | typedef __uint32_t __darwin_gid_t; |
---|
468 | typedef __uint32_t __darwin_id_t; |
---|
469 | typedef __uint64_t __darwin_ino64_t; |
---|
470 | |
---|
471 | |
---|
472 | |
---|
473 | typedef __uint32_t __darwin_ino_t; |
---|
474 | |
---|
475 | typedef __darwin_natural_t __darwin_mach_port_name_t; |
---|
476 | typedef __darwin_mach_port_name_t __darwin_mach_port_t; |
---|
477 | typedef __uint16_t __darwin_mode_t; |
---|
478 | typedef __int64_t __darwin_off_t; |
---|
479 | typedef __int32_t __darwin_pid_t; |
---|
480 | typedef struct _opaque_pthread_attr_t |
---|
481 | __darwin_pthread_attr_t; |
---|
482 | typedef struct _opaque_pthread_cond_t |
---|
483 | __darwin_pthread_cond_t; |
---|
484 | typedef struct _opaque_pthread_condattr_t |
---|
485 | __darwin_pthread_condattr_t; |
---|
486 | typedef unsigned long __darwin_pthread_key_t; |
---|
487 | typedef struct _opaque_pthread_mutex_t |
---|
488 | __darwin_pthread_mutex_t; |
---|
489 | typedef struct _opaque_pthread_mutexattr_t |
---|
490 | __darwin_pthread_mutexattr_t; |
---|
491 | typedef struct _opaque_pthread_once_t |
---|
492 | __darwin_pthread_once_t; |
---|
493 | typedef struct _opaque_pthread_rwlock_t |
---|
494 | __darwin_pthread_rwlock_t; |
---|
495 | typedef struct _opaque_pthread_rwlockattr_t |
---|
496 | __darwin_pthread_rwlockattr_t; |
---|
497 | typedef struct _opaque_pthread_t |
---|
498 | *__darwin_pthread_t; |
---|
499 | typedef __uint32_t __darwin_sigset_t; |
---|
500 | typedef __int32_t __darwin_suseconds_t; |
---|
501 | typedef __uint32_t __darwin_uid_t; |
---|
502 | typedef __uint32_t __darwin_useconds_t; |
---|
503 | typedef unsigned char __darwin_uuid_t[16]; |
---|
504 | # 28 "/usr/include/_types.h" 2 3 4 |
---|
505 | |
---|
506 | typedef int __darwin_nl_item; |
---|
507 | typedef int __darwin_wctrans_t; |
---|
508 | |
---|
509 | |
---|
510 | |
---|
511 | typedef unsigned long __darwin_wctype_t; |
---|
512 | # 90 "/usr/include/arpa/inet.h" 2 3 4 |
---|
513 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 1 3 4 |
---|
514 | # 64 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 3 4 |
---|
515 | # 1 "/usr/include/stdint.h" 1 3 4 |
---|
516 | # 20 "/usr/include/stdint.h" 3 4 |
---|
517 | typedef signed char int8_t; |
---|
518 | |
---|
519 | |
---|
520 | |
---|
521 | |
---|
522 | typedef short int16_t; |
---|
523 | |
---|
524 | |
---|
525 | |
---|
526 | |
---|
527 | typedef int int32_t; |
---|
528 | |
---|
529 | |
---|
530 | |
---|
531 | |
---|
532 | typedef long long int64_t; |
---|
533 | |
---|
534 | |
---|
535 | |
---|
536 | |
---|
537 | typedef unsigned char uint8_t; |
---|
538 | |
---|
539 | |
---|
540 | |
---|
541 | |
---|
542 | typedef unsigned short uint16_t; |
---|
543 | |
---|
544 | |
---|
545 | |
---|
546 | |
---|
547 | typedef unsigned int uint32_t; |
---|
548 | |
---|
549 | |
---|
550 | |
---|
551 | |
---|
552 | typedef unsigned long long uint64_t; |
---|
553 | |
---|
554 | |
---|
555 | |
---|
556 | typedef int8_t int_least8_t; |
---|
557 | typedef int16_t int_least16_t; |
---|
558 | typedef int32_t int_least32_t; |
---|
559 | typedef int64_t int_least64_t; |
---|
560 | typedef uint8_t uint_least8_t; |
---|
561 | typedef uint16_t uint_least16_t; |
---|
562 | typedef uint32_t uint_least32_t; |
---|
563 | typedef uint64_t uint_least64_t; |
---|
564 | |
---|
565 | |
---|
566 | |
---|
567 | typedef int8_t int_fast8_t; |
---|
568 | typedef int16_t int_fast16_t; |
---|
569 | typedef int32_t int_fast32_t; |
---|
570 | typedef int64_t int_fast64_t; |
---|
571 | typedef uint8_t uint_fast8_t; |
---|
572 | typedef uint16_t uint_fast16_t; |
---|
573 | typedef uint32_t uint_fast32_t; |
---|
574 | typedef uint64_t uint_fast64_t; |
---|
575 | |
---|
576 | |
---|
577 | |
---|
578 | |
---|
579 | |
---|
580 | |
---|
581 | typedef long intptr_t; |
---|
582 | |
---|
583 | |
---|
584 | |
---|
585 | |
---|
586 | typedef unsigned long uintptr_t; |
---|
587 | |
---|
588 | |
---|
589 | |
---|
590 | |
---|
591 | |
---|
592 | |
---|
593 | |
---|
594 | typedef long long int intmax_t; |
---|
595 | # 106 "/usr/include/stdint.h" 3 4 |
---|
596 | typedef long long unsigned int uintmax_t; |
---|
597 | # 65 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 2 3 4 |
---|
598 | # 91 "/usr/include/arpa/inet.h" 2 3 4 |
---|
599 | # 1 "/usr/include/machine/endian.h" 1 3 4 |
---|
600 | # 37 "/usr/include/machine/endian.h" 3 4 |
---|
601 | # 1 "/usr/include/i386/endian.h" 1 3 4 |
---|
602 | # 99 "/usr/include/i386/endian.h" 3 4 |
---|
603 | # 1 "/usr/include/sys/_endian.h" 1 3 4 |
---|
604 | # 124 "/usr/include/sys/_endian.h" 3 4 |
---|
605 | # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 |
---|
606 | # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 |
---|
607 | # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 |
---|
608 | # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 |
---|
609 | static inline |
---|
610 | __uint16_t |
---|
611 | _OSSwapInt16( |
---|
612 | __uint16_t _data |
---|
613 | ) |
---|
614 | { |
---|
615 | return ((_data << 8) | (_data >> 8)); |
---|
616 | } |
---|
617 | |
---|
618 | static inline |
---|
619 | __uint32_t |
---|
620 | _OSSwapInt32( |
---|
621 | __uint32_t _data |
---|
622 | ) |
---|
623 | { |
---|
624 | __asm__ ("bswap %0" : "+r" (_data)); |
---|
625 | return _data; |
---|
626 | } |
---|
627 | |
---|
628 | |
---|
629 | static inline |
---|
630 | __uint64_t |
---|
631 | _OSSwapInt64( |
---|
632 | __uint64_t _data |
---|
633 | ) |
---|
634 | { |
---|
635 | __asm__ ("bswap %%eax\n\t" |
---|
636 | "bswap %%edx\n\t" |
---|
637 | "xchgl %%eax, %%edx" |
---|
638 | : "+A" (_data)); |
---|
639 | return _data; |
---|
640 | } |
---|
641 | # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 |
---|
642 | # 125 "/usr/include/sys/_endian.h" 2 3 4 |
---|
643 | # 100 "/usr/include/i386/endian.h" 2 3 4 |
---|
644 | # 38 "/usr/include/machine/endian.h" 2 3 4 |
---|
645 | # 92 "/usr/include/arpa/inet.h" 2 3 4 |
---|
646 | |
---|
647 | # 1 "/usr/include/netinet/in.h" 1 3 4 |
---|
648 | # 66 "/usr/include/netinet/in.h" 3 4 |
---|
649 | # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 |
---|
650 | # 67 "/usr/include/netinet/in.h" 2 3 4 |
---|
651 | |
---|
652 | |
---|
653 | |
---|
654 | |
---|
655 | |
---|
656 | typedef __uint32_t in_addr_t; |
---|
657 | |
---|
658 | |
---|
659 | |
---|
660 | |
---|
661 | typedef __uint16_t in_port_t; |
---|
662 | |
---|
663 | |
---|
664 | |
---|
665 | |
---|
666 | |
---|
667 | |
---|
668 | |
---|
669 | |
---|
670 | # 1 "/usr/include/sys/socket.h" 1 3 4 |
---|
671 | # 77 "/usr/include/sys/socket.h" 3 4 |
---|
672 | # 1 "/usr/include/machine/_param.h" 1 3 4 |
---|
673 | # 31 "/usr/include/machine/_param.h" 3 4 |
---|
674 | # 1 "/usr/include/i386/_param.h" 1 3 4 |
---|
675 | # 32 "/usr/include/machine/_param.h" 2 3 4 |
---|
676 | # 78 "/usr/include/sys/socket.h" 2 3 4 |
---|
677 | # 87 "/usr/include/sys/socket.h" 3 4 |
---|
678 | typedef __darwin_gid_t gid_t; |
---|
679 | |
---|
680 | |
---|
681 | |
---|
682 | |
---|
683 | typedef __darwin_off_t off_t; |
---|
684 | |
---|
685 | |
---|
686 | |
---|
687 | |
---|
688 | typedef __darwin_pid_t pid_t; |
---|
689 | |
---|
690 | |
---|
691 | |
---|
692 | |
---|
693 | |
---|
694 | typedef __uint8_t sa_family_t; |
---|
695 | |
---|
696 | |
---|
697 | |
---|
698 | |
---|
699 | typedef __darwin_socklen_t socklen_t; |
---|
700 | |
---|
701 | |
---|
702 | |
---|
703 | |
---|
704 | |
---|
705 | typedef __darwin_size_t size_t; |
---|
706 | |
---|
707 | |
---|
708 | |
---|
709 | |
---|
710 | |
---|
711 | typedef __darwin_ssize_t ssize_t; |
---|
712 | |
---|
713 | |
---|
714 | |
---|
715 | |
---|
716 | |
---|
717 | |
---|
718 | |
---|
719 | struct iovec { |
---|
720 | void * iov_base; |
---|
721 | size_t iov_len; |
---|
722 | }; |
---|
723 | # 210 "/usr/include/sys/socket.h" 3 4 |
---|
724 | struct linger { |
---|
725 | int l_onoff; |
---|
726 | int l_linger; |
---|
727 | }; |
---|
728 | # 294 "/usr/include/sys/socket.h" 3 4 |
---|
729 | struct sockaddr { |
---|
730 | __uint8_t sa_len; |
---|
731 | sa_family_t sa_family; |
---|
732 | char sa_data[14]; |
---|
733 | }; |
---|
734 | # 307 "/usr/include/sys/socket.h" 3 4 |
---|
735 | struct sockproto { |
---|
736 | __uint16_t sp_family; |
---|
737 | __uint16_t sp_protocol; |
---|
738 | }; |
---|
739 | # 327 "/usr/include/sys/socket.h" 3 4 |
---|
740 | struct sockaddr_storage { |
---|
741 | __uint8_t ss_len; |
---|
742 | sa_family_t ss_family; |
---|
743 | char __ss_pad1[((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t))]; |
---|
744 | __int64_t __ss_align; |
---|
745 | char __ss_pad2[(128 - sizeof(__uint8_t) - sizeof(sa_family_t) - ((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t)) - (sizeof(__int64_t)))]; |
---|
746 | }; |
---|
747 | # 434 "/usr/include/sys/socket.h" 3 4 |
---|
748 | struct msghdr { |
---|
749 | void *msg_name; |
---|
750 | socklen_t msg_namelen; |
---|
751 | struct iovec *msg_iov; |
---|
752 | int msg_iovlen; |
---|
753 | void *msg_control; |
---|
754 | socklen_t msg_controllen; |
---|
755 | int msg_flags; |
---|
756 | }; |
---|
757 | # 472 "/usr/include/sys/socket.h" 3 4 |
---|
758 | struct cmsghdr { |
---|
759 | socklen_t cmsg_len; |
---|
760 | int cmsg_level; |
---|
761 | int cmsg_type; |
---|
762 | |
---|
763 | }; |
---|
764 | # 546 "/usr/include/sys/socket.h" 3 4 |
---|
765 | struct sf_hdtr { |
---|
766 | struct iovec *headers; |
---|
767 | int hdr_cnt; |
---|
768 | struct iovec *trailers; |
---|
769 | int trl_cnt; |
---|
770 | }; |
---|
771 | |
---|
772 | |
---|
773 | |
---|
774 | |
---|
775 | extern "C" { |
---|
776 | int accept(int, struct sockaddr * , socklen_t * ) |
---|
777 | __asm("_" "accept" "$UNIX2003") ; |
---|
778 | int bind(int, const struct sockaddr *, socklen_t) __asm("_" "bind" "$UNIX2003"); |
---|
779 | int connect(int, const struct sockaddr *, socklen_t) __asm("_" "connect" "$UNIX2003") ; |
---|
780 | int getpeername(int, struct sockaddr * , socklen_t * ) |
---|
781 | __asm("_" "getpeername" "$UNIX2003"); |
---|
782 | int getsockname(int, struct sockaddr * , socklen_t * ) |
---|
783 | __asm("_" "getsockname" "$UNIX2003"); |
---|
784 | int getsockopt(int, int, int, void * , socklen_t * ); |
---|
785 | int listen(int, int) __asm("_" "listen" "$UNIX2003"); |
---|
786 | ssize_t recv(int, void *, size_t, int) __asm("_" "recv" "$UNIX2003") ; |
---|
787 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * , |
---|
788 | socklen_t * ) __asm("_" "recvfrom" "$UNIX2003") ; |
---|
789 | ssize_t recvmsg(int, struct msghdr *, int) __asm("_" "recvmsg" "$UNIX2003") ; |
---|
790 | ssize_t send(int, const void *, size_t, int) __asm("_" "send" "$UNIX2003") ; |
---|
791 | ssize_t sendmsg(int, const struct msghdr *, int) __asm("_" "sendmsg" "$UNIX2003") ; |
---|
792 | ssize_t sendto(int, const void *, size_t, |
---|
793 | int, const struct sockaddr *, socklen_t) __asm("_" "sendto" "$UNIX2003") ; |
---|
794 | int setsockopt(int, int, int, const void *, socklen_t); |
---|
795 | int shutdown(int, int); |
---|
796 | int sockatmark(int); |
---|
797 | int socket(int, int, int); |
---|
798 | int socketpair(int, int, int, int *) __asm("_" "socketpair" "$UNIX2003"); |
---|
799 | |
---|
800 | |
---|
801 | int sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int); |
---|
802 | |
---|
803 | |
---|
804 | |
---|
805 | void pfctlinput(int, struct sockaddr *); |
---|
806 | |
---|
807 | } |
---|
808 | # 86 "/usr/include/netinet/in.h" 2 3 4 |
---|
809 | # 304 "/usr/include/netinet/in.h" 3 4 |
---|
810 | struct in_addr { |
---|
811 | in_addr_t s_addr; |
---|
812 | }; |
---|
813 | # 362 "/usr/include/netinet/in.h" 3 4 |
---|
814 | struct sockaddr_in { |
---|
815 | __uint8_t sin_len; |
---|
816 | sa_family_t sin_family; |
---|
817 | in_port_t sin_port; |
---|
818 | struct in_addr sin_addr; |
---|
819 | char sin_zero[8]; |
---|
820 | }; |
---|
821 | # 380 "/usr/include/netinet/in.h" 3 4 |
---|
822 | struct ip_opts { |
---|
823 | struct in_addr ip_dst; |
---|
824 | char ip_opts[40]; |
---|
825 | }; |
---|
826 | # 462 "/usr/include/netinet/in.h" 3 4 |
---|
827 | struct ip_mreq { |
---|
828 | struct in_addr imr_multiaddr; |
---|
829 | struct in_addr imr_interface; |
---|
830 | }; |
---|
831 | # 514 "/usr/include/netinet/in.h" 3 4 |
---|
832 | # 1 "/usr/include/netinet6/in6.h" 1 3 4 |
---|
833 | # 130 "/usr/include/netinet6/in6.h" 3 4 |
---|
834 | struct in6_addr { |
---|
835 | union { |
---|
836 | __uint8_t __u6_addr8[16]; |
---|
837 | __uint16_t __u6_addr16[8]; |
---|
838 | __uint32_t __u6_addr32[4]; |
---|
839 | } __u6_addr; |
---|
840 | }; |
---|
841 | # 148 "/usr/include/netinet6/in6.h" 3 4 |
---|
842 | struct sockaddr_in6 { |
---|
843 | __uint8_t sin6_len; |
---|
844 | sa_family_t sin6_family; |
---|
845 | in_port_t sin6_port; |
---|
846 | __uint32_t sin6_flowinfo; |
---|
847 | struct in6_addr sin6_addr; |
---|
848 | __uint32_t sin6_scope_id; |
---|
849 | }; |
---|
850 | # 188 "/usr/include/netinet6/in6.h" 3 4 |
---|
851 | extern const struct in6_addr in6addr_any; |
---|
852 | extern const struct in6_addr in6addr_loopback; |
---|
853 | |
---|
854 | extern const struct in6_addr in6addr_nodelocal_allnodes; |
---|
855 | extern const struct in6_addr in6addr_linklocal_allnodes; |
---|
856 | extern const struct in6_addr in6addr_linklocal_allrouters; |
---|
857 | # 365 "/usr/include/netinet6/in6.h" 3 4 |
---|
858 | struct ipv6_mreq { |
---|
859 | struct in6_addr ipv6mr_multiaddr; |
---|
860 | unsigned int ipv6mr_interface; |
---|
861 | }; |
---|
862 | |
---|
863 | |
---|
864 | |
---|
865 | |
---|
866 | struct in6_pktinfo { |
---|
867 | struct in6_addr ipi6_addr; |
---|
868 | unsigned int ipi6_ifindex; |
---|
869 | }; |
---|
870 | # 442 "/usr/include/netinet6/in6.h" 3 4 |
---|
871 | extern "C" { |
---|
872 | struct cmsghdr; |
---|
873 | |
---|
874 | extern int inet6_option_space(int); |
---|
875 | extern int inet6_option_init(void *, struct cmsghdr **, int); |
---|
876 | extern int inet6_option_append(struct cmsghdr *, const __uint8_t *, |
---|
877 | int, int); |
---|
878 | extern __uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int); |
---|
879 | extern int inet6_option_next(const struct cmsghdr *, __uint8_t **); |
---|
880 | extern int inet6_option_find(const struct cmsghdr *, __uint8_t **, int); |
---|
881 | |
---|
882 | extern size_t inet6_rthdr_space(int, int); |
---|
883 | extern struct cmsghdr *inet6_rthdr_init(void *, int); |
---|
884 | extern int inet6_rthdr_add(struct cmsghdr *, const struct in6_addr *, |
---|
885 | unsigned int); |
---|
886 | extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int); |
---|
887 | |
---|
888 | |
---|
889 | |
---|
890 | extern int inet6_rthdr_segments(const struct cmsghdr *); |
---|
891 | extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int); |
---|
892 | extern int inet6_rthdr_getflags(const struct cmsghdr *, int); |
---|
893 | |
---|
894 | extern int inet6_opt_init(void *, size_t); |
---|
895 | extern int inet6_opt_append(void *, size_t, int, __uint8_t, |
---|
896 | size_t, __uint8_t, void **); |
---|
897 | extern int inet6_opt_finish(void *, size_t, int); |
---|
898 | extern int inet6_opt_set_val(void *, size_t, void *, int); |
---|
899 | |
---|
900 | extern int inet6_opt_next(void *, size_t, int, __uint8_t *, |
---|
901 | size_t *, void **); |
---|
902 | extern int inet6_opt_find(void *, size_t, int, __uint8_t, |
---|
903 | size_t *, void **); |
---|
904 | extern int inet6_opt_get_val(void *, size_t, void *, int); |
---|
905 | extern size_t inet6_rth_space(int, int); |
---|
906 | extern void *inet6_rth_init(void *, int, int, int); |
---|
907 | extern int inet6_rth_add(void *, const struct in6_addr *); |
---|
908 | extern int inet6_rth_reverse(const void *, void *); |
---|
909 | extern int inet6_rth_segments(const void *); |
---|
910 | extern struct in6_addr *inet6_rth_getaddr(const void *, int); |
---|
911 | } |
---|
912 | # 515 "/usr/include/netinet/in.h" 2 3 4 |
---|
913 | # 94 "/usr/include/arpa/inet.h" 2 3 4 |
---|
914 | |
---|
915 | extern "C" { |
---|
916 | |
---|
917 | in_addr_t inet_addr(const char *); |
---|
918 | char *inet_ntoa(struct in_addr); |
---|
919 | const char *inet_ntop(int, const void *, char *, socklen_t); |
---|
920 | int inet_pton(int, const char *, void *); |
---|
921 | |
---|
922 | int ascii2addr(int, const char *, void *); |
---|
923 | char *addr2ascii(int, const void *, int, char *); |
---|
924 | int inet_aton(const char *, struct in_addr *); |
---|
925 | in_addr_t inet_lnaof(struct in_addr); |
---|
926 | struct in_addr inet_makeaddr(in_addr_t, in_addr_t); |
---|
927 | in_addr_t inet_netof(struct in_addr); |
---|
928 | in_addr_t inet_network(const char *); |
---|
929 | char *inet_net_ntop(int, const void *, int, char *, __darwin_size_t); |
---|
930 | int inet_net_pton(int, const char *, void *, __darwin_size_t); |
---|
931 | char *inet_neta(in_addr_t, char *, __darwin_size_t); |
---|
932 | unsigned int inet_nsap_addr(const char *, unsigned char *, int maxlen); |
---|
933 | char *inet_nsap_ntoa(int, const unsigned char *, char *ascii); |
---|
934 | |
---|
935 | |
---|
936 | } |
---|
937 | # 23 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
938 | # 1 "/usr/include/dirent.h" 1 3 4 |
---|
939 | # 66 "/usr/include/dirent.h" 3 4 |
---|
940 | # 1 "/usr/include/sys/dirent.h" 1 3 4 |
---|
941 | # 82 "/usr/include/sys/dirent.h" 3 4 |
---|
942 | typedef __darwin_ino_t ino_t; |
---|
943 | |
---|
944 | |
---|
945 | |
---|
946 | |
---|
947 | |
---|
948 | |
---|
949 | #pragma pack(4) |
---|
950 | |
---|
951 | |
---|
952 | struct dirent { |
---|
953 | ino_t d_ino; |
---|
954 | __uint16_t d_reclen; |
---|
955 | __uint8_t d_type; |
---|
956 | __uint8_t d_namlen; |
---|
957 | char d_name[255 + 1]; |
---|
958 | }; |
---|
959 | |
---|
960 | |
---|
961 | #pragma pack() |
---|
962 | # 67 "/usr/include/dirent.h" 2 3 4 |
---|
963 | |
---|
964 | struct _telldir; |
---|
965 | |
---|
966 | |
---|
967 | typedef struct { |
---|
968 | int __dd_fd; |
---|
969 | long __dd_loc; |
---|
970 | long __dd_size; |
---|
971 | char *__dd_buf; |
---|
972 | int __dd_len; |
---|
973 | long __dd_seek; |
---|
974 | long __dd_rewind; |
---|
975 | int __dd_flags; |
---|
976 | __darwin_pthread_mutex_t __dd_lock; |
---|
977 | struct _telldir *__dd_td; |
---|
978 | } DIR; |
---|
979 | # 102 "/usr/include/dirent.h" 3 4 |
---|
980 | extern "C" { |
---|
981 | |
---|
982 | int alphasort(const void *, const void *) __asm("_" "alphasort") ; |
---|
983 | |
---|
984 | int closedir(DIR *) __asm("_" "closedir" "$UNIX2003"); |
---|
985 | |
---|
986 | int getdirentries(int, char *, int, long *); |
---|
987 | |
---|
988 | DIR *opendir(const char *) __asm("_" "opendir" "$UNIX2003") ; |
---|
989 | |
---|
990 | DIR *__opendir2(const char *, int) __asm("_" "__opendir2" "$UNIX2003") ; |
---|
991 | |
---|
992 | struct dirent *readdir(DIR *) __asm("_" "readdir") ; |
---|
993 | int readdir_r(DIR *, struct dirent *, struct dirent **) __asm("_" "readdir_r") ; |
---|
994 | void rewinddir(DIR *) __asm("_" "rewinddir" "$UNIX2003") ; |
---|
995 | |
---|
996 | int scandir(const char *, struct dirent ***, |
---|
997 | int (*)(struct dirent *), int (*)(const void *, const void *)) __asm("_" "scandir") ; |
---|
998 | |
---|
999 | void seekdir(DIR *, long) __asm("_" "seekdir" "$UNIX2003") ; |
---|
1000 | long telldir(DIR *) __asm("_" "telldir" "$UNIX2003") ; |
---|
1001 | } |
---|
1002 | # 24 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1003 | # 1 "/usr/include/errno.h" 1 3 4 |
---|
1004 | # 23 "/usr/include/errno.h" 3 4 |
---|
1005 | # 1 "/usr/include/sys/errno.h" 1 3 4 |
---|
1006 | # 73 "/usr/include/sys/errno.h" 3 4 |
---|
1007 | extern "C" { |
---|
1008 | extern int * __error(void); |
---|
1009 | |
---|
1010 | } |
---|
1011 | # 24 "/usr/include/errno.h" 2 3 4 |
---|
1012 | # 25 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1013 | # 1 "/usr/include/grp.h" 1 3 4 |
---|
1014 | # 87 "/usr/include/grp.h" 3 4 |
---|
1015 | struct group { |
---|
1016 | char *gr_name; |
---|
1017 | char *gr_passwd; |
---|
1018 | gid_t gr_gid; |
---|
1019 | char **gr_mem; |
---|
1020 | }; |
---|
1021 | |
---|
1022 | |
---|
1023 | |
---|
1024 | extern "C" { |
---|
1025 | |
---|
1026 | struct group *getgrgid(gid_t); |
---|
1027 | struct group *getgrnam(const char *); |
---|
1028 | |
---|
1029 | int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); |
---|
1030 | int getgrnam_r(const char *, struct group *, char *, size_t, struct group **); |
---|
1031 | |
---|
1032 | struct group *getgrent(void); |
---|
1033 | void setgrent(void); |
---|
1034 | void endgrent(void); |
---|
1035 | |
---|
1036 | |
---|
1037 | |
---|
1038 | char *group_from_gid(gid_t, int); |
---|
1039 | |
---|
1040 | void setgrfile(const char *); |
---|
1041 | int setgroupent(int); |
---|
1042 | |
---|
1043 | } |
---|
1044 | # 26 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1045 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 1 3 4 |
---|
1046 | # 38 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 3 4 |
---|
1047 | # 1 "/usr/include/limits.h" 1 3 4 |
---|
1048 | # 64 "/usr/include/limits.h" 3 4 |
---|
1049 | # 1 "/usr/include/machine/limits.h" 1 3 4 |
---|
1050 | |
---|
1051 | |
---|
1052 | |
---|
1053 | |
---|
1054 | |
---|
1055 | |
---|
1056 | |
---|
1057 | # 1 "/usr/include/i386/limits.h" 1 3 4 |
---|
1058 | # 40 "/usr/include/i386/limits.h" 3 4 |
---|
1059 | # 1 "/usr/include/i386/_limits.h" 1 3 4 |
---|
1060 | # 41 "/usr/include/i386/limits.h" 2 3 4 |
---|
1061 | # 9 "/usr/include/machine/limits.h" 2 3 4 |
---|
1062 | # 65 "/usr/include/limits.h" 2 3 4 |
---|
1063 | # 1 "/usr/include/sys/syslimits.h" 1 3 4 |
---|
1064 | # 66 "/usr/include/limits.h" 2 3 4 |
---|
1065 | # 39 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 2 3 4 |
---|
1066 | # 27 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1067 | # 1 "/usr/include/net/if.h" 1 3 4 |
---|
1068 | # 98 "/usr/include/net/if.h" 3 4 |
---|
1069 | # 1 "/usr/include/net/if_var.h" 1 3 4 |
---|
1070 | # 68 "/usr/include/net/if_var.h" 3 4 |
---|
1071 | # 1 "/usr/include/sys/types.h" 1 3 4 |
---|
1072 | # 78 "/usr/include/sys/types.h" 3 4 |
---|
1073 | # 1 "/usr/include/machine/types.h" 1 3 4 |
---|
1074 | # 37 "/usr/include/machine/types.h" 3 4 |
---|
1075 | # 1 "/usr/include/i386/types.h" 1 3 4 |
---|
1076 | # 80 "/usr/include/i386/types.h" 3 4 |
---|
1077 | typedef unsigned char u_int8_t; |
---|
1078 | |
---|
1079 | |
---|
1080 | |
---|
1081 | |
---|
1082 | typedef unsigned short u_int16_t; |
---|
1083 | |
---|
1084 | |
---|
1085 | |
---|
1086 | |
---|
1087 | typedef unsigned int u_int32_t; |
---|
1088 | |
---|
1089 | |
---|
1090 | |
---|
1091 | |
---|
1092 | typedef unsigned long long u_int64_t; |
---|
1093 | |
---|
1094 | |
---|
1095 | |
---|
1096 | |
---|
1097 | typedef int32_t register_t; |
---|
1098 | # 114 "/usr/include/i386/types.h" 3 4 |
---|
1099 | typedef u_int64_t user_addr_t; |
---|
1100 | typedef u_int64_t user_size_t; |
---|
1101 | typedef int64_t user_ssize_t; |
---|
1102 | typedef int64_t user_long_t; |
---|
1103 | typedef u_int64_t user_ulong_t; |
---|
1104 | typedef int64_t user_time_t; |
---|
1105 | |
---|
1106 | |
---|
1107 | |
---|
1108 | |
---|
1109 | |
---|
1110 | typedef u_int64_t syscall_arg_t; |
---|
1111 | # 38 "/usr/include/machine/types.h" 2 3 4 |
---|
1112 | # 79 "/usr/include/sys/types.h" 2 3 4 |
---|
1113 | |
---|
1114 | |
---|
1115 | |
---|
1116 | |
---|
1117 | |
---|
1118 | typedef unsigned char u_char; |
---|
1119 | typedef unsigned short u_short; |
---|
1120 | typedef unsigned int u_int; |
---|
1121 | |
---|
1122 | typedef unsigned long u_long; |
---|
1123 | |
---|
1124 | |
---|
1125 | typedef unsigned short ushort; |
---|
1126 | typedef unsigned int uint; |
---|
1127 | |
---|
1128 | |
---|
1129 | typedef u_int64_t u_quad_t; |
---|
1130 | typedef int64_t quad_t; |
---|
1131 | typedef quad_t * qaddr_t; |
---|
1132 | |
---|
1133 | typedef char * caddr_t; |
---|
1134 | typedef int32_t daddr_t; |
---|
1135 | |
---|
1136 | |
---|
1137 | typedef __darwin_dev_t dev_t; |
---|
1138 | |
---|
1139 | |
---|
1140 | |
---|
1141 | typedef u_int32_t fixpt_t; |
---|
1142 | |
---|
1143 | |
---|
1144 | typedef __darwin_blkcnt_t blkcnt_t; |
---|
1145 | |
---|
1146 | |
---|
1147 | |
---|
1148 | |
---|
1149 | typedef __darwin_blksize_t blksize_t; |
---|
1150 | # 141 "/usr/include/sys/types.h" 3 4 |
---|
1151 | typedef __darwin_ino64_t ino64_t; |
---|
1152 | |
---|
1153 | |
---|
1154 | |
---|
1155 | |
---|
1156 | |
---|
1157 | |
---|
1158 | typedef __int32_t key_t; |
---|
1159 | |
---|
1160 | |
---|
1161 | |
---|
1162 | typedef __darwin_mode_t mode_t; |
---|
1163 | |
---|
1164 | |
---|
1165 | |
---|
1166 | |
---|
1167 | typedef __uint16_t nlink_t; |
---|
1168 | |
---|
1169 | |
---|
1170 | |
---|
1171 | |
---|
1172 | |
---|
1173 | typedef __darwin_id_t id_t; |
---|
1174 | # 176 "/usr/include/sys/types.h" 3 4 |
---|
1175 | typedef int32_t segsz_t; |
---|
1176 | typedef int32_t swblk_t; |
---|
1177 | |
---|
1178 | |
---|
1179 | typedef __darwin_uid_t uid_t; |
---|
1180 | # 197 "/usr/include/sys/types.h" 3 4 |
---|
1181 | static inline __int32_t major(__uint32_t _x) |
---|
1182 | { |
---|
1183 | return (__int32_t)(((__uint32_t)_x >> 24) & 0xff); |
---|
1184 | } |
---|
1185 | |
---|
1186 | static inline __int32_t minor(__uint32_t _x) |
---|
1187 | { |
---|
1188 | return (__int32_t)((_x) & 0xffffff); |
---|
1189 | } |
---|
1190 | |
---|
1191 | static inline dev_t makedev(__uint32_t _major, __uint32_t _minor) |
---|
1192 | { |
---|
1193 | return (dev_t)(((_major) << 24) | (_minor)); |
---|
1194 | } |
---|
1195 | # 223 "/usr/include/sys/types.h" 3 4 |
---|
1196 | typedef __darwin_clock_t clock_t; |
---|
1197 | # 240 "/usr/include/sys/types.h" 3 4 |
---|
1198 | typedef __darwin_time_t time_t; |
---|
1199 | |
---|
1200 | |
---|
1201 | |
---|
1202 | |
---|
1203 | typedef __darwin_useconds_t useconds_t; |
---|
1204 | |
---|
1205 | |
---|
1206 | |
---|
1207 | |
---|
1208 | typedef __darwin_suseconds_t suseconds_t; |
---|
1209 | # 260 "/usr/include/sys/types.h" 3 4 |
---|
1210 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
1211 | # 183 "/usr/include/sys/_structs.h" 3 4 |
---|
1212 | extern "C" { |
---|
1213 | typedef struct fd_set { |
---|
1214 | __int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))]; |
---|
1215 | } fd_set; |
---|
1216 | } |
---|
1217 | |
---|
1218 | |
---|
1219 | static inline int |
---|
1220 | __darwin_fd_isset(int _n, struct fd_set *_p) |
---|
1221 | { |
---|
1222 | return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8)))); |
---|
1223 | } |
---|
1224 | # 261 "/usr/include/sys/types.h" 2 3 4 |
---|
1225 | |
---|
1226 | |
---|
1227 | |
---|
1228 | |
---|
1229 | typedef __int32_t fd_mask; |
---|
1230 | # 318 "/usr/include/sys/types.h" 3 4 |
---|
1231 | typedef __darwin_pthread_attr_t pthread_attr_t; |
---|
1232 | |
---|
1233 | |
---|
1234 | |
---|
1235 | typedef __darwin_pthread_cond_t pthread_cond_t; |
---|
1236 | |
---|
1237 | |
---|
1238 | |
---|
1239 | typedef __darwin_pthread_condattr_t pthread_condattr_t; |
---|
1240 | |
---|
1241 | |
---|
1242 | |
---|
1243 | typedef __darwin_pthread_mutex_t pthread_mutex_t; |
---|
1244 | |
---|
1245 | |
---|
1246 | |
---|
1247 | typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t; |
---|
1248 | |
---|
1249 | |
---|
1250 | |
---|
1251 | typedef __darwin_pthread_once_t pthread_once_t; |
---|
1252 | |
---|
1253 | |
---|
1254 | |
---|
1255 | typedef __darwin_pthread_rwlock_t pthread_rwlock_t; |
---|
1256 | |
---|
1257 | |
---|
1258 | |
---|
1259 | typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t; |
---|
1260 | |
---|
1261 | |
---|
1262 | |
---|
1263 | typedef __darwin_pthread_t pthread_t; |
---|
1264 | |
---|
1265 | |
---|
1266 | |
---|
1267 | |
---|
1268 | |
---|
1269 | |
---|
1270 | typedef __darwin_pthread_key_t pthread_key_t; |
---|
1271 | |
---|
1272 | |
---|
1273 | |
---|
1274 | |
---|
1275 | |
---|
1276 | typedef __darwin_fsblkcnt_t fsblkcnt_t; |
---|
1277 | |
---|
1278 | |
---|
1279 | |
---|
1280 | |
---|
1281 | typedef __darwin_fsfilcnt_t fsfilcnt_t; |
---|
1282 | # 69 "/usr/include/net/if_var.h" 2 3 4 |
---|
1283 | # 1 "/usr/include/sys/time.h" 1 3 4 |
---|
1284 | # 77 "/usr/include/sys/time.h" 3 4 |
---|
1285 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
1286 | # 88 "/usr/include/sys/_structs.h" 3 4 |
---|
1287 | struct timespec |
---|
1288 | { |
---|
1289 | __darwin_time_t tv_sec; |
---|
1290 | long tv_nsec; |
---|
1291 | }; |
---|
1292 | |
---|
1293 | |
---|
1294 | |
---|
1295 | |
---|
1296 | |
---|
1297 | |
---|
1298 | |
---|
1299 | struct timeval |
---|
1300 | { |
---|
1301 | __darwin_time_t tv_sec; |
---|
1302 | __darwin_suseconds_t tv_usec; |
---|
1303 | }; |
---|
1304 | # 78 "/usr/include/sys/time.h" 2 3 4 |
---|
1305 | # 93 "/usr/include/sys/time.h" 3 4 |
---|
1306 | struct itimerval { |
---|
1307 | struct timeval it_interval; |
---|
1308 | struct timeval it_value; |
---|
1309 | }; |
---|
1310 | # 144 "/usr/include/sys/time.h" 3 4 |
---|
1311 | struct timezone { |
---|
1312 | int tz_minuteswest; |
---|
1313 | int tz_dsttime; |
---|
1314 | }; |
---|
1315 | # 187 "/usr/include/sys/time.h" 3 4 |
---|
1316 | struct clockinfo { |
---|
1317 | int hz; |
---|
1318 | int tick; |
---|
1319 | int tickadj; |
---|
1320 | int stathz; |
---|
1321 | int profhz; |
---|
1322 | }; |
---|
1323 | |
---|
1324 | |
---|
1325 | |
---|
1326 | |
---|
1327 | |
---|
1328 | # 1 "/usr/include/time.h" 1 3 4 |
---|
1329 | # 69 "/usr/include/time.h" 3 4 |
---|
1330 | # 1 "/usr/include/_structs.h" 1 3 4 |
---|
1331 | # 24 "/usr/include/_structs.h" 3 4 |
---|
1332 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
1333 | # 25 "/usr/include/_structs.h" 2 3 4 |
---|
1334 | # 70 "/usr/include/time.h" 2 3 4 |
---|
1335 | # 90 "/usr/include/time.h" 3 4 |
---|
1336 | struct tm { |
---|
1337 | int tm_sec; |
---|
1338 | int tm_min; |
---|
1339 | int tm_hour; |
---|
1340 | int tm_mday; |
---|
1341 | int tm_mon; |
---|
1342 | int tm_year; |
---|
1343 | int tm_wday; |
---|
1344 | int tm_yday; |
---|
1345 | int tm_isdst; |
---|
1346 | long tm_gmtoff; |
---|
1347 | char *tm_zone; |
---|
1348 | }; |
---|
1349 | # 113 "/usr/include/time.h" 3 4 |
---|
1350 | extern char *tzname[]; |
---|
1351 | |
---|
1352 | |
---|
1353 | extern int getdate_err; |
---|
1354 | |
---|
1355 | extern long timezone __asm("_" "timezone" "$UNIX2003"); |
---|
1356 | |
---|
1357 | extern int daylight; |
---|
1358 | |
---|
1359 | extern "C" { |
---|
1360 | char *asctime(const struct tm *); |
---|
1361 | clock_t clock(void) __asm("_" "clock" "$UNIX2003"); |
---|
1362 | char *ctime(const time_t *); |
---|
1363 | double difftime(time_t, time_t); |
---|
1364 | struct tm *getdate(const char *); |
---|
1365 | struct tm *gmtime(const time_t *); |
---|
1366 | struct tm *localtime(const time_t *); |
---|
1367 | time_t mktime(struct tm *) __asm("_" "mktime" "$UNIX2003"); |
---|
1368 | size_t strftime(char * , size_t, const char * , const struct tm * ) __asm("_" "strftime" "$UNIX2003"); |
---|
1369 | char *strptime(const char * , const char * , struct tm * ) __asm("_" "strptime" "$UNIX2003"); |
---|
1370 | time_t time(time_t *); |
---|
1371 | |
---|
1372 | |
---|
1373 | void tzset(void); |
---|
1374 | |
---|
1375 | |
---|
1376 | |
---|
1377 | char *asctime_r(const struct tm * , char * ); |
---|
1378 | char *ctime_r(const time_t *, char *); |
---|
1379 | struct tm *gmtime_r(const time_t * , struct tm * ); |
---|
1380 | struct tm *localtime_r(const time_t * , struct tm * ); |
---|
1381 | |
---|
1382 | |
---|
1383 | time_t posix2time(time_t); |
---|
1384 | |
---|
1385 | |
---|
1386 | |
---|
1387 | void tzsetwall(void); |
---|
1388 | time_t time2posix(time_t); |
---|
1389 | time_t timelocal(struct tm * const); |
---|
1390 | time_t timegm(struct tm * const); |
---|
1391 | |
---|
1392 | |
---|
1393 | |
---|
1394 | int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" "$UNIX2003") ; |
---|
1395 | |
---|
1396 | } |
---|
1397 | # 199 "/usr/include/sys/time.h" 2 3 4 |
---|
1398 | |
---|
1399 | |
---|
1400 | extern "C" { |
---|
1401 | |
---|
1402 | |
---|
1403 | int adjtime(const struct timeval *, struct timeval *); |
---|
1404 | int futimes(int, const struct timeval *); |
---|
1405 | int lutimes(const char *, const struct timeval *); |
---|
1406 | int settimeofday(const struct timeval *, const struct timezone *); |
---|
1407 | |
---|
1408 | |
---|
1409 | int getitimer(int, struct itimerval *); |
---|
1410 | int gettimeofday(struct timeval * , void * ); |
---|
1411 | |
---|
1412 | |
---|
1413 | # 1 "/usr/include/sys/_select.h" 1 3 4 |
---|
1414 | # 39 "/usr/include/sys/_select.h" 3 4 |
---|
1415 | int select(int, fd_set * , fd_set * , |
---|
1416 | fd_set * , struct timeval * ) |
---|
1417 | |
---|
1418 | |
---|
1419 | |
---|
1420 | |
---|
1421 | |
---|
1422 | |
---|
1423 | __asm("_" "select" "$UNIX2003") |
---|
1424 | |
---|
1425 | |
---|
1426 | ; |
---|
1427 | # 214 "/usr/include/sys/time.h" 2 3 4 |
---|
1428 | |
---|
1429 | int setitimer(int, const struct itimerval * , |
---|
1430 | struct itimerval * ); |
---|
1431 | int utimes(const char *, const struct timeval *); |
---|
1432 | |
---|
1433 | } |
---|
1434 | # 70 "/usr/include/net/if_var.h" 2 3 4 |
---|
1435 | # 1 "/usr/include/sys/queue.h" 1 3 4 |
---|
1436 | # 71 "/usr/include/net/if_var.h" 2 3 4 |
---|
1437 | # 128 "/usr/include/net/if_var.h" 3 4 |
---|
1438 | struct net_event_data { |
---|
1439 | u_int32_t if_family; |
---|
1440 | u_int32_t if_unit; |
---|
1441 | char if_name[16]; |
---|
1442 | }; |
---|
1443 | # 142 "/usr/include/net/if_var.h" 3 4 |
---|
1444 | #pragma pack(4) |
---|
1445 | |
---|
1446 | |
---|
1447 | |
---|
1448 | |
---|
1449 | |
---|
1450 | struct if_data { |
---|
1451 | |
---|
1452 | u_char ifi_type; |
---|
1453 | u_char ifi_typelen; |
---|
1454 | u_char ifi_physical; |
---|
1455 | u_char ifi_addrlen; |
---|
1456 | u_char ifi_hdrlen; |
---|
1457 | u_char ifi_recvquota; |
---|
1458 | u_char ifi_xmitquota; |
---|
1459 | u_char ifi_unused1; |
---|
1460 | u_int32_t ifi_mtu; |
---|
1461 | u_int32_t ifi_metric; |
---|
1462 | u_int32_t ifi_baudrate; |
---|
1463 | |
---|
1464 | u_int32_t ifi_ipackets; |
---|
1465 | u_int32_t ifi_ierrors; |
---|
1466 | u_int32_t ifi_opackets; |
---|
1467 | u_int32_t ifi_oerrors; |
---|
1468 | u_int32_t ifi_collisions; |
---|
1469 | u_int32_t ifi_ibytes; |
---|
1470 | u_int32_t ifi_obytes; |
---|
1471 | u_int32_t ifi_imcasts; |
---|
1472 | u_int32_t ifi_omcasts; |
---|
1473 | u_int32_t ifi_iqdrops; |
---|
1474 | u_int32_t ifi_noproto; |
---|
1475 | u_int32_t ifi_recvtiming; |
---|
1476 | u_int32_t ifi_xmittiming; |
---|
1477 | struct timeval ifi_lastchange; |
---|
1478 | u_int32_t ifi_unused2; |
---|
1479 | u_int32_t ifi_hwassist; |
---|
1480 | u_int32_t ifi_reserved1; |
---|
1481 | u_int32_t ifi_reserved2; |
---|
1482 | }; |
---|
1483 | |
---|
1484 | |
---|
1485 | |
---|
1486 | |
---|
1487 | |
---|
1488 | struct if_data64 { |
---|
1489 | |
---|
1490 | u_char ifi_type; |
---|
1491 | u_char ifi_typelen; |
---|
1492 | u_char ifi_physical; |
---|
1493 | u_char ifi_addrlen; |
---|
1494 | u_char ifi_hdrlen; |
---|
1495 | u_char ifi_recvquota; |
---|
1496 | u_char ifi_xmitquota; |
---|
1497 | u_char ifi_unused1; |
---|
1498 | u_int32_t ifi_mtu; |
---|
1499 | u_int32_t ifi_metric; |
---|
1500 | u_int64_t ifi_baudrate; |
---|
1501 | |
---|
1502 | u_int64_t ifi_ipackets; |
---|
1503 | u_int64_t ifi_ierrors; |
---|
1504 | u_int64_t ifi_opackets; |
---|
1505 | u_int64_t ifi_oerrors; |
---|
1506 | u_int64_t ifi_collisions; |
---|
1507 | u_int64_t ifi_ibytes; |
---|
1508 | u_int64_t ifi_obytes; |
---|
1509 | u_int64_t ifi_imcasts; |
---|
1510 | u_int64_t ifi_omcasts; |
---|
1511 | u_int64_t ifi_iqdrops; |
---|
1512 | u_int64_t ifi_noproto; |
---|
1513 | u_int32_t ifi_recvtiming; |
---|
1514 | u_int32_t ifi_xmittiming; |
---|
1515 | struct timeval ifi_lastchange; |
---|
1516 | }; |
---|
1517 | |
---|
1518 | #pragma pack() |
---|
1519 | |
---|
1520 | |
---|
1521 | |
---|
1522 | |
---|
1523 | struct ifqueue { |
---|
1524 | void *ifq_head; |
---|
1525 | void *ifq_tail; |
---|
1526 | int ifq_len; |
---|
1527 | int ifq_maxlen; |
---|
1528 | int ifq_drops; |
---|
1529 | }; |
---|
1530 | # 99 "/usr/include/net/if.h" 2 3 4 |
---|
1531 | # 129 "/usr/include/net/if.h" 3 4 |
---|
1532 | struct if_msghdr { |
---|
1533 | unsigned short ifm_msglen; |
---|
1534 | unsigned char ifm_version; |
---|
1535 | unsigned char ifm_type; |
---|
1536 | int ifm_addrs; |
---|
1537 | int ifm_flags; |
---|
1538 | unsigned short ifm_index; |
---|
1539 | struct if_data ifm_data; |
---|
1540 | }; |
---|
1541 | |
---|
1542 | |
---|
1543 | |
---|
1544 | |
---|
1545 | |
---|
1546 | struct ifa_msghdr { |
---|
1547 | unsigned short ifam_msglen; |
---|
1548 | unsigned char ifam_version; |
---|
1549 | unsigned char ifam_type; |
---|
1550 | int ifam_addrs; |
---|
1551 | int ifam_flags; |
---|
1552 | unsigned short ifam_index; |
---|
1553 | int ifam_metric; |
---|
1554 | }; |
---|
1555 | |
---|
1556 | |
---|
1557 | |
---|
1558 | |
---|
1559 | |
---|
1560 | struct ifma_msghdr { |
---|
1561 | unsigned short ifmam_msglen; |
---|
1562 | unsigned char ifmam_version; |
---|
1563 | unsigned char ifmam_type; |
---|
1564 | int ifmam_addrs; |
---|
1565 | int ifmam_flags; |
---|
1566 | unsigned short ifmam_index; |
---|
1567 | }; |
---|
1568 | |
---|
1569 | |
---|
1570 | |
---|
1571 | |
---|
1572 | |
---|
1573 | struct if_msghdr2 { |
---|
1574 | u_short ifm_msglen; |
---|
1575 | u_char ifm_version; |
---|
1576 | u_char ifm_type; |
---|
1577 | int ifm_addrs; |
---|
1578 | int ifm_flags; |
---|
1579 | u_short ifm_index; |
---|
1580 | int ifm_snd_len; |
---|
1581 | int ifm_snd_maxlen; |
---|
1582 | int ifm_snd_drops; |
---|
1583 | int ifm_timer; |
---|
1584 | struct if_data64 ifm_data; |
---|
1585 | }; |
---|
1586 | |
---|
1587 | |
---|
1588 | |
---|
1589 | |
---|
1590 | |
---|
1591 | struct ifma_msghdr2 { |
---|
1592 | u_short ifmam_msglen; |
---|
1593 | u_char ifmam_version; |
---|
1594 | u_char ifmam_type; |
---|
1595 | int ifmam_addrs; |
---|
1596 | int ifmam_flags; |
---|
1597 | u_short ifmam_index; |
---|
1598 | int32_t ifmam_refcount; |
---|
1599 | }; |
---|
1600 | |
---|
1601 | |
---|
1602 | |
---|
1603 | |
---|
1604 | |
---|
1605 | |
---|
1606 | struct ifdevmtu { |
---|
1607 | int ifdm_current; |
---|
1608 | int ifdm_min; |
---|
1609 | int ifdm_max; |
---|
1610 | }; |
---|
1611 | |
---|
1612 | #pragma pack(4) |
---|
1613 | # 236 "/usr/include/net/if.h" 3 4 |
---|
1614 | struct ifkpi { |
---|
1615 | unsigned int ifk_module_id; |
---|
1616 | unsigned int ifk_type; |
---|
1617 | union { |
---|
1618 | void *ifk_ptr; |
---|
1619 | int ifk_value; |
---|
1620 | } ifk_data; |
---|
1621 | }; |
---|
1622 | |
---|
1623 | #pragma pack() |
---|
1624 | |
---|
1625 | |
---|
1626 | |
---|
1627 | |
---|
1628 | |
---|
1629 | |
---|
1630 | |
---|
1631 | struct ifreq { |
---|
1632 | |
---|
1633 | |
---|
1634 | |
---|
1635 | char ifr_name[16]; |
---|
1636 | union { |
---|
1637 | struct sockaddr ifru_addr; |
---|
1638 | struct sockaddr ifru_dstaddr; |
---|
1639 | struct sockaddr ifru_broadaddr; |
---|
1640 | short ifru_flags; |
---|
1641 | int ifru_metric; |
---|
1642 | int ifru_mtu; |
---|
1643 | int ifru_phys; |
---|
1644 | int ifru_media; |
---|
1645 | int ifru_intval; |
---|
1646 | caddr_t ifru_data; |
---|
1647 | struct ifdevmtu ifru_devmtu; |
---|
1648 | struct ifkpi ifru_kpi; |
---|
1649 | } ifr_ifru; |
---|
1650 | # 289 "/usr/include/net/if.h" 3 4 |
---|
1651 | }; |
---|
1652 | |
---|
1653 | |
---|
1654 | |
---|
1655 | |
---|
1656 | |
---|
1657 | |
---|
1658 | struct ifaliasreq { |
---|
1659 | char ifra_name[16]; |
---|
1660 | struct sockaddr ifra_addr; |
---|
1661 | struct sockaddr ifra_broadaddr; |
---|
1662 | struct sockaddr ifra_mask; |
---|
1663 | }; |
---|
1664 | |
---|
1665 | struct rslvmulti_req { |
---|
1666 | struct sockaddr *sa; |
---|
1667 | struct sockaddr **llsa; |
---|
1668 | }; |
---|
1669 | |
---|
1670 | #pragma pack(4) |
---|
1671 | |
---|
1672 | struct ifmediareq { |
---|
1673 | char ifm_name[16]; |
---|
1674 | int ifm_current; |
---|
1675 | int ifm_mask; |
---|
1676 | int ifm_status; |
---|
1677 | int ifm_active; |
---|
1678 | int ifm_count; |
---|
1679 | int *ifm_ulist; |
---|
1680 | }; |
---|
1681 | |
---|
1682 | #pragma pack() |
---|
1683 | # 331 "/usr/include/net/if.h" 3 4 |
---|
1684 | struct ifstat { |
---|
1685 | char ifs_name[16]; |
---|
1686 | char ascii[800 + 1]; |
---|
1687 | }; |
---|
1688 | |
---|
1689 | #pragma pack(4) |
---|
1690 | |
---|
1691 | |
---|
1692 | |
---|
1693 | |
---|
1694 | |
---|
1695 | |
---|
1696 | |
---|
1697 | struct ifconf { |
---|
1698 | int ifc_len; |
---|
1699 | union { |
---|
1700 | caddr_t ifcu_buf; |
---|
1701 | struct ifreq *ifcu_req; |
---|
1702 | } ifc_ifcu; |
---|
1703 | }; |
---|
1704 | |
---|
1705 | |
---|
1706 | |
---|
1707 | #pragma pack() |
---|
1708 | |
---|
1709 | |
---|
1710 | |
---|
1711 | |
---|
1712 | |
---|
1713 | struct kev_dl_proto_data { |
---|
1714 | struct net_event_data link_data; |
---|
1715 | u_int32_t proto_family; |
---|
1716 | u_int32_t proto_remaining_count; |
---|
1717 | }; |
---|
1718 | |
---|
1719 | |
---|
1720 | |
---|
1721 | |
---|
1722 | struct if_laddrreq { |
---|
1723 | char iflr_name[16]; |
---|
1724 | unsigned int flags; |
---|
1725 | |
---|
1726 | unsigned int prefixlen; |
---|
1727 | struct sockaddr_storage addr; |
---|
1728 | struct sockaddr_storage dstaddr; |
---|
1729 | }; |
---|
1730 | |
---|
1731 | |
---|
1732 | |
---|
1733 | struct if_nameindex { |
---|
1734 | unsigned int if_index; |
---|
1735 | char *if_name; |
---|
1736 | }; |
---|
1737 | |
---|
1738 | extern "C" { |
---|
1739 | unsigned int if_nametoindex(const char *); |
---|
1740 | char *if_indextoname(unsigned int, char *); |
---|
1741 | struct if_nameindex *if_nameindex(void); |
---|
1742 | void if_freenameindex(struct if_nameindex *); |
---|
1743 | } |
---|
1744 | # 28 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1745 | # 1 "/usr/include/net/if_arp.h" 1 3 4 |
---|
1746 | # 79 "/usr/include/net/if_arp.h" 3 4 |
---|
1747 | struct arphdr { |
---|
1748 | u_short ar_hrd; |
---|
1749 | |
---|
1750 | |
---|
1751 | |
---|
1752 | |
---|
1753 | |
---|
1754 | u_short ar_pro; |
---|
1755 | u_char ar_hln; |
---|
1756 | u_char ar_pln; |
---|
1757 | u_short ar_op; |
---|
1758 | # 106 "/usr/include/net/if_arp.h" 3 4 |
---|
1759 | }; |
---|
1760 | |
---|
1761 | |
---|
1762 | |
---|
1763 | |
---|
1764 | struct arpreq { |
---|
1765 | struct sockaddr arp_pa; |
---|
1766 | struct sockaddr arp_ha; |
---|
1767 | int arp_flags; |
---|
1768 | }; |
---|
1769 | # 29 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1770 | # 1 "/usr/include/net/route.h" 1 3 4 |
---|
1771 | # 82 "/usr/include/net/route.h" 3 4 |
---|
1772 | struct route; |
---|
1773 | |
---|
1774 | |
---|
1775 | |
---|
1776 | |
---|
1777 | |
---|
1778 | struct rt_metrics { |
---|
1779 | u_int32_t rmx_locks; |
---|
1780 | u_int32_t rmx_mtu; |
---|
1781 | u_int32_t rmx_hopcount; |
---|
1782 | int32_t rmx_expire; |
---|
1783 | u_int32_t rmx_recvpipe; |
---|
1784 | u_int32_t rmx_sendpipe; |
---|
1785 | u_int32_t rmx_ssthresh; |
---|
1786 | u_int32_t rmx_rtt; |
---|
1787 | u_int32_t rmx_rttvar; |
---|
1788 | u_int32_t rmx_pksent; |
---|
1789 | u_int32_t rmx_filler[4]; |
---|
1790 | }; |
---|
1791 | # 125 "/usr/include/net/route.h" 3 4 |
---|
1792 | struct ortentry { |
---|
1793 | u_long rt_hash; |
---|
1794 | struct sockaddr rt_dst; |
---|
1795 | struct sockaddr rt_gateway; |
---|
1796 | short rt_flags; |
---|
1797 | short rt_refcnt; |
---|
1798 | u_long rt_use; |
---|
1799 | struct ifnet *rt_ifp; |
---|
1800 | }; |
---|
1801 | # 167 "/usr/include/net/route.h" 3 4 |
---|
1802 | struct rtstat { |
---|
1803 | short rts_badredirect; |
---|
1804 | short rts_dynamic; |
---|
1805 | short rts_newgateway; |
---|
1806 | short rts_unreach; |
---|
1807 | short rts_wildcard; |
---|
1808 | }; |
---|
1809 | |
---|
1810 | |
---|
1811 | |
---|
1812 | |
---|
1813 | struct rt_msghdr { |
---|
1814 | u_short rtm_msglen; |
---|
1815 | u_char rtm_version; |
---|
1816 | u_char rtm_type; |
---|
1817 | u_short rtm_index; |
---|
1818 | int rtm_flags; |
---|
1819 | int rtm_addrs; |
---|
1820 | pid_t rtm_pid; |
---|
1821 | int rtm_seq; |
---|
1822 | int rtm_errno; |
---|
1823 | int rtm_use; |
---|
1824 | u_int32_t rtm_inits; |
---|
1825 | struct rt_metrics rtm_rmx; |
---|
1826 | }; |
---|
1827 | |
---|
1828 | struct rt_msghdr2 { |
---|
1829 | u_short rtm_msglen; |
---|
1830 | u_char rtm_version; |
---|
1831 | u_char rtm_type; |
---|
1832 | u_short rtm_index; |
---|
1833 | int rtm_flags; |
---|
1834 | int rtm_addrs; |
---|
1835 | int32_t rtm_refcnt; |
---|
1836 | int rtm_parentflags; |
---|
1837 | int rtm_reserved; |
---|
1838 | int rtm_use; |
---|
1839 | u_int32_t rtm_inits; |
---|
1840 | struct rt_metrics rtm_rmx; |
---|
1841 | }; |
---|
1842 | # 271 "/usr/include/net/route.h" 3 4 |
---|
1843 | struct rt_addrinfo { |
---|
1844 | int rti_addrs; |
---|
1845 | struct sockaddr *rti_info[8]; |
---|
1846 | }; |
---|
1847 | |
---|
1848 | struct route_cb { |
---|
1849 | int ip_count; |
---|
1850 | int ip6_count; |
---|
1851 | int ipx_count; |
---|
1852 | int ns_count; |
---|
1853 | int iso_count; |
---|
1854 | int any_count; |
---|
1855 | }; |
---|
1856 | # 30 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1857 | # 1 "/usr/include/netdb.h" 1 3 4 |
---|
1858 | # 104 "/usr/include/netdb.h" 3 4 |
---|
1859 | extern int h_errno; |
---|
1860 | # 115 "/usr/include/netdb.h" 3 4 |
---|
1861 | struct hostent { |
---|
1862 | char *h_name; |
---|
1863 | char **h_aliases; |
---|
1864 | int h_addrtype; |
---|
1865 | int h_length; |
---|
1866 | char **h_addr_list; |
---|
1867 | |
---|
1868 | |
---|
1869 | |
---|
1870 | }; |
---|
1871 | |
---|
1872 | |
---|
1873 | |
---|
1874 | |
---|
1875 | |
---|
1876 | struct netent { |
---|
1877 | char *n_name; |
---|
1878 | char **n_aliases; |
---|
1879 | int n_addrtype; |
---|
1880 | uint32_t n_net; |
---|
1881 | }; |
---|
1882 | |
---|
1883 | struct servent { |
---|
1884 | char *s_name; |
---|
1885 | char **s_aliases; |
---|
1886 | int s_port; |
---|
1887 | char *s_proto; |
---|
1888 | }; |
---|
1889 | |
---|
1890 | struct protoent { |
---|
1891 | char *p_name; |
---|
1892 | char **p_aliases; |
---|
1893 | int p_proto; |
---|
1894 | }; |
---|
1895 | |
---|
1896 | struct addrinfo { |
---|
1897 | int ai_flags; |
---|
1898 | int ai_family; |
---|
1899 | int ai_socktype; |
---|
1900 | int ai_protocol; |
---|
1901 | socklen_t ai_addrlen; |
---|
1902 | char *ai_canonname; |
---|
1903 | struct sockaddr *ai_addr; |
---|
1904 | struct addrinfo *ai_next; |
---|
1905 | }; |
---|
1906 | |
---|
1907 | |
---|
1908 | struct rpcent { |
---|
1909 | char *r_name; |
---|
1910 | char **r_aliases; |
---|
1911 | int r_number; |
---|
1912 | }; |
---|
1913 | # 255 "/usr/include/netdb.h" 3 4 |
---|
1914 | extern "C" { |
---|
1915 | |
---|
1916 | void endhostent(void); |
---|
1917 | void endnetent(void); |
---|
1918 | void endprotoent(void); |
---|
1919 | void endservent(void); |
---|
1920 | |
---|
1921 | void freeaddrinfo(struct addrinfo *); |
---|
1922 | const char *gai_strerror(int); |
---|
1923 | int getaddrinfo(const char * , const char * , |
---|
1924 | const struct addrinfo * , |
---|
1925 | struct addrinfo ** ); |
---|
1926 | struct hostent *gethostbyaddr(const void *, socklen_t, int); |
---|
1927 | struct hostent *gethostbyname(const char *); |
---|
1928 | struct hostent *gethostent(void); |
---|
1929 | int getnameinfo(const struct sockaddr * , socklen_t, |
---|
1930 | char * , socklen_t, char * , |
---|
1931 | socklen_t, int); |
---|
1932 | struct netent *getnetbyaddr(uint32_t, int); |
---|
1933 | struct netent *getnetbyname(const char *); |
---|
1934 | struct netent *getnetent(void); |
---|
1935 | struct protoent *getprotobyname(const char *); |
---|
1936 | struct protoent *getprotobynumber(int); |
---|
1937 | struct protoent *getprotoent(void); |
---|
1938 | struct servent *getservbyname(const char *, const char *); |
---|
1939 | struct servent *getservbyport(int, const char *); |
---|
1940 | struct servent *getservent(void); |
---|
1941 | void sethostent(int); |
---|
1942 | |
---|
1943 | void setnetent(int); |
---|
1944 | void setprotoent(int); |
---|
1945 | void setservent(int); |
---|
1946 | |
---|
1947 | |
---|
1948 | void freehostent(struct hostent *); |
---|
1949 | struct hostent *gethostbyname2(const char *, int); |
---|
1950 | struct hostent *getipnodebyaddr(const void *, size_t, int, int *); |
---|
1951 | struct hostent *getipnodebyname(const char *, int, int, int *); |
---|
1952 | struct rpcent *getrpcbyname(const char *name); |
---|
1953 | |
---|
1954 | |
---|
1955 | |
---|
1956 | struct rpcent *getrpcbynumber(long number); |
---|
1957 | |
---|
1958 | struct rpcent *getrpcent(void); |
---|
1959 | void setrpcent(int stayopen); |
---|
1960 | void endrpcent(void); |
---|
1961 | void herror(const char *); |
---|
1962 | const char *hstrerror(int); |
---|
1963 | int innetgr(const char *, const char *, const char *, const char *); |
---|
1964 | int getnetgrent(char **, char **, char **); |
---|
1965 | void endnetgrent(void); |
---|
1966 | void setnetgrent(const char *); |
---|
1967 | |
---|
1968 | |
---|
1969 | } |
---|
1970 | # 31 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1971 | # 1 "/usr/include/poll.h" 1 3 4 |
---|
1972 | # 23 "/usr/include/poll.h" 3 4 |
---|
1973 | # 1 "/usr/include/sys/poll.h" 1 3 4 |
---|
1974 | # 96 "/usr/include/sys/poll.h" 3 4 |
---|
1975 | struct pollfd |
---|
1976 | { |
---|
1977 | int fd; |
---|
1978 | short events; |
---|
1979 | short revents; |
---|
1980 | }; |
---|
1981 | |
---|
1982 | typedef unsigned int nfds_t; |
---|
1983 | |
---|
1984 | |
---|
1985 | |
---|
1986 | |
---|
1987 | extern "C" { |
---|
1988 | |
---|
1989 | |
---|
1990 | |
---|
1991 | |
---|
1992 | |
---|
1993 | extern int poll (struct pollfd *, nfds_t, int) __asm("_" "poll" "$UNIX2003") ; |
---|
1994 | |
---|
1995 | } |
---|
1996 | # 24 "/usr/include/poll.h" 2 3 4 |
---|
1997 | # 32 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
1998 | # 1 "/usr/include/pthread.h" 1 3 4 |
---|
1999 | # 57 "/usr/include/pthread.h" 3 4 |
---|
2000 | # 1 "/usr/include/pthread_impl.h" 1 3 4 |
---|
2001 | # 58 "/usr/include/pthread.h" 2 3 4 |
---|
2002 | |
---|
2003 | # 1 "/usr/include/sched.h" 1 3 4 |
---|
2004 | # 30 "/usr/include/sched.h" 3 4 |
---|
2005 | extern "C" { |
---|
2006 | |
---|
2007 | |
---|
2008 | |
---|
2009 | |
---|
2010 | struct sched_param { int sched_priority; char __opaque[4]; }; |
---|
2011 | |
---|
2012 | |
---|
2013 | extern int sched_yield(void); |
---|
2014 | extern int sched_get_priority_min(int); |
---|
2015 | extern int sched_get_priority_max(int); |
---|
2016 | } |
---|
2017 | # 60 "/usr/include/pthread.h" 2 3 4 |
---|
2018 | # 116 "/usr/include/pthread.h" 3 4 |
---|
2019 | typedef __darwin_mach_port_t mach_port_t; |
---|
2020 | |
---|
2021 | |
---|
2022 | |
---|
2023 | |
---|
2024 | typedef __darwin_sigset_t sigset_t; |
---|
2025 | # 148 "/usr/include/pthread.h" 3 4 |
---|
2026 | extern "C" { |
---|
2027 | # 244 "/usr/include/pthread.h" 3 4 |
---|
2028 | int pthread_atfork(void (*)(void), void (*)(void), |
---|
2029 | void (*)(void)); |
---|
2030 | int pthread_attr_destroy(pthread_attr_t *); |
---|
2031 | int pthread_attr_getdetachstate(const pthread_attr_t *, |
---|
2032 | int *); |
---|
2033 | int pthread_attr_getguardsize(const pthread_attr_t * , |
---|
2034 | size_t * ); |
---|
2035 | int pthread_attr_getinheritsched(const pthread_attr_t * , |
---|
2036 | int * ); |
---|
2037 | int pthread_attr_getschedparam(const pthread_attr_t * , |
---|
2038 | struct sched_param * ); |
---|
2039 | int pthread_attr_getschedpolicy(const pthread_attr_t * , |
---|
2040 | int * ); |
---|
2041 | int pthread_attr_getscope(const pthread_attr_t * , int * ); |
---|
2042 | int pthread_attr_getstack(const pthread_attr_t * , |
---|
2043 | void ** , size_t * ); |
---|
2044 | int pthread_attr_getstackaddr(const pthread_attr_t * , |
---|
2045 | void ** ); |
---|
2046 | int pthread_attr_getstacksize(const pthread_attr_t * , |
---|
2047 | size_t * ); |
---|
2048 | int pthread_attr_init(pthread_attr_t *); |
---|
2049 | int pthread_attr_setdetachstate(pthread_attr_t *, |
---|
2050 | int ); |
---|
2051 | int pthread_attr_setguardsize(pthread_attr_t *, size_t ); |
---|
2052 | int pthread_attr_setinheritsched(pthread_attr_t *, |
---|
2053 | int ); |
---|
2054 | int pthread_attr_setschedparam(pthread_attr_t * , |
---|
2055 | const struct sched_param * ); |
---|
2056 | int pthread_attr_setschedpolicy(pthread_attr_t *, |
---|
2057 | int ); |
---|
2058 | int pthread_attr_setscope(pthread_attr_t *, int); |
---|
2059 | int pthread_attr_setstack(pthread_attr_t *, |
---|
2060 | void *, size_t ); |
---|
2061 | int pthread_attr_setstackaddr(pthread_attr_t *, |
---|
2062 | void *); |
---|
2063 | int pthread_attr_setstacksize(pthread_attr_t *, size_t ); |
---|
2064 | int pthread_cancel(pthread_t ) __asm("_" "pthread_cancel" "$UNIX2003"); |
---|
2065 | |
---|
2066 | int pthread_cond_broadcast(pthread_cond_t *); |
---|
2067 | int pthread_cond_destroy(pthread_cond_t *); |
---|
2068 | int pthread_cond_init(pthread_cond_t * , |
---|
2069 | const pthread_condattr_t * ) __asm("_" "pthread_cond_init" "$UNIX2003"); |
---|
2070 | int pthread_cond_signal(pthread_cond_t *); |
---|
2071 | int pthread_cond_timedwait(pthread_cond_t * , |
---|
2072 | pthread_mutex_t * , |
---|
2073 | const struct timespec * ) __asm("_" "pthread_cond_timedwait" "$UNIX2003") ; |
---|
2074 | int pthread_cond_wait(pthread_cond_t * , |
---|
2075 | pthread_mutex_t * ) __asm("_" "pthread_cond_wait" "$UNIX2003") ; |
---|
2076 | int pthread_condattr_destroy(pthread_condattr_t *); |
---|
2077 | int pthread_condattr_init(pthread_condattr_t *); |
---|
2078 | int pthread_condattr_getpshared(const pthread_condattr_t * , |
---|
2079 | int * ); |
---|
2080 | int pthread_condattr_setpshared(pthread_condattr_t *, |
---|
2081 | int ); |
---|
2082 | int pthread_create(pthread_t * , |
---|
2083 | const pthread_attr_t * , |
---|
2084 | void *(*)(void *), |
---|
2085 | void * ); |
---|
2086 | int pthread_detach(pthread_t ); |
---|
2087 | int pthread_equal(pthread_t , |
---|
2088 | pthread_t ); |
---|
2089 | void pthread_exit(void *) __attribute__((__noreturn__)); |
---|
2090 | int pthread_getconcurrency(void); |
---|
2091 | int pthread_getschedparam(pthread_t , int * , struct sched_param * ); |
---|
2092 | void *pthread_getspecific(pthread_key_t ); |
---|
2093 | int pthread_join(pthread_t , void **) __asm("_" "pthread_join" "$UNIX2003") ; |
---|
2094 | int pthread_key_create(pthread_key_t *, void (*)(void *)); |
---|
2095 | int pthread_key_delete(pthread_key_t ); |
---|
2096 | int pthread_mutex_destroy(pthread_mutex_t *); |
---|
2097 | int pthread_mutex_getprioceiling(const pthread_mutex_t * , int * ); |
---|
2098 | int pthread_mutex_init(pthread_mutex_t * , const pthread_mutexattr_t * ); |
---|
2099 | int pthread_mutex_lock(pthread_mutex_t *); |
---|
2100 | int pthread_mutex_setprioceiling(pthread_mutex_t * , int, int * ); |
---|
2101 | int pthread_mutex_trylock(pthread_mutex_t *); |
---|
2102 | int pthread_mutex_unlock(pthread_mutex_t *); |
---|
2103 | int pthread_mutexattr_destroy(pthread_mutexattr_t *) __asm("_" "pthread_mutexattr_destroy" "$UNIX2003"); |
---|
2104 | int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t * , int * ); |
---|
2105 | int pthread_mutexattr_getprotocol(const pthread_mutexattr_t * , int * ); |
---|
2106 | int pthread_mutexattr_getpshared(const pthread_mutexattr_t * , int * ); |
---|
2107 | int pthread_mutexattr_gettype(const pthread_mutexattr_t * , int * ); |
---|
2108 | int pthread_mutexattr_init(pthread_mutexattr_t *); |
---|
2109 | int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *, int); |
---|
2110 | int pthread_mutexattr_setprotocol(pthread_mutexattr_t *, int); |
---|
2111 | int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int ); |
---|
2112 | int pthread_mutexattr_settype(pthread_mutexattr_t *, int); |
---|
2113 | int pthread_once(pthread_once_t *, void (*)(void)); |
---|
2114 | int pthread_rwlock_destroy(pthread_rwlock_t * ) __asm("_" "pthread_rwlock_destroy" "$UNIX2003"); |
---|
2115 | int pthread_rwlock_init(pthread_rwlock_t * , const pthread_rwlockattr_t * ) __asm("_" "pthread_rwlock_init" "$UNIX2003"); |
---|
2116 | int pthread_rwlock_rdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_rdlock" "$UNIX2003"); |
---|
2117 | int pthread_rwlock_tryrdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_tryrdlock" "$UNIX2003"); |
---|
2118 | int pthread_rwlock_trywrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_trywrlock" "$UNIX2003"); |
---|
2119 | int pthread_rwlock_wrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_wrlock" "$UNIX2003"); |
---|
2120 | int pthread_rwlock_unlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_unlock" "$UNIX2003"); |
---|
2121 | int pthread_rwlockattr_destroy(pthread_rwlockattr_t *); |
---|
2122 | int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t * , |
---|
2123 | int * ); |
---|
2124 | int pthread_rwlockattr_init(pthread_rwlockattr_t *); |
---|
2125 | int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, |
---|
2126 | int ); |
---|
2127 | pthread_t pthread_self(void); |
---|
2128 | |
---|
2129 | int pthread_setcancelstate(int , int *) __asm("_" "pthread_setcancelstate" "$UNIX2003"); |
---|
2130 | int pthread_setcanceltype(int , int *) __asm("_" "pthread_setcanceltype" "$UNIX2003"); |
---|
2131 | int pthread_setconcurrency(int); |
---|
2132 | int pthread_setschedparam(pthread_t , |
---|
2133 | int , |
---|
2134 | const struct sched_param *); |
---|
2135 | int pthread_setspecific(pthread_key_t , |
---|
2136 | const void *); |
---|
2137 | void pthread_testcancel(void) __asm("_" "pthread_testcancel" "$UNIX2003"); |
---|
2138 | |
---|
2139 | |
---|
2140 | |
---|
2141 | int pthread_is_threaded_np(void); |
---|
2142 | |
---|
2143 | |
---|
2144 | int pthread_main_np(void); |
---|
2145 | |
---|
2146 | |
---|
2147 | mach_port_t pthread_mach_thread_np(pthread_t); |
---|
2148 | size_t pthread_get_stacksize_np(pthread_t); |
---|
2149 | void * pthread_get_stackaddr_np(pthread_t); |
---|
2150 | |
---|
2151 | |
---|
2152 | int pthread_cond_signal_thread_np(pthread_cond_t *, pthread_t); |
---|
2153 | |
---|
2154 | |
---|
2155 | int pthread_cond_timedwait_relative_np(pthread_cond_t *, |
---|
2156 | pthread_mutex_t *, |
---|
2157 | const struct timespec *); |
---|
2158 | |
---|
2159 | |
---|
2160 | int pthread_create_suspended_np(pthread_t *, |
---|
2161 | const pthread_attr_t *, |
---|
2162 | void *(*)(void *), |
---|
2163 | void *); |
---|
2164 | int pthread_kill(pthread_t, int); |
---|
2165 | |
---|
2166 | pthread_t pthread_from_mach_thread_np(mach_port_t); |
---|
2167 | |
---|
2168 | int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" "$UNIX2003"); |
---|
2169 | void pthread_yield_np(void); |
---|
2170 | |
---|
2171 | } |
---|
2172 | # 33 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2173 | # 1 "/usr/include/pwd.h" 1 3 4 |
---|
2174 | # 119 "/usr/include/pwd.h" 3 4 |
---|
2175 | struct passwd { |
---|
2176 | char *pw_name; |
---|
2177 | char *pw_passwd; |
---|
2178 | uid_t pw_uid; |
---|
2179 | gid_t pw_gid; |
---|
2180 | __darwin_time_t pw_change; |
---|
2181 | char *pw_class; |
---|
2182 | char *pw_gecos; |
---|
2183 | char *pw_dir; |
---|
2184 | char *pw_shell; |
---|
2185 | __darwin_time_t pw_expire; |
---|
2186 | }; |
---|
2187 | |
---|
2188 | |
---|
2189 | |
---|
2190 | extern "C" { |
---|
2191 | struct passwd *getpwuid(uid_t); |
---|
2192 | struct passwd *getpwnam(const char *); |
---|
2193 | int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); |
---|
2194 | int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); |
---|
2195 | struct passwd *getpwent(void); |
---|
2196 | |
---|
2197 | int setpassent(int); |
---|
2198 | char *user_from_uid(uid_t, int); |
---|
2199 | |
---|
2200 | void setpwent(void); |
---|
2201 | void endpwent(void); |
---|
2202 | } |
---|
2203 | # 34 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2204 | # 1 "/usr/include/signal.h" 1 3 4 |
---|
2205 | # 63 "/usr/include/signal.h" 3 4 |
---|
2206 | # 1 "/usr/include/sys/signal.h" 1 3 4 |
---|
2207 | # 81 "/usr/include/sys/signal.h" 3 4 |
---|
2208 | # 1 "/usr/include/machine/signal.h" 1 3 4 |
---|
2209 | # 34 "/usr/include/machine/signal.h" 3 4 |
---|
2210 | # 1 "/usr/include/i386/signal.h" 1 3 4 |
---|
2211 | # 39 "/usr/include/i386/signal.h" 3 4 |
---|
2212 | typedef int sig_atomic_t; |
---|
2213 | # 55 "/usr/include/i386/signal.h" 3 4 |
---|
2214 | # 1 "/usr/include/i386/_structs.h" 1 3 4 |
---|
2215 | # 56 "/usr/include/i386/signal.h" 2 3 4 |
---|
2216 | # 35 "/usr/include/machine/signal.h" 2 3 4 |
---|
2217 | # 82 "/usr/include/sys/signal.h" 2 3 4 |
---|
2218 | # 154 "/usr/include/sys/signal.h" 3 4 |
---|
2219 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
2220 | # 57 "/usr/include/sys/_structs.h" 3 4 |
---|
2221 | # 1 "/usr/include/machine/_structs.h" 1 3 4 |
---|
2222 | # 31 "/usr/include/machine/_structs.h" 3 4 |
---|
2223 | # 1 "/usr/include/i386/_structs.h" 1 3 4 |
---|
2224 | # 38 "/usr/include/i386/_structs.h" 3 4 |
---|
2225 | # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 |
---|
2226 | # 43 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2227 | struct __darwin_i386_thread_state |
---|
2228 | { |
---|
2229 | unsigned int __eax; |
---|
2230 | unsigned int __ebx; |
---|
2231 | unsigned int __ecx; |
---|
2232 | unsigned int __edx; |
---|
2233 | unsigned int __edi; |
---|
2234 | unsigned int __esi; |
---|
2235 | unsigned int __ebp; |
---|
2236 | unsigned int __esp; |
---|
2237 | unsigned int __ss; |
---|
2238 | unsigned int __eflags; |
---|
2239 | unsigned int __eip; |
---|
2240 | unsigned int __cs; |
---|
2241 | unsigned int __ds; |
---|
2242 | unsigned int __es; |
---|
2243 | unsigned int __fs; |
---|
2244 | unsigned int __gs; |
---|
2245 | }; |
---|
2246 | # 89 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2247 | struct __darwin_fp_control |
---|
2248 | { |
---|
2249 | unsigned short __invalid :1, |
---|
2250 | __denorm :1, |
---|
2251 | __zdiv :1, |
---|
2252 | __ovrfl :1, |
---|
2253 | __undfl :1, |
---|
2254 | __precis :1, |
---|
2255 | :2, |
---|
2256 | __pc :2, |
---|
2257 | |
---|
2258 | |
---|
2259 | |
---|
2260 | |
---|
2261 | |
---|
2262 | __rc :2, |
---|
2263 | |
---|
2264 | |
---|
2265 | |
---|
2266 | |
---|
2267 | |
---|
2268 | |
---|
2269 | :1, |
---|
2270 | :3; |
---|
2271 | }; |
---|
2272 | typedef struct __darwin_fp_control __darwin_fp_control_t; |
---|
2273 | # 147 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2274 | struct __darwin_fp_status |
---|
2275 | { |
---|
2276 | unsigned short __invalid :1, |
---|
2277 | __denorm :1, |
---|
2278 | __zdiv :1, |
---|
2279 | __ovrfl :1, |
---|
2280 | __undfl :1, |
---|
2281 | __precis :1, |
---|
2282 | __stkflt :1, |
---|
2283 | __errsumm :1, |
---|
2284 | __c0 :1, |
---|
2285 | __c1 :1, |
---|
2286 | __c2 :1, |
---|
2287 | __tos :3, |
---|
2288 | __c3 :1, |
---|
2289 | __busy :1; |
---|
2290 | }; |
---|
2291 | typedef struct __darwin_fp_status __darwin_fp_status_t; |
---|
2292 | # 191 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2293 | struct __darwin_mmst_reg |
---|
2294 | { |
---|
2295 | char __mmst_reg[10]; |
---|
2296 | char __mmst_rsrv[6]; |
---|
2297 | }; |
---|
2298 | # 210 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2299 | struct __darwin_xmm_reg |
---|
2300 | { |
---|
2301 | char __xmm_reg[16]; |
---|
2302 | }; |
---|
2303 | # 232 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2304 | struct __darwin_i386_float_state |
---|
2305 | { |
---|
2306 | int __fpu_reserved[2]; |
---|
2307 | struct __darwin_fp_control __fpu_fcw; |
---|
2308 | struct __darwin_fp_status __fpu_fsw; |
---|
2309 | __uint8_t __fpu_ftw; |
---|
2310 | __uint8_t __fpu_rsrv1; |
---|
2311 | __uint16_t __fpu_fop; |
---|
2312 | __uint32_t __fpu_ip; |
---|
2313 | __uint16_t __fpu_cs; |
---|
2314 | __uint16_t __fpu_rsrv2; |
---|
2315 | __uint32_t __fpu_dp; |
---|
2316 | __uint16_t __fpu_ds; |
---|
2317 | __uint16_t __fpu_rsrv3; |
---|
2318 | __uint32_t __fpu_mxcsr; |
---|
2319 | __uint32_t __fpu_mxcsrmask; |
---|
2320 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
2321 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
2322 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
2323 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
2324 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
2325 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
2326 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
2327 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
2328 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
2329 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
2330 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
2331 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
2332 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
2333 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
2334 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
2335 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
2336 | char __fpu_rsrv4[14*16]; |
---|
2337 | int __fpu_reserved1; |
---|
2338 | }; |
---|
2339 | # 308 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2340 | struct __darwin_i386_exception_state |
---|
2341 | { |
---|
2342 | unsigned int __trapno; |
---|
2343 | unsigned int __err; |
---|
2344 | unsigned int __faultvaddr; |
---|
2345 | }; |
---|
2346 | # 326 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2347 | struct __darwin_x86_debug_state32 |
---|
2348 | { |
---|
2349 | unsigned int __dr0; |
---|
2350 | unsigned int __dr1; |
---|
2351 | unsigned int __dr2; |
---|
2352 | unsigned int __dr3; |
---|
2353 | unsigned int __dr4; |
---|
2354 | unsigned int __dr5; |
---|
2355 | unsigned int __dr6; |
---|
2356 | unsigned int __dr7; |
---|
2357 | }; |
---|
2358 | # 358 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2359 | struct __darwin_x86_thread_state64 |
---|
2360 | { |
---|
2361 | __uint64_t __rax; |
---|
2362 | __uint64_t __rbx; |
---|
2363 | __uint64_t __rcx; |
---|
2364 | __uint64_t __rdx; |
---|
2365 | __uint64_t __rdi; |
---|
2366 | __uint64_t __rsi; |
---|
2367 | __uint64_t __rbp; |
---|
2368 | __uint64_t __rsp; |
---|
2369 | __uint64_t __r8; |
---|
2370 | __uint64_t __r9; |
---|
2371 | __uint64_t __r10; |
---|
2372 | __uint64_t __r11; |
---|
2373 | __uint64_t __r12; |
---|
2374 | __uint64_t __r13; |
---|
2375 | __uint64_t __r14; |
---|
2376 | __uint64_t __r15; |
---|
2377 | __uint64_t __rip; |
---|
2378 | __uint64_t __rflags; |
---|
2379 | __uint64_t __cs; |
---|
2380 | __uint64_t __fs; |
---|
2381 | __uint64_t __gs; |
---|
2382 | }; |
---|
2383 | # 413 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2384 | struct __darwin_x86_float_state64 |
---|
2385 | { |
---|
2386 | int __fpu_reserved[2]; |
---|
2387 | struct __darwin_fp_control __fpu_fcw; |
---|
2388 | struct __darwin_fp_status __fpu_fsw; |
---|
2389 | __uint8_t __fpu_ftw; |
---|
2390 | __uint8_t __fpu_rsrv1; |
---|
2391 | __uint16_t __fpu_fop; |
---|
2392 | |
---|
2393 | |
---|
2394 | __uint32_t __fpu_ip; |
---|
2395 | __uint16_t __fpu_cs; |
---|
2396 | |
---|
2397 | __uint16_t __fpu_rsrv2; |
---|
2398 | |
---|
2399 | |
---|
2400 | __uint32_t __fpu_dp; |
---|
2401 | __uint16_t __fpu_ds; |
---|
2402 | |
---|
2403 | __uint16_t __fpu_rsrv3; |
---|
2404 | __uint32_t __fpu_mxcsr; |
---|
2405 | __uint32_t __fpu_mxcsrmask; |
---|
2406 | struct __darwin_mmst_reg __fpu_stmm0; |
---|
2407 | struct __darwin_mmst_reg __fpu_stmm1; |
---|
2408 | struct __darwin_mmst_reg __fpu_stmm2; |
---|
2409 | struct __darwin_mmst_reg __fpu_stmm3; |
---|
2410 | struct __darwin_mmst_reg __fpu_stmm4; |
---|
2411 | struct __darwin_mmst_reg __fpu_stmm5; |
---|
2412 | struct __darwin_mmst_reg __fpu_stmm6; |
---|
2413 | struct __darwin_mmst_reg __fpu_stmm7; |
---|
2414 | struct __darwin_xmm_reg __fpu_xmm0; |
---|
2415 | struct __darwin_xmm_reg __fpu_xmm1; |
---|
2416 | struct __darwin_xmm_reg __fpu_xmm2; |
---|
2417 | struct __darwin_xmm_reg __fpu_xmm3; |
---|
2418 | struct __darwin_xmm_reg __fpu_xmm4; |
---|
2419 | struct __darwin_xmm_reg __fpu_xmm5; |
---|
2420 | struct __darwin_xmm_reg __fpu_xmm6; |
---|
2421 | struct __darwin_xmm_reg __fpu_xmm7; |
---|
2422 | struct __darwin_xmm_reg __fpu_xmm8; |
---|
2423 | struct __darwin_xmm_reg __fpu_xmm9; |
---|
2424 | struct __darwin_xmm_reg __fpu_xmm10; |
---|
2425 | struct __darwin_xmm_reg __fpu_xmm11; |
---|
2426 | struct __darwin_xmm_reg __fpu_xmm12; |
---|
2427 | struct __darwin_xmm_reg __fpu_xmm13; |
---|
2428 | struct __darwin_xmm_reg __fpu_xmm14; |
---|
2429 | struct __darwin_xmm_reg __fpu_xmm15; |
---|
2430 | char __fpu_rsrv4[6*16]; |
---|
2431 | int __fpu_reserved1; |
---|
2432 | }; |
---|
2433 | # 517 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2434 | struct __darwin_x86_exception_state64 |
---|
2435 | { |
---|
2436 | unsigned int __trapno; |
---|
2437 | unsigned int __err; |
---|
2438 | __uint64_t __faultvaddr; |
---|
2439 | }; |
---|
2440 | # 535 "/usr/include/mach/i386/_structs.h" 3 4 |
---|
2441 | struct __darwin_x86_debug_state64 |
---|
2442 | { |
---|
2443 | __uint64_t __dr0; |
---|
2444 | __uint64_t __dr1; |
---|
2445 | __uint64_t __dr2; |
---|
2446 | __uint64_t __dr3; |
---|
2447 | __uint64_t __dr4; |
---|
2448 | __uint64_t __dr5; |
---|
2449 | __uint64_t __dr6; |
---|
2450 | __uint64_t __dr7; |
---|
2451 | }; |
---|
2452 | # 39 "/usr/include/i386/_structs.h" 2 3 4 |
---|
2453 | # 48 "/usr/include/i386/_structs.h" 3 4 |
---|
2454 | struct __darwin_mcontext32 |
---|
2455 | { |
---|
2456 | struct __darwin_i386_exception_state __es; |
---|
2457 | struct __darwin_i386_thread_state __ss; |
---|
2458 | struct __darwin_i386_float_state __fs; |
---|
2459 | }; |
---|
2460 | # 68 "/usr/include/i386/_structs.h" 3 4 |
---|
2461 | struct __darwin_mcontext64 |
---|
2462 | { |
---|
2463 | struct __darwin_x86_exception_state64 __es; |
---|
2464 | struct __darwin_x86_thread_state64 __ss; |
---|
2465 | struct __darwin_x86_float_state64 __fs; |
---|
2466 | }; |
---|
2467 | # 94 "/usr/include/i386/_structs.h" 3 4 |
---|
2468 | typedef struct __darwin_mcontext32 *mcontext_t; |
---|
2469 | # 32 "/usr/include/machine/_structs.h" 2 3 4 |
---|
2470 | # 58 "/usr/include/sys/_structs.h" 2 3 4 |
---|
2471 | # 75 "/usr/include/sys/_structs.h" 3 4 |
---|
2472 | struct __darwin_sigaltstack |
---|
2473 | { |
---|
2474 | void *ss_sp; |
---|
2475 | __darwin_size_t ss_size; |
---|
2476 | int ss_flags; |
---|
2477 | }; |
---|
2478 | # 128 "/usr/include/sys/_structs.h" 3 4 |
---|
2479 | struct __darwin_ucontext |
---|
2480 | { |
---|
2481 | int uc_onstack; |
---|
2482 | __darwin_sigset_t uc_sigmask; |
---|
2483 | struct __darwin_sigaltstack uc_stack; |
---|
2484 | struct __darwin_ucontext *uc_link; |
---|
2485 | __darwin_size_t uc_mcsize; |
---|
2486 | struct __darwin_mcontext32 *uc_mcontext; |
---|
2487 | |
---|
2488 | |
---|
2489 | |
---|
2490 | }; |
---|
2491 | # 218 "/usr/include/sys/_structs.h" 3 4 |
---|
2492 | typedef struct __darwin_sigaltstack stack_t; |
---|
2493 | # 227 "/usr/include/sys/_structs.h" 3 4 |
---|
2494 | typedef struct __darwin_ucontext ucontext_t; |
---|
2495 | # 155 "/usr/include/sys/signal.h" 2 3 4 |
---|
2496 | # 181 "/usr/include/sys/signal.h" 3 4 |
---|
2497 | union sigval { |
---|
2498 | |
---|
2499 | int sival_int; |
---|
2500 | void *sival_ptr; |
---|
2501 | }; |
---|
2502 | |
---|
2503 | |
---|
2504 | |
---|
2505 | |
---|
2506 | |
---|
2507 | struct sigevent { |
---|
2508 | int sigev_notify; |
---|
2509 | int sigev_signo; |
---|
2510 | union sigval sigev_value; |
---|
2511 | void (*sigev_notify_function)(union sigval); |
---|
2512 | pthread_attr_t *sigev_notify_attributes; |
---|
2513 | }; |
---|
2514 | |
---|
2515 | |
---|
2516 | typedef struct __siginfo { |
---|
2517 | int si_signo; |
---|
2518 | int si_errno; |
---|
2519 | int si_code; |
---|
2520 | pid_t si_pid; |
---|
2521 | uid_t si_uid; |
---|
2522 | int si_status; |
---|
2523 | void *si_addr; |
---|
2524 | union sigval si_value; |
---|
2525 | long si_band; |
---|
2526 | unsigned long __pad[7]; |
---|
2527 | } siginfo_t; |
---|
2528 | # 292 "/usr/include/sys/signal.h" 3 4 |
---|
2529 | union __sigaction_u { |
---|
2530 | void (*__sa_handler)(int); |
---|
2531 | void (*__sa_sigaction)(int, struct __siginfo *, |
---|
2532 | void *); |
---|
2533 | }; |
---|
2534 | |
---|
2535 | |
---|
2536 | struct __sigaction { |
---|
2537 | union __sigaction_u __sigaction_u; |
---|
2538 | void (*sa_tramp)(void *, int, int, siginfo_t *, void *); |
---|
2539 | sigset_t sa_mask; |
---|
2540 | int sa_flags; |
---|
2541 | }; |
---|
2542 | |
---|
2543 | |
---|
2544 | |
---|
2545 | |
---|
2546 | struct sigaction { |
---|
2547 | union __sigaction_u __sigaction_u; |
---|
2548 | sigset_t sa_mask; |
---|
2549 | int sa_flags; |
---|
2550 | }; |
---|
2551 | # 354 "/usr/include/sys/signal.h" 3 4 |
---|
2552 | typedef void (*sig_t)(int); |
---|
2553 | # 371 "/usr/include/sys/signal.h" 3 4 |
---|
2554 | struct sigvec { |
---|
2555 | void (*sv_handler)(int); |
---|
2556 | int sv_mask; |
---|
2557 | int sv_flags; |
---|
2558 | }; |
---|
2559 | # 390 "/usr/include/sys/signal.h" 3 4 |
---|
2560 | struct sigstack { |
---|
2561 | char *ss_sp; |
---|
2562 | int ss_onstack; |
---|
2563 | }; |
---|
2564 | # 412 "/usr/include/sys/signal.h" 3 4 |
---|
2565 | extern "C" { |
---|
2566 | void (*signal(int, void (*)(int)))(int); |
---|
2567 | } |
---|
2568 | # 64 "/usr/include/signal.h" 2 3 4 |
---|
2569 | |
---|
2570 | |
---|
2571 | |
---|
2572 | |
---|
2573 | |
---|
2574 | |
---|
2575 | |
---|
2576 | extern const char *const sys_signame[32]; |
---|
2577 | extern const char *const sys_siglist[32]; |
---|
2578 | |
---|
2579 | |
---|
2580 | extern "C" { |
---|
2581 | int raise(int); |
---|
2582 | } |
---|
2583 | |
---|
2584 | |
---|
2585 | extern "C" { |
---|
2586 | void (*bsd_signal(int, void (*)(int)))(int); |
---|
2587 | int kill(pid_t, int) __asm("_" "kill" "$UNIX2003"); |
---|
2588 | int killpg(pid_t, int) __asm("_" "killpg" "$UNIX2003"); |
---|
2589 | int pthread_kill(pthread_t, int); |
---|
2590 | int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" "$UNIX2003"); |
---|
2591 | int sigaction(int, const struct sigaction * , |
---|
2592 | struct sigaction * ); |
---|
2593 | int sigaddset(sigset_t *, int); |
---|
2594 | int sigaltstack(const stack_t * , stack_t * ) __asm("_" "sigaltstack" "$UNIX2003"); |
---|
2595 | int sigdelset(sigset_t *, int); |
---|
2596 | int sigemptyset(sigset_t *); |
---|
2597 | int sigfillset(sigset_t *); |
---|
2598 | int sighold(int); |
---|
2599 | int sigignore(int); |
---|
2600 | int siginterrupt(int, int); |
---|
2601 | int sigismember(const sigset_t *, int); |
---|
2602 | int sigpause(int) __asm("_" "sigpause" "$UNIX2003") ; |
---|
2603 | int sigpending(sigset_t *); |
---|
2604 | int sigprocmask(int, const sigset_t * , sigset_t * ); |
---|
2605 | int sigrelse(int); |
---|
2606 | void (*sigset(int, void (*)(int)))(int); |
---|
2607 | int sigsuspend(const sigset_t *) __asm("_" "sigsuspend" "$UNIX2003") ; |
---|
2608 | int sigwait(const sigset_t * , int * ) __asm("_" "sigwait" "$UNIX2003") ; |
---|
2609 | |
---|
2610 | void psignal(unsigned int, const char *); |
---|
2611 | int sigblock(int); |
---|
2612 | int sigsetmask(int); |
---|
2613 | int sigvec(int, struct sigvec *, struct sigvec *); |
---|
2614 | |
---|
2615 | } |
---|
2616 | |
---|
2617 | |
---|
2618 | |
---|
2619 | |
---|
2620 | static inline int |
---|
2621 | __sigbits(int __signo) |
---|
2622 | { |
---|
2623 | return __signo > 32 ? 0 : (1 << (__signo - 1)); |
---|
2624 | } |
---|
2625 | # 35 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2626 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stddef.h" 1 3 4 |
---|
2627 | # 34 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stddef.h" 3 4 |
---|
2628 | typedef int ptrdiff_t; |
---|
2629 | # 36 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2630 | # 1 "/usr/include/sys/resource.h" 1 3 4 |
---|
2631 | # 76 "/usr/include/sys/resource.h" 3 4 |
---|
2632 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
2633 | # 77 "/usr/include/sys/resource.h" 2 3 4 |
---|
2634 | # 88 "/usr/include/sys/resource.h" 3 4 |
---|
2635 | typedef __uint64_t rlim_t; |
---|
2636 | # 142 "/usr/include/sys/resource.h" 3 4 |
---|
2637 | struct rusage { |
---|
2638 | struct timeval ru_utime; |
---|
2639 | struct timeval ru_stime; |
---|
2640 | # 153 "/usr/include/sys/resource.h" 3 4 |
---|
2641 | long ru_maxrss; |
---|
2642 | |
---|
2643 | long ru_ixrss; |
---|
2644 | long ru_idrss; |
---|
2645 | long ru_isrss; |
---|
2646 | long ru_minflt; |
---|
2647 | long ru_majflt; |
---|
2648 | long ru_nswap; |
---|
2649 | long ru_inblock; |
---|
2650 | long ru_oublock; |
---|
2651 | long ru_msgsnd; |
---|
2652 | long ru_msgrcv; |
---|
2653 | long ru_nsignals; |
---|
2654 | long ru_nvcsw; |
---|
2655 | long ru_nivcsw; |
---|
2656 | |
---|
2657 | |
---|
2658 | }; |
---|
2659 | # 213 "/usr/include/sys/resource.h" 3 4 |
---|
2660 | struct rlimit { |
---|
2661 | rlim_t rlim_cur; |
---|
2662 | rlim_t rlim_max; |
---|
2663 | }; |
---|
2664 | # 235 "/usr/include/sys/resource.h" 3 4 |
---|
2665 | extern "C" { |
---|
2666 | int getpriority(int, id_t); |
---|
2667 | |
---|
2668 | int getiopolicy_np(int, int); |
---|
2669 | |
---|
2670 | int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003"); |
---|
2671 | int getrusage(int, struct rusage *); |
---|
2672 | int setpriority(int, id_t, int); |
---|
2673 | |
---|
2674 | int setiopolicy_np(int, int, int); |
---|
2675 | |
---|
2676 | int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003"); |
---|
2677 | } |
---|
2678 | # 37 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2679 | |
---|
2680 | # 1 "/usr/include/sys/stat.h" 1 3 4 |
---|
2681 | # 78 "/usr/include/sys/stat.h" 3 4 |
---|
2682 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
2683 | # 79 "/usr/include/sys/stat.h" 2 3 4 |
---|
2684 | # 152 "/usr/include/sys/stat.h" 3 4 |
---|
2685 | struct ostat { |
---|
2686 | __uint16_t st_dev; |
---|
2687 | ino_t st_ino; |
---|
2688 | mode_t st_mode; |
---|
2689 | nlink_t st_nlink; |
---|
2690 | __uint16_t st_uid; |
---|
2691 | __uint16_t st_gid; |
---|
2692 | __uint16_t st_rdev; |
---|
2693 | __int32_t st_size; |
---|
2694 | struct timespec st_atimespec; |
---|
2695 | struct timespec st_mtimespec; |
---|
2696 | struct timespec st_ctimespec; |
---|
2697 | __int32_t st_blksize; |
---|
2698 | __int32_t st_blocks; |
---|
2699 | __uint32_t st_flags; |
---|
2700 | __uint32_t st_gen; |
---|
2701 | }; |
---|
2702 | # 228 "/usr/include/sys/stat.h" 3 4 |
---|
2703 | struct stat { |
---|
2704 | dev_t st_dev; |
---|
2705 | ino_t st_ino; |
---|
2706 | mode_t st_mode; |
---|
2707 | nlink_t st_nlink; |
---|
2708 | uid_t st_uid; |
---|
2709 | gid_t st_gid; |
---|
2710 | dev_t st_rdev; |
---|
2711 | |
---|
2712 | struct timespec st_atimespec; |
---|
2713 | struct timespec st_mtimespec; |
---|
2714 | struct timespec st_ctimespec; |
---|
2715 | # 248 "/usr/include/sys/stat.h" 3 4 |
---|
2716 | off_t st_size; |
---|
2717 | blkcnt_t st_blocks; |
---|
2718 | blksize_t st_blksize; |
---|
2719 | __uint32_t st_flags; |
---|
2720 | __uint32_t st_gen; |
---|
2721 | __int32_t st_lspare; |
---|
2722 | __int64_t st_qspare[2]; |
---|
2723 | }; |
---|
2724 | |
---|
2725 | |
---|
2726 | |
---|
2727 | |
---|
2728 | |
---|
2729 | struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; |
---|
2730 | # 422 "/usr/include/sys/stat.h" 3 4 |
---|
2731 | extern "C" { |
---|
2732 | |
---|
2733 | int chmod(const char *, mode_t) __asm("_" "chmod" "$UNIX2003"); |
---|
2734 | int fchmod(int, mode_t) __asm("_" "fchmod" "$UNIX2003"); |
---|
2735 | int fstat(int, struct stat *) __asm("_" "fstat") ; |
---|
2736 | int lstat(const char *, struct stat *) __asm("_" "lstat") ; |
---|
2737 | int mkdir(const char *, mode_t); |
---|
2738 | int mkfifo(const char *, mode_t); |
---|
2739 | int stat(const char *, struct stat *) __asm("_" "stat") ; |
---|
2740 | int mknod(const char *, mode_t, dev_t); |
---|
2741 | mode_t umask(mode_t); |
---|
2742 | |
---|
2743 | |
---|
2744 | |
---|
2745 | struct _filesec; |
---|
2746 | typedef struct _filesec *filesec_t; |
---|
2747 | |
---|
2748 | |
---|
2749 | int chflags(const char *, __uint32_t); |
---|
2750 | int chmodx_np(const char *, filesec_t); |
---|
2751 | int fchflags(int, __uint32_t); |
---|
2752 | int fchmodx_np(int, filesec_t); |
---|
2753 | int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np") ; |
---|
2754 | int lchflags(const char *, __uint32_t); |
---|
2755 | int lchmod(const char *, mode_t); |
---|
2756 | int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np") ; |
---|
2757 | int mkdirx_np(const char *, filesec_t); |
---|
2758 | int mkfifox_np(const char *, filesec_t); |
---|
2759 | int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np") ; |
---|
2760 | int umaskx_np(filesec_t); |
---|
2761 | |
---|
2762 | int fstatx64_np(int, struct stat64 *, filesec_t); |
---|
2763 | int lstatx64_np(const char *, struct stat64 *, filesec_t); |
---|
2764 | int statx64_np(const char *, struct stat64 *, filesec_t); |
---|
2765 | int fstat64(int, struct stat64 *); |
---|
2766 | int lstat64(const char *, struct stat64 *); |
---|
2767 | int stat64(const char *, struct stat64 *); |
---|
2768 | |
---|
2769 | |
---|
2770 | } |
---|
2771 | # 39 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2772 | |
---|
2773 | # 1 "/usr/include/sys/times.h" 1 3 4 |
---|
2774 | # 85 "/usr/include/sys/times.h" 3 4 |
---|
2775 | struct tms { |
---|
2776 | clock_t tms_utime; |
---|
2777 | clock_t tms_stime; |
---|
2778 | clock_t tms_cutime; |
---|
2779 | clock_t tms_cstime; |
---|
2780 | }; |
---|
2781 | |
---|
2782 | extern "C" { |
---|
2783 | clock_t times(struct tms *); |
---|
2784 | } |
---|
2785 | # 41 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2786 | |
---|
2787 | # 1 "/usr/include/sys/utsname.h" 1 3 4 |
---|
2788 | # 74 "/usr/include/sys/utsname.h" 3 4 |
---|
2789 | struct utsname { |
---|
2790 | char sysname[256]; |
---|
2791 | char nodename[256]; |
---|
2792 | char release[256]; |
---|
2793 | char version[256]; |
---|
2794 | char machine[256]; |
---|
2795 | }; |
---|
2796 | |
---|
2797 | extern "C" { |
---|
2798 | int uname(struct utsname *); |
---|
2799 | } |
---|
2800 | # 43 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2801 | # 1 "/usr/include/termios.h" 1 3 4 |
---|
2802 | # 27 "/usr/include/termios.h" 3 4 |
---|
2803 | # 1 "/usr/include/sys/termios.h" 1 3 4 |
---|
2804 | # 265 "/usr/include/sys/termios.h" 3 4 |
---|
2805 | typedef unsigned long tcflag_t; |
---|
2806 | typedef unsigned char cc_t; |
---|
2807 | typedef unsigned long speed_t; |
---|
2808 | |
---|
2809 | struct termios { |
---|
2810 | tcflag_t c_iflag; |
---|
2811 | tcflag_t c_oflag; |
---|
2812 | tcflag_t c_cflag; |
---|
2813 | tcflag_t c_lflag; |
---|
2814 | cc_t c_cc[20]; |
---|
2815 | speed_t c_ispeed; |
---|
2816 | speed_t c_ospeed; |
---|
2817 | }; |
---|
2818 | # 332 "/usr/include/sys/termios.h" 3 4 |
---|
2819 | extern "C" { |
---|
2820 | speed_t cfgetispeed(const struct termios *); |
---|
2821 | speed_t cfgetospeed(const struct termios *); |
---|
2822 | int cfsetispeed(struct termios *, speed_t); |
---|
2823 | int cfsetospeed(struct termios *, speed_t); |
---|
2824 | int tcgetattr(int, struct termios *); |
---|
2825 | int tcsetattr(int, int, const struct termios *); |
---|
2826 | int tcdrain(int) __asm("_" "tcdrain" "$UNIX2003") ; |
---|
2827 | int tcflow(int, int); |
---|
2828 | int tcflush(int, int); |
---|
2829 | int tcsendbreak(int, int); |
---|
2830 | |
---|
2831 | |
---|
2832 | void cfmakeraw(struct termios *); |
---|
2833 | int cfsetspeed(struct termios *, speed_t); |
---|
2834 | |
---|
2835 | } |
---|
2836 | # 358 "/usr/include/sys/termios.h" 3 4 |
---|
2837 | # 1 "/usr/include/sys/ttycom.h" 1 3 4 |
---|
2838 | # 72 "/usr/include/sys/ttycom.h" 3 4 |
---|
2839 | # 1 "/usr/include/sys/ioccom.h" 1 3 4 |
---|
2840 | # 73 "/usr/include/sys/ttycom.h" 2 3 4 |
---|
2841 | # 83 "/usr/include/sys/ttycom.h" 3 4 |
---|
2842 | struct winsize { |
---|
2843 | unsigned short ws_row; |
---|
2844 | unsigned short ws_col; |
---|
2845 | unsigned short ws_xpixel; |
---|
2846 | unsigned short ws_ypixel; |
---|
2847 | }; |
---|
2848 | # 359 "/usr/include/sys/termios.h" 2 3 4 |
---|
2849 | |
---|
2850 | |
---|
2851 | |
---|
2852 | |
---|
2853 | |
---|
2854 | |
---|
2855 | |
---|
2856 | |
---|
2857 | # 1 "/usr/include/sys/ttydefaults.h" 1 3 4 |
---|
2858 | # 368 "/usr/include/sys/termios.h" 2 3 4 |
---|
2859 | # 28 "/usr/include/termios.h" 2 3 4 |
---|
2860 | |
---|
2861 | |
---|
2862 | |
---|
2863 | |
---|
2864 | |
---|
2865 | |
---|
2866 | |
---|
2867 | extern "C" { |
---|
2868 | pid_t tcgetsid(int); |
---|
2869 | } |
---|
2870 | # 44 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
2871 | |
---|
2872 | # 1 "/usr/include/wchar.h" 1 3 4 |
---|
2873 | # 83 "/usr/include/wchar.h" 3 4 |
---|
2874 | typedef __darwin_mbstate_t mbstate_t; |
---|
2875 | |
---|
2876 | |
---|
2877 | |
---|
2878 | |
---|
2879 | typedef __darwin_ct_rune_t ct_rune_t; |
---|
2880 | |
---|
2881 | |
---|
2882 | |
---|
2883 | |
---|
2884 | typedef __darwin_rune_t rune_t; |
---|
2885 | # 111 "/usr/include/wchar.h" 3 4 |
---|
2886 | # 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 1 3 4 |
---|
2887 | # 30 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 3 4 |
---|
2888 | typedef __builtin_va_list va_list; |
---|
2889 | # 48 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 3 4 |
---|
2890 | typedef __builtin_va_list __gnuc_va_list; |
---|
2891 | # 112 "/usr/include/wchar.h" 2 3 4 |
---|
2892 | # 1 "/usr/include/stdio.h" 1 3 4 |
---|
2893 | # 87 "/usr/include/stdio.h" 3 4 |
---|
2894 | typedef __darwin_off_t fpos_t; |
---|
2895 | # 98 "/usr/include/stdio.h" 3 4 |
---|
2896 | struct __sbuf { |
---|
2897 | unsigned char *_base; |
---|
2898 | int _size; |
---|
2899 | }; |
---|
2900 | |
---|
2901 | |
---|
2902 | struct __sFILEX; |
---|
2903 | # 132 "/usr/include/stdio.h" 3 4 |
---|
2904 | typedef struct __sFILE { |
---|
2905 | unsigned char *_p; |
---|
2906 | int _r; |
---|
2907 | int _w; |
---|
2908 | short _flags; |
---|
2909 | short _file; |
---|
2910 | struct __sbuf _bf; |
---|
2911 | int _lbfsize; |
---|
2912 | |
---|
2913 | |
---|
2914 | void *_cookie; |
---|
2915 | int (*_close)(void *); |
---|
2916 | int (*_read) (void *, char *, int); |
---|
2917 | fpos_t (*_seek) (void *, fpos_t, int); |
---|
2918 | int (*_write)(void *, const char *, int); |
---|
2919 | |
---|
2920 | |
---|
2921 | struct __sbuf _ub; |
---|
2922 | struct __sFILEX *_extra; |
---|
2923 | int _ur; |
---|
2924 | |
---|
2925 | |
---|
2926 | unsigned char _ubuf[3]; |
---|
2927 | unsigned char _nbuf[1]; |
---|
2928 | |
---|
2929 | |
---|
2930 | struct __sbuf _lb; |
---|
2931 | |
---|
2932 | |
---|
2933 | int _blksize; |
---|
2934 | fpos_t _offset; |
---|
2935 | } FILE; |
---|
2936 | |
---|
2937 | extern "C" { |
---|
2938 | |
---|
2939 | extern FILE *__stdinp; |
---|
2940 | extern FILE *__stdoutp; |
---|
2941 | extern FILE *__stderrp; |
---|
2942 | |
---|
2943 | |
---|
2944 | |
---|
2945 | } |
---|
2946 | # 248 "/usr/include/stdio.h" 3 4 |
---|
2947 | extern "C" { |
---|
2948 | void clearerr(FILE *); |
---|
2949 | int fclose(FILE *); |
---|
2950 | int feof(FILE *); |
---|
2951 | int ferror(FILE *); |
---|
2952 | int fflush(FILE *); |
---|
2953 | int fgetc(FILE *); |
---|
2954 | int fgetpos(FILE * , fpos_t *); |
---|
2955 | char *fgets(char * , int, FILE *); |
---|
2956 | FILE *fopen(const char * , const char * ); |
---|
2957 | int fprintf(FILE * , const char * , ...) ; |
---|
2958 | int fputc(int, FILE *); |
---|
2959 | int fputs(const char * , FILE * ) __asm("_" "fputs" "$UNIX2003"); |
---|
2960 | size_t fread(void * , size_t, size_t, FILE * ); |
---|
2961 | FILE *freopen(const char * , const char * , |
---|
2962 | FILE * ) __asm("_" "freopen" "$UNIX2003"); |
---|
2963 | int fscanf(FILE * , const char * , ...) ; |
---|
2964 | int fseek(FILE *, long, int); |
---|
2965 | int fsetpos(FILE *, const fpos_t *); |
---|
2966 | long ftell(FILE *); |
---|
2967 | size_t fwrite(const void * , size_t, size_t, FILE * ) __asm("_" "fwrite" "$UNIX2003"); |
---|
2968 | int getc(FILE *); |
---|
2969 | int getchar(void); |
---|
2970 | char *gets(char *); |
---|
2971 | |
---|
2972 | extern const int sys_nerr; |
---|
2973 | extern const char *const sys_errlist[]; |
---|
2974 | |
---|
2975 | void perror(const char *); |
---|
2976 | int printf(const char * , ...) ; |
---|
2977 | int putc(int, FILE *); |
---|
2978 | int putchar(int); |
---|
2979 | int puts(const char *); |
---|
2980 | int remove(const char *); |
---|
2981 | int rename (const char *, const char *); |
---|
2982 | void rewind(FILE *); |
---|
2983 | int scanf(const char * , ...) ; |
---|
2984 | void setbuf(FILE * , char * ); |
---|
2985 | int setvbuf(FILE * , char * , int, size_t); |
---|
2986 | int sprintf(char * , const char * , ...) ; |
---|
2987 | int sscanf(const char * , const char * , ...) ; |
---|
2988 | FILE *tmpfile(void); |
---|
2989 | char *tmpnam(char *); |
---|
2990 | int ungetc(int, FILE *); |
---|
2991 | int vfprintf(FILE * , const char * , va_list) ; |
---|
2992 | int vprintf(const char * , va_list) ; |
---|
2993 | int vsprintf(char * , const char * , va_list) ; |
---|
2994 | |
---|
2995 | int asprintf(char **, const char *, ...) ; |
---|
2996 | int vasprintf(char **, const char *, va_list) ; |
---|
2997 | |
---|
2998 | } |
---|
2999 | |
---|
3000 | |
---|
3001 | |
---|
3002 | |
---|
3003 | |
---|
3004 | |
---|
3005 | |
---|
3006 | extern "C" { |
---|
3007 | char *ctermid(char *); |
---|
3008 | |
---|
3009 | char *ctermid_r(char *); |
---|
3010 | |
---|
3011 | FILE *fdopen(int, const char *); |
---|
3012 | |
---|
3013 | char *fgetln(FILE *, size_t *); |
---|
3014 | |
---|
3015 | int fileno(FILE *); |
---|
3016 | void flockfile(FILE *); |
---|
3017 | |
---|
3018 | const char |
---|
3019 | *fmtcheck(const char *, const char *); |
---|
3020 | int fpurge(FILE *); |
---|
3021 | |
---|
3022 | int fseeko(FILE *, off_t, int); |
---|
3023 | off_t ftello(FILE *); |
---|
3024 | int ftrylockfile(FILE *); |
---|
3025 | void funlockfile(FILE *); |
---|
3026 | int getc_unlocked(FILE *); |
---|
3027 | int getchar_unlocked(void); |
---|
3028 | |
---|
3029 | int getw(FILE *); |
---|
3030 | |
---|
3031 | int pclose(FILE *); |
---|
3032 | FILE *popen(const char *, const char *); |
---|
3033 | int putc_unlocked(int, FILE *); |
---|
3034 | int putchar_unlocked(int); |
---|
3035 | |
---|
3036 | int putw(int, FILE *); |
---|
3037 | void setbuffer(FILE *, char *, int); |
---|
3038 | int setlinebuf(FILE *); |
---|
3039 | |
---|
3040 | int snprintf(char * , size_t, const char * , ...) ; |
---|
3041 | char *tempnam(const char *, const char *) __asm("_" "tempnam" "$UNIX2003"); |
---|
3042 | int vfscanf(FILE * , const char * , va_list) ; |
---|
3043 | int vscanf(const char * , va_list) ; |
---|
3044 | int vsnprintf(char * , size_t, const char * , va_list) ; |
---|
3045 | int vsscanf(const char * , const char * , va_list) ; |
---|
3046 | |
---|
3047 | FILE *zopen(const char *, const char *, int); |
---|
3048 | |
---|
3049 | } |
---|
3050 | |
---|
3051 | |
---|
3052 | |
---|
3053 | |
---|
3054 | |
---|
3055 | extern "C" { |
---|
3056 | FILE *funopen(const void *, |
---|
3057 | int (*)(void *, char *, int), |
---|
3058 | int (*)(void *, const char *, int), |
---|
3059 | fpos_t (*)(void *, fpos_t, int), |
---|
3060 | int (*)(void *)); |
---|
3061 | } |
---|
3062 | # 371 "/usr/include/stdio.h" 3 4 |
---|
3063 | extern "C" { |
---|
3064 | int __srget(FILE *); |
---|
3065 | int __svfscanf(FILE *, const char *, va_list) ; |
---|
3066 | int __swbuf(int, FILE *); |
---|
3067 | } |
---|
3068 | |
---|
3069 | |
---|
3070 | |
---|
3071 | |
---|
3072 | |
---|
3073 | |
---|
3074 | |
---|
3075 | static inline int __sputc(int _c, FILE *_p) { |
---|
3076 | if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) |
---|
3077 | return (*_p->_p++ = _c); |
---|
3078 | else |
---|
3079 | return (__swbuf(_c, _p)); |
---|
3080 | } |
---|
3081 | # 113 "/usr/include/wchar.h" 2 3 4 |
---|
3082 | |
---|
3083 | # 1 "/usr/include/_wctype.h" 1 3 4 |
---|
3084 | # 47 "/usr/include/_wctype.h" 3 4 |
---|
3085 | typedef __darwin_wint_t wint_t; |
---|
3086 | |
---|
3087 | |
---|
3088 | |
---|
3089 | |
---|
3090 | typedef __darwin_wctype_t wctype_t; |
---|
3091 | # 63 "/usr/include/_wctype.h" 3 4 |
---|
3092 | # 1 "/usr/include/ctype.h" 1 3 4 |
---|
3093 | # 69 "/usr/include/ctype.h" 3 4 |
---|
3094 | # 1 "/usr/include/runetype.h" 1 3 4 |
---|
3095 | # 81 "/usr/include/runetype.h" 3 4 |
---|
3096 | typedef struct { |
---|
3097 | __darwin_rune_t __min; |
---|
3098 | __darwin_rune_t __max; |
---|
3099 | __darwin_rune_t __map; |
---|
3100 | __uint32_t *__types; |
---|
3101 | } _RuneEntry; |
---|
3102 | |
---|
3103 | typedef struct { |
---|
3104 | int __nranges; |
---|
3105 | _RuneEntry *__ranges; |
---|
3106 | } _RuneRange; |
---|
3107 | |
---|
3108 | typedef struct { |
---|
3109 | char __name[14]; |
---|
3110 | __uint32_t __mask; |
---|
3111 | } _RuneCharClass; |
---|
3112 | |
---|
3113 | typedef struct { |
---|
3114 | char __magic[8]; |
---|
3115 | char __encoding[32]; |
---|
3116 | |
---|
3117 | __darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **); |
---|
3118 | int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **); |
---|
3119 | __darwin_rune_t __invalid_rune; |
---|
3120 | |
---|
3121 | __uint32_t __runetype[(1 <<8 )]; |
---|
3122 | __darwin_rune_t __maplower[(1 <<8 )]; |
---|
3123 | __darwin_rune_t __mapupper[(1 <<8 )]; |
---|
3124 | |
---|
3125 | |
---|
3126 | |
---|
3127 | |
---|
3128 | |
---|
3129 | |
---|
3130 | _RuneRange __runetype_ext; |
---|
3131 | _RuneRange __maplower_ext; |
---|
3132 | _RuneRange __mapupper_ext; |
---|
3133 | |
---|
3134 | void *__variable; |
---|
3135 | int __variable_len; |
---|
3136 | |
---|
3137 | |
---|
3138 | |
---|
3139 | |
---|
3140 | int __ncharclasses; |
---|
3141 | _RuneCharClass *__charclasses; |
---|
3142 | } _RuneLocale; |
---|
3143 | |
---|
3144 | |
---|
3145 | |
---|
3146 | extern "C" { |
---|
3147 | extern _RuneLocale _DefaultRuneLocale; |
---|
3148 | extern _RuneLocale *_CurrentRuneLocale; |
---|
3149 | } |
---|
3150 | # 70 "/usr/include/ctype.h" 2 3 4 |
---|
3151 | # 145 "/usr/include/ctype.h" 3 4 |
---|
3152 | extern "C" { |
---|
3153 | unsigned long ___runetype(__darwin_ct_rune_t); |
---|
3154 | __darwin_ct_rune_t ___tolower(__darwin_ct_rune_t); |
---|
3155 | __darwin_ct_rune_t ___toupper(__darwin_ct_rune_t); |
---|
3156 | } |
---|
3157 | |
---|
3158 | static inline int |
---|
3159 | isascii(int _c) |
---|
3160 | { |
---|
3161 | return ((_c & ~0x7F) == 0); |
---|
3162 | } |
---|
3163 | # 164 "/usr/include/ctype.h" 3 4 |
---|
3164 | extern "C" { |
---|
3165 | int __maskrune(__darwin_ct_rune_t, unsigned long); |
---|
3166 | } |
---|
3167 | |
---|
3168 | |
---|
3169 | static inline int |
---|
3170 | __istype(__darwin_ct_rune_t _c, unsigned long _f) |
---|
3171 | { |
---|
3172 | |
---|
3173 | |
---|
3174 | |
---|
3175 | return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f) |
---|
3176 | : !!__maskrune(_c, _f)); |
---|
3177 | |
---|
3178 | } |
---|
3179 | |
---|
3180 | static inline __darwin_ct_rune_t |
---|
3181 | __isctype(__darwin_ct_rune_t _c, unsigned long _f) |
---|
3182 | { |
---|
3183 | |
---|
3184 | |
---|
3185 | |
---|
3186 | return (_c < 0 || _c >= (1 <<8 )) ? 0 : |
---|
3187 | !!(_DefaultRuneLocale.__runetype[_c] & _f); |
---|
3188 | |
---|
3189 | } |
---|
3190 | # 204 "/usr/include/ctype.h" 3 4 |
---|
3191 | extern "C" { |
---|
3192 | __darwin_ct_rune_t __toupper(__darwin_ct_rune_t); |
---|
3193 | __darwin_ct_rune_t __tolower(__darwin_ct_rune_t); |
---|
3194 | } |
---|
3195 | |
---|
3196 | |
---|
3197 | static inline int |
---|
3198 | __wcwidth(__darwin_ct_rune_t _c) |
---|
3199 | { |
---|
3200 | unsigned int _x; |
---|
3201 | |
---|
3202 | if (_c == 0) |
---|
3203 | return (0); |
---|
3204 | _x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L); |
---|
3205 | if ((_x & 0xe0000000L) != 0) |
---|
3206 | return ((_x & 0xe0000000L) >> 30); |
---|
3207 | return ((_x & 0x00040000L) != 0 ? 1 : -1); |
---|
3208 | } |
---|
3209 | |
---|
3210 | |
---|
3211 | |
---|
3212 | |
---|
3213 | |
---|
3214 | |
---|
3215 | static inline int |
---|
3216 | isalnum(int _c) |
---|
3217 | { |
---|
3218 | return (__istype(_c, 0x00000100L|0x00000400L)); |
---|
3219 | } |
---|
3220 | |
---|
3221 | static inline int |
---|
3222 | isalpha(int _c) |
---|
3223 | { |
---|
3224 | return (__istype(_c, 0x00000100L)); |
---|
3225 | } |
---|
3226 | |
---|
3227 | static inline int |
---|
3228 | isblank(int _c) |
---|
3229 | { |
---|
3230 | return (__istype(_c, 0x00020000L)); |
---|
3231 | } |
---|
3232 | |
---|
3233 | static inline int |
---|
3234 | iscntrl(int _c) |
---|
3235 | { |
---|
3236 | return (__istype(_c, 0x00000200L)); |
---|
3237 | } |
---|
3238 | |
---|
3239 | |
---|
3240 | static inline int |
---|
3241 | isdigit(int _c) |
---|
3242 | { |
---|
3243 | return (__isctype(_c, 0x00000400L)); |
---|
3244 | } |
---|
3245 | |
---|
3246 | static inline int |
---|
3247 | isgraph(int _c) |
---|
3248 | { |
---|
3249 | return (__istype(_c, 0x00000800L)); |
---|
3250 | } |
---|
3251 | |
---|
3252 | static inline int |
---|
3253 | islower(int _c) |
---|
3254 | { |
---|
3255 | return (__istype(_c, 0x00001000L)); |
---|
3256 | } |
---|
3257 | |
---|
3258 | static inline int |
---|
3259 | isprint(int _c) |
---|
3260 | { |
---|
3261 | return (__istype(_c, 0x00040000L)); |
---|
3262 | } |
---|
3263 | |
---|
3264 | static inline int |
---|
3265 | ispunct(int _c) |
---|
3266 | { |
---|
3267 | return (__istype(_c, 0x00002000L)); |
---|
3268 | } |
---|
3269 | |
---|
3270 | static inline int |
---|
3271 | isspace(int _c) |
---|
3272 | { |
---|
3273 | return (__istype(_c, 0x00004000L)); |
---|
3274 | } |
---|
3275 | |
---|
3276 | static inline int |
---|
3277 | isupper(int _c) |
---|
3278 | { |
---|
3279 | return (__istype(_c, 0x00008000L)); |
---|
3280 | } |
---|
3281 | |
---|
3282 | |
---|
3283 | static inline int |
---|
3284 | isxdigit(int _c) |
---|
3285 | { |
---|
3286 | return (__isctype(_c, 0x00010000L)); |
---|
3287 | } |
---|
3288 | |
---|
3289 | static inline int |
---|
3290 | toascii(int _c) |
---|
3291 | { |
---|
3292 | return (_c & 0x7F); |
---|
3293 | } |
---|
3294 | |
---|
3295 | static inline int |
---|
3296 | tolower(int _c) |
---|
3297 | { |
---|
3298 | return (__tolower(_c)); |
---|
3299 | } |
---|
3300 | |
---|
3301 | static inline int |
---|
3302 | toupper(int _c) |
---|
3303 | { |
---|
3304 | return (__toupper(_c)); |
---|
3305 | } |
---|
3306 | |
---|
3307 | |
---|
3308 | static inline int |
---|
3309 | digittoint(int _c) |
---|
3310 | { |
---|
3311 | return (__maskrune(_c, 0x0F)); |
---|
3312 | } |
---|
3313 | |
---|
3314 | static inline int |
---|
3315 | ishexnumber(int _c) |
---|
3316 | { |
---|
3317 | return (__istype(_c, 0x00010000L)); |
---|
3318 | } |
---|
3319 | |
---|
3320 | static inline int |
---|
3321 | isideogram(int _c) |
---|
3322 | { |
---|
3323 | return (__istype(_c, 0x00080000L)); |
---|
3324 | } |
---|
3325 | |
---|
3326 | static inline int |
---|
3327 | isnumber(int _c) |
---|
3328 | { |
---|
3329 | return (__istype(_c, 0x00000400L)); |
---|
3330 | } |
---|
3331 | |
---|
3332 | static inline int |
---|
3333 | isphonogram(int _c) |
---|
3334 | { |
---|
3335 | return (__istype(_c, 0x00200000L)); |
---|
3336 | } |
---|
3337 | |
---|
3338 | static inline int |
---|
3339 | isrune(int _c) |
---|
3340 | { |
---|
3341 | return (__istype(_c, 0xFFFFFFF0L)); |
---|
3342 | } |
---|
3343 | |
---|
3344 | static inline int |
---|
3345 | isspecial(int _c) |
---|
3346 | { |
---|
3347 | return (__istype(_c, 0x00100000L)); |
---|
3348 | } |
---|
3349 | # 64 "/usr/include/_wctype.h" 2 3 4 |
---|
3350 | |
---|
3351 | |
---|
3352 | |
---|
3353 | |
---|
3354 | |
---|
3355 | |
---|
3356 | |
---|
3357 | static inline int |
---|
3358 | iswalnum(wint_t _wc) |
---|
3359 | { |
---|
3360 | return (__istype(_wc, 0x00000100L|0x00000400L)); |
---|
3361 | } |
---|
3362 | |
---|
3363 | static inline int |
---|
3364 | iswalpha(wint_t _wc) |
---|
3365 | { |
---|
3366 | return (__istype(_wc, 0x00000100L)); |
---|
3367 | } |
---|
3368 | |
---|
3369 | static inline int |
---|
3370 | iswcntrl(wint_t _wc) |
---|
3371 | { |
---|
3372 | return (__istype(_wc, 0x00000200L)); |
---|
3373 | } |
---|
3374 | |
---|
3375 | static inline int |
---|
3376 | iswctype(wint_t _wc, wctype_t _charclass) |
---|
3377 | { |
---|
3378 | return (__istype(_wc, _charclass)); |
---|
3379 | } |
---|
3380 | |
---|
3381 | static inline int |
---|
3382 | iswdigit(wint_t _wc) |
---|
3383 | { |
---|
3384 | return (__isctype(_wc, 0x00000400L)); |
---|
3385 | } |
---|
3386 | |
---|
3387 | static inline int |
---|
3388 | iswgraph(wint_t _wc) |
---|
3389 | { |
---|
3390 | return (__istype(_wc, 0x00000800L)); |
---|
3391 | } |
---|
3392 | |
---|
3393 | static inline int |
---|
3394 | iswlower(wint_t _wc) |
---|
3395 | { |
---|
3396 | return (__istype(_wc, 0x00001000L)); |
---|
3397 | } |
---|
3398 | |
---|
3399 | static inline int |
---|
3400 | iswprint(wint_t _wc) |
---|
3401 | { |
---|
3402 | return (__istype(_wc, 0x00040000L)); |
---|
3403 | } |
---|
3404 | |
---|
3405 | static inline int |
---|
3406 | iswpunct(wint_t _wc) |
---|
3407 | { |
---|
3408 | return (__istype(_wc, 0x00002000L)); |
---|
3409 | } |
---|
3410 | |
---|
3411 | static inline int |
---|
3412 | iswspace(wint_t _wc) |
---|
3413 | { |
---|
3414 | return (__istype(_wc, 0x00004000L)); |
---|
3415 | } |
---|
3416 | |
---|
3417 | static inline int |
---|
3418 | iswupper(wint_t _wc) |
---|
3419 | { |
---|
3420 | return (__istype(_wc, 0x00008000L)); |
---|
3421 | } |
---|
3422 | |
---|
3423 | static inline int |
---|
3424 | iswxdigit(wint_t _wc) |
---|
3425 | { |
---|
3426 | return (__isctype(_wc, 0x00010000L)); |
---|
3427 | } |
---|
3428 | |
---|
3429 | static inline wint_t |
---|
3430 | towlower(wint_t _wc) |
---|
3431 | { |
---|
3432 | return (__tolower(_wc)); |
---|
3433 | } |
---|
3434 | |
---|
3435 | static inline wint_t |
---|
3436 | towupper(wint_t _wc) |
---|
3437 | { |
---|
3438 | return (__toupper(_wc)); |
---|
3439 | } |
---|
3440 | # 176 "/usr/include/_wctype.h" 3 4 |
---|
3441 | extern "C" { |
---|
3442 | wctype_t |
---|
3443 | wctype(const char *); |
---|
3444 | } |
---|
3445 | # 115 "/usr/include/wchar.h" 2 3 4 |
---|
3446 | |
---|
3447 | extern "C" { |
---|
3448 | wint_t btowc(int); |
---|
3449 | wint_t fgetwc(FILE *); |
---|
3450 | wchar_t *fgetws(wchar_t * , int, FILE * ); |
---|
3451 | wint_t fputwc(wchar_t, FILE *); |
---|
3452 | int fputws(const wchar_t * , FILE * ); |
---|
3453 | int fwide(FILE *, int); |
---|
3454 | int fwprintf(FILE * , const wchar_t * , ...) ; |
---|
3455 | int fwscanf(FILE * , const wchar_t * , ...) ; |
---|
3456 | wint_t getwc(FILE *); |
---|
3457 | wint_t getwchar(void); |
---|
3458 | size_t mbrlen(const char * , size_t, mbstate_t * ); |
---|
3459 | size_t mbrtowc(wchar_t * , const char * , size_t, |
---|
3460 | mbstate_t * ); |
---|
3461 | int mbsinit(const mbstate_t *); |
---|
3462 | size_t mbsrtowcs(wchar_t * , const char ** , size_t, |
---|
3463 | mbstate_t * ); |
---|
3464 | wint_t putwc(wchar_t, FILE *); |
---|
3465 | wint_t putwchar(wchar_t); |
---|
3466 | int swprintf(wchar_t * , size_t, const wchar_t * , |
---|
3467 | ...) ; |
---|
3468 | int swscanf(const wchar_t * , const wchar_t * , ...) ; |
---|
3469 | wint_t ungetwc(wint_t, FILE *); |
---|
3470 | int vfwprintf(FILE * , const wchar_t * , |
---|
3471 | __darwin_va_list) ; |
---|
3472 | int vswprintf(wchar_t * , size_t, const wchar_t * , |
---|
3473 | __darwin_va_list) ; |
---|
3474 | int vwprintf(const wchar_t * , __darwin_va_list) ; |
---|
3475 | size_t wcrtomb(char * , wchar_t, mbstate_t * ); |
---|
3476 | wchar_t *wcscat(wchar_t * , const wchar_t * ); |
---|
3477 | wchar_t *wcschr(const wchar_t *, wchar_t); |
---|
3478 | int wcscmp(const wchar_t *, const wchar_t *); |
---|
3479 | int wcscoll(const wchar_t *, const wchar_t *); |
---|
3480 | wchar_t *wcscpy(wchar_t * , const wchar_t * ); |
---|
3481 | size_t wcscspn(const wchar_t *, const wchar_t *); |
---|
3482 | size_t wcsftime(wchar_t * , size_t, const wchar_t * , |
---|
3483 | const struct tm * ) __asm("_" "wcsftime" "$UNIX2003"); |
---|
3484 | size_t wcslen(const wchar_t *); |
---|
3485 | wchar_t *wcsncat(wchar_t * , const wchar_t * , size_t); |
---|
3486 | int wcsncmp(const wchar_t *, const wchar_t *, size_t); |
---|
3487 | wchar_t *wcsncpy(wchar_t * , const wchar_t * , size_t); |
---|
3488 | wchar_t *wcspbrk(const wchar_t *, const wchar_t *); |
---|
3489 | wchar_t *wcsrchr(const wchar_t *, wchar_t); |
---|
3490 | size_t wcsrtombs(char * , const wchar_t ** , size_t, |
---|
3491 | mbstate_t * ); |
---|
3492 | size_t wcsspn(const wchar_t *, const wchar_t *); |
---|
3493 | wchar_t *wcsstr(const wchar_t * , const wchar_t * ); |
---|
3494 | size_t wcsxfrm(wchar_t * , const wchar_t * , size_t); |
---|
3495 | int wctob(wint_t); |
---|
3496 | double wcstod(const wchar_t * , wchar_t ** ); |
---|
3497 | wchar_t *wcstok(wchar_t * , const wchar_t * , |
---|
3498 | wchar_t ** ); |
---|
3499 | long wcstol(const wchar_t * , wchar_t ** , int); |
---|
3500 | unsigned long |
---|
3501 | wcstoul(const wchar_t * , wchar_t ** , int); |
---|
3502 | wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); |
---|
3503 | int wmemcmp(const wchar_t *, const wchar_t *, size_t); |
---|
3504 | wchar_t *wmemcpy(wchar_t * , const wchar_t * , size_t); |
---|
3505 | wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t); |
---|
3506 | wchar_t *wmemset(wchar_t *, wchar_t, size_t); |
---|
3507 | int wprintf(const wchar_t * , ...) ; |
---|
3508 | int wscanf(const wchar_t * , ...) ; |
---|
3509 | |
---|
3510 | |
---|
3511 | int vfwscanf(FILE * , const wchar_t * , |
---|
3512 | __darwin_va_list) ; |
---|
3513 | int vswscanf(const wchar_t * , const wchar_t * , |
---|
3514 | __darwin_va_list) ; |
---|
3515 | int vwscanf(const wchar_t * , __darwin_va_list) ; |
---|
3516 | float wcstof(const wchar_t * , wchar_t ** ); |
---|
3517 | long double |
---|
3518 | wcstold(const wchar_t * , wchar_t ** ) ; |
---|
3519 | |
---|
3520 | long long |
---|
3521 | wcstoll(const wchar_t * , wchar_t ** , int); |
---|
3522 | unsigned long long |
---|
3523 | wcstoull(const wchar_t * , wchar_t ** , int); |
---|
3524 | |
---|
3525 | int wcswidth(const wchar_t *, size_t); |
---|
3526 | int wcwidth(wchar_t); |
---|
3527 | |
---|
3528 | |
---|
3529 | |
---|
3530 | size_t mbsnrtowcs(wchar_t * , const char ** , size_t, |
---|
3531 | size_t, mbstate_t * ); |
---|
3532 | size_t wcslcat(wchar_t *, const wchar_t *, size_t); |
---|
3533 | size_t wcslcpy(wchar_t *, const wchar_t *, size_t); |
---|
3534 | size_t wcsnrtombs(char * , const wchar_t ** , size_t, |
---|
3535 | size_t, mbstate_t * ); |
---|
3536 | |
---|
3537 | |
---|
3538 | |
---|
3539 | |
---|
3540 | |
---|
3541 | |
---|
3542 | } |
---|
3543 | # 46 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3544 | # 68 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
3545 | # 1 "/usr/include/sys/ucontext.h" 1 3 4 |
---|
3546 | # 44 "/usr/include/sys/ucontext.h" 3 4 |
---|
3547 | # 1 "/usr/include/sys/_structs.h" 1 3 4 |
---|
3548 | # 57 "/usr/include/sys/_structs.h" 3 4 |
---|
3549 | # 1 "/usr/include/machine/_structs.h" 1 3 4 |
---|
3550 | # 31 "/usr/include/machine/_structs.h" 3 4 |
---|
3551 | # 1 "/usr/include/i386/_structs.h" 1 3 4 |
---|
3552 | # 32 "/usr/include/machine/_structs.h" 2 3 4 |
---|
3553 | # 58 "/usr/include/sys/_structs.h" 2 3 4 |
---|
3554 | # 45 "/usr/include/sys/ucontext.h" 2 3 4 |
---|
3555 | # 69 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3556 | # 1 "/usr/include/wordexp.h" 1 3 4 |
---|
3557 | # 57 "/usr/include/wordexp.h" 3 4 |
---|
3558 | typedef struct { |
---|
3559 | size_t we_wordc; |
---|
3560 | char **we_wordv; |
---|
3561 | size_t we_offs; |
---|
3562 | } wordexp_t; |
---|
3563 | # 83 "/usr/include/wordexp.h" 3 4 |
---|
3564 | extern "C" { |
---|
3565 | int wordexp(const char * , wordexp_t * , int); |
---|
3566 | void wordfree(wordexp_t *); |
---|
3567 | } |
---|
3568 | # 70 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3569 | # 115 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
3570 | # 1 "/usr/include/net/ethernet.h" 1 3 4 |
---|
3571 | # 77 "/usr/include/net/ethernet.h" 3 4 |
---|
3572 | struct ether_header { |
---|
3573 | u_char ether_dhost[6]; |
---|
3574 | u_char ether_shost[6]; |
---|
3575 | u_short ether_type; |
---|
3576 | }; |
---|
3577 | |
---|
3578 | |
---|
3579 | |
---|
3580 | |
---|
3581 | struct ether_addr { |
---|
3582 | u_char octet[6]; |
---|
3583 | }; |
---|
3584 | # 118 "/usr/include/net/ethernet.h" 3 4 |
---|
3585 | extern "C" { |
---|
3586 | |
---|
3587 | int ether_hostton(const char *, struct ether_addr *); |
---|
3588 | int ether_line(const char *, struct ether_addr *, char *); |
---|
3589 | char *ether_ntoa(const struct ether_addr *); |
---|
3590 | struct ether_addr *ether_aton(const char *); |
---|
3591 | int ether_ntohost(char *, const struct ether_addr *); |
---|
3592 | } |
---|
3593 | # 116 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3594 | # 1 "/usr/include/sys/filio.h" 1 3 4 |
---|
3595 | # 117 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3596 | # 1 "/usr/include/sys/mount.h" 1 3 4 |
---|
3597 | # 76 "/usr/include/sys/mount.h" 3 4 |
---|
3598 | # 1 "/usr/include/sys/attr.h" 1 3 4 |
---|
3599 | # 42 "/usr/include/sys/attr.h" 3 4 |
---|
3600 | # 1 "/usr/include/sys/ucred.h" 1 3 4 |
---|
3601 | # 75 "/usr/include/sys/ucred.h" 3 4 |
---|
3602 | # 1 "/usr/include/sys/param.h" 1 3 4 |
---|
3603 | # 110 "/usr/include/sys/param.h" 3 4 |
---|
3604 | # 1 "/usr/include/machine/param.h" 1 3 4 |
---|
3605 | # 37 "/usr/include/machine/param.h" 3 4 |
---|
3606 | # 1 "/usr/include/i386/param.h" 1 3 4 |
---|
3607 | # 38 "/usr/include/machine/param.h" 2 3 4 |
---|
3608 | # 111 "/usr/include/sys/param.h" 2 3 4 |
---|
3609 | # 76 "/usr/include/sys/ucred.h" 2 3 4 |
---|
3610 | # 1 "/usr/include/bsm/audit.h" 1 3 4 |
---|
3611 | # 160 "/usr/include/bsm/audit.h" 3 4 |
---|
3612 | extern "C" { |
---|
3613 | |
---|
3614 | typedef uid_t au_id_t; |
---|
3615 | typedef pid_t au_asid_t; |
---|
3616 | typedef u_int16_t au_event_t; |
---|
3617 | typedef u_int16_t au_emod_t; |
---|
3618 | typedef u_int32_t au_class_t; |
---|
3619 | |
---|
3620 | struct au_tid { |
---|
3621 | dev_t port; |
---|
3622 | u_int32_t machine; |
---|
3623 | }; |
---|
3624 | typedef struct au_tid au_tid_t; |
---|
3625 | |
---|
3626 | struct au_tid_addr { |
---|
3627 | dev_t at_port; |
---|
3628 | u_int32_t at_type; |
---|
3629 | u_int32_t at_addr[4]; |
---|
3630 | }; |
---|
3631 | typedef struct au_tid_addr au_tid_addr_t; |
---|
3632 | |
---|
3633 | struct au_mask { |
---|
3634 | unsigned int am_success; |
---|
3635 | unsigned int am_failure; |
---|
3636 | }; |
---|
3637 | typedef struct au_mask au_mask_t; |
---|
3638 | |
---|
3639 | struct auditinfo { |
---|
3640 | au_id_t ai_auid; |
---|
3641 | au_mask_t ai_mask; |
---|
3642 | au_tid_t ai_termid; |
---|
3643 | au_asid_t ai_asid; |
---|
3644 | }; |
---|
3645 | typedef struct auditinfo auditinfo_t; |
---|
3646 | |
---|
3647 | struct auditinfo_addr { |
---|
3648 | au_id_t ai_auid; |
---|
3649 | au_mask_t ai_mask; |
---|
3650 | au_tid_addr_t ai_termid; |
---|
3651 | au_asid_t ai_asid; |
---|
3652 | }; |
---|
3653 | typedef struct auditinfo_addr auditinfo_addr_t; |
---|
3654 | |
---|
3655 | struct auditpinfo { |
---|
3656 | pid_t ap_pid; |
---|
3657 | au_id_t ap_auid; |
---|
3658 | au_mask_t ap_mask; |
---|
3659 | au_tid_t ap_termid; |
---|
3660 | au_asid_t ap_asid; |
---|
3661 | }; |
---|
3662 | typedef struct auditpinfo auditpinfo_t; |
---|
3663 | |
---|
3664 | struct auditpinfo_addr { |
---|
3665 | pid_t ap_pid; |
---|
3666 | au_id_t ap_auid; |
---|
3667 | au_mask_t ap_mask; |
---|
3668 | au_tid_addr_t ap_termid; |
---|
3669 | au_asid_t ap_asid; |
---|
3670 | }; |
---|
3671 | typedef struct auditpinfo_addr auditpinfo_addr_t; |
---|
3672 | |
---|
3673 | |
---|
3674 | |
---|
3675 | struct au_token { |
---|
3676 | u_char *t_data; |
---|
3677 | size_t len; |
---|
3678 | struct { struct au_token *tqe_next; struct au_token **tqe_prev; } tokens; |
---|
3679 | }; |
---|
3680 | typedef struct au_token token_t; |
---|
3681 | |
---|
3682 | struct au_record { |
---|
3683 | char used; |
---|
3684 | int desc; |
---|
3685 | struct { struct au_token *tqh_first; struct au_token **tqh_last; } token_q; |
---|
3686 | u_char *data; |
---|
3687 | size_t len; |
---|
3688 | struct { struct au_record *le_next; struct au_record **le_prev; } au_rec_q; |
---|
3689 | }; |
---|
3690 | typedef struct au_record au_record_t; |
---|
3691 | |
---|
3692 | |
---|
3693 | |
---|
3694 | |
---|
3695 | struct au_qctrl { |
---|
3696 | size_t aq_hiwater; |
---|
3697 | size_t aq_lowater; |
---|
3698 | size_t aq_bufsz; |
---|
3699 | clock_t aq_delay; |
---|
3700 | int aq_minfree; |
---|
3701 | }; |
---|
3702 | typedef struct au_qctrl au_qctrl_t; |
---|
3703 | |
---|
3704 | |
---|
3705 | |
---|
3706 | |
---|
3707 | struct audit_stat { |
---|
3708 | unsigned int as_version; |
---|
3709 | unsigned int as_numevent; |
---|
3710 | int as_generated; |
---|
3711 | int as_nonattring; |
---|
3712 | int as_kernel; |
---|
3713 | int as_audit; |
---|
3714 | int as_auditctl; |
---|
3715 | int as_enqueu; |
---|
3716 | int as_written; |
---|
3717 | int as_wblocked; |
---|
3718 | int as_rblocked; |
---|
3719 | int as_dropped; |
---|
3720 | int as_totalsize; |
---|
3721 | unsigned int as_memused; |
---|
3722 | }; |
---|
3723 | typedef struct audit_stat au_stat_t; |
---|
3724 | |
---|
3725 | |
---|
3726 | |
---|
3727 | |
---|
3728 | struct audit_fstat { |
---|
3729 | u_quad_t af_filesz; |
---|
3730 | u_quad_t af_currsz; |
---|
3731 | }; |
---|
3732 | typedef struct audit_fstat au_fstat_t; |
---|
3733 | |
---|
3734 | |
---|
3735 | |
---|
3736 | |
---|
3737 | struct au_evclass_map { |
---|
3738 | au_event_t ec_number; |
---|
3739 | au_class_t ec_class; |
---|
3740 | }; |
---|
3741 | typedef struct au_evclass_map au_evclass_map_t; |
---|
3742 | |
---|
3743 | |
---|
3744 | int audit (const void *, int); |
---|
3745 | int auditon (int, void *, int); |
---|
3746 | int auditctl (const char *); |
---|
3747 | int getauid (au_id_t *); |
---|
3748 | int setauid (const au_id_t *); |
---|
3749 | int getaudit (struct auditinfo *); |
---|
3750 | int setaudit (const struct auditinfo *); |
---|
3751 | int getaudit_addr (struct auditinfo_addr *, int); |
---|
3752 | int setaudit_addr (const struct auditinfo_addr *, int); |
---|
3753 | |
---|
3754 | } |
---|
3755 | # 77 "/usr/include/sys/ucred.h" 2 3 4 |
---|
3756 | |
---|
3757 | struct label; |
---|
3758 | # 88 "/usr/include/sys/ucred.h" 3 4 |
---|
3759 | struct ucred { |
---|
3760 | struct { struct ucred *tqe_next; struct ucred **tqe_prev; } cr_link; |
---|
3761 | u_long cr_ref; |
---|
3762 | |
---|
3763 | |
---|
3764 | |
---|
3765 | |
---|
3766 | |
---|
3767 | uid_t cr_uid; |
---|
3768 | uid_t cr_ruid; |
---|
3769 | uid_t cr_svuid; |
---|
3770 | short cr_ngroups; |
---|
3771 | gid_t cr_groups[16]; |
---|
3772 | gid_t cr_rgid; |
---|
3773 | gid_t cr_svgid; |
---|
3774 | uid_t cr_gmuid; |
---|
3775 | struct auditinfo cr_au; |
---|
3776 | struct label *cr_label; |
---|
3777 | |
---|
3778 | int cr_flags; |
---|
3779 | |
---|
3780 | |
---|
3781 | |
---|
3782 | |
---|
3783 | |
---|
3784 | }; |
---|
3785 | |
---|
3786 | |
---|
3787 | typedef struct ucred *kauth_cred_t; |
---|
3788 | # 129 "/usr/include/sys/ucred.h" 3 4 |
---|
3789 | struct xucred { |
---|
3790 | u_int cr_version; |
---|
3791 | uid_t cr_uid; |
---|
3792 | short cr_ngroups; |
---|
3793 | gid_t cr_groups[16]; |
---|
3794 | }; |
---|
3795 | # 43 "/usr/include/sys/attr.h" 2 3 4 |
---|
3796 | # 57 "/usr/include/sys/attr.h" 3 4 |
---|
3797 | typedef u_int32_t text_encoding_t; |
---|
3798 | |
---|
3799 | typedef u_int32_t fsobj_type_t; |
---|
3800 | |
---|
3801 | typedef u_int32_t fsobj_tag_t; |
---|
3802 | |
---|
3803 | typedef u_int32_t fsfile_type_t; |
---|
3804 | |
---|
3805 | typedef u_int32_t fsvolid_t; |
---|
3806 | |
---|
3807 | typedef struct fsobj_id { |
---|
3808 | u_int32_t fid_objno; |
---|
3809 | u_int32_t fid_generation; |
---|
3810 | } fsobj_id_t; |
---|
3811 | |
---|
3812 | typedef u_int32_t attrgroup_t; |
---|
3813 | |
---|
3814 | struct attrlist { |
---|
3815 | u_short bitmapcount; |
---|
3816 | u_int16_t reserved; |
---|
3817 | attrgroup_t commonattr; |
---|
3818 | attrgroup_t volattr; |
---|
3819 | attrgroup_t dirattr; |
---|
3820 | attrgroup_t fileattr; |
---|
3821 | attrgroup_t forkattr; |
---|
3822 | }; |
---|
3823 | |
---|
3824 | |
---|
3825 | typedef struct attribute_set { |
---|
3826 | attrgroup_t commonattr; |
---|
3827 | attrgroup_t volattr; |
---|
3828 | attrgroup_t dirattr; |
---|
3829 | attrgroup_t fileattr; |
---|
3830 | attrgroup_t forkattr; |
---|
3831 | } attribute_set_t; |
---|
3832 | |
---|
3833 | typedef struct attrreference { |
---|
3834 | int32_t attr_dataoffset; |
---|
3835 | u_int32_t attr_length; |
---|
3836 | } attrreference_t; |
---|
3837 | |
---|
3838 | |
---|
3839 | |
---|
3840 | struct diskextent { |
---|
3841 | u_int32_t startblock; |
---|
3842 | u_int32_t blockcount; |
---|
3843 | }; |
---|
3844 | |
---|
3845 | typedef struct diskextent extentrecord[8]; |
---|
3846 | |
---|
3847 | typedef u_int32_t vol_capabilities_set_t[4]; |
---|
3848 | |
---|
3849 | |
---|
3850 | |
---|
3851 | |
---|
3852 | |
---|
3853 | |
---|
3854 | typedef struct vol_capabilities_attr { |
---|
3855 | vol_capabilities_set_t capabilities; |
---|
3856 | vol_capabilities_set_t valid; |
---|
3857 | } vol_capabilities_attr_t; |
---|
3858 | # 294 "/usr/include/sys/attr.h" 3 4 |
---|
3859 | typedef struct vol_attributes_attr { |
---|
3860 | attribute_set_t validattr; |
---|
3861 | attribute_set_t nativeattr; |
---|
3862 | } vol_attributes_attr_t; |
---|
3863 | # 407 "/usr/include/sys/attr.h" 3 4 |
---|
3864 | struct fssearchblock { |
---|
3865 | struct attrlist *returnattrs; |
---|
3866 | void *returnbuffer; |
---|
3867 | size_t returnbuffersize; |
---|
3868 | u_long maxmatches; |
---|
3869 | struct timeval timelimit; |
---|
3870 | void *searchparams1; |
---|
3871 | size_t sizeofsearchparams1; |
---|
3872 | void *searchparams2; |
---|
3873 | size_t sizeofsearchparams2; |
---|
3874 | struct attrlist searchattrs; |
---|
3875 | }; |
---|
3876 | |
---|
3877 | |
---|
3878 | |
---|
3879 | struct searchstate { |
---|
3880 | u_char reserved[556]; |
---|
3881 | }; |
---|
3882 | # 77 "/usr/include/sys/mount.h" 2 3 4 |
---|
3883 | |
---|
3884 | |
---|
3885 | |
---|
3886 | |
---|
3887 | |
---|
3888 | typedef struct fsid { int32_t val[2]; } fsid_t; |
---|
3889 | # 111 "/usr/include/sys/mount.h" 3 4 |
---|
3890 | struct statfs64 { uint32_t f_bsize; int32_t f_iosize; uint64_t f_blocks; uint64_t f_bfree; uint64_t f_bavail; uint64_t f_files; uint64_t f_ffree; fsid_t f_fsid; uid_t f_owner; uint32_t f_type; uint32_t f_flags; uint32_t f_fssubtype; char f_fstypename[16]; char f_mntonname[1024]; char f_mntfromname[1024]; uint32_t f_reserved[8]; }; |
---|
3891 | # 122 "/usr/include/sys/mount.h" 3 4 |
---|
3892 | struct statfs { |
---|
3893 | short f_otype; |
---|
3894 | short f_oflags; |
---|
3895 | long f_bsize; |
---|
3896 | long f_iosize; |
---|
3897 | long f_blocks; |
---|
3898 | long f_bfree; |
---|
3899 | long f_bavail; |
---|
3900 | long f_files; |
---|
3901 | long f_ffree; |
---|
3902 | fsid_t f_fsid; |
---|
3903 | uid_t f_owner; |
---|
3904 | short f_reserved1; |
---|
3905 | short f_type; |
---|
3906 | long f_flags; |
---|
3907 | long f_reserved2[2]; |
---|
3908 | char f_fstypename[15]; |
---|
3909 | char f_mntonname[90]; |
---|
3910 | char f_mntfromname[90]; |
---|
3911 | |
---|
3912 | |
---|
3913 | |
---|
3914 | |
---|
3915 | char f_reserved3; |
---|
3916 | long f_reserved4[4]; |
---|
3917 | |
---|
3918 | }; |
---|
3919 | |
---|
3920 | |
---|
3921 | |
---|
3922 | #pragma pack(4) |
---|
3923 | |
---|
3924 | struct vfsstatfs { |
---|
3925 | uint32_t f_bsize; |
---|
3926 | size_t f_iosize; |
---|
3927 | uint64_t f_blocks; |
---|
3928 | uint64_t f_bfree; |
---|
3929 | uint64_t f_bavail; |
---|
3930 | uint64_t f_bused; |
---|
3931 | uint64_t f_files; |
---|
3932 | uint64_t f_ffree; |
---|
3933 | fsid_t f_fsid; |
---|
3934 | uid_t f_owner; |
---|
3935 | uint64_t f_flags; |
---|
3936 | char f_fstypename[16]; |
---|
3937 | char f_mntonname[1024]; |
---|
3938 | char f_mntfromname[1024]; |
---|
3939 | uint32_t f_fssubtype; |
---|
3940 | void *f_reserved[2]; |
---|
3941 | }; |
---|
3942 | |
---|
3943 | #pragma pack() |
---|
3944 | # 272 "/usr/include/sys/mount.h" 3 4 |
---|
3945 | struct mount; |
---|
3946 | typedef struct mount * mount_t; |
---|
3947 | struct vnode; |
---|
3948 | typedef struct vnode * vnode_t; |
---|
3949 | |
---|
3950 | struct vfsconf { |
---|
3951 | struct vfsops *vfc_vfsops; |
---|
3952 | char vfc_name[15]; |
---|
3953 | int vfc_typenum; |
---|
3954 | int vfc_refcount; |
---|
3955 | int vfc_flags; |
---|
3956 | int (*vfc_mountroot)(mount_t, vnode_t); |
---|
3957 | struct vfsconf *vfc_next; |
---|
3958 | }; |
---|
3959 | |
---|
3960 | struct vfsidctl { |
---|
3961 | int vc_vers; |
---|
3962 | fsid_t vc_fsid; |
---|
3963 | void *vc_ptr; |
---|
3964 | size_t vc_len; |
---|
3965 | u_int32_t vc_spare[12]; |
---|
3966 | }; |
---|
3967 | # 311 "/usr/include/sys/mount.h" 3 4 |
---|
3968 | struct vfsquery { |
---|
3969 | u_int32_t vq_flags; |
---|
3970 | u_int32_t vq_spare[31]; |
---|
3971 | }; |
---|
3972 | # 344 "/usr/include/sys/mount.h" 3 4 |
---|
3973 | struct fhandle { |
---|
3974 | int fh_len; |
---|
3975 | unsigned char fh_data[128]; |
---|
3976 | }; |
---|
3977 | typedef struct fhandle fhandle_t; |
---|
3978 | |
---|
3979 | |
---|
3980 | extern "C" { |
---|
3981 | int fhopen(const struct fhandle *, int); |
---|
3982 | int fstatfs(int, struct statfs *) __asm("_" "fstatfs") ; |
---|
3983 | int fstatfs64(int, struct statfs64 *); |
---|
3984 | int getfh(const char *, fhandle_t *); |
---|
3985 | int getfsstat(struct statfs *, int, int) __asm("_" "getfsstat") ; |
---|
3986 | int getfsstat64(struct statfs64 *, int, int); |
---|
3987 | int getmntinfo(struct statfs **, int) __asm("_" "getmntinfo") ; |
---|
3988 | int getmntinfo64(struct statfs64 **, int); |
---|
3989 | int mount(const char *, const char *, int, void *); |
---|
3990 | int statfs(const char *, struct statfs *) __asm("_" "statfs") ; |
---|
3991 | int statfs64(const char *, struct statfs64 *); |
---|
3992 | int unmount(const char *, int); |
---|
3993 | int getvfsbyname(const char *, struct vfsconf *); |
---|
3994 | } |
---|
3995 | # 118 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3996 | # 1 "/usr/include/sys/sockio.h" 1 3 4 |
---|
3997 | # 119 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2 |
---|
3998 | |
---|
3999 | |
---|
4000 | namespace __sanitizer { |
---|
4001 | unsigned struct_utsname_sz = sizeof(struct utsname); |
---|
4002 | unsigned struct_stat_sz = sizeof(struct stat); |
---|
4003 | |
---|
4004 | unsigned struct_stat64_sz = sizeof(struct stat64); |
---|
4005 | |
---|
4006 | unsigned struct_rusage_sz = sizeof(struct rusage); |
---|
4007 | unsigned struct_tm_sz = sizeof(struct tm); |
---|
4008 | unsigned struct_passwd_sz = sizeof(struct passwd); |
---|
4009 | unsigned struct_group_sz = sizeof(struct group); |
---|
4010 | unsigned siginfo_t_sz = sizeof(siginfo_t); |
---|
4011 | unsigned struct_sigaction_sz = sizeof(struct sigaction); |
---|
4012 | unsigned struct_itimerval_sz = sizeof(struct itimerval); |
---|
4013 | unsigned pthread_t_sz = sizeof(pthread_t); |
---|
4014 | unsigned pthread_cond_t_sz = sizeof(pthread_cond_t); |
---|
4015 | unsigned pid_t_sz = sizeof(pid_t); |
---|
4016 | unsigned timeval_sz = sizeof(timeval); |
---|
4017 | unsigned uid_t_sz = sizeof(uid_t); |
---|
4018 | unsigned mbstate_t_sz = sizeof(mbstate_t); |
---|
4019 | unsigned sigset_t_sz = sizeof(sigset_t); |
---|
4020 | unsigned struct_timezone_sz = sizeof(struct timezone); |
---|
4021 | unsigned struct_tms_sz = sizeof(struct tms); |
---|
4022 | unsigned struct_sigevent_sz = sizeof(struct sigevent); |
---|
4023 | unsigned struct_sched_param_sz = sizeof(struct sched_param); |
---|
4024 | unsigned struct_statfs_sz = sizeof(struct statfs); |
---|
4025 | |
---|
4026 | |
---|
4027 | unsigned struct_statfs64_sz = sizeof(struct statfs64); |
---|
4028 | |
---|
4029 | |
---|
4030 | |
---|
4031 | unsigned ucontext_t_sz = sizeof(ucontext_t); |
---|
4032 | # 180 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4033 | uptr sig_ign = (uptr)(void (*)(int))1; |
---|
4034 | uptr sig_dfl = (uptr)(void (*)(int))0; |
---|
4035 | uptr sa_siginfo = (uptr)0x0040; |
---|
4036 | # 198 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4037 | int af_inet = (int)2; |
---|
4038 | int af_inet6 = (int)30; |
---|
4039 | |
---|
4040 | uptr __sanitizer_in_addr_sz(int af) { |
---|
4041 | if (af == 2) |
---|
4042 | return sizeof(struct in_addr); |
---|
4043 | else if (af == 30) |
---|
4044 | return sizeof(struct in6_addr); |
---|
4045 | else |
---|
4046 | return 0; |
---|
4047 | } |
---|
4048 | # 245 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4049 | unsigned path_max = 1024; |
---|
4050 | |
---|
4051 | |
---|
4052 | unsigned struct_arpreq_sz = sizeof(struct arpreq); |
---|
4053 | unsigned struct_ifreq_sz = sizeof(struct ifreq); |
---|
4054 | unsigned struct_termios_sz = sizeof(struct termios); |
---|
4055 | unsigned struct_winsize_sz = sizeof(struct winsize); |
---|
4056 | # 331 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4057 | unsigned IOCTL_NOT_PRESENT = 0; |
---|
4058 | |
---|
4059 | unsigned IOCTL_FIOASYNC = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((125))); |
---|
4060 | unsigned IOCTL_FIOCLEX = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('f')) << 8) | ((1))); |
---|
4061 | unsigned IOCTL_FIOGETOWN = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((123))); |
---|
4062 | unsigned IOCTL_FIONBIO = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((126))); |
---|
4063 | unsigned IOCTL_FIONCLEX = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('f')) << 8) | ((2))); |
---|
4064 | unsigned IOCTL_FIOSETOWN = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((124))); |
---|
4065 | unsigned IOCTL_SIOCADDMULTI = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((49))); |
---|
4066 | unsigned IOCTL_SIOCATMARK = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((7))); |
---|
4067 | unsigned IOCTL_SIOCDELMULTI = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((50))); |
---|
4068 | unsigned IOCTL_SIOCGIFADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((33))); |
---|
4069 | unsigned IOCTL_SIOCGIFBRDADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((35))); |
---|
4070 | unsigned IOCTL_SIOCGIFCONF = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifconf) & 0x1fff) << 16) | ((('i')) << 8) | ((36))); |
---|
4071 | unsigned IOCTL_SIOCGIFDSTADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((34))); |
---|
4072 | unsigned IOCTL_SIOCGIFFLAGS = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((17))); |
---|
4073 | unsigned IOCTL_SIOCGIFMETRIC = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((23))); |
---|
4074 | unsigned IOCTL_SIOCGIFMTU = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((51))); |
---|
4075 | unsigned IOCTL_SIOCGIFNETMASK = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((37))); |
---|
4076 | unsigned IOCTL_SIOCGPGRP = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((9))); |
---|
4077 | unsigned IOCTL_SIOCSIFADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((12))); |
---|
4078 | unsigned IOCTL_SIOCSIFBRDADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((19))); |
---|
4079 | unsigned IOCTL_SIOCSIFDSTADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((14))); |
---|
4080 | unsigned IOCTL_SIOCSIFFLAGS = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((16))); |
---|
4081 | unsigned IOCTL_SIOCSIFMETRIC = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((24))); |
---|
4082 | unsigned IOCTL_SIOCSIFMTU = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((52))); |
---|
4083 | unsigned IOCTL_SIOCSIFNETMASK = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((22))); |
---|
4084 | unsigned IOCTL_SIOCSPGRP = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((8))); |
---|
4085 | unsigned IOCTL_TIOCCONS = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((98))); |
---|
4086 | unsigned IOCTL_TIOCEXCL = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((13))); |
---|
4087 | unsigned IOCTL_TIOCGETD = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((26))); |
---|
4088 | unsigned IOCTL_TIOCGPGRP = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((119))); |
---|
4089 | unsigned IOCTL_TIOCGWINSZ = ((unsigned long)0x40000000 | ((sizeof(struct winsize) & 0x1fff) << 16) | ((('t')) << 8) | ((104))); |
---|
4090 | unsigned IOCTL_TIOCMBIC = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((107))); |
---|
4091 | unsigned IOCTL_TIOCMBIS = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((108))); |
---|
4092 | unsigned IOCTL_TIOCMGET = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((106))); |
---|
4093 | unsigned IOCTL_TIOCMSET = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((109))); |
---|
4094 | unsigned IOCTL_TIOCNOTTY = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((113))); |
---|
4095 | unsigned IOCTL_TIOCNXCL = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((14))); |
---|
4096 | unsigned IOCTL_TIOCOUTQ = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((115))); |
---|
4097 | unsigned IOCTL_TIOCPKT = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((112))); |
---|
4098 | unsigned IOCTL_TIOCSCTTY = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((97))); |
---|
4099 | unsigned IOCTL_TIOCSETD = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((27))); |
---|
4100 | unsigned IOCTL_TIOCSPGRP = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((118))); |
---|
4101 | unsigned IOCTL_TIOCSTI = ((unsigned long)0x80000000 | ((sizeof(char) & 0x1fff) << 16) | ((('t')) << 8) | ((114))); |
---|
4102 | unsigned IOCTL_TIOCSWINSZ = ((unsigned long)0x80000000 | ((sizeof(struct winsize) & 0x1fff) << 16) | ((('t')) << 8) | ((103))); |
---|
4103 | # 769 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4104 | extern const int errno_EOWNERDEAD = -1; |
---|
4105 | |
---|
4106 | } |
---|
4107 | |
---|
4108 | typedef char assertion_failed__773[2*(int)(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t))-1]; |
---|
4109 | |
---|
4110 | typedef char assertion_failed__775[2*(int)(sizeof(socklen_t) == sizeof(unsigned))-1]; |
---|
4111 | typedef char assertion_failed__776[2*(int)(sizeof(__sanitizer_pthread_key_t) == sizeof(pthread_key_t))-1]; |
---|
4112 | # 803 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4113 | typedef char assertion_failed__803[2*(int)(sizeof(__sanitizer_addrinfo) == sizeof(addrinfo))-1]; |
---|
4114 | typedef char assertion_failed__804[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_flags) == sizeof(((addrinfo *) __null)->ai_flags))-1]; typedef char assertion_failed__804[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_flags) == __builtin_offsetof(addrinfo, ai_flags))-1]; |
---|
4115 | typedef char assertion_failed__805[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_family) == sizeof(((addrinfo *) __null)->ai_family))-1]; typedef char assertion_failed__805[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_family) == __builtin_offsetof(addrinfo, ai_family))-1]; |
---|
4116 | typedef char assertion_failed__806[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_socktype) == sizeof(((addrinfo *) __null)->ai_socktype))-1]; typedef char assertion_failed__806[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_socktype) == __builtin_offsetof(addrinfo, ai_socktype))-1]; |
---|
4117 | typedef char assertion_failed__807[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_protocol) == sizeof(((addrinfo *) __null)->ai_protocol))-1]; typedef char assertion_failed__807[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_protocol) == __builtin_offsetof(addrinfo, ai_protocol))-1]; |
---|
4118 | typedef char assertion_failed__808[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_protocol) == sizeof(((addrinfo *) __null)->ai_protocol))-1]; typedef char assertion_failed__808[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_protocol) == __builtin_offsetof(addrinfo, ai_protocol))-1]; |
---|
4119 | typedef char assertion_failed__809[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_addrlen) == sizeof(((addrinfo *) __null)->ai_addrlen))-1]; typedef char assertion_failed__809[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_addrlen) == __builtin_offsetof(addrinfo, ai_addrlen))-1]; |
---|
4120 | typedef char assertion_failed__810[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_canonname) == sizeof(((addrinfo *) __null)->ai_canonname))-1]; typedef char assertion_failed__810[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_canonname) == __builtin_offsetof(addrinfo, ai_canonname))-1]; |
---|
4121 | typedef char assertion_failed__811[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_addr) == sizeof(((addrinfo *) __null)->ai_addr))-1]; typedef char assertion_failed__811[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_addr) == __builtin_offsetof(addrinfo, ai_addr))-1]; |
---|
4122 | |
---|
4123 | typedef char assertion_failed__813[2*(int)(sizeof(__sanitizer_hostent) == sizeof(hostent))-1]; |
---|
4124 | typedef char assertion_failed__814[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_name) == sizeof(((hostent *) __null)->h_name))-1]; typedef char assertion_failed__814[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_name) == __builtin_offsetof(hostent, h_name))-1]; |
---|
4125 | typedef char assertion_failed__815[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_aliases) == sizeof(((hostent *) __null)->h_aliases))-1]; typedef char assertion_failed__815[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_aliases) == __builtin_offsetof(hostent, h_aliases))-1]; |
---|
4126 | typedef char assertion_failed__816[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_addrtype) == sizeof(((hostent *) __null)->h_addrtype))-1]; typedef char assertion_failed__816[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_addrtype) == __builtin_offsetof(hostent, h_addrtype))-1]; |
---|
4127 | typedef char assertion_failed__817[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_length) == sizeof(((hostent *) __null)->h_length))-1]; typedef char assertion_failed__817[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_length) == __builtin_offsetof(hostent, h_length))-1]; |
---|
4128 | typedef char assertion_failed__818[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_addr_list) == sizeof(((hostent *) __null)->h_addr_list))-1]; typedef char assertion_failed__818[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_addr_list) == __builtin_offsetof(hostent, h_addr_list))-1]; |
---|
4129 | |
---|
4130 | typedef char assertion_failed__820[2*(int)(sizeof(__sanitizer_iovec) == sizeof(iovec))-1]; |
---|
4131 | typedef char assertion_failed__821[2*(int)(sizeof(((__sanitizer_iovec *) __null)->iov_base) == sizeof(((iovec *) __null)->iov_base))-1]; typedef char assertion_failed__821[2*(int)(__builtin_offsetof(__sanitizer_iovec, iov_base) == __builtin_offsetof(iovec, iov_base))-1]; |
---|
4132 | typedef char assertion_failed__822[2*(int)(sizeof(((__sanitizer_iovec *) __null)->iov_len) == sizeof(((iovec *) __null)->iov_len))-1]; typedef char assertion_failed__822[2*(int)(__builtin_offsetof(__sanitizer_iovec, iov_len) == __builtin_offsetof(iovec, iov_len))-1]; |
---|
4133 | |
---|
4134 | typedef char assertion_failed__824[2*(int)(sizeof(__sanitizer_msghdr) == sizeof(msghdr))-1]; |
---|
4135 | typedef char assertion_failed__825[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_name) == sizeof(((msghdr *) __null)->msg_name))-1]; typedef char assertion_failed__825[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_name) == __builtin_offsetof(msghdr, msg_name))-1]; |
---|
4136 | typedef char assertion_failed__826[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_namelen) == sizeof(((msghdr *) __null)->msg_namelen))-1]; typedef char assertion_failed__826[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_namelen) == __builtin_offsetof(msghdr, msg_namelen))-1]; |
---|
4137 | typedef char assertion_failed__827[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_iov) == sizeof(((msghdr *) __null)->msg_iov))-1]; typedef char assertion_failed__827[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_iov) == __builtin_offsetof(msghdr, msg_iov))-1]; |
---|
4138 | typedef char assertion_failed__828[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_iovlen) == sizeof(((msghdr *) __null)->msg_iovlen))-1]; typedef char assertion_failed__828[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_iovlen) == __builtin_offsetof(msghdr, msg_iovlen))-1]; |
---|
4139 | typedef char assertion_failed__829[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_control) == sizeof(((msghdr *) __null)->msg_control))-1]; typedef char assertion_failed__829[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_control) == __builtin_offsetof(msghdr, msg_control))-1]; |
---|
4140 | typedef char assertion_failed__830[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_controllen) == sizeof(((msghdr *) __null)->msg_controllen))-1]; typedef char assertion_failed__830[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_controllen) == __builtin_offsetof(msghdr, msg_controllen))-1]; |
---|
4141 | typedef char assertion_failed__831[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_flags) == sizeof(((msghdr *) __null)->msg_flags))-1]; typedef char assertion_failed__831[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_flags) == __builtin_offsetof(msghdr, msg_flags))-1]; |
---|
4142 | |
---|
4143 | typedef char assertion_failed__833[2*(int)(sizeof(__sanitizer_cmsghdr) == sizeof(cmsghdr))-1]; |
---|
4144 | typedef char assertion_failed__834[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_len) == sizeof(((cmsghdr *) __null)->cmsg_len))-1]; typedef char assertion_failed__834[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_len) == __builtin_offsetof(cmsghdr, cmsg_len))-1]; |
---|
4145 | typedef char assertion_failed__835[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_level) == sizeof(((cmsghdr *) __null)->cmsg_level))-1]; typedef char assertion_failed__835[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_level) == __builtin_offsetof(cmsghdr, cmsg_level))-1]; |
---|
4146 | typedef char assertion_failed__836[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_type) == sizeof(((cmsghdr *) __null)->cmsg_type))-1]; typedef char assertion_failed__836[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_type) == __builtin_offsetof(cmsghdr, cmsg_type))-1]; |
---|
4147 | |
---|
4148 | typedef char assertion_failed__838[2*(int)(sizeof(__sanitizer_dirent) <= sizeof(dirent))-1]; |
---|
4149 | typedef char assertion_failed__839[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_ino) == sizeof(((dirent *) __null)->d_ino))-1]; typedef char assertion_failed__839[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_ino) == __builtin_offsetof(dirent, d_ino))-1]; |
---|
4150 | |
---|
4151 | typedef char assertion_failed__841[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_seekoff) == sizeof(((dirent *) __null)->d_seekoff))-1]; typedef char assertion_failed__841[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_seekoff) == __builtin_offsetof(dirent, d_seekoff))-1]; |
---|
4152 | |
---|
4153 | |
---|
4154 | |
---|
4155 | typedef char assertion_failed__845[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_reclen) == sizeof(((dirent *) __null)->d_reclen))-1]; typedef char assertion_failed__845[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_reclen) == __builtin_offsetof(dirent, d_reclen))-1]; |
---|
4156 | # 854 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4157 | typedef char assertion_failed__854[2*(int)(sizeof(__sanitizer_ifconf) == sizeof(ifconf))-1]; |
---|
4158 | typedef char assertion_failed__855[2*(int)(sizeof(((__sanitizer_ifconf *) __null)->ifc_len) == sizeof(((ifconf *) __null)->ifc_len))-1]; typedef char assertion_failed__855[2*(int)(__builtin_offsetof(__sanitizer_ifconf, ifc_len) == __builtin_offsetof(ifconf, ifc_len))-1]; |
---|
4159 | typedef char assertion_failed__856[2*(int)(sizeof(((__sanitizer_ifconf *) __null)->ifc_ifcu) == sizeof(((ifconf *) __null)->ifc_ifcu))-1]; typedef char assertion_failed__856[2*(int)(__builtin_offsetof(__sanitizer_ifconf, ifc_ifcu) == __builtin_offsetof(ifconf, ifc_ifcu))-1]; |
---|
4160 | |
---|
4161 | typedef char assertion_failed__858[2*(int)(sizeof(__sanitizer_pollfd) == sizeof(pollfd))-1]; |
---|
4162 | typedef char assertion_failed__859[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->fd) == sizeof(((pollfd *) __null)->fd))-1]; typedef char assertion_failed__859[2*(int)(__builtin_offsetof(__sanitizer_pollfd, fd) == __builtin_offsetof(pollfd, fd))-1]; |
---|
4163 | typedef char assertion_failed__860[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->events) == sizeof(((pollfd *) __null)->events))-1]; typedef char assertion_failed__860[2*(int)(__builtin_offsetof(__sanitizer_pollfd, events) == __builtin_offsetof(pollfd, events))-1]; |
---|
4164 | typedef char assertion_failed__861[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->revents) == sizeof(((pollfd *) __null)->revents))-1]; typedef char assertion_failed__861[2*(int)(__builtin_offsetof(__sanitizer_pollfd, revents) == __builtin_offsetof(pollfd, revents))-1]; |
---|
4165 | |
---|
4166 | typedef char assertion_failed__863[2*(int)(sizeof(__sanitizer_nfds_t) == sizeof(nfds_t))-1]; |
---|
4167 | |
---|
4168 | typedef char assertion_failed__865[2*(int)(sizeof(__sanitizer_sigset_t) == sizeof(sigset_t))-1]; |
---|
4169 | |
---|
4170 | typedef char assertion_failed__867[2*(int)(sizeof(__sanitizer_sigaction) == sizeof(struct sigaction))-1]; |
---|
4171 | |
---|
4172 | |
---|
4173 | typedef char assertion_failed__870[2*(int)(sizeof(((struct __sanitizer_sigaction *) __null)->sa_mask) == sizeof(((struct sigaction *) __null)->sa_mask))-1]; typedef char assertion_failed__870[2*(int)(__builtin_offsetof(struct __sanitizer_sigaction, sa_mask) == __builtin_offsetof(struct sigaction, sa_mask))-1]; |
---|
4174 | typedef char assertion_failed__871[2*(int)(sizeof(((struct __sanitizer_sigaction *) __null)->sa_flags) == sizeof(((struct sigaction *) __null)->sa_flags))-1]; typedef char assertion_failed__871[2*(int)(__builtin_offsetof(struct __sanitizer_sigaction, sa_flags) == __builtin_offsetof(struct sigaction, sa_flags))-1]; |
---|
4175 | # 895 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4176 | typedef char assertion_failed__895[2*(int)(sizeof(__sanitizer_wordexp_t) == sizeof(wordexp_t))-1]; |
---|
4177 | typedef char assertion_failed__896[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_wordc) == sizeof(((wordexp_t *) __null)->we_wordc))-1]; typedef char assertion_failed__896[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_wordc) == __builtin_offsetof(wordexp_t, we_wordc))-1]; |
---|
4178 | typedef char assertion_failed__897[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_wordv) == sizeof(((wordexp_t *) __null)->we_wordv))-1]; typedef char assertion_failed__897[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_wordv) == __builtin_offsetof(wordexp_t, we_wordv))-1]; |
---|
4179 | typedef char assertion_failed__898[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_offs) == sizeof(((wordexp_t *) __null)->we_offs))-1]; typedef char assertion_failed__898[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_offs) == __builtin_offsetof(wordexp_t, we_offs))-1]; |
---|
4180 | |
---|
4181 | |
---|
4182 | typedef char assertion_failed__901[2*(int)(sizeof(__sanitizer_tm) == sizeof(tm))-1]; |
---|
4183 | typedef char assertion_failed__902[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_sec) == sizeof(((tm *) __null)->tm_sec))-1]; typedef char assertion_failed__902[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_sec) == __builtin_offsetof(tm, tm_sec))-1]; |
---|
4184 | typedef char assertion_failed__903[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_min) == sizeof(((tm *) __null)->tm_min))-1]; typedef char assertion_failed__903[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_min) == __builtin_offsetof(tm, tm_min))-1]; |
---|
4185 | typedef char assertion_failed__904[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_hour) == sizeof(((tm *) __null)->tm_hour))-1]; typedef char assertion_failed__904[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_hour) == __builtin_offsetof(tm, tm_hour))-1]; |
---|
4186 | typedef char assertion_failed__905[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_mday) == sizeof(((tm *) __null)->tm_mday))-1]; typedef char assertion_failed__905[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_mday) == __builtin_offsetof(tm, tm_mday))-1]; |
---|
4187 | typedef char assertion_failed__906[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_mon) == sizeof(((tm *) __null)->tm_mon))-1]; typedef char assertion_failed__906[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_mon) == __builtin_offsetof(tm, tm_mon))-1]; |
---|
4188 | typedef char assertion_failed__907[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_year) == sizeof(((tm *) __null)->tm_year))-1]; typedef char assertion_failed__907[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_year) == __builtin_offsetof(tm, tm_year))-1]; |
---|
4189 | typedef char assertion_failed__908[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_wday) == sizeof(((tm *) __null)->tm_wday))-1]; typedef char assertion_failed__908[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_wday) == __builtin_offsetof(tm, tm_wday))-1]; |
---|
4190 | typedef char assertion_failed__909[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_yday) == sizeof(((tm *) __null)->tm_yday))-1]; typedef char assertion_failed__909[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_yday) == __builtin_offsetof(tm, tm_yday))-1]; |
---|
4191 | typedef char assertion_failed__910[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_isdst) == sizeof(((tm *) __null)->tm_isdst))-1]; typedef char assertion_failed__910[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_isdst) == __builtin_offsetof(tm, tm_isdst))-1]; |
---|
4192 | typedef char assertion_failed__911[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_gmtoff) == sizeof(((tm *) __null)->tm_gmtoff))-1]; typedef char assertion_failed__911[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_gmtoff) == __builtin_offsetof(tm, tm_gmtoff))-1]; |
---|
4193 | typedef char assertion_failed__912[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_zone) == sizeof(((tm *) __null)->tm_zone))-1]; typedef char assertion_failed__912[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_zone) == __builtin_offsetof(tm, tm_zone))-1]; |
---|
4194 | # 924 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" |
---|
4195 | typedef char assertion_failed__924[2*(int)(sizeof(__sanitizer_ether_addr) == sizeof(ether_addr))-1]; |
---|