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)  

utils.c
Go to the documentation of this file.
1 /*
2 Copyright 1996-2017 Han The Thanh, <thanh@pdftex.org>
3 
4 This file is part of pdfTeX.
5 
6 pdfTeX is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10 
11 pdfTeX is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License along
17 with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #include <w2c/config.h> /* for large file support */
21 #include <sys/types.h>
22 #include <regex.h>
23 #include <kpathsea/config.h>
24 #include <kpathsea/c-proto.h>
25 #include <kpathsea/c-stat.h>
26 #include <kpathsea/c-fopen.h>
27 #include <kpathsea/version.h>
28 #include <string.h>
29 #include <time.h>
30 #include <float.h> /* for DBL_EPSILON */
31 #include "md5.h"
32 #include <zlib.h>
33 #include "ptexlib.h"
34 #include <png.h>
35 #ifdef POPPLER_VERSION
36 /* POPPLER_VERSION should be a proper version string */
37 #define xpdfVersion POPPLER_VERSION
38 #define xpdfString "poppler"
39 #else
40 #include <xpdf/config.h> /* just to get the xpdf version */
41 #define xpdfString "xpdf"
42 #endif
43 
44 #define check_nprintf(size_get, size_want) \
45  if ((unsigned)(size_get) >= (unsigned)(size_want)) \
46  pdftex_fail ("snprintf failed: file %s, line %d", __FILE__, __LINE__);
47 
51 static char *jobname_cstr = NULL;
52 static char *job_id_string = NULL;
53 
54 size_t last_ptr_index; /* for use with alloc_array */
55 
56 /* define fb_ptr, fb_array & fb_limit */
57 typedef char fb_entry;
59 
60 /* define char_ptr, char_array & char_limit */
61 typedef char char_entry;
63 
64 /* define vf_e_fnts_ptr, vf_e_fnts_array & vf_e_fnts_limit */
66 define_array(vf_e_fnts);
67 
68 /* define vf_i_fnts_ptr, vf_i_fnts_array & vf_i_fnts_limit */
69 typedef internalfontnumber vf_i_fnts_entry;
70 define_array(vf_i_fnts);
71 
73 {
74  return fb_ptr - fb_array;
75 }
76 
78 {
80 }
81 
83 {
85  *fb_ptr++ = b;
86 }
87 
88 void fb_flush(void)
89 {
90  fb_entry *p;
91  integer n;
92  for (p = fb_array; p < fb_ptr;) {
93  n = pdfbufsize - pdfptr;
94  if (fb_ptr - p < n)
95  n = fb_ptr - p;
96  memcpy(pdfbuf + pdfptr, p, (unsigned) n);
97  pdfptr += n;
98  if (pdfptr == pdfbufsize)
99  pdfflush();
100  p += n;
101  }
102  fb_ptr = fb_array;
103 }
104 
105 #define SUBSET_TAG_LENGTH 6
106 
108 {
109  int i, j = 0, a[SUBSET_TAG_LENGTH];
110  md5_state_t pms;
111  char *glyph;
112  struct avl_traverser t;
113  md5_byte_t digest[16];
114  void **aa;
115  static struct avl_table *st_tree = NULL;
116  if (st_tree == NULL)
118  assert(fd != NULL);
119  assert(fd->gl_tree != NULL);
120  assert(fd->fontname != NULL);
121  assert(fd->subset_tag == NULL);
122  fd->subset_tag = xtalloc(SUBSET_TAG_LENGTH + 1, char);
123  do {
124  md5_init(&pms);
125  avl_t_init(&t, fd->gl_tree);
126  for (glyph = (char *) avl_t_first(&t, fd->gl_tree); glyph != NULL;
127  glyph = (char *) avl_t_next(&t)) {
128  md5_append(&pms, (md5_byte_t *) glyph, strlen(glyph));
129  md5_append(&pms, (const md5_byte_t *) " ", 1);
130  }
131  md5_append(&pms, (md5_byte_t *) fd->fontname, strlen(fd->fontname));
132  md5_append(&pms, (md5_byte_t *) & j, sizeof(int)); /* to resolve collision */
133  md5_finish(&pms, digest);
134  for (a[0] = 0, i = 0; i < 13; i++)
135  a[0] += digest[i];
136  for (i = 1; i < SUBSET_TAG_LENGTH; i++)
137  a[i] = a[i - 1] - digest[i - 1] + digest[(i + 12) % 16];
138  for (i = 0; i < SUBSET_TAG_LENGTH; i++)
139  fd->subset_tag[i] = a[i] % 26 + 'A';
140  fd->subset_tag[SUBSET_TAG_LENGTH] = '\0';
141  j++;
142  assert(j < 100);
143  }
144  while ((char *) avl_find(st_tree, fd->subset_tag) != NULL);
145  aa = avl_probe(st_tree, fd->subset_tag);
146  assert(aa != NULL);
147  if (j > 2)
149  ("\nmake_subset_tag(): subset-tag collision, resolved in round %d.\n",
150  j);
151 }
152 
153 void pdf_puts(const char *s)
154 {
155  pdfroom(strlen(s) + 1);
156  while (*s)
157  pdfbuf[pdfptr++] = *s++;
158  pdflastbyte = s[-1];
159 }
160 
161 void pdf_newline(void)
162 {
163  if (pdflastbyte != '\n')
164  pdf_puts("\n");
165 }
166 
167 __attribute__ ((format(printf, 1, 2)))
169 {
170  va_list args;
171  va_start(args, fmt);
174  va_end(args);
175 }
176 
178 {
179  size_t l;
180  if (s == NULL || *s == 0)
181  return getnullstr();
182  l = strlen(s);
184  while (l-- > 0)
185  strpool[poolptr++] = *s++;
186  last_tex_string = makestring();
187  return last_tex_string;
188 }
189 
190 __attribute__ ((format(printf, 1, 2)))
192 {
193  va_list args;
194  va_start(args, fmt);
197  flushstr(last_tex_string);
198  xfflush(stdout);
199  va_end(args);
200 }
201 
202 /* Helper for pdftex_fail. */
203 static void safe_print(const char *str)
204 {
205  const char *c;
206  for (c = str; *c; ++c)
207  print(*c);
208 }
209 
210 void removepdffile(void)
211 {
212  if (!kpathsea_debug && outputfilename && !fixedpdfdraftmode) {
213  xfclose(pdffile, makecstring(outputfilename));
214  remove(makecstring(outputfilename));
215  }
216 }
217 
218 /* pdftex_fail may be called when a buffer overflow has happened/is
219  happening, therefore may not call mktexstring. However, with the
220  current implementation it appears that error messages are misleading,
221  possibly because pool overflows are detected too late.
222 
223  The output format of this fuction must be the same as pdf_error in
224  pdftex.web! */
225 __attribute__ ((noreturn, format(printf, 1, 2)))
227 {
228  va_list args;
229  va_start(args, fmt);
230  println();
231  safe_print("!pdfTeX error: ");
233  if (cur_file_name) {
234  safe_print(" (file ");
236  safe_print(")");
237  }
238  safe_print(": ");
241  va_end(args);
242  println();
243  removepdffile();
244  safe_print(" ==> Fatal error occurred, no output PDF file produced!");
245  println();
246  if (kpathsea_debug) {
247  safe_print("kpathsea_debug enabled, calling abort()...");
248  println();
249  abort();
250  } else {
252  }
253 }
254 
255 /* The output format of this fuction must be the same as pdf_warn in
256  pdftex.web! */
257 __attribute__ ((format(printf, 1, 2)))
259 {
260  va_list args;
261  va_start(args, fmt);
262  println();
263  println();
264  tex_printf("pdfTeX warning: %s", kpse_invocation_name);
265  if (cur_file_name)
266  tex_printf(" (file %s)", cur_file_name);
267  tex_printf(": ");
270  flushstr(last_tex_string);
271  va_end(args);
272  println();
273 }
274 
275 void garbagewarning(void)
276 {
277  pdftex_warn("dangling objects discarded, no output file produced.");
278  removepdffile();
279 }
280 
281 void setjobid(int year, int month, int day, int time)
282 {
283  char *name_string, *format_string, *s;
284  size_t slen;
285  int i;
286 
287  if (job_id_string != NULL)
288  return;
289 
290  name_string = xstrdup(makecstring(jobname));
291  format_string = xstrdup(makecstring(formatident));
292  slen = SMALL_BUF_SIZE +
293  strlen(name_string) +
294  strlen(format_string) +
295  strlen(ptexbanner) +
297  s = xtalloc(slen, char);
298  /* The Web2c version string starts with a space. */
299  i = snprintf(s, slen,
300  "%.4d/%.2d/%.2d %.2d:%.2d %s %s %s%s %s",
301  year, month, day, time / 60, time % 60,
302  name_string, format_string, ptexbanner,
304  check_nprintf(i, slen);
306  xfree(s);
307  xfree(name_string);
308  xfree(format_string);
309 }
310 
312 {
313  static boolean pdftexbanner_init = false;
314  char *s;
315  size_t slen;
316  int i;
317 
318  if (pdftexbanner_init)
319  return;
320 
321  slen = SMALL_BUF_SIZE +
322  strlen(ptexbanner) +
324  s = xtalloc(slen, char);
325  /* The Web2c version string starts with a space. */
326  i = snprintf(s, slen,
328  check_nprintf(i, slen);
329  pdftexbanner = maketexstring(s);
330  xfree(s);
331  pdftexbanner_init = true;
332 }
333 
335 {
336 /* static char name_str[] = */
337 /* "!\"$&'*+,-.0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\\" */
338 /* "^_`abcdefghijklmnopqrstuvwxyz|~"; */
339  static char name_str[] =
340  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
341  char prefix[7]; /* make a tag of 6 chars long */
342  unsigned long crc;
343  int i;
344  size_t base = strlen(name_str);
345  crc = crc32(0L, Z_NULL, 0);
347  for (i = 0; i < 6; i++) {
348  prefix[i] = name_str[crc % base];
349  crc /= base;
350  }
351  prefix[6] = 0;
352  return maketexstring(prefix);
353 }
354 
355 size_t xfwrite(void *ptr, size_t size, size_t nmemb, FILE * stream)
356 {
357  if (fwrite(ptr, size, nmemb, stream) != nmemb)
358  pdftex_fail("fwrite() failed");
359  return nmemb;
360 }
361 
363 {
364  if (fflush(stream) != 0)
365  pdftex_fail("fflush() failed (%s)", strerror(errno));
366  return 0;
367 }
368 
370 {
371  int c = getc(stream);
372  if (c < 0 && c != EOF)
373  pdftex_fail("getc() failed (%s)", strerror(errno));
374  return c;
375 }
376 
377 int xputc(int c, FILE * stream)
378 {
379  int i = putc(c, stream);
380  if (i < 0)
381  pdftex_fail("putc() failed (%s)", strerror(errno));
382  return i;
383 }
384 
386 {
387  if (jobname_cstr == NULL)
388  jobname_cstr = xstrdup(makecstring(jobname));
389  if (fixedpdfdraftmode == 0) {
390  xfseeko(pdffile, (off_t) offset, SEEK_SET, jobname_cstr);
391  fprintf(pdffile, "%" LONGINTEGER_PRI "i", (LONGINTEGER_TYPE) length);
392  xfseeko(pdffile, (off_t) pdfoffset(), SEEK_SET, jobname_cstr);
393  }
394 }
395 
397 {
398  double r = (((double) x) * ((double) n)) / ((double) d);
399  if (r > DBL_EPSILON)
400  r += 0.5;
401  else
402  r -= 0.5;
403  if (r >= (double) maxinteger || r <= -(double) maxinteger)
404  pdftex_warn("arithmetic: number too big");
405  return (scaled) r;
406 }
407 
408 void libpdffinish(void)
409 {
410  xfree(fb_array);
411  xfree(char_array);
413  fm_free();
414  t1_free();
415  enc_free();
416  img_free();
417  vf_free();
418  epdf_free();
419  ttf_free();
420  sfd_free();
422  zip_free();
423 }
424 
425 /* Converts any string given in in in an allowed PDF string which can be
426  * handled by printf et.al.: \ is escaped to \\, parenthesis are escaped and
427  * control characters are octal encoded.
428  * This assumes that the string does not contain any already escaped
429  * characters!
430  */
431 char *convertStringToPDFString(const char *in, int len)
432 {
433  static char pstrbuf[MAX_PSTRING_LEN];
434  char *out = pstrbuf;
435  int i, j = 0, k;
436  char buf[5];
437  for (i = 0; i < len; i++) {
438  check_buf(j + sizeof(buf), MAX_PSTRING_LEN);
439  if (((unsigned char) in[i] < '!') || ((unsigned char) in[i] > '~')) {
440  /* convert control characters into oct */
441  k = snprintf(buf, sizeof(buf),
442  "\\%03o", (unsigned int) (unsigned char) in[i]);
443  check_nprintf(k, sizeof(buf));
444  out[j++] = buf[0];
445  out[j++] = buf[1];
446  out[j++] = buf[2];
447  out[j++] = buf[3];
448  } else if ((in[i] == '(') || (in[i] == ')')) {
449  /* escape paranthesis */
450  out[j++] = '\\';
451  out[j++] = in[i];
452  } else if (in[i] == '\\') {
453  /* escape backslash */
454  out[j++] = '\\';
455  out[j++] = '\\';
456  } else {
457  /* copy char :-) */
458  out[j++] = in[i];
459  }
460  }
461  out[j] = '\0';
462  return pstrbuf;
463 }
464 
465 
466 /* Converts any string given in in in an allowed PDF string which can be
467  * handled by printf et.al.: \ is escaped to \\, parenthesis are escaped and
468  * control characters are octal encoded.
469  * This assumes that the string does not contain any already escaped
470  * characters!
471  *
472  * See escapename for parameter description.
473  */
475 {
476  const poolpointer out = poolptr;
477  unsigned char ch;
478  while (in < out) {
479  if (poolptr + 4 >= poolsize) {
480  poolptr = poolsize;
481  /* error by str_toks that calls str_room(1) */
482  return;
483  }
484 
485  ch = (unsigned char) strpool[in++];
486 
487  if ((ch < '!') || (ch > '~')) {
488  /* convert control characters into oct */
489  int i = snprintf((char *) &strpool[poolptr], 5,
490  "\\%.3o", (unsigned int) ch);
491  check_nprintf(i, 5);
492  poolptr += i;
493  continue;
494  }
495  if ((ch == '(') || (ch == ')') || (ch == '\\')) {
496  /* escape parenthesis and backslash */
497  strpool[poolptr++] = '\\';
498  }
499  /* copy char :-) */
500  strpool[poolptr++] = ch;
501  }
502 }
503 
504 /* Convert any given string in a PDF name using escaping mechanism
505  of PDF 1.2. The result does not include the leading slash.
506 
507  PDF specification 1.6, section 3.2.6 "Name Objects" explains:
508  <blockquote>
509  Beginning with PDF 1.2, any character except null (character code 0) may
510  be included in a name by writing its 2-digit hexadecimal code, preceded
511  by the number sign character (#); see implementation notes 3 and 4 in
512  Appendix H. This syntax is required to represent any of the delimiter or
513  white-space characters or the number sign character itself; it is
514  recommended but not required for characters whose codes are outside the
515  range 33 (!) to 126 (~).
516  </blockquote>
517  The following table shows the conversion that are done by this
518  function:
519  code result reason
520  -----------------------------------
521  0 ignored not allowed
522  1..32 escaped must for white-space:
523  9 (tab), 10 (lf), 12 (ff), 13 (cr), 32 (space)
524  recommended for the other control characters
525  35 escaped escape char "#"
526  37 escaped delimiter "%"
527  40..41 escaped delimiters "(" and ")"
528  47 escaped delimiter "/"
529  60 escaped delimiter "<"
530  62 escaped delimiter ">"
531  91 escaped delimiter "["
532  93 escaped delimiter "]"
533  123 escaped delimiter "{"
534  125 escaped delimiter "}"
535  127..255 escaped recommended
536  else copy regular characters
537 
538  Parameter "in" is a pointer into the string pool where
539  the input string is located. The output string is written
540  as temporary string right after the input string.
541  Thus at the begin of the procedure the global variable
542  "poolptr" points to the start of the output string and
543  after the end when the procedure returns.
544 */
546 {
547  const poolpointer out = poolptr;
548  unsigned char ch;
549  int i;
550 
551  while (in < out) {
552  if (poolptr + 3 >= poolsize) {
553  poolptr = poolsize;
554  /* error by str_toks that calls str_room(1) */
555  return;
556  }
557 
558  ch = (unsigned char) strpool[in++];
559 
560  if ((ch >= 1 && ch <= 32) || ch >= 127) {
561  /* escape */
562  i = snprintf((char *) &strpool[poolptr], 4,
563  "#%.2X", (unsigned int) ch);
564  check_nprintf(i, 4);
565  poolptr += i;
566  continue;
567  }
568  switch (ch) {
569  case 0:
570  /* ignore */
571  break;
572  case 35:
573  case 37:
574  case 40:
575  case 41:
576  case 47:
577  case 60:
578  case 62:
579  case 91:
580  case 93:
581  case 123:
582  case 125:
583  /* escape */
584  i = snprintf((char *) &strpool[poolptr], 4,
585  "#%.2X", (unsigned int) ch);
586  check_nprintf(i, 4);
587  poolptr += i;
588  break;
589  default:
590  /* copy */
591  strpool[poolptr++] = ch;
592  }
593  }
594 }
595 
596 /* Convert any given string in a PDF hexadecimal string. The
597  result does not include the angle brackets.
598 
599  This procedure uses uppercase hexadecimal letters.
600 
601  See escapename for description of parameters.
602 */
604 {
605  const poolpointer out = poolptr;
606  unsigned char ch;
607  int i;
608 
609  while (in < out) {
610  if (poolptr + 2 >= poolsize) {
611  poolptr = poolsize;
612  /* error by str_toks that calls str_room(1) */
613  return;
614  }
615 
616  ch = (unsigned char) strpool[in++];
617 
618  i = snprintf((char *) &strpool[poolptr], 3, "%.2X", (unsigned int) ch);
619  check_nprintf(i, 3);
620  poolptr += 2;
621  }
622 }
623 
624 /* Unescape any given hexadecimal string.
625 
626  Last hex digit can be omitted, it is replaced by zero, see
627  PDF specification.
628 
629  Invalid digits are silently ignored.
630 
631  See escapename for description of parameters.
632 */
634 {
635  const poolpointer out = poolptr;
636  unsigned char ch;
637  unsigned char a = 0; /* to avoid warning about uninitialized use of a */
638  boolean first = true;
639 
640  while (in < out) {
641  if (poolptr + 1 >= poolsize) {
642  poolptr = poolsize;
643  /* error by str_toks that calls str_room(1) */
644  return;
645  }
646 
647  ch = (unsigned char) strpool[in++];
648 
649  if ((ch >= '0') && (ch <= '9')) {
650  ch -= '0';
651  } else if ((ch >= 'A') && (ch <= 'F')) {
652  ch -= 'A' - 10;
653  } else if ((ch >= 'a') && (ch <= 'f')) {
654  ch -= 'a' - 10;
655  } else {
656  continue; /* ignore wrong character */
657  }
658 
659  if (first) {
660  a = ch << 4;
661  first = false;
662  continue;
663  }
664 
665  strpool[poolptr++] = a + ch;
666  first = true;
667  }
668  if (!first) { /* last hex digit is omitted */
669  strpool[poolptr++] = a;
670  }
671 }
672 
673 /* Compute the ID string as per PDF1.4 9.3:
674  <blockquote>
675  File identifers are defined by the optional ID entry in a PDF file's
676  trailer dictionary (see Section 3.4.4, "File Trailer"; see also
677  implementation note 105 in Appendix H). The value of this entry is an
678  array of two strings. The first string is a permanent identifier based
679  on the contents of the file at the time it was originally created, and
680  does not change when the file is incrementally updated. The second
681  string is a changing identifier based on the file's contents at the
682  time it was last updated. When a file is first written, both
683  identifiers are set to the same value. If both identifiers match when a
684  file reference is resolved, it is very likely that the correct file has
685  been found; if only the first identifier matches, then a different
686  version of the correct file has been found.
687  To help ensure the uniqueness of file identifiers, it is recommend
688  that they be computed using a message digest algorithm such as MD5
689  (described in Internet RFC 1321, The MD5 Message-Digest Algorithm; see
690  the Bibliography), using the following information (see implementation
691  note 106 in Appendix H):
692  - The current time
693  - A string representation of the file's location, usually a pathname
694  - The size of the file in bytes
695  - The values of all entries in the file's document information
696  dictionary (see Section 9.2.1, Document Information Dictionary )
697  </blockquote>
698  This stipulates only that the two IDs must be identical when the file is
699  created and that they should be reasonably unique. Since it's difficult
700  to get the file size at this point in the execution of pdfTeX, scanning
701  the info dict is also difficult, and any variability in the current
702  directory name leads to non-reproducible builds, we start with a
703  simpler implementation using just the current time and the file name.
704  */
706 {
708  md5_byte_t digest[16];
709  char id[64];
710  char *file_name;
711  /* start md5 */
712  md5_init(&state);
713  /* get the time */
714  initstarttime();
716  /* get the file name */
719  /* finish md5 */
721  /* write the IDs */
722  convertStringToHexString((char *) digest, id, 16);
723  pdf_printf("/ID [<%s> <%s>]", id, id);
724 }
725 
727 {
729  md5_byte_t digest[16];
730  char id[64];
731  char *s = makecstring(tokenstostring(toks));
732  flushstr(lasttokensstring);
733  if (strlen(s) == 0)
734  return;
735  md5_init(&state);
736  md5_append(&state, (const md5_byte_t *) s, strlen(s));
738  convertStringToHexString((char *) digest, id, 16);
739  pdf_printf("/ID [<%s> <%s>]", id, id);
740 }
741 
742 
743 /* Print the /CreationDate entry.
744 
745  PDF Reference, third edition says about the expected date format:
746  <blockquote>
747  3.8.2 Dates
748 
749  PDF defines a standard date format, which closely follows that of
750  the international standard ASN.1 (Abstract Syntax Notation One),
751  defined in ISO/IEC 8824 (see the Bibliography). A date is a string
752  of the form
753 
754  (D:YYYYMMDDHHmmSSOHH'mm')
755 
756  where
757 
758  YYYY is the year
759  MM is the month
760  DD is the day (01-31)
761  HH is the hour (00-23)
762  mm is the minute (00-59)
763  SS is the second (00-59)
764  O is the relationship of local time to Universal Time (UT),
765  denoted by one of the characters +, -, or Z (see below)
766  HH followed by ' is the absolute value of the offset from UT
767  in hours (00-23)
768  mm followed by ' is the absolute value of the offset from UT
769  in minutes (00-59)
770 
771  The apostrophe character (') after HH and mm is part of the syntax.
772  All fields after the year are optional. (The prefix D:, although also
773  optional, is strongly recommended.) The default values for MM and DD
774  are both 01; all other numerical fields default to zero values. A plus
775  sign (+) as the value of the O field signifies that local time is
776  later than UT, a minus sign (-) that local time is earlier than UT,
777  and the letter Z that local time is equal to UT. If no UT information
778  is specified, the relationship of the specified time to UT is
779  considered to be unknown. Whether or not the time zone is known, the
780  rest of the date should be specified in local time.
781 
782  For example, December 23, 1998, at 7:52 PM, U.S. Pacific Standard
783  Time, is represented by the string
784 
785  D:199812231952-08'00'
786  </blockquote>
787 
788  The main difficulty is get the time zone offset. strftime() does this in ISO
789  C99 (e.g. newer glibc) with %z, but we have to work with other systems (e.g.
790  Solaris 2.5).
791 */
792 
794 {
795  initstarttime();
796  pdf_printf("/CreationDate (%s)\n", start_time_str);
797 }
798 
799 void printmoddate(void)
800 {
801  initstarttime();
802  pdf_printf("/ModDate (%s)\n", start_time_str);
803 }
804 
805 ␌
806 #define DEFAULT_SUB_MATCH_COUNT 10
809 static char *match_string = NULL;
810 static int last_match_succeeded = 0;
811 
812 /* Implements \pdfmatch */
813 void
814 matchstrings(strnumber s, strnumber t, int subcount, boolean icase)
815 {
816  regex_t preg;
817  int cflags = REG_EXTENDED;
818  int eflags = 0;
819  int ret;
820  char *str;
821 
822  if (icase) {
823  cflags |= REG_ICASE;
824  }
825 
826  if (poolptr + 10 >= poolsize) {
827  poolptr = poolsize;
828  return;
829  }
830 
831  str = makecstring(s);
832  ret = regcomp(&preg, str, cflags);
833  if (ret != 0) {
834  size_t size = regerror(ret, &preg, NULL, 0);
835  str = xtalloc(size, char);
836  regerror(ret, &preg, str, size);
837  pdftex_warn("%s%s", "\\pdfmatch: ", str);
838  xfree(str);
839  strpool[poolptr++] = '-';
840  strpool[poolptr++] = '1';
841  } else {
842  str = makecstring(t);
843  sub_match_count = ((subcount < 0) ? DEFAULT_SUB_MATCH_COUNT : subcount);
844  xfree(pmatch);
845  if (sub_match_count > 0) {
847  }
848  ret = regexec(&preg, str, sub_match_count, pmatch, eflags);
849 
851  match_string = xstrdup(str); /* save searched-in string, used below */
852  last_match_succeeded = ret == 0; /* save whether match succeeded */
853  strpool[poolptr++] = ((ret == 0) ? '1' : '0'); /* in string pool too */
854  }
855 
856  regfree(&preg);
857 }
858 
859 /* Implements \pdflastmatch */
860 
861 void
863 {
864  int size;
865  int len = 0; /* avoid spurious uninitialized warning */
866 
867  boolean found
868  = i >= 0 /* should always be so due to pdftex.web */
869  && i < sub_match_count /* if >subcount, not found by definition */
870  && match_string != NULL /* first call, and just in case */
871  && last_match_succeeded /* if no match, not found */
872  && pmatch[i].rm_so >= 0 /* if no starting position, not found */
873  && pmatch[i].rm_eo >= pmatch[i].rm_so; /* just in case */
874 
875  if (found) {
876  len = pmatch[i].rm_eo - pmatch[i].rm_so;
877  size = 20 + len;
878  /* 20: place for integer number and '->' */
879  } else {
880  size = 4;
881  }
882 
883  if (poolptr + size >= poolsize) {
884  poolptr = poolsize;
885  return;
886  }
887 
888  if (found) {
889  int j = snprintf((char *) &strpool[poolptr], 20, "%d",
890  (int) pmatch[i].rm_so);
891  check_nprintf(j, 20);
892  poolptr += j;
893  strpool[poolptr++] = '-';
894  strpool[poolptr++] = '>';
895  memcpy(&strpool[poolptr], &match_string[pmatch[i].rm_so], len);
896  poolptr += len;
897  return;
898  }
899 
900  strpool[poolptr++] = '-';
901  strpool[poolptr++] = '1';
902  strpool[poolptr++] = '-';
903  strpool[poolptr++] = '>';
904 }
905 
906 ␌
907 /* function strips trailing zeros in string with numbers; */
908 /* leading zeros are not stripped (as in real life) */
909 char *stripzeros(char *a)
910 {
911  enum { NONUM, DOTNONUM, INT, DOT, LEADDOT, FRAC } s = NONUM, t = NONUM;
912  char *p, *q, *r;
913  for (p = q = r = a; *p != '\0';) {
914  switch (s) {
915  case NONUM:
916  if (*p >= '0' && *p <= '9')
917  s = INT;
918  else if (*p == '.')
919  s = LEADDOT;
920  break;
921  case DOTNONUM:
922  if (*p != '.' && (*p < '0' || *p > '9'))
923  s = NONUM;
924  break;
925  case INT:
926  if (*p == '.')
927  s = DOT;
928  else if (*p < '0' || *p > '9')
929  s = NONUM;
930  break;
931  case DOT:
932  case LEADDOT:
933  if (*p >= '0' && *p <= '9')
934  s = FRAC;
935  else if (*p == '.')
936  s = DOTNONUM;
937  else
938  s = NONUM;
939  break;
940  case FRAC:
941  if (*p == '.')
942  s = DOTNONUM;
943  else if (*p < '0' || *p > '9')
944  s = NONUM;
945  break;
946  default:;
947  }
948  switch (s) {
949  case DOT:
950  r = q;
951  break;
952  case LEADDOT:
953  r = q + 1;
954  break;
955  case FRAC:
956  if (*p > '0')
957  r = q + 1;
958  break;
959  case NONUM:
960  if ((t == FRAC || t == DOT) && r != a) {
961  q = r--;
962  if (*r == '.') /* was a LEADDOT */
963  *r = '0';
964  r = a;
965  }
966  break;
967  default:;
968  }
969  *q++ = *p++;
970  t = s;
971  }
972  *q = '\0';
973  return a;
974 }
975 
976 void initversionstring(char **versions)
977 {
978  const_string fmt =
979  "Compiled with libpng %s; using libpng %s\n"
980  "Compiled with zlib %s; using zlib %s\n"
981  "Compiled with %s version %s\n";
982  size_t len = strlen(fmt)
986  + 1;
987 
988  /* len will be more than enough, because of the placeholder chars in fmt
989  that get replaced by the arguments. */
990  *versions = xmalloc(len);
991  sprintf(*versions, fmt,
994 }
995 
996 
997 /*************************************************/
998 /* Color Stack and Matrix Transformation Support */
999 /*************************************************/
1000 
1001 /*
1002  In the following array and especially stack data structures are used.
1003  They have the following properties:
1004  - They automatically grow dynamically.
1005  - The size never decreases.
1006  - The variable with name ending in "size" contains the number how many
1007  entries the data structure can hold.
1008  - The variable with name ending in "used" contains the number of
1009  actually used entries.
1010  - Memory of strings in stack entries must be allocated and
1011  freed if the stack is cleared.
1012 */
1013 
1014 /* Color Stack */
1015 
1016 #define STACK_INCREMENT 8
1017 #define MAX_COLORSTACKS 32768
1018 /* The colorstack number is stored in two bytes (info field of the node) */
1019 /* Condition (newcolorstack): MAX_COLORSTACKS mod STACK_INCREMENT = 0 */
1020 
1021 #define COLOR_DEFAULT "0 g 0 G"
1022 /* literal_modes, see pdftex.web */
1023 #define SET_ORIGIN 0
1024 #define DIRECT_PAGE 1
1025 #define DIRECT_ALWAYS 2
1026 
1027 /* remember shipout mode: page/form */
1028 static boolean page_mode;
1029 
1030 typedef struct {
1031  char **page_stack;
1032  char **form_stack;
1035  char *form_init;
1041  boolean page_start;
1042 } colstack_type;
1043 
1045 static int colstacks_size = 0;
1046 static int colstacks_used = 0;
1047 
1048 /*
1049  Initialization is done, if the color stacks are used,
1050  init_colorstacks() is defined as macro to avoid unnecessary
1051  procedure calls.
1052 */
1053 #define init_colorstacks() if (colstacks_size == 0) colstacks_first_init();
1054 static void colstacks_first_init(void)
1055 {
1058  colstacks_used = 1;
1059  colstacks[0].page_stack = NULL;
1060  colstacks[0].form_stack = NULL;
1061  colstacks[0].page_size = 0;
1062  colstacks[0].form_size = 0;
1063  colstacks[0].page_used = 0;
1064  colstacks[0].form_used = 0;
1069  colstacks[0].page_start = true;
1070 }
1071 
1073 {
1074  init_colorstacks();
1075  return colstacks_used;
1076 }
1077 
1078 /*
1079  newcolorstack()
1080  A new color stack is setup with the given parameters.
1081  The stack number is returned or -1 in case of error (no room).
1082 */
1083 int newcolorstack(integer s, integer literal_mode, boolean page_start)
1084 {
1085  colstack_type *colstack;
1086  int colstack_num;
1087  char *str;
1088 
1089  init_colorstacks();
1090 
1091  /* make room */
1093  return -1;
1094  }
1095  if (colstacks_used == colstacks_size) {
1097  /* If (MAX_COLORSTACKS mod STACK_INCREMENT = 0) then we don't
1098  need to check the case that size overruns MAX_COLORSTACKS. */
1100  }
1101  /* claim new color stack */
1102  colstack_num = colstacks_used++;
1103  colstack = &colstacks[colstack_num];
1104  /* configure the new color stack */
1105  colstack->page_stack = NULL;
1106  colstack->form_stack = NULL;
1107  colstack->page_size = 0;
1108  colstack->page_used = 0;
1109  colstack->form_size = 0;
1110  colstack->form_used = 0;
1111  colstack->literal_mode = literal_mode;
1112  colstack->page_start = page_start;
1113  str = makecstring(s);
1114  if (*str == 0) {
1115  colstack->page_current = NULL;
1116  colstack->form_current = NULL;
1117  colstack->form_init = NULL;
1118  } else {
1119  colstack->page_current = xstrdup(str);
1120  colstack->form_current = xstrdup(str);
1121  colstack->form_init = xstrdup(str);
1122  }
1123  return colstack_num;
1124 }
1125 
1126 #define get_colstack(n) (&colstacks[n])
1127 
1128 /*
1129  Puts a string on top of the string pool and updates poolptr.
1130 */
1132 {
1133  size_t len;
1134 
1135  if (str == NULL || *str == 0) {
1136  return;
1137  }
1138 
1139  len = strlen(str);
1140  poolptr = start + len;
1141  if (poolptr >= poolsize) {
1142  poolptr = poolsize;
1143  /* error by str_toks that calls str_room(1) */
1144  return;
1145  }
1146  memcpy(&strpool[start], str, len);
1147 }
1148 
1149 integer colorstackset(int colstack_no, integer s)
1150 {
1151  colstack_type *colstack = get_colstack(colstack_no);
1152 
1153  if (page_mode) {
1154  xfree(colstack->page_current);
1155  colstack->page_current = xstrdup(makecstring(s));
1156  } else {
1157  xfree(colstack->form_current);
1158  colstack->form_current = xstrdup(makecstring(s));
1159  }
1160  return colstack->literal_mode;
1161 }
1162 
1163 integer colorstackcurrent(int colstack_no)
1164 {
1165  colstack_type *colstack = get_colstack(colstack_no);
1166 
1167  if (page_mode) {
1169  } else {
1171  }
1172  return colstack->literal_mode;
1173 }
1174 
1175 integer colorstackpush(int colstack_no, integer s)
1176 {
1177  colstack_type *colstack = get_colstack(colstack_no);
1178  char *str;
1179 
1180  if (page_mode) {
1181  if (colstack->page_used == colstack->page_size) {
1182  colstack->page_size += STACK_INCREMENT;
1183  xretalloc(colstack->page_stack, colstack->page_size, char *);
1184  }
1185  colstack->page_stack[colstack->page_used++] = colstack->page_current;
1186  str = makecstring(s);
1187  if (*str == 0) {
1188  colstack->page_current = NULL;
1189  } else {
1190  colstack->page_current = xstrdup(str);
1191  }
1192  } else {
1193  if (colstack->form_used == colstack->form_size) {
1194  colstack->form_size += STACK_INCREMENT;
1195  xretalloc(colstack->form_stack, colstack->form_size, char *);
1196  }
1197  colstack->form_stack[colstack->form_used++] = colstack->form_current;
1198  str = makecstring(s);
1199  if (*str == 0) {
1200  colstack->form_current = NULL;
1201  } else {
1202  colstack->form_current = xstrdup(str);
1203  }
1204  }
1205  return colstack->literal_mode;
1206 }
1207 
1208 integer colorstackpop(int colstack_no)
1209 {
1210  colstack_type *colstack = get_colstack(colstack_no);
1211 
1212  if (page_mode) {
1213  if (colstack->page_used == 0) {
1214  pdftex_warn("pop empty color page stack %u",
1215  (unsigned int) colstack_no);
1216  return colstack->literal_mode;
1217  }
1218  xfree(colstack->page_current);
1219  colstack->page_current = colstack->page_stack[--colstack->page_used];
1221  } else {
1222  if (colstack->form_used == 0) {
1223  pdftex_warn("pop empty color form stack %u",
1224  (unsigned int) colstack_no);
1225  return colstack->literal_mode;
1226  }
1227  xfree(colstack->form_current);
1228  colstack->form_current = colstack->form_stack[--colstack->form_used];
1230  }
1231  return colstack->literal_mode;
1232 }
1233 
1234 static void colorstackpagestart(void)
1235 {
1236  int i, j;
1237  colstack_type *colstack;
1238 
1239  if (page_mode) {
1240  /* see procedure pdf_out_colorstack_startpage */
1241  return;
1242  }
1243 
1244  for (i = 0; i < colstacks_used; i++) {
1245  colstack = &colstacks[i];
1246  for (j = 0; j < colstack->form_used; j++) {
1247  xfree(colstack->form_stack[j]);
1248  }
1249  colstack->form_used = 0;
1250  xfree(colstack->form_current);
1251  if (colstack->form_init == NULL) {
1252  colstack->form_current = NULL;
1253  } else {
1254  colstack->form_current = xstrdup(colstack->form_init);
1255  }
1256  }
1257 }
1258 
1260 {
1261  colstack_type *colstack = get_colstack(colstack_no);
1262 
1263  if (!colstack->page_start) {
1264  return 1;
1265  }
1266  if (colstack->page_current == NULL) {
1267  return 0;
1268  }
1269  if (strcmp(COLOR_DEFAULT, colstack->page_current) == 0) {
1270  return 2;
1271  }
1272  return 0;
1273 }
1274 
1275 
1276 /* stack for \pdfsetmatrix */
1277 
1278 typedef struct {
1279  double a;
1280  double b;
1281  double c;
1282  double d;
1283  double e;
1284  double f;
1285 } matrix_entry;
1287 static int matrix_stack_size = 0;
1288 static int matrix_stack_used = 0;
1289 
1290 boolean matrixused(void)
1291 {
1292  return matrix_stack_used > 0;
1293 }
1294 
1295 /* stack for positions of \pdfsave */
1296 typedef struct {
1297  int pos_h;
1298  int pos_v;
1300 } pos_entry;
1301 static pos_entry *pos_stack = 0; /* the stack */
1302 static int pos_stack_size = 0; /* initially empty */
1303 static int pos_stack_used = 0; /* used entries */
1304 
1305 static void matrix_stack_room(void)
1306 {
1307  matrix_entry *new_stack;
1308 
1311  new_stack = xtalloc(matrix_stack_size, matrix_entry);
1312  memcpy((void *) new_stack, (void *) matrix_stack,
1313  matrix_stack_used * sizeof(matrix_entry));
1315  matrix_stack = new_stack;
1316  }
1317 }
1318 
1319 void checkpdfsave(int cur_h, int cur_v)
1320 {
1321  pos_entry *new_stack;
1322 
1323  if (pos_stack_used >= pos_stack_size) {
1325  new_stack = xtalloc(pos_stack_size, pos_entry);
1326  memcpy((void *) new_stack, (void *) pos_stack,
1327  pos_stack_used * sizeof(pos_entry));
1328  xfree(pos_stack);
1329  pos_stack = new_stack;
1330  }
1333  if (page_mode) {
1335  }
1336  pos_stack_used++;
1337 }
1338 
1340 {
1341  int diff_h, diff_v;
1342  if (pos_stack_used == 0) {
1343  pdftex_warn("%s", "\\pdfrestore: missing \\pdfsave");
1344  return;
1345  }
1346  pos_stack_used--;
1347  diff_h = cur_h - pos_stack[pos_stack_used].pos_h;
1348  diff_v = cur_v - pos_stack[pos_stack_used].pos_v;
1349  if (diff_h != 0 || diff_v != 0) {
1350  pdftex_warn("Misplaced \\pdfrestore by (%usp, %usp)", diff_h, diff_v);
1351  }
1352  if (page_mode) {
1354  }
1355 }
1356 
1357 void pdfshipoutbegin(boolean shipping_page)
1358 {
1359  pos_stack_used = 0; /* start with empty stack */
1360 
1361  page_mode = shipping_page;
1362  if (shipping_page) {
1364  }
1365 }
1366 
1367 void pdfshipoutend(boolean shipping_page)
1368 {
1369  if (pos_stack_used > 0) {
1370  pdftex_fail("%u unmatched \\pdfsave after %s shipout",
1371  (unsigned int) pos_stack_used,
1372  ((shipping_page) ? "page" : "form"));
1373  }
1374 }
1375 
1376 /*
1377  \pdfsetmatrix{a b c d}
1378  e := cur_h
1379  f := cur_v
1380  M_top: current active matrix at the top of
1381  the matrix stack
1382 
1383  The origin of \pdfsetmatrix is the current point.
1384  The annotation coordinate system is the original
1385  page coordinate system. When pdfTeX calculates
1386  annotation rectangles it does not take into
1387  account this transformations, it uses the original
1388  coordinate system. To get the corrected values,
1389  first we go back to the origin, perform the
1390  transformation and go back:
1391 
1392  ( 1 0 0 ) ( a b 0 ) ( 1 0 0 )
1393  ( 0 1 0 ) x ( c d 0 ) x ( 0 1 0 ) x M_top
1394  ( -e -f 1 ) ( 0 0 1 ) ( e f 1 )
1395 
1396  ( 1 0 0 ) ( a b 0 )
1397  = ( 0 1 0 ) x ( c d 0 ) x M_top
1398  ( e f 1 ) ( -e -f 1 )
1399 
1400  ( a b 0 )
1401  = ( c d 0 ) x M_top
1402  ( e(1-a)-fc f(1-d)-eb 1 )
1403 
1404 */
1405 
1407 {
1408  /* Argument of \pdfsetmatrix starts with strpool[in] and ends
1409  before strpool[poolptr]. */
1410 
1411  matrix_entry x, *y, *z;
1412  char dummy;
1413 
1414  if (page_mode) {
1415  if (sscanf((const char *) &strpool[in], " %lf %lf %lf %lf %c",
1416  &x.a, &x.b, &x.c, &x.d, &dummy) != 4) {
1417  return 0; /* failure */
1418  }
1419  /* calculate this transformation matrix */
1420  x.e = (double) cur_h *(1.0 - x.a) - (double) cur_v *x.c;
1421  x.f = (double) cur_v *(1.0 - x.d) - (double) cur_h *x.b;
1424  if (matrix_stack_used > 0) {
1426  z->a = x.a * y->a + x.b * y->c;
1427  z->b = x.a * y->b + x.b * y->d;
1428  z->c = x.c * y->a + x.d * y->c;
1429  z->d = x.c * y->b + x.d * y->d;
1430  z->e = x.e * y->a + x.f * y->c + y->e;
1431  z->f = x.e * y->b + x.f * y->d + y->f;
1432  } else {
1433  z->a = x.a;
1434  z->b = x.b;
1435  z->c = x.c;
1436  z->d = x.d;
1437  z->e = x.e;
1438  z->f = x.f;
1439  }
1441  }
1442  return 1; /* success */
1443 }
1444 
1445 /* Apply matrix to point (x,y)
1446 
1447  ( a b 0 )
1448  ( x y 1 ) x ( c d 0 ) = ( xa+yc+e xb+yd+f 1 )
1449  ( e f 1 )
1450 
1451  If \pdfsetmatrix wasn't used, then return the value unchanged.
1452 */
1453 
1454 /* Return valeus for matrix tranform functions */
1459 
1461 {
1462  return ret_llx;
1463 }
1464 
1466 {
1467  return ret_lly;
1468 }
1469 
1471 {
1472  return ret_urx;
1473 }
1474 
1476 {
1477  return ret_ury;
1478 }
1479 
1480 static int last_llx;
1481 static int last_lly;
1482 static int last_urx;
1483 static int last_ury;
1484 
1485 #define DO_ROUND(x) ((x > 0) ? (x + .5) : (x - .5))
1486 #define DO_MIN(a, b) ((a < b) ? a : b)
1487 #define DO_MAX(a, b) ((a > b) ? a : b)
1488 
1489 static void do_matrixtransform(scaled x, scaled y, scaled * retx, scaled * rety)
1490 {
1492  double x_old = x;
1493  double y_old = y;
1494  double x_new = x_old * m->a + y_old * m->c + m->e;
1495  double y_new = x_old * m->b + y_old * m->d + m->f;
1496  *retx = (scaled) DO_ROUND(x_new);
1497  *rety = (scaled) DO_ROUND(y_new);
1498 }
1499 
1501 {
1502  scaled x1, x2, x3, x4, y1, y2, y3, y4;
1503 
1504  if (page_mode && matrix_stack_used > 0) {
1505  last_llx = llx;
1506  last_lly = lly;
1507  last_urx = urx;
1508  last_ury = ury;
1509  do_matrixtransform(llx, lly, &x1, &y1);
1510  do_matrixtransform(llx, ury, &x2, &y2);
1511  do_matrixtransform(urx, lly, &x3, &y3);
1512  do_matrixtransform(urx, ury, &x4, &y4);
1513  ret_llx = DO_MIN(DO_MIN(x1, x2), DO_MIN(x3, x4));
1514  ret_lly = DO_MIN(DO_MIN(y1, y2), DO_MIN(y3, y4));
1515  ret_urx = DO_MAX(DO_MAX(x1, x2), DO_MAX(x3, x4));
1516  ret_ury = DO_MAX(DO_MAX(y1, y2), DO_MAX(y3, y4));
1517  } else {
1518  ret_llx = llx;
1519  ret_lly = lly;
1520  ret_urx = urx;
1521  ret_ury = ury;
1522  }
1523 }
1524 
1526 {
1527  if (page_mode && matrix_stack_used > 0) {
1529  } else {
1530  ret_llx = x;
1531  ret_lly = y;
1532  }
1533 }
1534 
1536 {
1538 }
1539 
1540 void allocvffnts(void)
1541 {
1542  if (vf_e_fnts_array == NULL) {
1543  vf_e_fnts_array = vfefnts;
1544  vf_e_fnts_limit = fontmax;
1546  vf_i_fnts_array = vfifnts;
1547  vf_i_fnts_limit = fontmax;
1549  }
1550  alloc_array(vf_e_fnts, 1, fontmax);
1551  vf_e_fnts_ptr++;
1552  alloc_array(vf_i_fnts, 1, fontmax);
1553  vf_i_fnts_ptr++;
1554  if (vf_e_fnts_array != vfefnts) {
1555  vfefnts = vf_e_fnts_array;
1556  vfifnts = vf_i_fnts_array;
1557  }
1558 }
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
q
Definition: afm2pl.c:2287
double ury
Definition: aftopl.c:56
double urx
Definition: aftopl.c:55
double lly
Definition: aftopl.c:54
double llx
Definition: aftopl.c:53
#define toks(a)
Definition: aptex-macros.h:674
#define year
Definition: aptex-macros.h:808
#define state
Definition: aptex-macros.h:996
#define day
Definition: aptex-macros.h:806
#define x3
#define y4
#define month
Definition: aptex-macros.h:807
#define x4
#define y3
static char start_time_str[38]
Definition: aptex-utils.c:61
static scaled cur_v
Definition: aptex.h:543
static scaled cur_h
Definition: aptex.h:543
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
#define dummy
Definition: devnag.c:313
int dummy
Definition: dummy.c:29
int z
Definition: dviconv.c:26
#define fflush
Definition: xxstdio.h:24
#define check_buf(size, buf_size)
Definition: ptexmac.h:37
#define pdfoffset()
Definition: ptexmac.h:23
#define xfree(p)
Definition: ptexmac.h:85
#define PRINTF_BUF_SIZE
Definition: ptexmac.h:35
#define xtalloc
Definition: ptexmac.h:87
#define pdfroom(n)
Definition: ptexmac.h:14
#define xretalloc
Definition: ptexmac.h:88
int strcmp()
Definition: coll.cpp:143
int sscanf()
int printf()
#define maxinteger
Definition: ptexmac.h:36
#define SMALL_ARRAY_SIZE
Definition: ptexmac.h:63
#define MAX_PSTRING_LEN
Definition: ptexmac.h:61
#define alloc_array(T, n, s)
Definition: ptexmac.h:100
#define define_array(T)
Definition: ptexmac.h:121
#define SMALL_BUF_SIZE
Definition: ptexmac.h:62
static void
Definition: fpif.c:118
#define s
Definition: afcover.h:80
#define c(n)
Definition: gpos-common.c:150
#define a(n)
Definition: gpos-common.c:148
#define d(n)
Definition: gpos-common.c:151
int base
Definition: gsftopk.c:1502
#define memcpy(d, s, n)
Definition: gsftopk.c:64
FILE * out
Definition: hbf2gf.c:286
#define slen
Definition: hpcdtoppm.c:1329
assert(pcxLoadImage24((char *)((void *) 0), fp, pinfo, hdr))
#define putc
Definition: jbib.h:20
#define EXIT_FAILURE
Definition: cdjpeg.h:169
#define SEEK_SET
Definition: jmemansi.c:26
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p
Definition: afcover.h:72
small capitals from c petite p scientific i
Definition: afcover.h:80
#define const
Definition: ftzconf.h:91
Byte Bytef
Definition: ftzconf.h:228
#define ZLIB_VERSION
Definition: zlib.h:40
#define Z_NULL
Definition: zlib.h:164
void exit()
#define EOF
Definition: afmparse.c:59
#define FRAC(x)
Definition: ftraster.c:452
kerning y
Definition: ttdriver.c:212
png_uint_32 crc
Definition: png.c:2247
#define PNG_LIBPNG_VER_STRING
Definition: png.h:281
#define xpdfVersion
Definition: config.h:17
unsigned long crc32(unsigned long crc, unsigned char *buf, uInt len)
Definition: crc32.c:237
#define zlib_version
Definition: zlib.h:214
#define xstrdup(s)
Definition: writet1.c:34
#define xfclose(f, filename)
Definition: writet1.c:35
#define buf
#define INT
Definition: cid_basefont.h:6
#define getc
Definition: line.c:39
const char * const_string
Definition: simpletypes.h:59
#define kpse_invocation_name
Definition: types.h:333
#define kpathsea_debug
Definition: types.h:321
const char * kpathsea_version_string
Definition: version.c:23
#define xfseeko
Definition: win32lib.h:287
static int ret
Definition: convert.c:72
#define fprintf
Definition: mendex.h:64
static int poolsize
Definition: encoding.c:323
static char * strerror(int errnum)
Definition: error.c:56
char file_name[][1024]
Definition: cwebboot.c:318
#define length(c)
Definition: ctangleboot.c:65
Code related to b fwrite(a, sizeof(char), b, stdout) @d C_printf(c
const char * versionstring
Definition: version.c:6
void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes)
Definition: md5.c:323
void md5_init(md5_state_t *pms)
Definition: md5.c:313
void md5_finish(md5_state_t *pms, md5_byte_t digest[16])
Definition: md5.c:361
unsigned char md5_byte_t
Definition: md5.h:63
void * avl_t_next(struct avl_traverser *trav)
Definition: avl.c:524
void * avl_t_first(struct avl_traverser *trav, struct avl_table *tree)
Definition: avl.c:393
void ** avl_probe(struct avl_table *tree, void *item)
Definition: avl.c:85
void avl_t_init(struct avl_traverser *trav, struct avl_table *tree)
Definition: avl.c:382
int comp_string_entry(const void *pa, const void *pb, void *p)
Definition: avlstuff.c:55
struct libavl_allocator avl_xallocator
Definition: avlstuff.c:41
void epdf_free(void)
Definition: epdf.c:108
void fm_free(void)
Definition: mapfile.c:915
void sfd_free(void)
Definition: subfont.c:75
void zip_free(void)
Definition: writezip.c:89
const char * ptexbanner
void vf_free(void)
Definition: vfpacket.c:93
void glyph_unicode_free(void)
Definition: tounicode.c:55
void enc_free(void)
Definition: writeenc.c:173
void img_free(void)
Definition: writeimg.c:415
void t1_free(void)
Definition: writet1.c:1707
void ttf_free(void)
Definition: writettf.c:142
#define REG_ICASE
Definition: regex.h:272
#define REG_EXTENDED
Definition: regex.h:268
int regexec(const regex_t *__preg, const char *__string, size_t __nmatch, regmatch_t __pmatch[], int __eflags)
void fb_flush(void)
Definition: utils.c:88
void getmatch(int i)
Definition: utils.c:862
static char print_buf[1024]
Definition: utils.c:50
void make_subset_tag(fd_entry *fd)
Definition: utils.c:107
static int last_match_succeeded
Definition: utils.c:810
void pdf_puts(char *s)
Definition: utils.c:153
integer pdfsetmatrix(poolpointer in, scaled cur_h, scaled cur_v)
Definition: utils.c:1406
vf_i_fnts_entry * vf_i_fnts_array
Definition: utils.c:70
integer vf_e_fnts_entry
Definition: utils.c:65
void checkpdfsave(int cur_h, int cur_v)
Definition: utils.c:1319
void writestreamlength(longinteger length, longinteger offset)
Definition: utils.c:385
size_t xfwrite(void *ptr, size_t size, size_t nmemb, FILE *stream)
Definition: utils.c:355
#define xpdfString
Definition: utils.c:41
static void colorstackpagestart(void)
Definition: utils.c:1234
void pdftex_fail(char *fmt,...)
Definition: utils.c:226
boolean matrixused(void)
Definition: utils.c:1290
void matrixrecalculate(scaled urx)
Definition: utils.c:1535
integer colorstackskippagestart(int colstack_no)
Definition: utils.c:1259
char_entry * char_array
Definition: utils.c:62
integer colorstackcurrent(int colstack_no)
Definition: utils.c:1163
vf_i_fnts_entry * vf_i_fnts_ptr
Definition: utils.c:70
#define DO_MIN(a, b)
Definition: utils.c:1486
static int colstacks_used
Definition: utils.c:1046
#define SUBSET_TAG_LENGTH
Definition: utils.c:105
void matrixtransformrect(scaled llx, scaled lly, scaled urx, scaled ury)
Definition: utils.c:1500
strnumber last_tex_string
Definition: utils.c:49
void tex_printf(char *fmt,...)
Definition: utils.c:191
static char * job_id_string
Definition: utils.c:52
static boolean page_mode
Definition: utils.c:1028
fb_entry * fb_ptr
Definition: utils.c:58
static scaled ret_llx
Definition: utils.c:1455
static char * jobname_cstr
Definition: utils.c:51
void fb_putchar(eightbits b)
Definition: utils.c:82
void makepdftexbanner(void)
Definition: utils.c:311
void unescapehex(poolpointer in)
Definition: utils.c:633
char * stripzeros(char *a)
Definition: utils.c:909
internalfontnumber vf_i_fnts_entry
Definition: utils.c:69
static void put_cstring_on_strpool(poolpointer start, char *str)
Definition: utils.c:1131
#define COLOR_DEFAULT
Definition: utils.c:1021
scaled getllx(void)
Definition: utils.c:1460
static char * match_string
Definition: utils.c:809
void escapestring(poolpointer in)
Definition: utils.c:474
#define DEFAULT_SUB_MATCH_COUNT
Definition: utils.c:806
#define DO_ROUND(x)
Definition: utils.c:1485
void pdfshipoutbegin(boolean shipping_page)
Definition: utils.c:1357
char * cur_file_name
Definition: utils.c:48
static int pos_stack_used
Definition: utils.c:1303
void escapename(poolpointer in)
Definition: utils.c:545
static int last_llx
Definition: utils.c:1480
int xgetc(FILE *stream)
Definition: utils.c:369
scaled getury(void)
Definition: utils.c:1475
static void do_matrixtransform(scaled x, scaled y, scaled *retx, scaled *rety)
Definition: utils.c:1489
scaled geturx(void)
Definition: utils.c:1470
static void safe_print(char *str)
Definition: utils.c:203
#define DO_MAX(a, b)
Definition: utils.c:1487
static int last_urx
Definition: utils.c:1482
integer fb_offset(void)
Definition: utils.c:72
static scaled ret_ury
Definition: utils.c:1458
vf_e_fnts_entry * vf_e_fnts_array
Definition: utils.c:66
vf_e_fnts_entry * vf_e_fnts_ptr
Definition: utils.c:66
void matchstrings(strnumber s, strnumber t, int subcount, boolean icase)
Definition: utils.c:814
void printmoddate(void)
Definition: utils.c:799
char fb_entry
Definition: utils.c:57
strnumber getresnameprefix(void)
Definition: utils.c:334
static void matrix_stack_room(void)
Definition: utils.c:1305
void pdf_newline(void)
Definition: utils.c:161
static colstack_type * colstacks
Definition: utils.c:1044
void printIDalt(integer toks)
Definition: utils.c:726
char * convertStringToPDFString(char *in, int len)
Definition: utils.c:431
integer colorstackpop(int colstack_no)
Definition: utils.c:1208
void fb_seek(integer offset)
Definition: utils.c:77
void pdftex_warn(char *fmt,...)
Definition: utils.c:258
#define check_nprintf(size_get, size_want)
Definition: utils.c:44
void allocvffnts(void)
Definition: utils.c:1540
void removepdffile(void)
Definition: utils.c:210
#define STACK_INCREMENT
Definition: utils.c:1016
strnumber maketexstring(char *s)
Definition: utils.c:177
void checkpdfrestore(int cur_h, int cur_v)
Definition: utils.c:1339
static int matrix_stack_used
Definition: utils.c:1288
void matrixtransformpoint(scaled x, scaled y)
Definition: utils.c:1525
void initversionstring(char **versions)
Definition: utils.c:976
static scaled ret_lly
Definition: utils.c:1456
void printID(strnumber filename)
Definition: utils.c:705
scaled extxnoverd(scaled x, scaled n, scaled d)
Definition: utils.c:396
static int last_ury
Definition: utils.c:1483
static regmatch_t * pmatch
Definition: utils.c:808
void escapehex(poolpointer in)
Definition: utils.c:603
#define init_colorstacks()
Definition: utils.c:1053
void printcreationdate(void)
Definition: utils.c:793
#define get_colstack(n)
Definition: utils.c:1126
scaled getlly(void)
Definition: utils.c:1465
fb_entry * fb_array
Definition: utils.c:58
static pos_entry * pos_stack
Definition: utils.c:1301
#define MAX_COLORSTACKS
Definition: utils.c:1017
size_t vf_i_fnts_limit
Definition: utils.c:70
char char_entry
Definition: utils.c:61
static scaled ret_urx
Definition: utils.c:1457
static int sub_match_count
Definition: utils.c:807
int newcolorstack(integer s, integer literal_mode, boolean page_start)
Definition: utils.c:1083
size_t last_ptr_index
Definition: utils.c:54
#define DIRECT_ALWAYS
Definition: utils.c:1025
int xputc(int c, FILE *stream)
Definition: utils.c:377
void libpdffinish(void)
Definition: utils.c:408
integer colorstackset(int colstack_no, integer s)
Definition: utils.c:1149
int colorstackused(void)
Definition: utils.c:1072
static int pos_stack_size
Definition: utils.c:1302
void setjobid(int year, int month, int day, int time)
Definition: utils.c:281
static void colstacks_first_init(void)
Definition: utils.c:1054
size_t vf_e_fnts_limit
Definition: utils.c:66
static int colstacks_size
Definition: utils.c:1045
void pdfshipoutend(boolean shipping_page)
Definition: utils.c:1367
void pdf_printf(char *fmt,...)
Definition: utils.c:168
static matrix_entry * matrix_stack
Definition: utils.c:1286
void garbagewarning(void)
Definition: utils.c:275
integer colorstackpush(int colstack_no, integer s)
Definition: utils.c:1175
static int matrix_stack_size
Definition: utils.c:1287
int xfflush(FILE *stream)
Definition: utils.c:362
static int last_lly
Definition: utils.c:1481
#define __attribute__(A)
Definition: synctex.c:338
__int64 longinteger
Definition: config.h:81
#define LONGINTEGER_TYPE
Definition: config.h:93
#define LONGINTEGER_PRI
Definition: config.h:94
char args[100]
Definition: fixwrites.c:7
long off_t
Definition: types.h:34
void abort()
int remove()
void * xmalloc(size_t size)
Definition: utils.c:240
int errno
#define vsnprintf
Definition: snprintf.c:40
#define sprintf
Definition: snprintf.c:44
#define snprintf
Definition: snprintf.c:41
char png_libpng_ver[]
Definition: mplibstuff.c:112
#define DBL_EPSILON
Definition: mruby.h:104
float x
Definition: cordic.py:15
integer poolpointer
Definition: omega-pool.h:6
integer strnumber
Definition: omega-pool.h:4
packedASCIIcode * strpool
poolpointer poolptr
int k
Definition: otp-parser.c:70
static int format
Definition: pbmclean.c:15
#define print(s)
Definition: pbmtoln03.c:48
int integer
Definition: pbmtopk.c:38
char * filename[256]
Definition: pbmtopk.c:46
quarterword eightbits
Definition: pbmtopk.c:42
static void convertStringToHexString(const char *in, char *out, int lin)
Definition: pdfgen.c:1391
eightbits pdflastbyte
void pdfflush(void)
eightbits * pdfbuf
integer pdfptr
integer pdfbufsize
#define scaled
Definition: pdftypes.h:88
#define DOT
Definition: pgmtexture.c:65
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF ptr
static int32_t first
Definition: ppagelist.c:29
static int size
Definition: ppmlabel.c:24
int r
Definition: ppmqvga.c:68
static int offset
Definition: ppmtogif.c:642
time_t time()
#define x1
#define y1
#define y2
#define x2
struct stream_s stream
Definition: pts_fax.h:93
#define avl_find
Definition: avl.h:18
#define avl_create
Definition: avl.h:19
static void digest(const WORD32 *m, WORD32 *d)
Definition: md5.c:89
size_t regerror(int errcode, const regex_t *__restrict preg, char *__restrict errbuf, size_t errbuf_size)
Definition: regcomp.c:502
int regcomp(regex_t *__restrict preg, const char *__restrict pattern, int cflags)
Definition: regcomp.c:443
void regfree(regex_t *preg)
Definition: regcomp.c:607
#define str(s)
Definition: sh6.c:399
static FILE * in
Definition: squeeze.c:36
char * makecstring(int s)
Definition: stringpool.c:284
Definition: usprintf.c:39
Definition: avl.h:61
char * form_init
Definition: utils.c:1035
int form_used
Definition: utils.c:1039
int page_used
Definition: utils.c:1038
boolean page_start
Definition: utils.c:1041
int page_size
Definition: utils.c:1036
int form_size
Definition: utils.c:1037
char ** page_stack
Definition: utils.c:1031
char * page_current
Definition: utils.c:1033
int literal_mode
Definition: utils.c:1040
char ** form_stack
Definition: utils.c:1032
char * form_current
Definition: utils.c:1034
Definition: ptexlib.h:116
char * fontname
Definition: ptexlib.h:118
struct avl_table * gl_tree
Definition: ptexlib.h:130
char * subset_tag
Definition: ptexlib.h:119
Definition: pbmfont.h:4
Definition: utils.c:1278
double a
Definition: utils.c:1279
double c
Definition: utils.c:1281
double d
Definition: utils.c:1282
double e
Definition: utils.c:1283
double f
Definition: utils.c:1284
double b
Definition: utils.c:1280
Definition: utils.c:1296
int pos_h
Definition: utils.c:1297
int matrix_stack
Definition: utils.c:1299
int pos_v
Definition: utils.c:1298
regoff_t rm_eo
Definition: regex.h:437
regoff_t rm_so
Definition: regex.h:436
Definition: dvips.h:235
#define FILE
Definition: t1stdio.h:34
ch
Definition: t4ht.c:1443
int j
Definition: t4ht.c:1589
*job_name strlen((char *) job_name) - 4)
char fmt[256]
Definition: tex4ht.c:3925
found
Definition: tex4ht.c:5000
m
Definition: tex4ht.c:3990
TT_Glyph glyph
Definition: ttf2pfb.c:162
@ L
Definition: ubidiimp.h:45
@ start
Definition: preamble.c:52
#define va_start(pvar)
Definition: varargs.h:30
#define va_end(pvar)
Definition: varargs.h:38
char * va_list
Definition: varargs.h:22
long long scaled
Definition: vf_ng.c:93