-
Notifications
You must be signed in to change notification settings - Fork 5
/
libcomelang.c.c
6220 lines (5930 loc) · 258 KB
/
libcomelang.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
594
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 unsigned long unsigned int size_t;
typedef long ssize_t;
typedef long off_t;
typedef struct _IO_FILE FILE;
typedef __builtin_va_list va_list;
typedef __builtin_va_list __isoc_va_list;
union _G_fpos64_t
{
char __opaque[16];
long long __lldata;
double __align;
};
typedef union _G_fpos64_t fpos_t;
extern struct _IO_FILE* stdin;
extern struct _IO_FILE* stdout;
extern struct _IO_FILE* stderr;
typedef long (*cookie_read_function_t)(void*,char*,unsigned long unsigned int);
typedef long (*cookie_write_function_t)(void*,const char*,unsigned long unsigned int);
typedef int (*cookie_seek_function_t)(void*,long*,int);
typedef int (*cookie_close_function_t)(void*);
struct _IO_cookie_io_functions_t
{
long (*read)(void*,char*,unsigned long unsigned int);
long (*write)(void*,const char*,unsigned long unsigned int);
int (*seek)(void*,long*,int);
int (*close)(void*);
};
typedef struct _IO_cookie_io_functions_t cookie_io_functions_t;
typedef unsigned int wchar_t;
struct anonymous_typeX1
{
int quot;
int rem;
};
typedef struct anonymous_typeX1 div_t;
struct anonymous_typeX2
{
long quot;
long rem;
};
typedef struct anonymous_typeX2 ldiv_t;
struct anonymous_typeX3
{
long long quot;
long long rem;
};
typedef struct anonymous_typeX3 lldiv_t;
struct __locale_struct;
typedef struct __locale_struct* locale_t;
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_p_sep_by_space;
char int_n_cs_precedes;
char int_n_sep_by_space;
char int_p_sign_posn;
char int_n_sign_posn;
};
extern char* program_invocation_short_name;
extern char* program_invocation_name;
typedef void* any;
typedef char* string;
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 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 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 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 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;
};
struct integer
{
long value;
};
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;
struct list_item$1sNodeph* prev;
struct list_item$1sNodeph* next;
};
struct list$1sNodeph
{
struct list_item$1sNodeph* head;
struct list_item$1sNodeph* tail;
int len;
struct list_item$1sNodeph* it;
};
struct sType
{
struct sClass* mClass;
struct tuple1$1sTypeph* mNoSolvedGenericsType;
struct tuple1$1sTypeph* mOriginalLoadVarType;
struct tuple1$1sTypeph* mNoExceptionType;
char* mGenericsName;
struct list$1sTypeph* mGenericsTypes;
struct list$1sNodeph* mArrayNum;
_Bool mOmitArrayNum;
struct list$1sTypeph* mParamTypes;
struct list$1charph* mParamNames;
struct tuple1$1sTypeph* mResultType;
_Bool mVarArgs;
struct sNode* mAlignas;
_Bool mUnsigned;
_Bool mShort;
_Bool mLong;
_Bool mLongLong;
_Bool mConstant;
_Bool mRegister;
_Bool mVolatile;
_Bool mStatic;
_Bool mUniq;
_Bool mRecord;
_Bool mExtern;
_Bool mRestrict;
_Bool mImmutable;
_Bool mHeap;
_Bool mDummyHeap;
_Bool mDelegate;
_Bool mShare;
_Bool mClone;
_Bool mNoHeap;
_Bool mNoCallingDestructor;
_Bool mRefference;
_Bool mException;
int mPointerNum;
int mOriginalTypeNamePointerNum;
int mOriginalTypeNameHeap;
int mNoArrayPointerNum;
int mTypedefOriginalPointerNum;
struct sNode* mSizeNum;
int mFunctionPointerNum;
unsigned int mDynamicArrayNum;
unsigned int mTypeOfExpression;
char* mOriginalTypeName;
int mOriginalPointerNum;
_Bool mFunctionParam;
_Bool mAllocaValue;
_Bool mGenericsStruct;
_Bool mSolvedGenericsName;
_Bool mComeMemCore;
_Bool mInline;
_Bool mNullValue;
_Bool mGuardValue;
char* mAsmName;
_Bool mArrayPointerType;
_Bool mLambdaArray;
_Bool mNoNumberArray;
_Bool mTypedef;
_Bool mMultipleTypes;
_Bool mOriginIsArray;
};
struct sVar;
struct sRightValueObject;
struct CVALUE
{
char* c_value;
struct sType* type;
struct sVar* var;
struct sRightValueObject* right_value_objects;
char* c_value_without_right_value_objects;
};
struct sVar
{
char* mName;
char* mCValueName;
struct sType* mType;
int mBlockLevel;
_Bool mGlobal;
_Bool mAllocaValue;
_Bool mFunctionParam;
_Bool mNoFree;
char* mFunName;
};
struct sVarTable;
struct sBlock;
struct sFun
{
char* mName;
struct sType* mResultType;
struct list$1sTypeph* mParamTypes;
struct list$1charph* mParamNames;
struct list$1charph* mParamDefaultParametors;
struct sType* mLambdaType;
struct sBlock* mBlock;
_Bool mExternal;
_Bool mVarArgs;
struct buffer* mSource;
struct buffer* mSourceHead;
struct buffer* mSourceHead2;
struct buffer* mSourceDefer;
_Bool mStatic;
char* mComeHeader;
_Bool mCloner;
char* mDeclareSName;
_Bool mNoResultType;
_Bool mDeclaredResultObject;
};
struct sGenericsFun
{
struct sType* mImplType;
struct list$1charph* mGenericsTypeNames;
struct list$1charph* mMethodGenericsTypeNames;
char* mName;
struct sType* mResultType;
struct list$1sTypeph* mParamTypes;
struct list$1charph* mParamNames;
struct list$1charph* mParamDefaultParametors;
char* mBlock;
int mSLine;
_Bool mVarArgs;
char* mGenericsSName;
int mGenericsSLine;
};
struct sModule
{
struct buffer* mSourceHead;
struct buffer* mSourceHead2;
struct buffer* mSourceHead3;
struct buffer* mSource;
char* mLastCode;
char* mLastCode2;
char* mLastCode3;
struct buffer* mHeader;
};
struct sVarTable;
struct map$2charphsVarph
{
char** keys;
_Bool* item_existance;
struct sVar** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct sVarTable
{
struct map$2charphsVarph* mVars;
_Bool mGlobal;
struct sVarTable* mParent;
int mID;
};
struct sBlock
{
struct list$1sNodeph* mNodes;
struct sVarTable* mVarTable;
_Bool mOmitSemicolon;
};
struct sRightValueObject
{
struct sType* mType;
char* mVarName;
char* mFunName;
_Bool mFreed;
int mID;
int mBlockLevel;
_Bool mStored;
_Bool mDecrementRefCount;
};
struct sClassModule
{
char* mName;
char* mText;
struct list$1charph* mParams;
char* mSName;
int mSLine;
};
struct map$2charphsFunph
{
char** keys;
_Bool* item_existance;
struct sFun** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct map$2charphsGenericsFunph
{
char** keys;
_Bool* item_existance;
struct sGenericsFun** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct map$2charphsClassph
{
char** keys;
_Bool* item_existance;
struct sClass** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct map$2charphsClassModuleph
{
char** keys;
_Bool* item_existance;
struct sClassModule** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct map$2charphsTypeph
{
char** keys;
_Bool* item_existance;
struct sType** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct list_item$1sRightValueObjectph
{
struct sRightValueObject* item;
struct list_item$1sRightValueObjectph* prev;
struct list_item$1sRightValueObjectph* next;
};
struct list$1sRightValueObjectph
{
struct list_item$1sRightValueObjectph* head;
struct list_item$1sRightValueObjectph* tail;
int len;
struct list_item$1sRightValueObjectph* it;
};
struct list_item$1CVALUEph
{
struct CVALUE* item;
struct list_item$1CVALUEph* prev;
struct list_item$1CVALUEph* next;
};
struct list$1CVALUEph
{
struct list_item$1CVALUEph* head;
struct list_item$1CVALUEph* tail;
int len;
struct list_item$1CVALUEph* it;
};
struct map$2charphcharph
{
char** keys;
_Bool* item_existance;
char** items;
int size;
int len;
struct list$1charp* key_list;
int it;
};
struct list_item$1sVarph
{
struct sVar* item;
struct list_item$1sVarph* prev;
struct list_item$1sVarph* next;
};
struct list$1sVarph
{
struct list_item$1sVarph* head;
struct list_item$1sVarph* tail;
int len;
struct list_item$1sVarph* it;
};
struct sInfo
{
char* p;
char* head;
struct buffer* original_source;
struct buffer* source;
char* sname;
char* base_sname;
int sline;
int err_num;
char* err_line;
char* clang_option;
char* cpp_option;
_Bool no_output_err;
_Bool no_output_come_code;
struct sFun* come_fun;
char* come_fun_name;
struct sFun* caller_fun;
int caller_line;
char* caller_sname;
int block_level;
struct map$2charphsFunph* funcs;
struct map$2charphsGenericsFunph* generics_funcs;
struct map$2charphsClassph* classes;
struct map$2charphsClassModuleph* modules;
struct map$2charphsTypeph* types;
struct map$2charphsClassph* generics_classes;
struct sModule* module;
struct sType* type;
struct list$1sRightValueObjectph* right_value_objects;
struct sType* generics_type;
struct list$1sTypeph* method_generics_types;
struct list$1CVALUEph* stack;
struct sType* come_function_result_type;
struct sType* come_method_block_function_result_type;
struct sVarTable* lv_table;
struct sVarTable* gv_table;
_Bool comma_instead_of_semicolon;
_Bool no_comma;
_Bool no_assign;
_Bool no_label;
_Bool last_statment_is_return;
struct list$1charph* generics_type_names;
struct list$1charph* method_generics_type_names;
struct sType* impl_type;
int current_stack_num;
int num_method_block;
struct sClass* current_stack_frame_struct;
struct list$1sTypeph* param_types;
struct list$1charph* param_names;
_Bool define_struct;
_Bool in_typedef;
_Bool in_loop;
char* output_file_name;
struct sVarTable* current_loop_vtable;
_Bool verbose;
_Bool output_header_file;
int num_current_stack;
int num_source_files;
int max_source_files;
_Bool without_semicolon;
_Bool writing_source_file_position;
struct sType* function_result_type;
_Bool in_class;
struct map$2charphcharph* module_params;
_Bool constructor_;
struct sClass* defining_class;
_Bool array_initializer;
_Bool struct_initializer;
_Bool va_arg;
_Bool in_fun_param;
_Bool inhibits_output_code;
_Bool inhibits_output_code2;
_Bool in_generics_fun;
_Bool in_clone_object;
_Bool in_conditional_operator;
char* if_result_var_name;
struct list$1sVarph* match_it_var;
struct list$1int* sline_stack;
int sline_top;
};
struct tuple2$2sTypephcharph
{
struct sType* v1;
char* v2;
};
struct tuple2$2charphsNodeph
{
char* v1;
struct sNode* v2;
};
struct list_item$1tuple2$2charphsNodephph
{
struct tuple2$2charphsNodeph* item;
struct list_item$1tuple2$2charphsNodephph* prev;
struct list_item$1tuple2$2charphsNodephph* next;
};
struct list$1tuple2$2charphsNodephph
{
struct list_item$1tuple2$2charphsNodephph* head;
struct list_item$1tuple2$2charphsNodephph* tail;
int len;
struct list_item$1tuple2$2charphsNodephph* it;
};
struct tuple3$3sTypephcharphbool
{
struct sType* v1;
char* v2;
_Bool v3;
};
struct tuple4$4list$1sTypephphlist$1charphphlist$1charphphbool
{
struct list$1sTypeph* v1;
struct list$1charph* v2;
struct list$1charph* v3;
_Bool v4;
};
struct tuple2$2sFunpcharph
{
struct sFun* v1;
char* v2;
};
struct tuple3$3sTypephcharphsNodeph
{
struct sType* v1;
char* v2;
struct sNode* v3;
};
struct list_item$1tuple3$3sTypephcharphsNodephph
{
struct tuple3$3sTypephcharphsNodeph* item;
struct list_item$1tuple3$3sTypephcharphsNodephph* prev;
struct list_item$1tuple3$3sTypephcharphsNodephph* next;
};
struct list$1tuple3$3sTypephcharphsNodephph
{
struct list_item$1tuple3$3sTypephcharphsNodephph* head;
struct list_item$1tuple3$3sTypephcharphsNodephph* tail;
int len;
struct list_item$1tuple3$3sTypephcharphsNodephph* it;
};
extern struct list$1sRightValueObjectph* gExceptionRightValueObjects;
struct sMemHeaderTiny
{
unsigned long unsigned int size;
int allocated;
struct sMemHeaderTiny* next;
struct sMemHeaderTiny* prev;
struct sMemHeaderTiny* free_next;
};
struct sMemHeader
{
unsigned long unsigned int size;
int allocated;
struct sMemHeader* next;
struct sMemHeader* prev;
struct sMemHeader* free_next;
char* class_name;
char* sname[16];
int sline[16];
int id[16];
};
struct sHeapPage
{
char** mPages;
int mSizePages;
char* mTop;
int mCurrentPages;
struct sMemHeaderTiny* mFreeMem[2048*2];
};
// header function
struct _IO_FILE* fopen(const char* anonymous_var_nameX1, const char* anonymous_var_nameX2);
struct _IO_FILE* freopen(const char* anonymous_var_nameX3, const char* anonymous_var_nameX4, struct _IO_FILE* anonymous_var_nameX5);
int fclose(struct _IO_FILE* anonymous_var_nameX6);
int remove(const char* anonymous_var_nameX7);
int rename(const char* anonymous_var_nameX8, const char* anonymous_var_nameX9);
int feof(struct _IO_FILE* anonymous_var_nameX10);
int ferror(struct _IO_FILE* anonymous_var_nameX11);
int fflush(struct _IO_FILE* anonymous_var_nameX12);
void clearerr(struct _IO_FILE* anonymous_var_nameX13);
int fseek(struct _IO_FILE* anonymous_var_nameX14, long anonymous_var_nameX15, int anonymous_var_nameX16);
long ftell(struct _IO_FILE* anonymous_var_nameX17);
void rewind(struct _IO_FILE* anonymous_var_nameX18);
int fgetpos(struct _IO_FILE* anonymous_var_nameX19, union _G_fpos64_t* anonymous_var_nameX20);
int fsetpos(struct _IO_FILE* anonymous_var_nameX21, const union _G_fpos64_t* anonymous_var_nameX22);
unsigned long unsigned int fread(void* anonymous_var_nameX23, unsigned long unsigned int anonymous_var_nameX24, unsigned long unsigned int anonymous_var_nameX25, struct _IO_FILE* anonymous_var_nameX26);
unsigned long unsigned int fwrite(const void* anonymous_var_nameX27, unsigned long unsigned int anonymous_var_nameX28, unsigned long unsigned int anonymous_var_nameX29, struct _IO_FILE* anonymous_var_nameX30);
int fgetc(struct _IO_FILE* anonymous_var_nameX31);
int getc(struct _IO_FILE* anonymous_var_nameX32);
int getchar();
int ungetc(int anonymous_var_nameX33, struct _IO_FILE* anonymous_var_nameX34);
int fputc(int anonymous_var_nameX35, struct _IO_FILE* anonymous_var_nameX36);
int putc(int anonymous_var_nameX37, struct _IO_FILE* anonymous_var_nameX38);
int putchar(int anonymous_var_nameX39);
char* fgets(char* anonymous_var_nameX40, int anonymous_var_nameX41, struct _IO_FILE* anonymous_var_nameX42);
int fputs(const char* anonymous_var_nameX43, struct _IO_FILE* anonymous_var_nameX44);
int puts(const char* anonymous_var_nameX45);
int printf(const char* anonymous_var_nameX46, ...);
int fprintf(struct _IO_FILE* anonymous_var_nameX47, const char* anonymous_var_nameX48, ...);
int sprintf(char* anonymous_var_nameX49, const char* anonymous_var_nameX50, ...);
int snprintf(char* anonymous_var_nameX51, unsigned long unsigned int anonymous_var_nameX52, const char* anonymous_var_nameX53, ...);
int vprintf(const char* anonymous_var_nameX54, va_list anonymous_var_nameX55);
int vfprintf(struct _IO_FILE* anonymous_var_nameX56, const char* anonymous_var_nameX57, va_list anonymous_var_nameX58);
int vsprintf(char* anonymous_var_nameX59, const char* anonymous_var_nameX60, va_list anonymous_var_nameX61);
int vsnprintf(char* anonymous_var_nameX62, unsigned long unsigned int anonymous_var_nameX63, const char* anonymous_var_nameX64, va_list anonymous_var_nameX65);
int scanf(const char* anonymous_var_nameX66, ...);
int fscanf(struct _IO_FILE* anonymous_var_nameX67, const char* anonymous_var_nameX68, ...);
int sscanf(const char* anonymous_var_nameX69, const char* anonymous_var_nameX70, ...);
int vscanf(const char* anonymous_var_nameX71, va_list anonymous_var_nameX72);
int vfscanf(struct _IO_FILE* anonymous_var_nameX73, const char* anonymous_var_nameX74, va_list anonymous_var_nameX75);
int vsscanf(const char* anonymous_var_nameX76, const char* anonymous_var_nameX77, va_list anonymous_var_nameX78);
void perror(const char* anonymous_var_nameX79);
int setvbuf(struct _IO_FILE* anonymous_var_nameX80, char* anonymous_var_nameX81, int anonymous_var_nameX82, unsigned long unsigned int anonymous_var_nameX83);
void setbuf(struct _IO_FILE* anonymous_var_nameX84, char* anonymous_var_nameX85);
char* tmpnam(char* anonymous_var_nameX86);
struct _IO_FILE* tmpfile();
struct _IO_FILE* fmemopen(void* anonymous_var_nameX87, unsigned long unsigned int anonymous_var_nameX88, const char* anonymous_var_nameX89);
struct _IO_FILE* open_memstream(char** anonymous_var_nameX90, unsigned long unsigned int* anonymous_var_nameX91);
struct _IO_FILE* fdopen(int anonymous_var_nameX92, const char* anonymous_var_nameX93);
struct _IO_FILE* popen(const char* anonymous_var_nameX94, const char* anonymous_var_nameX95);
int pclose(struct _IO_FILE* anonymous_var_nameX96);
int fileno(struct _IO_FILE* anonymous_var_nameX97);
int fseeko(struct _IO_FILE* anonymous_var_nameX98, long anonymous_var_nameX99, int anonymous_var_nameX100);
long ftello(struct _IO_FILE* anonymous_var_nameX101);
int dprintf(int anonymous_var_nameX102, const char* anonymous_var_nameX103, ...);
int vdprintf(int anonymous_var_nameX104, const char* anonymous_var_nameX105, va_list anonymous_var_nameX106);
void flockfile(struct _IO_FILE* anonymous_var_nameX107);
int ftrylockfile(struct _IO_FILE* anonymous_var_nameX108);
void funlockfile(struct _IO_FILE* anonymous_var_nameX109);
int getc_unlocked(struct _IO_FILE* anonymous_var_nameX110);
int getchar_unlocked();
int putc_unlocked(int anonymous_var_nameX111, struct _IO_FILE* anonymous_var_nameX112);
int putchar_unlocked(int anonymous_var_nameX113);
long getdelim(char** anonymous_var_nameX114, unsigned long unsigned int* anonymous_var_nameX115, int anonymous_var_nameX116, struct _IO_FILE* anonymous_var_nameX117);
long getline(char** anonymous_var_nameX118, unsigned long unsigned int* anonymous_var_nameX119, struct _IO_FILE* anonymous_var_nameX120);
int renameat(int anonymous_var_nameX121, const char* anonymous_var_nameX122, int anonymous_var_nameX123, const char* anonymous_var_nameX124);
char* ctermid(char* anonymous_var_nameX125);
char* tempnam(const char* anonymous_var_nameX126, const char* anonymous_var_nameX127);
char* cuserid(char* anonymous_var_nameX128);
void setlinebuf(struct _IO_FILE* anonymous_var_nameX129);
void setbuffer(struct _IO_FILE* anonymous_var_nameX130, char* anonymous_var_nameX131, unsigned long unsigned int anonymous_var_nameX132);
int fgetc_unlocked(struct _IO_FILE* anonymous_var_nameX133);
int fputc_unlocked(int anonymous_var_nameX134, struct _IO_FILE* anonymous_var_nameX135);
int fflush_unlocked(struct _IO_FILE* anonymous_var_nameX136);
unsigned long unsigned int fread_unlocked(void* anonymous_var_nameX137, unsigned long unsigned int anonymous_var_nameX138, unsigned long unsigned int anonymous_var_nameX139, struct _IO_FILE* anonymous_var_nameX140);
unsigned long unsigned int fwrite_unlocked(const void* anonymous_var_nameX141, unsigned long unsigned int anonymous_var_nameX142, unsigned long unsigned int anonymous_var_nameX143, struct _IO_FILE* anonymous_var_nameX144);
void clearerr_unlocked(struct _IO_FILE* anonymous_var_nameX145);
int feof_unlocked(struct _IO_FILE* anonymous_var_nameX146);
int ferror_unlocked(struct _IO_FILE* anonymous_var_nameX147);
int fileno_unlocked(struct _IO_FILE* anonymous_var_nameX148);
int getw(struct _IO_FILE* anonymous_var_nameX149);
int putw(int anonymous_var_nameX150, struct _IO_FILE* anonymous_var_nameX151);
char* fgetln(struct _IO_FILE* anonymous_var_nameX152, unsigned long unsigned int* anonymous_var_nameX153);
int asprintf(char** anonymous_var_nameX154, const char* anonymous_var_nameX155, ...);
int vasprintf(char** anonymous_var_nameX156, const char* anonymous_var_nameX157, va_list anonymous_var_nameX158);
char* fgets_unlocked(char* anonymous_var_nameX159, int anonymous_var_nameX160, struct _IO_FILE* anonymous_var_nameX161);
int fputs_unlocked(const char* anonymous_var_nameX162, struct _IO_FILE* anonymous_var_nameX163);
struct _IO_FILE* fopencookie(void* anonymous_var_nameX174, const char* anonymous_var_nameX175, struct _IO_cookie_io_functions_t anonymous_var_nameX176);
int atoi(const char* anonymous_var_nameX177);
long atol(const char* anonymous_var_nameX178);
long long atoll(const char* anonymous_var_nameX179);
double atof(const char* anonymous_var_nameX180);
float strtof(const char* anonymous_var_nameX181, char** anonymous_var_nameX182);
double strtod(const char* anonymous_var_nameX183, char** anonymous_var_nameX184);
long double strtold(const char* anonymous_var_nameX185, char** anonymous_var_nameX186);
long strtol(const char* anonymous_var_nameX187, char** anonymous_var_nameX188, int anonymous_var_nameX189);
unsigned long unsigned int strtoul(const char* anonymous_var_nameX190, char** anonymous_var_nameX191, int anonymous_var_nameX192);
long long strtoll(const char* anonymous_var_nameX193, char** anonymous_var_nameX194, int anonymous_var_nameX195);
unsigned long unsigned long strtoull(const char* anonymous_var_nameX196, char** anonymous_var_nameX197, int anonymous_var_nameX198);
int rand();
void srand(unsigned int anonymous_var_nameX199);
void* malloc(unsigned long unsigned int anonymous_var_nameX200);
void* calloc(unsigned long unsigned int anonymous_var_nameX201, unsigned long unsigned int anonymous_var_nameX202);
void* realloc(void* anonymous_var_nameX203, unsigned long unsigned int anonymous_var_nameX204);
void free(void* anonymous_var_nameX205);
void* aligned_alloc(unsigned long unsigned int anonymous_var_nameX206, unsigned long unsigned int anonymous_var_nameX207);
void abort();
int atexit(void (*anonymous_lambda_var_nameZ1)());
void exit(int anonymous_var_nameX208);
void _Exit(int anonymous_var_nameX209);
int at_quick_exit(void (*anonymous_lambda_var_nameZ2)());
void quick_exit(int anonymous_var_nameX210);
char* getenv(const char* anonymous_var_nameX211);
int system(const char* anonymous_var_nameX212);
void* bsearch(const void* anonymous_var_nameX213, const void* anonymous_var_nameX214, unsigned long unsigned int anonymous_var_nameX215, unsigned long unsigned int anonymous_var_nameX216, int (*anonymous_lambda_var_nameZ3)(const void*,const void*));
void qsort(void* anonymous_var_nameX219, unsigned long unsigned int anonymous_var_nameX220, unsigned long unsigned int anonymous_var_nameX221, int (*anonymous_lambda_var_nameZ4)(const void*,const void*));
int abs(int anonymous_var_nameX224);
long labs(long anonymous_var_nameX225);
long long llabs(long long anonymous_var_nameX226);
struct anonymous_typeX1 div(int anonymous_var_nameX227, int anonymous_var_nameX228);
struct anonymous_typeX2 ldiv(long anonymous_var_nameX229, long anonymous_var_nameX230);
struct anonymous_typeX3 lldiv(long long anonymous_var_nameX231, long long anonymous_var_nameX232);
int mblen(const char* anonymous_var_nameX233, unsigned long unsigned int anonymous_var_nameX234);
int mbtowc(unsigned int* anonymous_var_nameX235, const char* anonymous_var_nameX236, unsigned long unsigned int anonymous_var_nameX237);
int wctomb(char* anonymous_var_nameX238, unsigned int anonymous_var_nameX239);
unsigned long unsigned int mbstowcs(unsigned int* anonymous_var_nameX240, const char* anonymous_var_nameX241, unsigned long unsigned int anonymous_var_nameX242);
unsigned long unsigned int wcstombs(char* anonymous_var_nameX243, const unsigned int* anonymous_var_nameX244, unsigned long unsigned int anonymous_var_nameX245);
unsigned long unsigned int __ctype_get_mb_cur_max();
int posix_memalign(void** anonymous_var_nameX246, unsigned long unsigned int anonymous_var_nameX247, unsigned long unsigned int anonymous_var_nameX248);
int setenv(const char* anonymous_var_nameX249, const char* anonymous_var_nameX250, int anonymous_var_nameX251);
int unsetenv(const char* anonymous_var_nameX252);
int mkstemp(char* anonymous_var_nameX253);
int mkostemp(char* anonymous_var_nameX254, int anonymous_var_nameX255);
char* mkdtemp(char* anonymous_var_nameX256);
int getsubopt(char** anonymous_var_nameX257, char** anonymous_var_nameX258, char** anonymous_var_nameX259);
int rand_r(unsigned int* anonymous_var_nameX260);
char* realpath(const char* anonymous_var_nameX261, char* anonymous_var_nameX262);
long int random();
void srandom(unsigned int anonymous_var_nameX263);
char* initstate(unsigned int anonymous_var_nameX264, char* anonymous_var_nameX265, unsigned long unsigned int anonymous_var_nameX266);
char* setstate(char* anonymous_var_nameX267);
int putenv(char* anonymous_var_nameX268);
int posix_openpt(int anonymous_var_nameX269);
int grantpt(int anonymous_var_nameX270);
int unlockpt(int anonymous_var_nameX271);
char* ptsname(int anonymous_var_nameX272);
char* l64a(long anonymous_var_nameX273);
long a64l(const char* anonymous_var_nameX274);
void setkey(const char* anonymous_var_nameX275);
double drand48();
double erand48(unsigned short int anonymous_var_nameX276[3]);
long int lrand48();
long int nrand48(unsigned short int anonymous_var_nameX277[3]);
long mrand48();
long jrand48(unsigned short int anonymous_var_nameX278[3]);
void srand48(long anonymous_var_nameX279);
unsigned short int* seed48(unsigned short int anonymous_var_nameX280[3]);
void lcong48(unsigned short int anonymous_var_nameX281[7]);
void* alloca(unsigned long unsigned int anonymous_var_nameX282);
char* mktemp(char* anonymous_var_nameX283);
int mkstemps(char* anonymous_var_nameX284, int anonymous_var_nameX285);
int mkostemps(char* anonymous_var_nameX286, int anonymous_var_nameX287, int anonymous_var_nameX288);
void* valloc(unsigned long unsigned int anonymous_var_nameX289);
void* memalign(unsigned long unsigned int anonymous_var_nameX290, unsigned long unsigned int anonymous_var_nameX291);
int getloadavg(double* anonymous_var_nameX292, int anonymous_var_nameX293);
int clearenv();
void* reallocarray(void* anonymous_var_nameX294, unsigned long unsigned int anonymous_var_nameX295, unsigned long unsigned int anonymous_var_nameX296);
void qsort_r(void* anonymous_var_nameX297, unsigned long unsigned int anonymous_var_nameX298, unsigned long unsigned int anonymous_var_nameX299, int (*anonymous_lambda_var_nameZ5)(const void*,const void*,void*), void* anonymous_var_nameX303);
int ptsname_r(int anonymous_var_nameX304, char* anonymous_var_nameX305, unsigned long unsigned int anonymous_var_nameX306);
char* ecvt(double anonymous_var_nameX307, int anonymous_var_nameX308, int* anonymous_var_nameX309, int* anonymous_var_nameX310);
char* fcvt(double anonymous_var_nameX311, int anonymous_var_nameX312, int* anonymous_var_nameX313, int* anonymous_var_nameX314);
char* gcvt(double anonymous_var_nameX315, int anonymous_var_nameX316, char* anonymous_var_nameX317);
char* secure_getenv(const char* anonymous_var_nameX318);
float strtof_l(const char* anonymous_var_nameX319, char** anonymous_var_nameX320, struct __locale_struct* anonymous_var_nameX321);