w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

uprntf_p.cpp
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ******************************************************************************
5 *
6 * Copyright (C) 1998-2016, International Business Machines
7 * Corporation and others. All Rights Reserved.
8 *
9 ******************************************************************************
10 *
11 * File uprntf_p.c
12 *
13 * Modification History:
14 *
15 * Date Name Description
16 * 11/23/98 stephen Creation.
17 * 03/12/99 stephen Modified for new C API.
18 * 08/07/2003 george Reunify printf implementations
19 ******************************************************************************
20 */
21 
22 #include "unicode/utypes.h"
23 
24 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_CONVERSION
25 
26 #include "unicode/ustring.h"
27 #include "unicode/utf16.h"
28 #include "uprintf.h"
29 #include "ufmt_cmn.h"
30 #include "cmemory.h"
31 #include "putilimp.h"
32 
33 /* ANSI style formatting */
34 /* Use US-ASCII characters only for formatting */
35 
36 /* % */
37 #define UFMT_SIMPLE_PERCENT {ufmt_simple_percent, u_printf_simple_percent_handler}
38 /* s */
39 #define UFMT_STRING {ufmt_string, u_printf_string_handler}
40 /* c */
41 #define UFMT_CHAR {ufmt_char, u_printf_char_handler}
42 /* d, i */
43 #define UFMT_INT {ufmt_int, u_printf_integer_handler}
44 /* u */
45 #define UFMT_UINT {ufmt_int, u_printf_uinteger_handler}
46 /* o */
47 #define UFMT_OCTAL {ufmt_int, u_printf_octal_handler}
48 /* x, X */
49 #define UFMT_HEX {ufmt_int, u_printf_hex_handler}
50 /* f */
51 #define UFMT_DOUBLE {ufmt_double, u_printf_double_handler}
52 /* e, E */
53 #define UFMT_SCIENTIFIC {ufmt_double, u_printf_scientific_handler}
54 /* g, G */
55 #define UFMT_SCIDBL {ufmt_double, u_printf_scidbl_handler}
56 /* n */
57 #define UFMT_COUNT {ufmt_count, u_printf_count_handler}
58 
59 /* non-ANSI extensions */
60 /* Use US-ASCII characters only for formatting */
61 
62 /* p */
63 #define UFMT_POINTER {ufmt_pointer, u_printf_pointer_handler}
64 /* V */
65 #define UFMT_SPELLOUT {ufmt_double, u_printf_spellout_handler}
66 /* P */
67 #define UFMT_PERCENT {ufmt_double, u_printf_percent_handler}
68 /* C K is old format */
69 #define UFMT_UCHAR {ufmt_uchar, u_printf_uchar_handler}
70 /* S U is old format */
71 #define UFMT_USTRING {ufmt_ustring, u_printf_ustring_handler}
72 
73 
74 #define UFMT_EMPTY {ufmt_empty, NULL}
75 
76 /**
77  * A u_printf handler function.
78  * A u_printf handler is responsible for handling a single u_printf
79  * format specification, for example 'd' or 's'.
80  * @param stream The UFILE to which to write output.
81  * @param info A pointer to a <TT>u_printf_spec_info</TT> struct containing
82  * information on the format specification.
83  * @param args A pointer to the argument data
84  * @return The number of Unicode characters written to <TT>stream</TT>.
85  */
86 typedef int32_t U_EXPORT2
88 
89  void *context,
90  ULocaleBundle *formatBundle,
91  const u_printf_spec_info *info,
92  const ufmt_args *args);
93 
94 typedef struct u_printf_info {
98 
99 /**
100  * Struct encapsulating a single uprintf format specification.
101  */
102 typedef struct u_printf_spec {
103  u_printf_spec_info fInfo; /* Information on this spec */
104  int32_t fWidthPos; /* Position of width in arg list */
105  int32_t fPrecisionPos; /* Position of precision in arg list */
106  int32_t fArgPos; /* Position of data in arg list */
108 
109 #define UPRINTF_NUM_FMT_HANDLERS 108
110 
111 /* We do not use handlers for 0-0x1f */
112 #define UPRINTF_BASE_FMT_HANDLERS 0x20
113 
114 /* buffer size for formatting */
115 #define UPRINTF_BUFFER_SIZE 1024
116 #define UPRINTF_SYMBOL_BUFFER_SIZE 8
117 
118 static const UChar gNullStr[] = {0x28, 0x6E, 0x75, 0x6C, 0x6C, 0x29, 0}; /* "(null)" */
119 static const UChar gSpaceStr[] = {0x20, 0}; /* " " */
120 
121 /* Sets the sign of a format based on u_printf_spec_info */
122 /* TODO: Is setting the prefix symbol to a positive sign a good idea in all locales? */
123 static void
125  const u_printf_spec_info *info,
126  UChar *prefixBuffer,
127  int32_t *prefixBufLen,
129 {
130  if(info->fShowSign) {
131  *prefixBufLen = unum_getTextAttribute(format,
133  prefixBuffer,
134  *prefixBufLen,
135  status);
136  if (info->fSpace) {
137  /* Setting UNUM_PLUS_SIGN_SYMBOL affects the exponent too. */
138  /* unum_setSymbol(format, UNUM_PLUS_SIGN_SYMBOL, gSpaceStr, 1, &status); */
140  }
141  else {
142  UChar plusSymbol[UPRINTF_SYMBOL_BUFFER_SIZE];
143  int32_t symbolLen;
144 
145  symbolLen = unum_getSymbol(format,
147  plusSymbol,
148  UPRV_LENGTHOF(plusSymbol),
149  status);
152  plusSymbol,
153  symbolLen,
154  status);
155  }
156  }
157  else {
158  *prefixBufLen = 0;
159  }
160 }
161 
162 static void
164  const u_printf_spec_info *info,
165  UChar *prefixBuffer,
166  int32_t *prefixBufLen,
168 {
169  if(info->fShowSign) {
172  prefixBuffer,
173  *prefixBufLen,
174  status);
175  }
176 }
177 
178 
179 /* handle a '%' */
180 static int32_t
182  void *context,
183  ULocaleBundle *formatBundle,
184  const u_printf_spec_info *info,
185  const ufmt_args *args)
186 {
187  (void)formatBundle;
188  (void)info;
189  (void)args;
190  static const UChar PERCENT[] = { UP_PERCENT };
191 
192  /* put a single '%' onto the output */
193  return handler->write(context, PERCENT, 1);
194 }
195 
196 /* handle 's' */
197 static int32_t
199  void *context,
200  ULocaleBundle *formatBundle,
201  const u_printf_spec_info *info,
202  const ufmt_args *args)
203 {
204  (void)formatBundle;
205  UChar *s;
207  int32_t len, written;
208  int32_t argSize;
209  const char *arg = (const char*)(args[0].ptrValue);
210 
211  /* convert from the default codepage to Unicode */
212  if (arg) {
213  argSize = (int32_t)strlen(arg) + 1;
214  if (argSize >= MAX_UCHAR_BUFFER_SIZE(buffer)) {
215  s = ufmt_defaultCPToUnicode(arg, argSize,
217  MAX_UCHAR_BUFFER_NEEDED(argSize));
218  if(s == NULL) {
219  return 0;
220  }
221  }
222  else {
223  s = ufmt_defaultCPToUnicode(arg, argSize, buffer,
225  }
226  }
227  else {
228  s = (UChar *)gNullStr;
229  }
230  len = u_strlen(s);
231 
232  /* width = minimum # of characters to write */
233  /* precision = maximum # of characters to write */
234  if (info->fPrecision != -1 && info->fPrecision < len) {
235  len = info->fPrecision;
236  }
237 
238  written = handler->pad_and_justify(context, info, s, len);
239 
240  /* clean up */
241  if (gNullStr != s && buffer != s) {
242  uprv_free(s);
243  }
244 
245  return written;
246 }
247 
248 static int32_t
250  void *context,
251  ULocaleBundle *formatBundle,
252  const u_printf_spec_info *info,
253  const ufmt_args *args)
254 {
255  (void)formatBundle;
257  int32_t len = 1, written;
258  unsigned char arg = (unsigned char)(args[0].int64Value);
259 
260  /* convert from default codepage to Unicode */
261  ufmt_defaultCPToUnicode((const char *)&arg, 2, s, UPRV_LENGTHOF(s));
262 
263  /* Remember that this may be an MBCS character */
264  if (arg != 0) {
265  len = u_strlen(s);
266  }
267 
268  /* width = minimum # of characters to write */
269  /* precision = maximum # of characters to write */
270  /* precision is ignored when handling a char */
271 
272  written = handler->pad_and_justify(context, info, s, len);
273 
274  return written;
275 }
276 
277 static int32_t
279  void *context,
280  ULocaleBundle *formatBundle,
281  const u_printf_spec_info *info,
282  const ufmt_args *args)
283 {
284  double num = (double) (args[0].doubleValue);
287  UChar prefixBuffer[UPRINTF_BUFFER_SIZE];
288  int32_t prefixBufferLen = sizeof(prefixBuffer);
289  int32_t minDecimalDigits;
290  int32_t maxDecimalDigits;
291  int32_t resultLen;
293 
294  prefixBuffer[0] = 0;
295 
296  /* mask off any necessary bits */
297  /* if(! info->fIsLongDouble)
298  num &= DBL_MAX;*/
299 
300  /* get the formatter */
302 
303  /* handle error */
304  if(format == 0)
305  return 0;
306 
307  /* save the formatter's state */
310 
311  /* set the appropriate flags and number of decimal digits on the formatter */
312  if(info->fPrecision != -1) {
313  /* set the # of decimal digits */
315  }
316  else if(info->fAlt) {
317  /* '#' means always show decimal point */
318  /* copy of printf behavior on Solaris - '#' shows 6 digits */
320  }
321  else {
322  /* # of decimal digits is 6 if precision not specified regardless of locale */
324  }
325 
326  /* set whether to show the sign */
327  if (info->fShowSign) {
328  u_printf_set_sign(format, info, prefixBuffer, &prefixBufferLen, &status);
329  }
330 
331  /* format the number */
333 
334  if (U_FAILURE(status)) {
335  resultLen = 0;
336  }
337 
338  /* restore the number format */
339  /* TODO: Is this needed? */
342 
343  if (info->fShowSign) {
344  /* Reset back to original value regardless of what the error was */
345  UErrorCode localStatus = U_ZERO_ERROR;
346  u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus);
347  }
348 
349  return handler->pad_and_justify(context, info, result, resultLen);
350 }
351 
352 /* HSYS */
353 static int32_t
355  void *context,
356  ULocaleBundle *formatBundle,
357  const u_printf_spec_info *info,
358  const ufmt_args *args)
359 {
360  int64_t num = args[0].int64Value;
363  UChar prefixBuffer[UPRINTF_BUFFER_SIZE];
364  int32_t prefixBufferLen = sizeof(prefixBuffer);
365  int32_t minDigits = -1;
366  int32_t resultLen;
368 
369  prefixBuffer[0] = 0;
370 
371  /* mask off any necessary bits */
372  if (info->fIsShort)
373  num = (int16_t)num;
374  else if (!info->fIsLongLong)
375  num = (int32_t)num;
376 
377  /* get the formatter */
379 
380  /* handle error */
381  if(format == 0)
382  return 0;
383 
384  /* set the appropriate flags on the formatter */
385 
386  /* set the minimum integer digits */
387  if(info->fPrecision != -1) {
388  /* set the minimum # of digits */
391  }
392 
393  /* set whether to show the sign */
394  if(info->fShowSign) {
395  u_printf_set_sign(format, info, prefixBuffer, &prefixBufferLen, &status);
396  }
397 
398  /* format the number */
400 
401  if (U_FAILURE(status)) {
402  resultLen = 0;
403  }
404 
405  /* restore the number format */
406  if (minDigits != -1) {
408  }
409 
410  if (info->fShowSign) {
411  /* Reset back to original value regardless of what the error was */
412  UErrorCode localStatus = U_ZERO_ERROR;
413  u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus);
414  }
415 
416  return handler->pad_and_justify(context, info, result, resultLen);
417 }
418 
419 static int32_t
421  void *context,
422  ULocaleBundle *formatBundle,
423  const u_printf_spec_info *info,
424  const ufmt_args *args)
425 {
426  (void)formatBundle;
427  int64_t num = args[0].int64Value;
430 
431 
432  /* mask off any necessary bits */
433  if (info->fIsShort)
434  num &= UINT16_MAX;
435  else if (!info->fIsLongLong)
436  num &= UINT32_MAX;
437 
438  /* format the number, preserving the minimum # of digits */
439  ufmt_64tou(result, &len, num, 16,
440  (UBool)(info->fSpec == 0x0078),
441  (info->fPrecision == -1 && info->fZero) ? info->fWidth : info->fPrecision);
442 
443  /* convert to alt form, if desired */
444  if(num != 0 && info->fAlt && len < UPRINTF_BUFFER_SIZE - 2) {
445  /* shift the formatted string right by 2 chars */
446  memmove(result + 2, result, len * sizeof(UChar));
447  result[0] = 0x0030;
448  result[1] = info->fSpec;
449  len += 2;
450  }
451 
452  return handler->pad_and_justify(context, info, result, len);
453 }
454 
455 static int32_t
457  void *context,
458  ULocaleBundle *formatBundle,
459  const u_printf_spec_info *info,
460  const ufmt_args *args)
461 {
462  (void)formatBundle;
463  int64_t num = args[0].int64Value;
466 
467 
468  /* mask off any necessary bits */
469  if (info->fIsShort)
470  num &= UINT16_MAX;
471  else if (!info->fIsLongLong)
472  num &= UINT32_MAX;
473 
474  /* format the number, preserving the minimum # of digits */
475  ufmt_64tou(result, &len, num, 8,
476  FALSE, /* doesn't matter for octal */
477  info->fPrecision == -1 && info->fZero ? info->fWidth : info->fPrecision);
478 
479  /* convert to alt form, if desired */
480  if(info->fAlt && result[0] != 0x0030 && len < UPRINTF_BUFFER_SIZE - 1) {
481  /* shift the formatted string right by 1 char */
482  memmove(result + 1, result, len * sizeof(UChar));
483  result[0] = 0x0030;
484  len += 1;
485  }
486 
487  return handler->pad_and_justify(context, info, result, len);
488 }
489 
490 static int32_t
492  void *context,
493  ULocaleBundle *formatBundle,
494  const u_printf_spec_info *info,
495  const ufmt_args *args)
496 {
497  int64_t num = args[0].int64Value;
500  int32_t minDigits = -1;
501  int32_t resultLen;
503 
504  /* TODO: Fix this once uint64_t can be formatted. */
505  if (info->fIsShort)
506  num &= UINT16_MAX;
507  else if (!info->fIsLongLong)
508  num &= UINT32_MAX;
509 
510  /* get the formatter */
512 
513  /* handle error */
514  if(format == 0)
515  return 0;
516 
517  /* set the appropriate flags on the formatter */
518 
519  /* set the minimum integer digits */
520  if(info->fPrecision != -1) {
521  /* set the minimum # of digits */
524  }
525 
526  /* To mirror other stdio implementations, we ignore the sign argument */
527 
528  /* format the number */
530 
531  if (U_FAILURE(status)) {
532  resultLen = 0;
533  }
534 
535  /* restore the number format */
536  if (minDigits != -1) {
538  }
539 
540  return handler->pad_and_justify(context, info, result, resultLen);
541 }
542 
543 static int32_t
545  void *context,
546  ULocaleBundle *formatBundle,
547  const u_printf_spec_info *info,
548  const ufmt_args *args)
549 {
550  (void)formatBundle;
553 
554  /* format the pointer in hex */
555  ufmt_ptou(result, &len, args[0].ptrValue, TRUE/*, info->fPrecision*/);
556 
557  return handler->pad_and_justify(context, info, result, len);
558 }
559 
560 static int32_t
562  void *context,
563  ULocaleBundle *formatBundle,
564  const u_printf_spec_info *info,
565  const ufmt_args *args)
566 {
567  double num = (double) (args[0].doubleValue);
570  UChar prefixBuffer[UPRINTF_BUFFER_SIZE];
571  int32_t prefixBufferLen = sizeof(prefixBuffer);
572  int32_t minDecimalDigits;
573  int32_t maxDecimalDigits;
576  int32_t srcLen, expLen;
577  int32_t resultLen;
579 
580  prefixBuffer[0] = 0;
581 
582  /* mask off any necessary bits */
583  /* if(! info->fIsLongDouble)
584  num &= DBL_MAX;*/
585 
586  /* get the formatter */
588 
589  /* handle error */
590  if(format == 0)
591  return 0;
592 
593  /* set the appropriate flags on the formatter */
594 
595  srcLen = unum_getSymbol(format,
597  srcExpBuf,
598  sizeof(srcExpBuf),
599  &status);
600 
601  /* Upper/lower case the e */
602  if (info->fSpec == (UChar)0x65 /* e */) {
603  expLen = u_strToLower(expBuf, (int32_t)sizeof(expBuf),
604  srcExpBuf, srcLen,
605  formatBundle->fLocale,
606  &status);
607  }
608  else {
609  expLen = u_strToUpper(expBuf, (int32_t)sizeof(expBuf),
610  srcExpBuf, srcLen,
611  formatBundle->fLocale,
612  &status);
613  }
614 
617  expBuf,
618  expLen,
619  &status);
620 
621  /* save the formatter's state */
624 
625  /* set the appropriate flags and number of decimal digits on the formatter */
626  if(info->fPrecision != -1) {
627  /* set the # of decimal digits */
628  if (info->fOrigSpec == (UChar)0x65 /* e */ || info->fOrigSpec == (UChar)0x45 /* E */) {
630  }
631  else {
634  }
635  }
636  else if(info->fAlt) {
637  /* '#' means always show decimal point */
638  /* copy of printf behavior on Solaris - '#' shows 6 digits */
640  }
641  else {
642  /* # of decimal digits is 6 if precision not specified */
644  }
645 
646  /* set whether to show the sign */
647  if (info->fShowSign) {
648  u_printf_set_sign(format, info, prefixBuffer, &prefixBufferLen, &status);
649  }
650 
651  /* format the number */
653 
654  if (U_FAILURE(status)) {
655  resultLen = 0;
656  }
657 
658  /* restore the number format */
659  /* TODO: Is this needed? */
662 
663  /* Since we're the only one using the scientific
664  format, we don't need to save the old exponent value. */
665  /*unum_setSymbol(format,
666  UNUM_EXPONENTIAL_SYMBOL,
667  srcExpBuf,
668  srcLen,
669  &status);*/
670 
671  if (info->fShowSign) {
672  /* Reset back to original value regardless of what the error was */
673  UErrorCode localStatus = U_ZERO_ERROR;
674  u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus);
675  }
676 
677  return handler->pad_and_justify(context, info, result, resultLen);
678 }
679 
680 static int32_t
682  void *context,
683  ULocaleBundle *formatBundle,
684  const u_printf_spec_info *info,
685  const ufmt_args *args)
686 {
687  double num = (double) (args[0].doubleValue);
690  UChar prefixBuffer[UPRINTF_BUFFER_SIZE];
691  int32_t prefixBufferLen = sizeof(prefixBuffer);
692  int32_t minDecimalDigits;
693  int32_t maxDecimalDigits;
694  int32_t resultLen;
696 
697  prefixBuffer[0] = 0;
698 
699  /* mask off any necessary bits */
700  /* if(! info->fIsLongDouble)
701  num &= DBL_MAX;*/
702 
703  /* get the formatter */
705 
706  /* handle error */
707  if(format == 0)
708  return 0;
709 
710  /* save the formatter's state */
713 
714  /* set the appropriate flags and number of decimal digits on the formatter */
715  if(info->fPrecision != -1) {
716  /* set the # of decimal digits */
718  }
719  else if(info->fAlt) {
720  /* '#' means always show decimal point */
721  /* copy of printf behavior on Solaris - '#' shows 6 digits */
723  }
724  else {
725  /* # of decimal digits is 6 if precision not specified */
727  }
728 
729  /* set whether to show the sign */
730  if (info->fShowSign) {
731  u_printf_set_sign(format, info, prefixBuffer, &prefixBufferLen, &status);
732  }
733 
734  /* format the number */
736 
737  if (U_FAILURE(status)) {
738  resultLen = 0;
739  }
740 
741  /* restore the number format */
742  /* TODO: Is this needed? */
745 
746  if (info->fShowSign) {
747  /* Reset back to original value regardless of what the error was */
748  UErrorCode localStatus = U_ZERO_ERROR;
749  u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus);
750  }
751 
752  return handler->pad_and_justify(context, info, result, resultLen);
753 }
754 
755 static int32_t
757  void *context,
758  ULocaleBundle *formatBundle,
759  const u_printf_spec_info *info,
760  const ufmt_args *args)
761 {
762  (void)formatBundle;
763  int32_t len, written;
764  const UChar *arg = (const UChar*)(args[0].ptrValue);
765 
766  /* allocate enough space for the buffer */
767  if (arg == NULL) {
768  arg = gNullStr;
769  }
770  len = u_strlen(arg);
771 
772  /* width = minimum # of characters to write */
773  /* precision = maximum # of characters to write */
774  if (info->fPrecision != -1 && info->fPrecision < len) {
775  len = info->fPrecision;
776  }
777 
778  /* determine if the string should be padded */
779  written = handler->pad_and_justify(context, info, arg, len);
780 
781  return written;
782 }
783 
784 static int32_t
786  void *context,
787  ULocaleBundle *formatBundle,
788  const u_printf_spec_info *info,
789  const ufmt_args *args)
790 {
791  (void)formatBundle;
792  int32_t written = 0;
793  UChar arg = (UChar)(args[0].int64Value);
794 
795  /* width = minimum # of characters to write */
796  /* precision = maximum # of characters to write */
797  /* precision is ignored when handling a uchar */
798 
799  /* determine if the string should be padded */
800  written = handler->pad_and_justify(context, info, &arg, 1);
801 
802  return written;
803 }
804 
805 static int32_t
807  void *context,
808  ULocaleBundle *formatBundle,
809  const u_printf_spec_info *info,
810  const ufmt_args *args)
811 {
812  u_printf_spec_info scidbl_info;
813  double num = args[0].doubleValue;
814  int32_t retVal;
816  int32_t maxSigDecimalDigits, significantDigits;
817 
818  memcpy(&scidbl_info, info, sizeof(u_printf_spec_info));
819 
820  /* determine whether to use 'd', 'e' or 'f' notation */
821  if (scidbl_info.fPrecision == -1 && num == uprv_trunc(num))
822  {
823  /* use 'f' notation */
824  scidbl_info.fSpec = 0x0066;
825  scidbl_info.fPrecision = 0;
826  /* call the double handler */
827  retVal = u_printf_double_handler(handler, context, formatBundle, &scidbl_info, args);
828  }
829  else if(num < 0.0001 || (scidbl_info.fPrecision < 1 && 1000000.0 <= num)
830  || (scidbl_info.fPrecision != -1 && num > uprv_pow10(scidbl_info.fPrecision)))
831  {
832  /* use 'e' or 'E' notation */
833  scidbl_info.fSpec = scidbl_info.fSpec - 2;
834  if (scidbl_info.fPrecision == -1) {
835  scidbl_info.fPrecision = 5;
836  }
837  /* call the scientific handler */
838  retVal = u_printf_scientific_handler(handler, context, formatBundle, &scidbl_info, args);
839  }
840  else {
842  /* Check for null pointer */
843  if (format == NULL) {
844  return 0;
845  }
846  maxSigDecimalDigits = unum_getAttribute(format, UNUM_MAX_SIGNIFICANT_DIGITS);
847  significantDigits = scidbl_info.fPrecision;
848 
849  /* use 'f' notation */
850  scidbl_info.fSpec = 0x0066;
851  if (significantDigits == -1) {
852  significantDigits = 6;
853  }
856  /* call the double handler */
857  retVal = u_printf_double_handler(handler, context, formatBundle, &scidbl_info, args);
860  }
861  return retVal;
862 }
863 
864 static int32_t
866  void *context,
867  ULocaleBundle *formatBundle,
868  const u_printf_spec_info *info,
869  const ufmt_args *args)
870 {
871  (void)handler;
872  (void)context;
873  (void)formatBundle;
874  int32_t *count = (int32_t*)(args[0].ptrValue);
875 
876  /* in the special case of count, the u_printf_spec_info's width */
877  /* will contain the # of chars written thus far */
878  *count = info->fWidth;
879 
880  return 0;
881 }
882 
883 static int32_t
885  void *context,
886  ULocaleBundle *formatBundle,
887  const u_printf_spec_info *info,
888  const ufmt_args *args)
889 {
890  double num = (double) (args[0].doubleValue);
893  UChar prefixBuffer[UPRINTF_BUFFER_SIZE];
894  int32_t prefixBufferLen = sizeof(prefixBuffer);
895  int32_t minDecimalDigits;
896  int32_t maxDecimalDigits;
897  int32_t resultLen;
899 
900  prefixBuffer[0] = 0;
901 
902  /* mask off any necessary bits */
903  /* if(! info->fIsLongDouble)
904  num &= DBL_MAX;*/
905 
906  /* get the formatter */
908 
909  /* handle error */
910  if(format == 0)
911  return 0;
912 
913  /* save the formatter's state */
916 
917  /* set the appropriate flags and number of decimal digits on the formatter */
918  if(info->fPrecision != -1) {
919  /* set the # of decimal digits */
921  }
922  else if(info->fAlt) {
923  /* '#' means always show decimal point */
924  /* copy of printf behavior on Solaris - '#' shows 6 digits */
926  }
927  else {
928  /* # of decimal digits is 6 if precision not specified */
930  }
931 
932  /* set whether to show the sign */
933  if (info->fShowSign) {
934  u_printf_set_sign(format, info, prefixBuffer, &prefixBufferLen, &status);
935  }
936 
937  /* format the number */
939 
940  if (U_FAILURE(status)) {
941  resultLen = 0;
942  }
943 
944  /* restore the number format */
945  /* TODO: Is this needed? */
948 
949  if (info->fShowSign) {
950  /* Reset back to original value regardless of what the error was */
951  UErrorCode localStatus = U_ZERO_ERROR;
952  u_printf_reset_sign(format, info, prefixBuffer, &prefixBufferLen, &localStatus);
953  }
954 
955  return handler->pad_and_justify(context, info, result, resultLen);
956 }
957 
958 /* Use US-ASCII characters only for formatting. Most codepages have
959  characters 20-7F from Unicode. Using any other codepage specific
960  characters will make it very difficult to format the string on
961  non-Unicode machines */
963 /* 0x20 */
968 
969 /* 0x30 */
974 
975 /* 0x40 */
978 #ifdef U_USE_OBSOLETE_IO_FORMATTING
979  UFMT_EMPTY, UFMT_EMPTY, UFMT_EMPTY, UFMT_UCHAR/*deprecated*/,
980 #else
982 #endif
984 
985 /* 0x50 */
987 #ifdef U_USE_OBSOLETE_IO_FORMATTING
989 #else
991 #endif
994 
995 /* 0x60 */
1000 
1001 /* 0x70 */
1006 };
1007 
1008 /* flag characters for uprintf */
1009 #define FLAG_MINUS 0x002D
1010 #define FLAG_PLUS 0x002B
1011 #define FLAG_SPACE 0x0020
1012 #define FLAG_POUND 0x0023
1013 #define FLAG_ZERO 0x0030
1014 #define FLAG_PAREN 0x0028
1015 
1016 #define ISFLAG(s) (s) == FLAG_MINUS || \
1017  (s) == FLAG_PLUS || \
1018  (s) == FLAG_SPACE || \
1019  (s) == FLAG_POUND || \
1020  (s) == FLAG_ZERO || \
1021  (s) == FLAG_PAREN
1022 
1023 /* special characters for uprintf */
1024 #define SPEC_ASTERISK 0x002A
1025 #define SPEC_DOLLARSIGN 0x0024
1026 #define SPEC_PERIOD 0x002E
1027 #define SPEC_PERCENT 0x0025
1028 
1029 /* unicode digits */
1030 #define DIGIT_ZERO 0x0030
1031 #define DIGIT_ONE 0x0031
1032 #define DIGIT_TWO 0x0032
1033 #define DIGIT_THREE 0x0033
1034 #define DIGIT_FOUR 0x0034
1035 #define DIGIT_FIVE 0x0035
1036 #define DIGIT_SIX 0x0036
1037 #define DIGIT_SEVEN 0x0037
1038 #define DIGIT_EIGHT 0x0038
1039 #define DIGIT_NINE 0x0039
1040 
1041 #define ISDIGIT(s) (s) == DIGIT_ZERO || \
1042  (s) == DIGIT_ONE || \
1043  (s) == DIGIT_TWO || \
1044  (s) == DIGIT_THREE || \
1045  (s) == DIGIT_FOUR || \
1046  (s) == DIGIT_FIVE || \
1047  (s) == DIGIT_SIX || \
1048  (s) == DIGIT_SEVEN || \
1049  (s) == DIGIT_EIGHT || \
1050  (s) == DIGIT_NINE
1051 
1052 /* u_printf modifiers */
1053 #define MOD_H 0x0068
1054 #define MOD_LOWERL 0x006C
1055 #define MOD_L 0x004C
1056 
1057 #define ISMOD(s) (s) == MOD_H || \
1058  (s) == MOD_LOWERL || \
1059  (s) == MOD_L
1060 /* Returns an array of the parsed argument type given in the format string. */
1062  ufmt_args *arglist = NULL;
1063  ufmt_type_info *typelist = NULL;
1064  UBool *islonglong = NULL;
1065  int32_t size = 0;
1066  int32_t pos = 0;
1067  UChar type;
1068  uint16_t handlerNum;
1069  const UChar *aliasStart = alias;
1070 
1071  /* get maximum number of arguments */
1072  for(;;) {
1073  /* find % */
1074  while(*alias != UP_PERCENT && *alias != 0x0000) {
1075  alias++;
1076  }
1077 
1078  if(*alias == 0x0000) {
1079  break;
1080  }
1081 
1082  alias++;
1083 
1084  /* handle the pos number */
1085  if(ISDIGIT(*alias)) {
1086 
1087  /* handle positional parameters */
1088  if(ISDIGIT(*alias)) {
1089  pos = (int) (*alias++ - DIGIT_ZERO);
1090 
1091  while(ISDIGIT(*alias)) {
1092  pos *= 10;
1093  pos += (int) (*alias++ - DIGIT_ZERO);
1094  }
1095  }
1096 
1097  /* if there is no '$', don't read anything */
1098  if(*alias != SPEC_DOLLARSIGN) {
1099  return NULL;
1100  }
1101  } else {
1102  return NULL;
1103  }
1104 
1105  if (pos > size) {
1106  size = pos;
1107  }
1108  }
1109 
1110  /* create the parsed argument list */
1111  typelist = (ufmt_type_info*)uprv_malloc(sizeof(ufmt_type_info) * size);
1112  islonglong = (UBool*)uprv_malloc(sizeof(UBool) * size);
1113  arglist = (ufmt_args*)uprv_malloc(sizeof(ufmt_args) * size);
1114 
1115  /* If malloc failed, return NULL */
1116  if (!typelist || !islonglong || !arglist) {
1117  if (typelist) {
1118  uprv_free(typelist);
1119  }
1120 
1121  if (islonglong) {
1122  uprv_free(islonglong);
1123  }
1124 
1125  if (arglist) {
1126  uprv_free(arglist);
1127  }
1128 
1130  return NULL;
1131  }
1132 
1133  /* reset alias back to the beginning */
1134  alias = aliasStart;
1135 
1136  for(;;) {
1137  /* find % */
1138  while(*alias != UP_PERCENT && *alias != 0x0000) {
1139  alias++;
1140  }
1141 
1142  if(*alias == 0x0000) {
1143  break;
1144  }
1145 
1146  alias++;
1147 
1148  /* handle positional parameters */
1149  if(ISDIGIT(*alias)) {
1150  pos = (int) (*alias++ - DIGIT_ZERO);
1151 
1152  while(ISDIGIT(*alias)) {
1153  pos *= 10;
1154  pos += (int) (*alias++ - DIGIT_ZERO);
1155  }
1156  }
1157  /* offset position by 1 */
1158  pos--;
1159 
1160  /* skip over everything except for the type */
1161  while (ISMOD(*alias) || ISFLAG(*alias) || ISDIGIT(*alias) ||
1163  islonglong[pos] = FALSE;
1164  if (ISMOD(*alias)) {
1165  alias++;
1166  if (*alias == MOD_LOWERL) {
1167  islonglong[pos] = TRUE;
1168  }
1169  }
1170  alias++;
1171  }
1172  type = *alias;
1173 
1174  /* store the argument type in the correct position of the parsed argument list */
1175  handlerNum = (uint16_t)(type - UPRINTF_BASE_FMT_HANDLERS);
1176  if (handlerNum < UPRINTF_NUM_FMT_HANDLERS) {
1177  typelist[pos] = g_u_printf_infos[ handlerNum ].info;
1178  } else {
1179  typelist[pos] = ufmt_empty;
1180  }
1181  }
1182 
1183  /* store argument in arglist */
1184  for (pos = 0; pos < size; pos++) {
1185  switch (typelist[pos]) {
1186  case ufmt_string:
1187  case ufmt_ustring:
1188  case ufmt_pointer:
1189  arglist[pos].ptrValue = va_arg(ap, void*);
1190  break;
1191  case ufmt_char:
1192  case ufmt_uchar:
1193  case ufmt_int:
1194  if (islonglong[pos]) {
1195  arglist[pos].int64Value = va_arg(ap, int64_t);
1196  }
1197  else {
1198  arglist[pos].int64Value = va_arg(ap, int32_t);
1199  }
1200  break;
1201  case ufmt_float:
1202  arglist[pos].floatValue = (float) va_arg(ap, double);
1203  break;
1204  case ufmt_double:
1205  arglist[pos].doubleValue = va_arg(ap, double);
1206  break;
1207  default:
1208  /* else args is ignored */
1209  arglist[pos].ptrValue = NULL;
1210  break;
1211  }
1212  }
1213 
1214  uprv_free(typelist);
1215  uprv_free(islonglong);
1216 
1217  return arglist;
1218 }
1219 
1220 /* We parse the argument list in Unicode */
1223  const UChar *fmt,
1224  void *context,
1225  u_localized_print_string *locStringContext,
1226  ULocaleBundle *formatBundle,
1227  int32_t *written,
1228  va_list ap)
1229 {
1230  uint16_t handlerNum;
1231  ufmt_args args;
1232  ufmt_type_info argType;
1233  u_printf_handler *handler;
1234  u_printf_spec spec;
1235  u_printf_spec_info *info = &(spec.fInfo);
1236 
1237  const UChar *alias = fmt;
1238  const UChar *backup;
1239  const UChar *lastAlias;
1240  const UChar *orgAlias = fmt;
1241  /* parsed argument list */
1242  ufmt_args *arglist = NULL; /* initialized it to avoid compiler warnings */
1244  if (!locStringContext || locStringContext->available >= 0) {
1245  /* get the parsed list of argument types */
1246  arglist = parseArguments(orgAlias, ap, &status);
1247 
1248  /* Return error if parsing failed. */
1249  if (U_FAILURE(status)) {
1250  return -1;
1251  }
1252  }
1253 
1254  /* iterate through the pattern */
1255  while(!locStringContext || locStringContext->available >= 0) {
1256 
1257  /* find the next '%' */
1258  lastAlias = alias;
1259  while(*alias != UP_PERCENT && *alias != 0x0000) {
1260  alias++;
1261  }
1262 
1263  /* write any characters before the '%' */
1264  if(alias > lastAlias) {
1265  *written += (streamHandler->write)(context, lastAlias, (int32_t)(alias - lastAlias));
1266  }
1267 
1268  /* break if at end of string */
1269  if(*alias == 0x0000) {
1270  break;
1271  }
1272 
1273  /* initialize spec to default values */
1274  spec.fWidthPos = -1;
1275  spec.fPrecisionPos = -1;
1276  spec.fArgPos = -1;
1277 
1278  uprv_memset(info, 0, sizeof(*info));
1279  info->fPrecision = -1;
1280  info->fWidth = -1;
1281  info->fPadChar = 0x0020;
1282 
1283  /* skip over the initial '%' */
1284  alias++;
1285 
1286  /* Check for positional argument */
1287  if(ISDIGIT(*alias)) {
1288 
1289  /* Save the current position */
1290  backup = alias;
1291 
1292  /* handle positional parameters */
1293  if(ISDIGIT(*alias)) {
1294  spec.fArgPos = (int) (*alias++ - DIGIT_ZERO);
1295 
1296  while(ISDIGIT(*alias)) {
1297  spec.fArgPos *= 10;
1298  spec.fArgPos += (int) (*alias++ - DIGIT_ZERO);
1299  }
1300  }
1301 
1302  /* if there is no '$', don't read anything */
1303  if(*alias != SPEC_DOLLARSIGN) {
1304  spec.fArgPos = -1;
1305  alias = backup;
1306  }
1307  /* munge the '$' */
1308  else
1309  alias++;
1310  }
1311 
1312  /* Get any format flags */
1313  while(ISFLAG(*alias)) {
1314  switch(*alias++) {
1315 
1316  /* left justify */
1317  case FLAG_MINUS:
1318  info->fLeft = TRUE;
1319  break;
1320 
1321  /* always show sign */
1322  case FLAG_PLUS:
1323  info->fShowSign = TRUE;
1324  break;
1325 
1326  /* use space if no sign present */
1327  case FLAG_SPACE:
1328  info->fShowSign = TRUE;
1329  info->fSpace = TRUE;
1330  break;
1331 
1332  /* use alternate form */
1333  case FLAG_POUND:
1334  info->fAlt = TRUE;
1335  break;
1336 
1337  /* pad with leading zeroes */
1338  case FLAG_ZERO:
1339  info->fZero = TRUE;
1340  info->fPadChar = 0x0030;
1341  break;
1342 
1343  /* pad character specified */
1344  case FLAG_PAREN:
1345 
1346  /* TODO test that all four are numbers */
1347  /* first four characters are hex values for pad char */
1348  info->fPadChar = (UChar)ufmt_digitvalue(*alias++);
1349  info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1350  info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1351  info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1352 
1353  /* final character is ignored */
1354  alias++;
1355 
1356  break;
1357  }
1358  }
1359 
1360  /* Get the width */
1361 
1362  /* width is specified out of line */
1363  if(*alias == SPEC_ASTERISK) {
1364 
1365  info->fWidth = -2;
1366 
1367  /* Skip the '*' */
1368  alias++;
1369 
1370  /* Save the current position */
1371  backup = alias;
1372 
1373  /* handle positional parameters */
1374  if(ISDIGIT(*alias)) {
1375  spec.fWidthPos = (int) (*alias++ - DIGIT_ZERO);
1376 
1377  while(ISDIGIT(*alias)) {
1378  spec.fWidthPos *= 10;
1379  spec.fWidthPos += (int) (*alias++ - DIGIT_ZERO);
1380  }
1381  }
1382 
1383  /* if there is no '$', don't read anything */
1384  if(*alias != SPEC_DOLLARSIGN) {
1385  spec.fWidthPos = -1;
1386  alias = backup;
1387  }
1388  /* munge the '$' */
1389  else
1390  alias++;
1391  }
1392  /* read the width, if present */
1393  else if(ISDIGIT(*alias)){
1394  info->fWidth = (int) (*alias++ - DIGIT_ZERO);
1395 
1396  while(ISDIGIT(*alias)) {
1397  info->fWidth *= 10;
1398  info->fWidth += (int) (*alias++ - DIGIT_ZERO);
1399  }
1400  }
1401 
1402  /* Get the precision */
1403 
1404  if(*alias == SPEC_PERIOD) {
1405 
1406  /* eat up the '.' */
1407  alias++;
1408 
1409  /* precision is specified out of line */
1410  if(*alias == SPEC_ASTERISK) {
1411 
1412  info->fPrecision = -2;
1413 
1414  /* Skip the '*' */
1415  alias++;
1416 
1417  /* save the current position */
1418  backup = alias;
1419 
1420  /* handle positional parameters */
1421  if(ISDIGIT(*alias)) {
1422  spec.fPrecisionPos = (int) (*alias++ - DIGIT_ZERO);
1423 
1424  while(ISDIGIT(*alias)) {
1425  spec.fPrecisionPos *= 10;
1426  spec.fPrecisionPos += (int) (*alias++ - DIGIT_ZERO);
1427  }
1428 
1429  /* if there is no '$', don't read anything */
1430  if(*alias != SPEC_DOLLARSIGN) {
1431  spec.fPrecisionPos = -1;
1432  alias = backup;
1433  }
1434  else {
1435  /* munge the '$' */
1436  alias++;
1437  }
1438  }
1439  }
1440  /* read the precision */
1441  else if(ISDIGIT(*alias)){
1442  info->fPrecision = (int) (*alias++ - DIGIT_ZERO);
1443 
1444  while(ISDIGIT(*alias)) {
1445  info->fPrecision *= 10;
1446  info->fPrecision += (int) (*alias++ - DIGIT_ZERO);
1447  }
1448  }
1449  }
1450 
1451  /* Get any modifiers */
1452  if(ISMOD(*alias)) {
1453  switch(*alias++) {
1454 
1455  /* short */
1456  case MOD_H:
1457  info->fIsShort = TRUE;
1458  break;
1459 
1460  /* long or long long */
1461  case MOD_LOWERL:
1462  if(*alias == MOD_LOWERL) {
1463  info->fIsLongLong = TRUE;
1464  /* skip over the next 'l' */
1465  alias++;
1466  }
1467  else
1468  info->fIsLong = TRUE;
1469  break;
1470 
1471  /* long double */
1472  case MOD_L:
1473  info->fIsLongDouble = TRUE;
1474  break;
1475  }
1476  }
1477 
1478  /* finally, get the specifier letter */
1479  info->fSpec = *alias++;
1480  info->fOrigSpec = info->fSpec;
1481 
1482  /* fill in the precision and width, if specified out of line */
1483 
1484  /* width specified out of line */
1485  if(spec.fInfo.fWidth == -2) {
1486  if(spec.fWidthPos == -1) {
1487  /* read the width from the argument list */
1488  info->fWidth = va_arg(ap, int32_t);
1489  }
1490  /* else handle positional parameter */
1491 
1492  /* if it's negative, take the absolute value and set left alignment */
1493  if(info->fWidth < 0) {
1494  info->fWidth *= -1; /* Make positive */
1495  info->fLeft = TRUE;
1496  }
1497  }
1498 
1499  /* precision specified out of line */
1500  if(info->fPrecision == -2) {
1501  if(spec.fPrecisionPos == -1) {
1502  /* read the precision from the argument list */
1503  info->fPrecision = va_arg(ap, int32_t);
1504  }
1505  /* else handle positional parameter */
1506 
1507  /* if it's negative, set it to zero */
1508  if(info->fPrecision < 0)
1509  info->fPrecision = 0;
1510  }
1511 
1512  handlerNum = (uint16_t)(info->fSpec - UPRINTF_BASE_FMT_HANDLERS);
1513  if (handlerNum < UPRINTF_NUM_FMT_HANDLERS) {
1514  /* query the info function for argument information */
1515  argType = g_u_printf_infos[ handlerNum ].info;
1516 
1517  /* goto the correct argument on arg_list if position is specified */
1518  if (spec.fArgPos > 0) {
1519  /* offset position by 1 */
1520  spec.fArgPos--;
1521  switch(argType) {
1522  case ufmt_count:
1523  /* set the spec's width to the # of chars written */
1524  info->fWidth = *written;
1525  /* fall through to set the pointer */
1526  U_FALLTHROUGH;
1527  case ufmt_string:
1528  case ufmt_ustring:
1529  case ufmt_pointer:
1530  args.ptrValue = arglist[spec.fArgPos].ptrValue;
1531  break;
1532  case ufmt_char:
1533  case ufmt_uchar:
1534  case ufmt_int:
1535  args.int64Value = arglist[spec.fArgPos].int64Value;
1536  break;
1537  case ufmt_float:
1538  args.floatValue = arglist[spec.fArgPos].floatValue;
1539  break;
1540  case ufmt_double:
1541  args.doubleValue = arglist[spec.fArgPos].doubleValue;
1542  break;
1543  default:
1544  /* else args is ignored */
1545  args.ptrValue = NULL;
1546  break;
1547  }
1548  } else { /* no positional argument specified */
1549  switch(argType) {
1550  case ufmt_count:
1551  /* set the spec's width to the # of chars written */
1552  info->fWidth = *written;
1553  /* fall through to set the pointer */
1554  U_FALLTHROUGH;
1555  case ufmt_string:
1556  case ufmt_ustring:
1557  case ufmt_pointer:
1558  args.ptrValue = va_arg(ap, void*);
1559  break;
1560  case ufmt_char:
1561  case ufmt_uchar:
1562  case ufmt_int:
1563  if (info->fIsLongLong) {
1564  args.int64Value = va_arg(ap, int64_t);
1565  }
1566  else {
1567  args.int64Value = va_arg(ap, int32_t);
1568  }
1569  break;
1570  case ufmt_float:
1571  args.floatValue = (float) va_arg(ap, double);
1572  break;
1573  case ufmt_double:
1574  args.doubleValue = va_arg(ap, double);
1575  break;
1576  default:
1577  /* else args is ignored */
1578  args.ptrValue = NULL;
1579  break;
1580  }
1581  }
1582 
1583  /* call the handler function */
1584  handler = g_u_printf_infos[ handlerNum ].handler;
1585  if(handler != 0) {
1586  *written += (*handler)(streamHandler, context, formatBundle, info, &args);
1587  }
1588  else {
1589  /* just echo unknown tags */
1590  *written += (streamHandler->write)(context, fmt, (int32_t)(alias - lastAlias));
1591  }
1592  }
1593  else {
1594  /* just echo unknown tags */
1595  *written += (streamHandler->write)(context, fmt, (int32_t)(alias - lastAlias));
1596  }
1597  }
1598  /* delete parsed argument list */
1599  if (arglist != NULL) {
1600  uprv_free(arglist);
1601  }
1602  /* return # of characters in this format that have been parsed. */
1603  return (int32_t)(alias - fmt);
1604 }
1605 
1606 #endif /* #if !UCONFIG_NO_FORMATTING */
return _Result< 0 ? -1 :_Result;} #line 1069 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnwprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1091 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, va_list _ArgList) { return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1108 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _ArgList) { return _vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1133 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1179 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1196 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __vswprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1212 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf(wchar_t *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1227 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1243 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1264 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1281 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1283 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1312 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1347 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_l(_Format,((void *) 0), _ArgList);} #line 1361 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1380 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1394 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __swprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1414 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1435 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf(wchar_t *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1454 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1474 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "__swprintf_l_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __swprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vswprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __vswprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "swprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swprintf(wchar_t *_Buffer, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vswprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vswprintf(wchar_t *_Buffer, wchar_t const *_Format, va_list _Args);__inline int __cdecl _swprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1511 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1532 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1534 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1562 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1582 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1603 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1623 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1646 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1668 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1711 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1737 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1755 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1774 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1792 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable:4141 6054) #pragma warning(pop) #line 1856 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" int __cdecl __stdio_common_vswscanf(unsigned __int64 _Options, wchar_t const *_Buffer, size_t _BufferCount, wchar_t const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vswscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1897 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf(wchar_t const *_Buffer, wchar_t const *_Format, va_list _ArgList) { return _vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1947 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1949 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1976 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1995 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2015 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "swscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl swscanf(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2034 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2054 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 2077 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2100 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2122 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2143 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) typedef __int64 fpos_t;errno_t __cdecl _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count);errno_t __cdecl clearerr_s(FILE *_Stream);errno_t __cdecl fopen_s(FILE **_Stream, char const *_FileName, char const *_Mode);size_t __cdecl fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);errno_t __cdecl freopen_s(FILE **_Stream, char const *_FileName, char const *_Mode, FILE *_OldStream);char *__cdecl gets_s(char *_Buffer, rsize_t _Size);errno_t __cdecl tmpfile_s(FILE **_Stream);errno_t __cdecl tmpnam_s(char *_Buffer, rsize_t _Size);#line 145 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl clearerr(FILE *_Stream);int __cdecl fclose(FILE *_Stream);int __cdecl _fcloseall(void);FILE *__cdecl _fdopen(int _FileHandle, char const *_Mode);int __cdecl feof(FILE *_Stream);int __cdecl ferror(FILE *_Stream);int __cdecl fflush(FILE *_Stream);int __cdecl fgetc(FILE *_Stream);int __cdecl _fgetchar(void);int __cdecl fgetpos(FILE *_Stream, fpos_t *_Position);char *__cdecl fgets(char *_Buffer, int _MaxCount, FILE *_Stream);int __cdecl _fileno(FILE *_Stream);int __cdecl _flushall(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "fopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl fopen(char const *_FileName, char const *_Mode);int __cdecl fputc(int _Character, FILE *_Stream);int __cdecl _fputchar(int _Character);int __cdecl fputs(char const *_Buffer, FILE *_Stream);size_t __cdecl fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);__declspec(deprecated("This function or variable may be unsafe. Consider using " "freopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl freopen(char const *_FileName, char const *_Mode, FILE *_Stream);FILE *__cdecl _fsopen(char const *_FileName, char const *_Mode, int _ShFlag);int __cdecl fsetpos(FILE *_Stream, fpos_t const *_Position);int __cdecl fseek(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl ftell(FILE *_Stream);__int64 __cdecl _ftelli64(FILE *_Stream);size_t __cdecl fwrite(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl getc(FILE *_Stream);int __cdecl getchar(void);int __cdecl _getmaxstdio(void);int __cdecl _getw(FILE *_Stream);void __cdecl perror(char const *_ErrorMessage);int __cdecl _pclose(FILE *_Stream);FILE *__cdecl _popen(char const *_Command, char const *_Mode);#line 344 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl putc(int _Character, FILE *_Stream);int __cdecl putchar(int _Character);int __cdecl puts(char const *_Buffer);int __cdecl _putw(int _Word, FILE *_Stream);int __cdecl remove(char const *_FileName);int __cdecl rename(char const *_OldFileName, char const *_NewFileName);int __cdecl _unlink(char const *_FileName);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_unlink" ". See online help for details.")) int __cdecl unlink(char const *_FileName);#line 391 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl rewind(FILE *_Stream);int __cdecl _rmtmp(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "setvbuf" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) void __cdecl setbuf(FILE *_Stream, char *_Buffer);int __cdecl _setmaxstdio(int _Maximum);int __cdecl setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size);__declspec(allocator) char *__cdecl _tempnam(char const *_DirectoryName, char const *_FilePrefix);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpfile_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl tmpfile(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl tmpnam(char *_Buffer);int __cdecl ungetc(int _Character, FILE *_Stream);void __cdecl _lock_file(FILE *_Stream);void __cdecl _unlock_file(FILE *_Stream);int __cdecl _fclose_nolock(FILE *_Stream);int __cdecl _fflush_nolock(FILE *_Stream);int __cdecl _fgetc_nolock(FILE *_Stream);int __cdecl _fputc_nolock(int _Character, FILE *_Stream);size_t __cdecl _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);size_t __cdecl _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _fseek_nolock(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64_nolock(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl _ftell_nolock(FILE *_Stream);__int64 __cdecl _ftelli64_nolock(FILE *_Stream);size_t __cdecl _fwrite_nolock(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _getc_nolock(FILE *_Stream);int __cdecl _putc_nolock(int _Character, FILE *_Stream);int __cdecl _ungetc_nolock(int _Character, FILE *_Stream);int *__cdecl __p__commode(void);#line 596 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfprintf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_s(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_p(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vfprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 648 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 662 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 677 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 693 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 695 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 710 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);} #line 724 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 738 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf(char const *const _Format, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 751 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 765 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf_s(char const *const _Format, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 780 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 796 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p(char const *const _Format, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 809 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 828 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 846 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl _set_printf_count_output(int _Value);int __cdecl _get_printf_count_output(void);__inline int __cdecl _fprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 871 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 891 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 893 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 948 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 965 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 983 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1002 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1004 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1022 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1039 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfscanf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _Arglist);__inline int __cdecl _vfscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options()), _Stream, _Format, _Locale, _ArgList);} #line 1070 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1084 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Stream, _Format, _Locale, _ArgList);} #line 1101 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1118 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1120 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1134 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf(char const *const _Format, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1147 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1161 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf_s(char const *const _Format, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1176 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1178 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1197 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fscanf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1215 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1234 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fscanf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1254 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_scanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _scanf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1274 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "scanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl scanf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1291 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scanf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1309 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl scanf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1330 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsprintf(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsnprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, size_t _MaxCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_p(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1399 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1415 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);return _Result< 0 ? -1 :_Result;} #line 1446 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1462 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl vsprintf(char *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1477 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1498 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1516 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1526 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1547 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1563 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1585 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1602 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1630 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1641 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1659 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf(char const *const _Format, va_list _ArgList) { return _vscprintf_l(_Format,((void *) 0), _ArgList);} #line 1672 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p(char const *const _Format, va_list _ArgList) { return _vscprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1703 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1723 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1739 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1761 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf(char *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl sprintf(char *_Buffer, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl vsprintf(char *_Buffer, char const *_Format, va_list _Args);__inline int __cdecl _sprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1810 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1832 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1834 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1862 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1882 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1905 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1936 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1956 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _snprintf(char *_Buffer, size_t _BufferCount, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _vsnprintf(char *_Buffer, size_t _BufferCount, char const *_Format, va_list _Args);__inline int __cdecl _snprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1986 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2006 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2028 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2049 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2092 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2110 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p(_Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2127 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsscanf(unsigned __int64 _Options, char const *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vsscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2158 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsscanf(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2172 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2189 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __inline int __cdecl vsscanf_s(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2208 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) #line 2219 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2238 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl sscanf(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2275 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sscanf_s(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsscanf_s(_Buffer, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2297 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 2299 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2326 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2349 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2374 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2397 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_tempnam" ". See online help for details.")) char *__cdecl tempnam(char const *_Directory, char const *_FilePrefix);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcloseall" ". See online help for details.")) int __cdecl fcloseall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fdopen" ". See online help for details.")) FILE *__cdecl fdopen(int _FileHandle, char const *_Format);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fgetchar" ". See online help for details.")) int __cdecl fgetchar(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fileno" ". See online help for details.")) int __cdecl fileno(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_flushall" ". See online help for details.")) int __cdecl flushall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fputchar" ". See online help for details.")) int __cdecl fputchar(int _Ch);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_getw" ". See online help for details.")) int __cdecl getw(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putw" ". See online help for details.")) int __cdecl putw(int _Ch, FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_rmtmp" ". See online help for details.")) int __cdecl rmtmp(void);#line 2441 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h"__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma once#pragma once#pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int *__cdecl _errno(void);errno_t __cdecl _set_errno(int _Value);errno_t __cdecl _get_errno(int *_Value);unsigned long *__cdecl __doserrno(void);errno_t __cdecl _set_doserrno(unsigned long _Value);errno_t __cdecl _get_doserrno(unsigned long *_Value);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) void *__cdecl memchr(void const *_Buf, int _Val, size_t _MaxCount);int __cdecl memcmp(void const *_Buf1, void const *_Buf2, size_t _Size);void *__cdecl memcpy(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memmove(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memset(void *_Dst, int _Val, size_t _Size);char *__cdecl strchr(char const *_Str, int _Val);char *__cdecl strrchr(char const *_Str, int _Ch);char *__cdecl strstr(char const *_Str, char const *_SubStr);wchar_t *__cdecl wcschr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsrchr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsstr(wchar_t const *_Str, wchar_t const *_SubStr);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) static __inline errno_t __cdecl memcpy_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;if(_Source==((void *) 0)||_DestinationSize< _SourceSize) { memset(_Destination, 0, _DestinationSize);{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;return 22 ;} memcpy(_Destination, _Source, _SourceSize);return 0;} static __inline errno_t __cdecl memmove_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;memmove(_Destination, _Source, _SourceSize);return 0;}#pragma warning(pop) __pragma(pack(pop))#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int __cdecl _memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);int __cdecl _memicmp_l(void const *_Buf1, void const *_Buf2, size_t _Size, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memccpy" ". See online help for details.")) void *__cdecl memccpy(void *_Dst, void const *_Src, int _Val, size_t _Size);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memicmp" ". See online help for details.")) int __cdecl memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl wcscat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcscpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcsncat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);errno_t __cdecl wcsncpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);wchar_t *__cdecl wcstok_s(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);__declspec(allocator) wchar_t *__cdecl _wcsdup(wchar_t const *_String);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscat(wchar_t *_Destination, wchar_t const *_Source);int __cdecl wcscmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscpy(wchar_t *_Destination, wchar_t const *_Source);size_t __cdecl wcscspn(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcslen(wchar_t const *_String);size_t __cdecl wcsnlen(wchar_t const *_Source, size_t _MaxCount);static __inline size_t __cdecl wcsnlen_s(wchar_t const *_Source, size_t _MaxCount) { return(_Source==0) ? 0 :wcsnlen(_Source, _MaxCount);}__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncat(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);int __cdecl wcsncmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncpy(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);wchar_t *__cdecl wcspbrk(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcsspn(wchar_t const *_String, wchar_t const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcstok(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);#line 237 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) static __inline wchar_t *__cdecl _wcstok(wchar_t *const _String, wchar_t const *const _Delimiter) { return wcstok(_String, _Delimiter, 0);} __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcserror(int _ErrorNumber);errno_t __cdecl _wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, int _ErrorNumber);__declspec(deprecated("This function or variable may be unsafe. Consider using " "__wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl __wcserror(wchar_t const *_String);errno_t __cdecl __wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, wchar_t const *_ErrorMessage);int __cdecl _wcsicmp(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicmp_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicmp_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);errno_t __cdecl _wcsnset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);wchar_t *__cdecl _wcsrev(wchar_t *_String);errno_t __cdecl _wcsset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsset(wchar_t *_String, wchar_t _Value);errno_t __cdecl _wcslwr_s(wchar_t *_String, size_t _SizeInWords);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr(wchar_t *_String);errno_t __cdecl _wcslwr_s_l(wchar_t *_String, size_t _SizeInWords, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr_l(wchar_t *_String, _locale_t _Locale);errno_t __cdecl _wcsupr_s(wchar_t *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr(wchar_t *_String);errno_t __cdecl _wcsupr_s_l(wchar_t *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr_l(wchar_t *_String, _locale_t _Locale);size_t __cdecl wcsxfrm(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount);size_t __cdecl _wcsxfrm_l(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount, _locale_t _Locale);int __cdecl wcscoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcscoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsicoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsncoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsncoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _wcsnicoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsdup" ". See online help for details.")) wchar_t *__cdecl wcsdup(wchar_t const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicmp" ". See online help for details.")) int __cdecl wcsicmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnicmp" ". See online help for details.")) int __cdecl wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnset" ". See online help for details.")) wchar_t *__cdecl wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsrev" ". See online help for details.")) wchar_t *__cdecl wcsrev(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsset" ". See online help for details.")) wchar_t *__cdecl wcsset(wchar_t *_String, wchar_t _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcslwr" ". See online help for details.")) wchar_t *__cdecl wcslwr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsupr" ". See online help for details.")) wchar_t *__cdecl wcsupr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicoll" ". See online help for details.")) int __cdecl wcsicoll(wchar_t const *_String1, wchar_t const *_String2);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl strcpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strcat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strerror_s(char *_Buffer, size_t _SizeInBytes, int _ErrorNumber);errno_t __cdecl strncat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);errno_t __cdecl strncpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);char *__cdecl strtok_s(char *_String, char const *_Delimiter, char **_Context);void *__cdecl _memccpy(void *_Dst, void const *_Src, int _Val, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcat(char *_Destination, char const *_Source);int __cdecl strcmp(char const *_Str1, char const *_Str2);int __cdecl _strcmpi(char const *_String1, char const *_String2);int __cdecl strcoll(char const *_String1, char const *_String2);int __cdecl _strcoll_l(char const *_String1, char const *_String2, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcpy(char *_Destination, char const *_Source);size_t __cdecl strcspn(char const *_Str, char const *_Control);__declspec(allocator) char *__cdecl _strdup(char const *_Source);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strerror(char const *_ErrorMessage);errno_t __cdecl _strerror_s(char *_Buffer, size_t _SizeInBytes, char const *_ErrorMessage);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strerror(int _ErrorMessage);int __cdecl _stricmp(char const *_String1, char const *_String2);int __cdecl _stricoll(char const *_String1, char const *_String2);int __cdecl _stricoll_l(char const *_String1, char const *_String2, _locale_t _Locale);int __cdecl _stricmp_l(char const *_String1, char const *_String2, _locale_t _Locale);size_t __cdecl strlen(char const *_Str);errno_t __cdecl _strlwr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr(char *_String);errno_t __cdecl _strlwr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr_l(char *_String, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncat(char *_Destination, char const *_Source, size_t _Count);int __cdecl strncmp(char const *_Str1, char const *_Str2, size_t _MaxCount);int __cdecl _strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicmp_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strnicoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strncoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strncoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);size_t __cdecl __strncnt(char const *_String, size_t _Count);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncpy(char *_Destination, char const *_Source, size_t _Count);size_t __cdecl strnlen(char const *_String, size_t _MaxCount);static __inline size_t __cdecl strnlen_s(char const *_String, size_t _MaxCount) { return _String==0 ? 0 :strnlen(_String, _MaxCount);} errno_t __cdecl _strnset_s(char *_String, size_t _SizeInBytes, int _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strnset(char *_Destination, int _Value, size_t _Count);char *__cdecl strpbrk(char const *_Str, char const *_Control);char *__cdecl _strrev(char *_Str);errno_t __cdecl _strset_s(char *_Destination, size_t _DestinationSize, int _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strset(char *_Destination, int _Value);size_t __cdecl strspn(char const *_Str, char const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strtok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strtok(char *_String, char const *_Delimiter);errno_t __cdecl _strupr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr(char *_String);errno_t __cdecl _strupr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr_l(char *_String, _locale_t _Locale);size_t __cdecl strxfrm(char *_Destination, char const *_Source, size_t _MaxCount);size_t __cdecl _strxfrm_l(char *_Destination, char const *_Source, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strdup" ". See online help for details.")) char *__cdecl strdup(char const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strcmpi" ". See online help for details.")) int __cdecl strcmpi(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_stricmp" ". See online help for details.")) int __cdecl stricmp(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strlwr" ". See online help for details.")) char *__cdecl strlwr(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnicmp" ". See online help for details.")) int __cdecl strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnset" ". See online help for details.")) char *__cdecl strnset(char *_String, int _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strrev" ". See online help for details.")) char *__cdecl strrev(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strset" ". See online help for details.")) char *__cdecl strset(char *_String, int _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strupr" ". See online help for details.")) char *__cdecl strupr(char *_String);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) __pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) typedef unsigned short _ino_t;typedef _ino_t ino_t;#line 24 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef unsigned int _dev_t;typedef _dev_t dev_t;#line 36 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef long _off_t;typedef _off_t off_t;#line 48 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h"#pragma warning(pop) typedef char *sds;#pragma pack(push, 1) struct sdshdr5 { unsigned char flags;char buf[];};struct sdshdr8 { uint8_t len;uint8_t alloc;unsigned char flags;char buf[];};struct sdshdr16 { uint16_t len;uint16_t alloc;unsigned char flags;char buf[];};struct sdshdr32 { uint32_t len;uint32_t alloc;unsigned char flags;char buf[];};struct sdshdr64 { uint64_t len;uint64_t alloc;unsigned char flags;char buf[];};#pragma pack(pop) static inline size_t sdslen(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :return((flags) >> 3) ;case 1 :return((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len;case 2 :return((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len;case 3 :return((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) ->len;case 4 :return((struct sdshdr64 *)((s) -(sizeof(struct sdshdr64)))) ->len;} return 0;}static inline size_t sdsavail(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ return 0;} case 1 :{ struct sdshdr8 *sh=(void *)((s) -(sizeof(struct sdshdr8)));;return sh->alloc - sh->len;} case 2 :{ struct sdshdr16 *sh=(void *)((s) -(sizeof(struct sdshdr16)));;return sh->alloc - sh->len;} case 3 :{ struct sdshdr32 *sh=(void *)((s) -(sizeof(struct sdshdr32)));;return sh->alloc - sh->len;} case 4 :{ struct sdshdr64 *sh=(void *)((s) -(sizeof(struct sdshdr64)));;return sh->alloc - sh->len;} } return 0;}static inline void sdssetlen(sds s, size_t newlen) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ unsigned char *fp=((unsigned char *) s) - 1;*fp=0|(newlen<< 3);} break;case 1 :((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len=(uint8_t) newlen;break;case 2 :((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len=(uint16_t) newlen;break;case 3 :((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) -> len
Definition: CPAL.d:15583
#define type(a)
Definition: aptex-macros.h:171
#define count(a)
Definition: aptex-macros.h:781
#define UPRV_LENGTHOF(array)
Definition: cmemory.h:50
#define uprv_memset(buffer, mark, size)
Definition: cmemory.h:51
#define ap
@ FALSE
Definition: dd.h:101
@ TRUE
Definition: dd.h:102
#define PERCENT
Definition: dt_impl.h:36
#define info
Definition: dviinfo.c:42
static void
Definition: fpif.c:118
#define s
Definition: afcover.h:80
#define memmove(d, s, n)
Definition: gsftopk.c:65
#define memcpy(d, s, n)
Definition: gsftopk.c:64
unsigned char UChar
Definition: bzip2.c:163
#define NULL
Definition: ftobjs.h:61
unsigned short uint16_t
Definition: stdint.h:79
#define UINT16_MAX
Definition: stdint.h:141
signed __int64 int64_t
Definition: stdint.h:89
signed int int32_t
Definition: stdint.h:77
#define UINT32_MAX
Definition: stdint.h:142
int num
Definition: disdvi.c:621
const char * alias
Definition: nkf.c:1121
char args[100]
Definition: fixwrites.c:7
#define U_EXPORT2
Definition: platform.h:844
#define U_FALLTHROUGH
Definition: platform.h:562
const int * pos
Definition: combiners.h:905
static int format
Definition: pbmclean.c:15
static int size
Definition: ppmlabel.c:24
#define status
C API: Unicode string handling functions.
#define int32_t
Definition: stdint.in.h:167
#define uint16_t
Definition: stdint.in.h:161
#define int16_t
Definition: stdint.in.h:160
char * fLocale
Definition: locbund.h:33
Definition: usprintf.c:39
Definition: utils.c:300
u_printf_handler * handler
Definition: uprntf_p.cpp:96
ufmt_type_info info
Definition: uprntf_p.cpp:95
int32_t fWidth
Definition: uprintf.h:37
int32_t fPrecision
Definition: uprintf.h:36
int32_t fPrecisionPos
Definition: uprntf_p.cpp:105
int32_t fWidthPos
Definition: uprntf_p.cpp:104
u_printf_spec_info fInfo
Definition: uprntf_p.cpp:103
int32_t fArgPos
Definition: uprntf_p.cpp:106
u_printf_pad_and_justify_stream * pad_and_justify
Definition: uprintf.h:68
u_printf_write_stream * write
Definition: uprintf.h:67
*job_name strlen((char *) job_name) - 4)
char fmt[256]
Definition: tex4ht.c:3925
return() int(((double) *(font_tbl[cur_fnt].wtbl+(int)(*(font_tbl[cur_fnt].char_wi+(int)(ch - font_tbl[cur_fnt].char_f)% 256)))/(double)(1L<< 20)) *(double) font_tbl[cur_fnt].scale)
void ufmt_64tou(UChar *buffer, int32_t *len, uint64_t value, uint8_t radix, UBool uselower, int32_t minDigits)
Definition: ufmt_cmn.cpp:68
int ufmt_digitvalue(UChar c)
Definition: ufmt_cmn.cpp:41
void ufmt_ptou(UChar *buffer, int32_t *len, void *value, UBool uselower)
Definition: ufmt_cmn.cpp:105
UChar * ufmt_defaultCPToUnicode(const char *s, int32_t sSize, UChar *target, int32_t tSize)
Definition: ufmt_cmn.cpp:227
ufmt_type_info
Definition: ufmt_cmn.h:35
@ ufmt_float
Definition: ufmt_cmn.h:43
@ ufmt_double
Definition: ufmt_cmn.h:44
@ ufmt_pointer
Definition: ufmt_cmn.h:42
@ ufmt_int
Definition: ufmt_cmn.h:39
@ ufmt_ustring
Definition: ufmt_cmn.h:46
@ ufmt_char
Definition: ufmt_cmn.h:40
@ ufmt_count
Definition: ufmt_cmn.h:38
@ ufmt_uchar
Definition: ufmt_cmn.h:45
@ ufmt_string
Definition: ufmt_cmn.h:41
@ ufmt_empty
Definition: ufmt_cmn.h:36
#define MAX_UCHAR_BUFFER_NEEDED(strLen)
Definition: ufmt_cmn.h:30
#define UFMT_DEFAULT_BUFFER_SIZE
Definition: ufmt_cmn.h:28
#define MAX_UCHAR_BUFFER_SIZE(buffer)
Definition: ufmt_cmn.h:29
int8_t UBool
Definition: umachine.h:269
#define U_CFUNC
Definition: umachine.h:84
int64_t int64Value
Definition: ufmt_cmn.h:57
float floatValue
Definition: ufmt_cmn.h:58
double doubleValue
Definition: ufmt_cmn.h:59
void * ptrValue
Definition: ufmt_cmn.h:60
@ UNUM_MAX_FRACTION_DIGITS
Definition: unum.h:1008
@ UNUM_SIGNIFICANT_DIGITS_USED
Definition: unum.h:1029
@ UNUM_MIN_FRACTION_DIGITS
Definition: unum.h:1010
@ UNUM_MAX_SIGNIFICANT_DIGITS
Definition: unum.h:1035
@ UNUM_FRACTION_DIGITS
Definition: unum.h:1012
@ UNUM_MIN_INTEGER_DIGITS
Definition: unum.h:1004
@ UNUM_SCIENTIFIC
Definition: unum.h:178
@ UNUM_SPELLOUT
Definition: unum.h:185
@ UNUM_PERCENT
Definition: unum.h:173
@ UNUM_DECIMAL
Definition: unum.h:159
@ UNUM_EXPONENTIAL_SYMBOL
Definition: unum.h:1351
@ UNUM_PLUS_SIGN_SYMBOL
Definition: unum.h:1343
@ UNUM_POSITIVE_PREFIX
Definition: unum.h:1220
void * UNumberFormat
Definition: unum.h:144
#define UP_PERCENT
Definition: uprintf.h:80
static int32_t u_printf_spellout_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:884
static int32_t u_printf_ustring_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:756
static int32_t u_printf_pointer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:544
#define UFMT_EMPTY
Definition: uprntf_p.cpp:74
#define FLAG_MINUS
Definition: uprntf_p.cpp:1009
#define FLAG_POUND
Definition: uprntf_p.cpp:1012
#define UFMT_SCIENTIFIC
Definition: uprntf_p.cpp:53
static ufmt_args * parseArguments(const UChar *alias, va_list ap, UErrorCode *status)
Definition: uprntf_p.cpp:1061
static int32_t u_printf_simple_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:181
#define SPEC_ASTERISK
Definition: uprntf_p.cpp:1024
#define MOD_H
Definition: uprntf_p.cpp:1053
static int32_t u_printf_double_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:278
static const u_printf_info g_u_printf_infos[108]
Definition: uprntf_p.cpp:962
int32_t u_printf_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:87
#define UFMT_SPELLOUT
Definition: uprntf_p.cpp:65
#define UPRINTF_SYMBOL_BUFFER_SIZE
Definition: uprntf_p.cpp:116
static const UChar gNullStr[]
Definition: uprntf_p.cpp:118
#define UFMT_SCIDBL
Definition: uprntf_p.cpp:55
#define UFMT_SIMPLE_PERCENT
Definition: uprntf_p.cpp:37
struct u_printf_spec u_printf_spec
#define UFMT_PERCENT
Definition: uprntf_p.cpp:67
#define UFMT_OCTAL
Definition: uprntf_p.cpp:47
static int32_t u_printf_char_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:249
static int32_t u_printf_scientific_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:561
#define ISMOD(s)
Definition: uprntf_p.cpp:1057
static int32_t u_printf_octal_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:456
#define SPEC_DOLLARSIGN
Definition: uprntf_p.cpp:1025
#define FLAG_ZERO
Definition: uprntf_p.cpp:1013
#define ISDIGIT(s)
Definition: uprntf_p.cpp:1041
#define DIGIT_ZERO
Definition: uprntf_p.cpp:1030
#define UFMT_INT
Definition: uprntf_p.cpp:43
#define MOD_L
Definition: uprntf_p.cpp:1055
#define SPEC_PERIOD
Definition: uprntf_p.cpp:1026
#define UPRINTF_BASE_FMT_HANDLERS
Definition: uprntf_p.cpp:112
static int32_t u_printf_integer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:354
static int32_t u_printf_uchar_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:785
#define UFMT_CHAR
Definition: uprntf_p.cpp:41
#define MOD_LOWERL
Definition: uprntf_p.cpp:1054
#define UFMT_UINT
Definition: uprntf_p.cpp:45
#define UFMT_COUNT
Definition: uprntf_p.cpp:57
#define UFMT_USTRING
Definition: uprntf_p.cpp:71
#define UPRINTF_BUFFER_SIZE
Definition: uprntf_p.cpp:115
#define UFMT_DOUBLE
Definition: uprntf_p.cpp:51
static int32_t u_printf_string_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:198
static void u_printf_set_sign(UNumberFormat *format, const u_printf_spec_info *info, UChar *prefixBuffer, int32_t *prefixBufLen, UErrorCode *status)
Definition: uprntf_p.cpp:124
static int32_t u_printf_hex_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:420
#define UFMT_HEX
Definition: uprntf_p.cpp:49
#define FLAG_SPACE
Definition: uprntf_p.cpp:1011
static void u_printf_reset_sign(UNumberFormat *format, const u_printf_spec_info *info, UChar *prefixBuffer, int32_t *prefixBufLen, UErrorCode *status)
Definition: uprntf_p.cpp:163
static int32_t u_printf_uinteger_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:491
#define UFMT_POINTER
Definition: uprntf_p.cpp:63
static int32_t u_printf_scidbl_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:806
static int32_t u_printf_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:681
#define FLAG_PAREN
Definition: uprntf_p.cpp:1014
static const UChar gSpaceStr[]
Definition: uprntf_p.cpp:119
#define UFMT_UCHAR
Definition: uprntf_p.cpp:69
#define FLAG_PLUS
Definition: uprntf_p.cpp:1010
#define ISFLAG(s)
Definition: uprntf_p.cpp:1016
#define UPRINTF_NUM_FMT_HANDLERS
Definition: uprntf_p.cpp:109
struct u_printf_info u_printf_info
static int32_t u_printf_count_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args)
Definition: uprntf_p.cpp:865
#define UFMT_STRING
Definition: uprntf_p.cpp:39
#define unum_formatInt64
Definition: urename.h:1220
#define unum_setAttribute
Definition: urename.h:1236
#define u_locbund_getNumberFormat
Definition: urename.h:319
#define u_printf_parse
Definition: urename.h:334
#define unum_formatDouble
Definition: urename.h:1217
#define unum_getTextAttribute
Definition: urename.h:1228
#define unum_getAttribute
Definition: urename.h:1222
#define u_strToUpper
Definition: urename.h:373
#define unum_setSymbol
Definition: urename.h:1239
#define uprv_malloc
Definition: urename.h:1435
#define uprv_free
Definition: urename.h:1414
#define uprv_pow10
Definition: urename.h:1446
#define uprv_trunc
Definition: urename.h:1459
#define unum_getSymbol
Definition: urename.h:1227
#define u_strlen
Definition: urename.h:384
#define unum_setTextAttribute
Definition: urename.h:1240
#define u_strToLower
Definition: urename.h:366
C API: 16-bit Unicode handling macros.
#define U16_MAX_LENGTH
Definition: utf16.h:148
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Definition: utypes.h:431
@ U_MEMORY_ALLOCATION_ERROR
Definition: utypes.h:473
@ U_ZERO_ERROR
Definition: utypes.h:465
#define U_FAILURE(x)
Definition: utypes.h:735
#define va_arg(pvar, type)
Definition: varargs.h:35
char * va_list
Definition: varargs.h:22