-
Notifications
You must be signed in to change notification settings - Fork 5
/
libcomelang-gc.c.c
6380 lines (6091 loc) · 232 KB
/
libcomelang-gc.c.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
863
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// source head
typedef char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short int __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
typedef long __darwin_intptr_t;
typedef unsigned int __darwin_natural_t;
typedef int __darwin_ct_rune_t;
union anonymous_typeZ1
{
char __mbstate8[128];
long long _mbstateL;
};
typedef union anonymous_typeZ1 __mbstate_t;
typedef union anonymous_typeZ1 __darwin_mbstate_t;
typedef long int __darwin_ptrdiff_t;
typedef unsigned long int __darwin_size_t;
typedef __builtin_va_list __darwin_va_list;
typedef int __darwin_wchar_t;
typedef int __darwin_rune_t;
typedef int __darwin_wint_t;
typedef unsigned long int __darwin_clock_t;
typedef unsigned int __darwin_socklen_t;
typedef long __darwin_ssize_t;
typedef long __darwin_time_t;
typedef long long __darwin_blkcnt_t;
typedef int __darwin_blksize_t;
typedef int __darwin_dev_t;
typedef unsigned int __darwin_fsblkcnt_t;
typedef unsigned int __darwin_fsfilcnt_t;
typedef unsigned int __darwin_gid_t;
typedef unsigned int __darwin_id_t;
typedef unsigned long long __darwin_ino64_t;
typedef unsigned long long __darwin_ino_t;
typedef unsigned int __darwin_mach_port_name_t;
typedef unsigned int __darwin_mach_port_t;
typedef unsigned short int __darwin_mode_t;
typedef long long __darwin_off_t;
typedef int __darwin_pid_t;
typedef unsigned int __darwin_sigset_t;
typedef int __darwin_suseconds_t;
typedef unsigned int __darwin_uid_t;
typedef unsigned int __darwin_useconds_t;
typedef unsigned char __darwin_uuid_t[16];
typedef char __darwin_uuid_string_t[37];
struct __darwin_pthread_handler_rec
{
void (*__routine)(void*);
void* __arg;
struct __darwin_pthread_handler_rec* __next;
};
struct _opaque_pthread_attr_t
{
long __sig;
char __opaque[56];
};
struct _opaque_pthread_cond_t
{
long __sig;
char __opaque[40];
};
struct _opaque_pthread_condattr_t
{
long __sig;
char __opaque[8];
};
struct _opaque_pthread_mutex_t
{
long __sig;
char __opaque[56];
};
struct _opaque_pthread_mutexattr_t
{
long __sig;
char __opaque[8];
};
struct _opaque_pthread_once_t
{
long __sig;
char __opaque[8];
};
struct _opaque_pthread_rwlock_t
{
long __sig;
char __opaque[192];
};
struct _opaque_pthread_rwlockattr_t
{
long __sig;
char __opaque[16];
};
struct _opaque_pthread_t
{
long __sig;
struct __darwin_pthread_handler_rec* __cleanup_stack;
char __opaque[8176];
};
typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t;
typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t;
typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t;
typedef unsigned long int __darwin_pthread_key_t;
typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t;
typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t;
typedef struct _opaque_pthread_once_t __darwin_pthread_once_t;
typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t;
typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t;
typedef struct _opaque_pthread_t* __darwin_pthread_t;
typedef int __darwin_nl_item;
typedef int __darwin_wctrans_t;
typedef unsigned int __darwin_wctype_t;
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char u_int8_t;
typedef unsigned short int u_int16_t;
typedef unsigned int u_int32_t;
typedef unsigned long long u_int64_t;
typedef long long register_t;
typedef long intptr_t;
typedef unsigned long int uintptr_t;
typedef unsigned long long user_addr_t;
typedef unsigned long long user_size_t;
typedef long long user_ssize_t;
typedef long long user_long_t;
typedef unsigned long long user_ulong_t;
typedef long long user_time_t;
typedef long long user_off_t;
typedef unsigned long long syscall_arg_t;
typedef __darwin_va_list va_list;
typedef unsigned long int size_t;
typedef long long fpos_t;
struct __sbuf
{
unsigned char* _base;
int _size;
};
struct __sFILEX;
struct __sFILE
{
unsigned char* _p;
int _r;
int _w;
short _flags;
short _file;
struct __sbuf _bf;
int _lbfsize;
void* _cookie;
int (*_close)(void*);
int (*_read)(void*,char*,int);
long long (*_seek)(void*,long long,int);
int (*_write)(void*,const char*,int);
struct __sbuf _ub;
struct __sFILEX* _extra;
int _ur;
unsigned char _ubuf[3];
unsigned char _nbuf[1];
struct __sbuf _lb;
int _blksize;
long long _offset;
};
typedef struct __sFILE FILE;
extern struct __sFILE* __stdinp;
extern struct __sFILE* __stdoutp;
extern struct __sFILE* __stderrp;
typedef long long off_t;
typedef long ssize_t;
extern const int sys_nerr;
extern const char* sys_errlist[];
enum anonymous_typeY2 { P_ALL
,P_PID
,P_PGID
};
typedef enum anonymous_typeY2 idtype_t;
typedef int pid_t;
typedef unsigned int id_t;
typedef int sig_atomic_t;
struct __darwin_arm_exception_state
{
unsigned int __exception;
unsigned int __fsr;
unsigned int __far;
};
struct __darwin_arm_exception_state64
{
unsigned long long __far;
unsigned int __esr;
unsigned int __exception;
};
struct __darwin_arm_exception_state64_v2
{
unsigned long long __far;
unsigned long long __esr;
};
struct __darwin_arm_thread_state
{
unsigned int __r[13];
unsigned int __sp;
unsigned int __lr;
unsigned int __pc;
unsigned int __cpsr;
};
struct __darwin_arm_thread_state64
{
unsigned long long __x[29];
unsigned long long __fp;
unsigned long long __lr;
unsigned long long __sp;
unsigned long long __pc;
unsigned int __cpsr;
unsigned int __pad;
};
struct __darwin_arm_vfp_state
{
unsigned int __r[64];
unsigned int __fpscr;
};
struct __darwin_arm_neon_state64
{
__uint128_t __v[32];
unsigned int __fpsr;
unsigned int __fpcr;
};
struct __darwin_arm_neon_state
{
__uint128_t __v[16];
unsigned int __fpsr;
unsigned int __fpcr;
};
struct __arm_pagein_state
{
int __pagein_error;
};
struct __arm_legacy_debug_state
{
unsigned int __bvr[16];
unsigned int __bcr[16];
unsigned int __wvr[16];
unsigned int __wcr[16];
};
struct __darwin_arm_debug_state32
{
unsigned int __bvr[16];
unsigned int __bcr[16];
unsigned int __wvr[16];
unsigned int __wcr[16];
unsigned long long __mdscr_el1;
};
struct __darwin_arm_debug_state64
{
unsigned long long __bvr[16];
unsigned long long __bcr[16];
unsigned long long __wvr[16];
unsigned long long __wcr[16];
unsigned long long __mdscr_el1;
};
struct __darwin_arm_cpmu_state64
{
unsigned long long __ctrs[16];
};
struct __darwin_mcontext32
{
struct __darwin_arm_exception_state __es;
struct __darwin_arm_thread_state __ss;
struct __darwin_arm_vfp_state __fs;
};
struct __darwin_mcontext64
{
struct __darwin_arm_exception_state64 __es;
struct __darwin_arm_thread_state64 __ss;
struct __darwin_arm_neon_state64 __ns;
};
typedef struct __darwin_mcontext64* mcontext_t;
typedef struct _opaque_pthread_attr_t pthread_attr_t;
struct __darwin_sigaltstack
{
void* ss_sp;
unsigned long int ss_size;
int ss_flags;
};
typedef struct __darwin_sigaltstack stack_t;
struct __darwin_ucontext
{
int uc_onstack;
unsigned int uc_sigmask;
struct __darwin_sigaltstack uc_stack;
struct __darwin_ucontext* uc_link;
unsigned long int uc_mcsize;
struct __darwin_mcontext64* uc_mcontext;
};
typedef struct __darwin_ucontext ucontext_t;
typedef unsigned int sigset_t;
typedef unsigned int uid_t;
union sigval
{
int sival_int;
void* sival_ptr;
};
struct sigevent
{
int sigev_notify;
int sigev_signo;
union sigval sigev_value;
void (*sigev_notify_function)(union sigval);
struct _opaque_pthread_attr_t* sigev_notify_attributes;
};
struct __siginfo
{
int si_signo;
int si_errno;
int si_code;
int si_pid;
unsigned int si_uid;
int si_status;
void* si_addr;
union sigval si_value;
long si_band;
unsigned long int __pad[7];
};
typedef struct __siginfo siginfo_t;
union __sigaction_u
{
void (*__sa_handler)(int);
void (*__sa_sigaction)(int,struct __siginfo*,void*);
};
struct __sigaction
{
union __sigaction_u __sigaction_u;
void (*sa_tramp)(void*,int,int,struct __siginfo*,void*);
unsigned int sa_mask;
int sa_flags;
};
struct sigaction
{
union __sigaction_u __sigaction_u;
unsigned int sa_mask;
int sa_flags;
};
typedef void (*sig_t)(int);
struct sigvec
{
void (*sv_handler)(int);
int sv_mask;
int sv_flags;
};
struct sigstack
{
char* ss_sp;
int ss_onstack;
};
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef char int_least8_t;
typedef short int_least16_t;
typedef int int_least32_t;
typedef long long int_least64_t;
typedef unsigned char uint_least8_t;
typedef unsigned short int uint_least16_t;
typedef unsigned int uint_least32_t;
typedef unsigned long long uint_least64_t;
typedef char int_fast8_t;
typedef short int_fast16_t;
typedef int int_fast32_t;
typedef long long int_fast64_t;
typedef unsigned char uint_fast8_t;
typedef unsigned short int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef unsigned long long uint_fast64_t;
typedef long int intmax_t;
typedef unsigned long int uintmax_t;
struct timeval
{
long tv_sec;
int tv_usec;
};
typedef unsigned long long rlim_t;
struct rusage
{
struct timeval ru_utime;
struct timeval ru_stime;
long ru_maxrss;
long ru_ixrss;
long ru_idrss;
long ru_isrss;
long ru_minflt;
long ru_majflt;
long ru_nswap;
long ru_inblock;
long ru_oublock;
long ru_msgsnd;
long ru_msgrcv;
long ru_nsignals;
long ru_nvcsw;
long ru_nivcsw;
};
typedef void* rusage_info_t;
struct rusage_info_v0
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
};
struct rusage_info_v1
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
};
struct rusage_info_v2
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
unsigned long long ri_diskio_bytesread;
unsigned long long ri_diskio_byteswritten;
};
struct rusage_info_v3
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
unsigned long long ri_diskio_bytesread;
unsigned long long ri_diskio_byteswritten;
unsigned long long ri_cpu_time_qos_default;
unsigned long long ri_cpu_time_qos_maintenance;
unsigned long long ri_cpu_time_qos_background;
unsigned long long ri_cpu_time_qos_utility;
unsigned long long ri_cpu_time_qos_legacy;
unsigned long long ri_cpu_time_qos_user_initiated;
unsigned long long ri_cpu_time_qos_user_interactive;
unsigned long long ri_billed_system_time;
unsigned long long ri_serviced_system_time;
};
struct rusage_info_v4
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
unsigned long long ri_diskio_bytesread;
unsigned long long ri_diskio_byteswritten;
unsigned long long ri_cpu_time_qos_default;
unsigned long long ri_cpu_time_qos_maintenance;
unsigned long long ri_cpu_time_qos_background;
unsigned long long ri_cpu_time_qos_utility;
unsigned long long ri_cpu_time_qos_legacy;
unsigned long long ri_cpu_time_qos_user_initiated;
unsigned long long ri_cpu_time_qos_user_interactive;
unsigned long long ri_billed_system_time;
unsigned long long ri_serviced_system_time;
unsigned long long ri_logical_writes;
unsigned long long ri_lifetime_max_phys_footprint;
unsigned long long ri_instructions;
unsigned long long ri_cycles;
unsigned long long ri_billed_energy;
unsigned long long ri_serviced_energy;
unsigned long long ri_interval_max_phys_footprint;
unsigned long long ri_runnable_time;
};
struct rusage_info_v5
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
unsigned long long ri_diskio_bytesread;
unsigned long long ri_diskio_byteswritten;
unsigned long long ri_cpu_time_qos_default;
unsigned long long ri_cpu_time_qos_maintenance;
unsigned long long ri_cpu_time_qos_background;
unsigned long long ri_cpu_time_qos_utility;
unsigned long long ri_cpu_time_qos_legacy;
unsigned long long ri_cpu_time_qos_user_initiated;
unsigned long long ri_cpu_time_qos_user_interactive;
unsigned long long ri_billed_system_time;
unsigned long long ri_serviced_system_time;
unsigned long long ri_logical_writes;
unsigned long long ri_lifetime_max_phys_footprint;
unsigned long long ri_instructions;
unsigned long long ri_cycles;
unsigned long long ri_billed_energy;
unsigned long long ri_serviced_energy;
unsigned long long ri_interval_max_phys_footprint;
unsigned long long ri_runnable_time;
unsigned long long ri_flags;
};
struct rusage_info_v6
{
unsigned char ri_uuid[16];
unsigned long long ri_user_time;
unsigned long long ri_system_time;
unsigned long long ri_pkg_idle_wkups;
unsigned long long ri_interrupt_wkups;
unsigned long long ri_pageins;
unsigned long long ri_wired_size;
unsigned long long ri_resident_size;
unsigned long long ri_phys_footprint;
unsigned long long ri_proc_start_abstime;
unsigned long long ri_proc_exit_abstime;
unsigned long long ri_child_user_time;
unsigned long long ri_child_system_time;
unsigned long long ri_child_pkg_idle_wkups;
unsigned long long ri_child_interrupt_wkups;
unsigned long long ri_child_pageins;
unsigned long long ri_child_elapsed_abstime;
unsigned long long ri_diskio_bytesread;
unsigned long long ri_diskio_byteswritten;
unsigned long long ri_cpu_time_qos_default;
unsigned long long ri_cpu_time_qos_maintenance;
unsigned long long ri_cpu_time_qos_background;
unsigned long long ri_cpu_time_qos_utility;
unsigned long long ri_cpu_time_qos_legacy;
unsigned long long ri_cpu_time_qos_user_initiated;
unsigned long long ri_cpu_time_qos_user_interactive;
unsigned long long ri_billed_system_time;
unsigned long long ri_serviced_system_time;
unsigned long long ri_logical_writes;
unsigned long long ri_lifetime_max_phys_footprint;
unsigned long long ri_instructions;
unsigned long long ri_cycles;
unsigned long long ri_billed_energy;
unsigned long long ri_serviced_energy;
unsigned long long ri_interval_max_phys_footprint;
unsigned long long ri_runnable_time;
unsigned long long ri_flags;
unsigned long long ri_user_ptime;
unsigned long long ri_system_ptime;
unsigned long long ri_pinstructions;
unsigned long long ri_pcycles;
unsigned long long ri_energy_nj;
unsigned long long ri_penergy_nj;
unsigned long long ri_secure_time_in_system;
unsigned long long ri_secure_ptime_in_system;
unsigned long long ri_neural_footprint;
unsigned long long ri_lifetime_max_neural_footprint;
unsigned long long ri_interval_max_neural_footprint;
unsigned long long ri_reserved[9];
};
typedef struct rusage_info_v6 rusage_info_current;
struct rlimit
{
unsigned long long rlim_cur;
unsigned long long rlim_max;
};
struct proc_rlimit_control_wakeupmon
{
unsigned int wm_flags;
int wm_rate;
};
struct anonymous_typeX3
{
unsigned int w_Termsig:7;
unsigned int w_Coredump:1;
unsigned int w_Retcode:8;
unsigned int w_Filler:16;
};
struct anonymous_typeX4
{
unsigned int w_Stopval:8;
unsigned int w_Stopsig:8;
unsigned int w_Filler:16;
};
union wait
{
int w_status;
struct anonymous_typeX3 w_T;
struct anonymous_typeX4 w_S;
};
typedef int ct_rune_t;
typedef int rune_t;
typedef int wchar_t;
struct anonymous_typeX5
{
int quot;
int rem;
};
typedef struct anonymous_typeX5 div_t;
struct anonymous_typeX6
{
long quot;
long rem;
};
typedef struct anonymous_typeX6 ldiv_t;
struct anonymous_typeX7
{
long long quot;
long long rem;
};
typedef struct anonymous_typeX7 lldiv_t;
extern int __mb_cur_max;
typedef unsigned long long malloc_type_id_t;
typedef struct _malloc_zone_t malloc_zone_t;
typedef int dev_t;
typedef unsigned short int mode_t;
extern char* suboptarg;
typedef unsigned long int rsize_t;
typedef int errno_t;
typedef __builtin_va_list __gnuc_va_list;
typedef __builtin_va_list va_list;
struct lconv
{
char* decimal_point;
char* thousands_sep;
char* grouping;
char* int_curr_symbol;
char* currency_symbol;
char* mon_decimal_point;
char* mon_thousands_sep;
char* mon_grouping;
char* positive_sign;
char* negative_sign;
char int_frac_digits;
char frac_digits;
char p_cs_precedes;
char p_sep_by_space;
char n_cs_precedes;
char n_sep_by_space;
char p_sign_posn;
char n_sign_posn;
char int_p_cs_precedes;
char int_n_cs_precedes;
char int_p_sep_by_space;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
};
typedef void* any;
typedef char* string;
extern void* wildcard;
extern _Bool gComeGCLib;
extern void* gComeFunResultObject;
struct buffer
{
char* buf;
int len;
int size;
};
struct smart_pointer$1char
{
struct buffer* memory;
char* p;
};
struct smart_pointer$1short
{
struct buffer* memory;
short* p;
};
struct smart_pointer$1int
{
struct buffer* memory;
int* p;
};
struct smart_pointer$1long
{
struct buffer* memory;
long* p;
};
struct smart_pointer$1charp
{
struct buffer* memory;
char** p;
};
struct smart_pointer$1float
{
struct buffer* memory;
float* p;
};
struct smart_pointer$1double
{
struct buffer* memory;
double* p;
};
struct list_item$1char
{
char item;
struct list_item$1char* prev;
struct list_item$1char* next;
};
struct list$1char
{
struct list_item$1char* head;
struct list_item$1char* tail;
int len;
struct list_item$1char* it;
};
struct list_item$1charp
{
char* item;
struct list_item$1charp* prev;
struct list_item$1charp* next;
};
struct list$1charp
{
struct list_item$1charp* head;
struct list_item$1charp* tail;
int len;
struct list_item$1charp* it;
};
struct list_item$1short
{
short item;
struct list_item$1short* prev;
struct list_item$1short* next;
};
struct list$1short
{
struct list_item$1short* head;
struct list_item$1short* tail;
int len;
struct list_item$1short* it;
};
struct list_item$1int
{
int item;
struct list_item$1int* prev;
struct list_item$1int* next;
};
struct list$1int
{
struct list_item$1int* head;
struct list_item$1int* tail;
int len;
struct list_item$1int* it;
};
struct list_item$1long
{
long item;
struct list_item$1long* prev;
struct list_item$1long* next;
};
struct list$1long
{
struct list_item$1long* head;
struct list_item$1long* tail;
int len;
struct list_item$1long* it;
};
struct list_item$1float
{
float item;
struct list_item$1float* prev;
struct list_item$1float* next;
};
struct list$1float
{
struct list_item$1float* head;
struct list_item$1float* tail;
int len;
struct list_item$1float* it;
};
struct list_item$1double
{
double item;
struct list_item$1double* prev;
struct list_item$1double* next;
};
struct list$1double
{
struct list_item$1double* head;
struct list_item$1double* tail;
int len;
struct list_item$1double* it;
};
struct vector$1char
{
char* items;
int len;
int size;
int it;
};
struct vector$1charp
{
char** items;
int len;
int size;
int it;
};
struct vector$1short
{
short* items;
int len;
int size;
int it;
};
struct vector$1int
{
int* items;
int len;
int size;
int it;
};
struct vector$1long
{
long* items;
int len;
int size;
int it;
};
struct vector$1float
{
float* items;
int len;
int size;
int it;
};
struct vector$1double
{
double* items;
int len;
int size;
int it;
};
struct integer
{
long value;
};
struct floating
{
double value;
};
struct list_item$1charph
{
char* item;
struct list_item$1charph* prev;
struct list_item$1charph* next;
};
struct list$1charph
{
struct list_item$1charph* head;
struct list_item$1charph* tail;
int len;
struct list_item$1charph* it;
};
extern _Bool gComeDebug;
extern _Bool gComeGC;
extern _Bool gComeC;
extern _Bool gComeStr;
extern _Bool gComeNet;
extern _Bool gComeMalloc;
extern _Bool gCommonHeader;
extern int gComeDebugStackFrameID;
struct sType;
struct sClass;
struct tuple2$2charphsTypeph
{
char* v1;
struct sType* v2;
};
struct list_item$1tuple2$2charphsTypephph
{
struct tuple2$2charphsTypeph* item;
struct list_item$1tuple2$2charphsTypephph* prev;
struct list_item$1tuple2$2charphsTypephph* next;
};
struct list$1tuple2$2charphsTypephph
{
struct list_item$1tuple2$2charphsTypephph* head;
struct list_item$1tuple2$2charphsTypephph* tail;
int len;
struct list_item$1tuple2$2charphsTypephph* it;
};
struct sClass
{
_Bool mStruct;
_Bool mFloat;
_Bool mUnion;
_Bool mGenerics;
_Bool mMethodGenerics;
_Bool mEnum;
_Bool mProtocol;
_Bool mNumber;
char* mName;
int mGenericsNum;
int mMethodGenericsNum;
struct list$1tuple2$2charphsTypephph* mFields;
_Bool mOutputed;
_Bool mOutputed2;
char* mDeclareSName;
_Bool mNobodyStruct;
char* mParentClassName;
};
struct sInfo;
struct sNode
{
void* _protocol_obj;
void (*finalize)(void*);
void* (*clone)(void*);
_Bool (*compile)(void*,struct sInfo*);
int (*sline)(void*);
char* (*sname)(void*);
_Bool (*terminated)(void*);
char* (*kind)(void*);
};
struct sNodeBase
{
int sline;
char* sname;
};
struct tuple1$1sTypeph
{
struct sType* v1;
};
struct list_item$1sTypeph
{
struct sType* item;
struct list_item$1sTypeph* prev;
struct list_item$1sTypeph* next;
};
struct list$1sTypeph
{
struct list_item$1sTypeph* head;
struct list_item$1sTypeph* tail;
int len;
struct list_item$1sTypeph* it;
};
struct list_item$1sNodeph
{
struct sNode* item;