-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpreprocessed_vm.c
More file actions
10246 lines (7251 loc) · 699 KB
/
preprocessed_vm.c
File metadata and controls
10246 lines (7251 loc) · 699 KB
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
# 1 "src/runtime/vm.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 368 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "src/runtime/vm.c" 2
# 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\stdio.h" 1 3
# 12 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\stdio.h" 3
# 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 1 3
# 10 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
# 1 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 1 3
# 57 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
# 1 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\sal.h" 1 3
# 2974 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\sal.h" 3
# 1 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\concurrencysal.h" 1 3
# 2975 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\sal.h" 2 3
# 58 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 2 3
# 1 "C:\\Program Files\\LLVM\\lib\\clang\\17\\include\\vadefs.h" 1 3
# 18 "C:\\Program Files\\LLVM\\lib\\clang\\17\\include\\vadefs.h" 3
# 1 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 1 3
# 15 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
#pragma pack(push, 8)
# 47 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
#pragma warning(push)
#pragma warning(disable: 4514 4820)
# 61 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
typedef unsigned __int64 uintptr_t;
# 72 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
typedef char* va_list;
# 155 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
void __cdecl __va_start(va_list* , ...);
# 207 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vadefs.h" 3
#pragma warning(pop)
#pragma pack(pop)
# 19 "C:\\Program Files\\LLVM\\lib\\clang\\17\\include\\vadefs.h" 2 3
# 59 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 2 3
#pragma warning(push)
#pragma warning(disable: 4514 4820)
# 96 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
#pragma pack(push, 8)
# 188 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
typedef unsigned __int64 size_t;
typedef __int64 ptrdiff_t;
typedef __int64 intptr_t;
# 204 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
typedef _Bool __vcrt_bool;
# 223 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
typedef unsigned short wchar_t;
# 390 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
void __cdecl __security_init_cookie(void);
# 399 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\include\\vcruntime.h" 3
void __cdecl __security_check_cookie( uintptr_t _StackCookie);
__declspec(noreturn) void __cdecl __report_gsfailure( uintptr_t _StackCookie);
extern uintptr_t __security_cookie;
#pragma pack(pop)
#pragma warning(pop)
# 11 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 2 3
# 121 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma warning(push)
#pragma warning(disable: 4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727)
#pragma clang diagnostic push
# 123 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
# 123 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma clang diagnostic ignored "-Wignored-attributes"
# 123 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma clang diagnostic ignored "-Wignored-pragma-optimize"
# 123 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma pack(push, 8)
# 274 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
typedef _Bool __crt_bool;
# 371 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
void __cdecl _invalid_parameter_noinfo(void);
__declspec(noreturn) void __cdecl _invalid_parameter_noinfo_noreturn(void);
__declspec(noreturn)
void __cdecl _invoke_watson(
wchar_t const* _Expression,
wchar_t const* _FunctionName,
wchar_t const* _FileName,
unsigned int _LineNo,
uintptr_t _Reserved);
# 604 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
typedef int errno_t;
typedef unsigned short wint_t;
typedef unsigned short wctype_t;
typedef long __time32_t;
typedef __int64 __time64_t;
typedef struct __crt_locale_data_public
{
unsigned short const* _locale_pctype;
int _locale_mb_cur_max;
unsigned int _locale_lc_codepage;
} __crt_locale_data_public;
typedef struct __crt_locale_pointers
{
struct __crt_locale_data* locinfo;
struct __crt_multibyte_data* mbcinfo;
} __crt_locale_pointers;
typedef __crt_locale_pointers* _locale_t;
typedef struct _Mbstatet
{
unsigned long _Wchar;
unsigned short _Byte, _State;
} _Mbstatet;
typedef _Mbstatet mbstate_t;
# 684 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
typedef __time64_t time_t;
# 694 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
typedef size_t rsize_t;
# 2111 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt.h" 3
#pragma pack(pop)
#pragma clang diagnostic pop
#pragma warning(pop)
# 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\stdio.h" 2 3
# 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 1 3
# 13 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
# 1 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 1 3
# 12 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma warning(push)
#pragma warning(disable: 4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727)
#pragma clang diagnostic push
# 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
# 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma clang diagnostic ignored "-Wignored-attributes"
# 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma clang diagnostic ignored "-Wignored-pragma-optimize"
# 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma pack(push, 8)
# 89 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
__declspec(noinline) __inline unsigned __int64* __cdecl __local_stdio_printf_options(void)
{
static unsigned __int64 _OptionsStorage;
return &_OptionsStorage;
}
__declspec(noinline) __inline unsigned __int64* __cdecl __local_stdio_scanf_options(void)
{
static unsigned __int64 _OptionsStorage;
return &_OptionsStorage;
}
# 129 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_stdio_config.h" 3
#pragma pack(pop)
#pragma clang diagnostic pop
#pragma warning(pop)
# 14 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 2 3
#pragma warning(push)
#pragma warning(disable: 4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727)
#pragma clang diagnostic push
# 17 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
# 17 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
#pragma clang diagnostic ignored "-Wignored-attributes"
# 17 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
#pragma clang diagnostic ignored "-Wignored-pragma-optimize"
# 17 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma pack(push, 8)
typedef struct _iobuf
{
void* _Placeholder;
} FILE;
FILE* __cdecl __acrt_iob_func(unsigned _Ix);
# 51 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
wint_t __cdecl fgetwc(
FILE* _Stream
);
wint_t __cdecl _fgetwchar(void);
wint_t __cdecl fputwc(
wchar_t _Character,
FILE* _Stream);
wint_t __cdecl _fputwchar(
wchar_t _Character
);
wint_t __cdecl getwc(
FILE* _Stream
);
wint_t __cdecl getwchar(void);
wchar_t* __cdecl fgetws(
wchar_t* _Buffer,
int _BufferCount,
FILE* _Stream
);
int __cdecl fputws(
wchar_t const* _Buffer,
FILE* _Stream
);
wchar_t* __cdecl _getws_s(
wchar_t* _Buffer,
size_t _BufferCount
);
# 105 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
wint_t __cdecl putwc(
wchar_t _Character,
FILE* _Stream
);
wint_t __cdecl putwchar(
wchar_t _Character
);
int __cdecl _putws(
wchar_t const* _Buffer
);
wint_t __cdecl ungetwc(
wint_t _Character,
FILE* _Stream
);
FILE * __cdecl _wfdopen(
int _FileHandle,
wchar_t const* _Mode
);
__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wfopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details."))
FILE* __cdecl _wfopen(
wchar_t const* _FileName,
wchar_t const* _Mode
);
errno_t __cdecl _wfopen_s(
FILE** _Stream,
wchar_t const* _FileName,
wchar_t const* _Mode
);
__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wfreopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details."))
FILE* __cdecl _wfreopen(
wchar_t const* _FileName,
wchar_t const* _Mode,
FILE* _OldStream
);
errno_t __cdecl _wfreopen_s(
FILE** _Stream,
wchar_t const* _FileName,
wchar_t const* _Mode,
FILE* _OldStream
);
FILE* __cdecl _wfsopen(
wchar_t const* _FileName,
wchar_t const* _Mode,
int _ShFlag
);
void __cdecl _wperror(
wchar_t const* _ErrorMessage
);
FILE* __cdecl _wpopen(
wchar_t const* _Command,
wchar_t const* _Mode
);
int __cdecl _wremove(
wchar_t const* _FileName
);
__declspec(allocator) wchar_t* __cdecl _wtempnam(
wchar_t const* _Directory,
wchar_t const* _FilePrefix
);
errno_t __cdecl _wtmpnam_s(
wchar_t* _Buffer,
size_t _BufferCount
);
__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wtmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t* __cdecl _wtmpnam( wchar_t *_Buffer);
# 224 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
wint_t __cdecl _fgetwc_nolock(
FILE* _Stream
);
wint_t __cdecl _fputwc_nolock(
wchar_t _Character,
FILE* _Stream
);
wint_t __cdecl _getwc_nolock(
FILE* _Stream
);
wint_t __cdecl _putwc_nolock(
wchar_t _Character,
FILE* _Stream
);
wint_t __cdecl _ungetwc_nolock(
wint_t _Character,
FILE* _Stream
);
# 272 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
int __cdecl __stdio_common_vfwprintf(
unsigned __int64 _Options,
FILE* _Stream,
wchar_t const* _Format,
_locale_t _Locale,
va_list _ArgList
);
int __cdecl __stdio_common_vfwprintf_s(
unsigned __int64 _Options,
FILE* _Stream,
wchar_t const* _Format,
_locale_t _Locale,
va_list _ArgList
);
int __cdecl __stdio_common_vfwprintf_p(
unsigned __int64 _Options,
FILE* _Stream,
wchar_t const* _Format,
_locale_t _Locale,
va_list _ArgList
);
__inline int __cdecl _vfwprintf_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return __stdio_common_vfwprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);
}
__inline int __cdecl vfwprintf(
FILE* const _Stream,
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_l(_Stream, _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vfwprintf_s_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return __stdio_common_vfwprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);
}
__inline int __cdecl vfwprintf_s(
FILE* const _Stream,
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_s_l(_Stream, _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vfwprintf_p_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return __stdio_common_vfwprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);
}
__inline int __cdecl _vfwprintf_p(
FILE* const _Stream,
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_p_l(_Stream, _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vwprintf_l(
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return _vfwprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
}
__inline int __cdecl vwprintf(
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vwprintf_s_l(
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return _vfwprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
}
__inline int __cdecl vwprintf_s(
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vwprintf_p_l(
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return _vfwprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
}
__inline int __cdecl _vwprintf_p(
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _fwprintf_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_l(_Stream, _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl fwprintf(
FILE* const _Stream,
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_l(_Stream, _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _fwprintf_s_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_s_l(_Stream, _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl fwprintf_s(
FILE* const _Stream,
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_s_l(_Stream, _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _fwprintf_p_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_p_l(_Stream, _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _fwprintf_p(
FILE* const _Stream,
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_p_l(_Stream, _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _wprintf_l(
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl wprintf(
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _wprintf_s_l(
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl wprintf_s(
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_s_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _wprintf_p_l(
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _wprintf_p(
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwprintf_p_l((__acrt_iob_func(1)), _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
# 705 "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.26100.0\\ucrt\\corecrt_wstdio.h" 3
int __cdecl __stdio_common_vfwscanf(
unsigned __int64 _Options,
FILE* _Stream,
wchar_t const* _Format,
_locale_t _Locale,
va_list _ArgList
);
__inline int __cdecl _vfwscanf_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return __stdio_common_vfwscanf(
(*__local_stdio_scanf_options ()),
_Stream, _Format, _Locale, _ArgList);
}
__inline int __cdecl vfwscanf(
FILE* const _Stream,
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwscanf_l(_Stream, _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vfwscanf_s_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return __stdio_common_vfwscanf(
(*__local_stdio_scanf_options ()) | (1ULL << 0),
_Stream, _Format, _Locale, _ArgList);
}
__inline int __cdecl vfwscanf_s(
FILE* const _Stream,
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwscanf_s_l(_Stream, _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vwscanf_l(
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return _vfwscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);
}
__inline int __cdecl vwscanf(
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwscanf_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList);
}
__inline int __cdecl _vwscanf_s_l(
wchar_t const* const _Format,
_locale_t const _Locale,
va_list _ArgList
)
{
return _vfwscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);
}
__inline int __cdecl vwscanf_s(
wchar_t const* const _Format,
va_list _ArgList
)
{
return _vfwscanf_s_l((__acrt_iob_func(0)), _Format, ((void *)0), _ArgList);
}
__declspec(deprecated("This function or variable may be unsafe. Consider using " "_fwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details."))
__inline int __cdecl _fwscanf_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwscanf_l(_Stream, _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__declspec(deprecated("This function or variable may be unsafe. Consider using " "fwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details."))
__inline int __cdecl fwscanf(
FILE* const _Stream,
wchar_t const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Format);
_Result = _vfwscanf_l(_Stream, _Format, ((void *)0), _ArgList);
__builtin_va_end(_ArgList);
return _Result;
}
__inline int __cdecl _fwscanf_s_l(
FILE* const _Stream,
wchar_t const* const _Format,
_locale_t const _Locale,
...)
{
int _Result;
va_list _ArgList;
__builtin_va_start(_ArgList, _Locale);
_Result = _vfwscanf_s_l(_Stream, _Format, _Locale, _ArgList);
__builtin_va_end(_ArgList);
return _Result;