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)  

pdfdev.c
Go to the documentation of this file.
1 /* $Header$
2 
3  This is dvipdfm, a DVI to PDF translator.
4  Copyright (C) 1998, 1999 by Mark A. Wicks
5 
6  This program 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  This program 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
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20  The author may be contacted via the e-mail address
21 
22  mwicks@kettering.edu
23 */
24 #include "config.h"
25 #include <math.h>
26 #include <string.h>
27 #include <ctype.h>
28 #include <stdlib.h>
29 #include "system.h"
30 #include "mem.h"
31 #include "error.h"
32 #include "mfileio.h"
33 #include "numbers.h"
34 #include "dvi.h"
35 #include "tfm.h"
36 #include "pdfdev.h"
37 #include "pdfdoc.h"
38 #include "pdfobj.h"
39 #include "type1.h"
40 #include "type0.h"
41 #include "ttf.h"
42 #include "pkfont.h"
43 #include "pdfspecial.h"
44 #include "pdfparse.h"
45 #include "tpic.h"
46 #include "htex.h"
47 #include "mpost.h"
48 #include "psspecial.h"
49 #include "colorsp.h"
50 #include "pdflimits.h"
51 #include "twiddle.h"
52 #include "encodings.h"
53 
54 /* Internal functions */
55 static void dev_clear_color_stack (void);
56 static void dev_clear_xform_stack (void);
57 
58 double hoffset = 72.0, voffset=72.0;
59 
60 static double dvi2pts = 0.0;
61 
62  /* Acrobat doesn't seem to like coordinate systems
63  that involve scalings around 0.01, so we use
64  a scaline of 1.0. In other words, device units = pts */
65 /* Following dimensions in virtual device coordinates,
66 which are points */
67 
68 #ifdef WIN32
69 static double page_width=595.27, page_height=841.82;
70 #else
71 static double page_width=612.0, page_height=792.0;
72 #endif
73 
75 
76 void dev_set_page_size (double width, double height)
77 {
78  if (page_size_readonly) {
79  fprintf (stderr, "\nSorry. Too late to change page size\n");
80  } else {
81  page_width = width;
83  }
84 }
85 
86 double dev_page_width(void)
87 {
89  return page_width;
90 }
91 
92 double dev_page_height(void)
93 {
95  return page_height;
96 }
97 
98 static int debug = 0, verbose = 0;
99 
100 void dev_set_verbose (void)
101 {
102  verbose += 1;
103 }
104 void dev_set_debug (void)
105 {
106  debug = 1;
107 }
108 
109 #define GRAPHICS_MODE 1
110 #define TEXT_MODE 2
111 #define STRING_MODE 3
112 
113 int motion_state = GRAPHICS_MODE; /* Start in graphics mode */
114 /*
115  text_wmode (first bit: WMode(font), second bit: direction)
116  00/11 normal - h(v) direction with h(v) version of a font
117  01 -90 deg. rotated
118  10 +90 deg. rotated
119 */
120 #define HH_MODE 0
121 #define HV_MODE 1
122 #define VH_MODE 2
123 #define VV_MODE 3
124 int text_wmode = HH_MODE; /* Start in horizontal-horizontal mode */
125 int text_wmode_save = HH_MODE; /* for MetaPost mode */
126 #define WMODE_CHANGES(p,q) ((abs(p-q) % 3) ? 1 : 0)
127 #define VERTFONT(p) (p & 0x02)
128 #define VERTDIR(p) (p & 0x01)
129 int force_reset = 0;
130 int mp_mode = 0; /* no HV and VH modes in MetaPost (PostScript) processing */
131 
132 #define FORMAT_BUF_SIZE 4096
134 
135 /* The coordinate system in the pdf file is setup so that 1 unit in the
136  PDF content stream's coordinate system represents 65,800 DVI units.
137  This choice was made so that a PDF coordinate represented only
138  to the hundredths place represents an exact integer number of DVI units.
139  Doing so allows relative motions in a PDF file to be known
140  precisely in DVI units, and allows us to keep track of relative motions
141  using integer arithmetic. Relative motions in the PDF file are
142  represented in decimal with no more than two digits after the decimal
143  point. In the PDF stream, a PDF user coordinate of 0.01 represents
144  exactly 658 DVI units.
145 
146  The "pdfdev" module is the only module that knows the
147  relationship between PDF units and true points. It provides
148  pdf_dev_scale() to inform other modules of the scale.
149  Modules that render PDF marking operators (such as those
150  that render tpic specials or PS specials) need this value.
151  The overhead of this call is a slight performance hit for
152  rendering images, but allows dvipdfm to set text blazingly fast
153 
154 
155  Some constants related to this representation follow: */
156 
157 #define PDF_U 65800L /* Number of DVI units in a PDF unit */
158 #define CENTI_PDF_U 658 /* Number of DVI units in a centi PDF unit */
159 
160 /* pdf_dev_scale() returns the factor by which a PDF unit
161  * must be multiplied to produce an Adobe point (big point) */
162 
163 double pdf_dev_scale (void)
164 {
165  return 65800.0*dvi2pts;
166 }
167 
168 
169  /* Device coordinates are relative to upper left of page. One of the
170  first things appearing in the page stream is a coordinate transformation
171  matrix that forces this to be true. This coordinate
172  transformation is the only place where the paper size is required.
173  Unfortunately, positive is up, which doesn't agree with TeX's convention. */
174 
177 double text_slant = 0.0, text_extend = 1.0;
178 
179 unsigned num_dev_fonts = 0;
180 unsigned num_phys_fonts = 0;
181 int current_font = -1;
182 
183 #define PHYSICAL 1
184 #define VIRTUAL 2
185 
186 #define TYPE1 1
187 #define PK 2
188 #define TRUETYPE 3
189 #define TYPE0 4
190 
191 #define DEFAULT_MAP_FILE "pdfmfnt.map"
192 
193 static struct dev_font {
194  char short_name[7]; /* Needs to be big enough to hold name "Fxxx"
195  where xxx is number of largest font */
196  unsigned char used_on_this_page, format;
197  char *tex_name;
198  spt_t sptsize;
200  char *used_chars;
201  double extend, slant;
202  int remap;
203  int wmode; /* WMode, horizontal: 0, vertical: 1 */
205 
206 static unsigned max_device_fonts = 0;
207 
208 void dev_fonts_need (unsigned n)
209 {
210  if (n > max_device_fonts) {
213  }
214 }
215 
216 struct map_record {
218  double slant, extend;
219  int remap;
221 
222 unsigned int num_font_map = 0, max_font_map = 0;
223 
224 static void font_maps_need (int n)
225 {
226  if (n > max_font_map) {
229  }
230  return;
231 }
232 
233 static void init_map_record (struct map_record *r)
234 {
235  r->tex_name = NULL;
236  r->enc_name = NULL;
237  r->font_name = NULL;
238  r->slant = 0.0;
239  r->extend = 1.0;
240  r->remap = 0.0;
241  return;
242 }
243 
244 static void release_map_record (struct map_record *r)
245 {
246  if (r && r->tex_name)
247  RELEASE (r->tex_name);
248  if (r && r->enc_name)
249  RELEASE (r->enc_name);
250  if (r && r->font_name)
251  RELEASE (r->font_name);
252 }
253 
254 
255 static void fill_in_defaults (struct map_record *this_map_record)
256 {
257  if (this_map_record -> enc_name != NULL &&
258  (!strcmp (this_map_record->enc_name, "default") ||
259  !strcmp (this_map_record->enc_name, "none"))) {
260  RELEASE(this_map_record->enc_name);
261  this_map_record -> enc_name = NULL;
262  }
263  if (this_map_record -> font_name != NULL &&
264  (!strcmp (this_map_record->font_name, "default") ||
265  !strcmp (this_map_record->font_name, "none"))) {
266  RELEASE(this_map_record->font_name);
267  this_map_record -> font_name = NULL;
268  }
269  /* We *must* fill in a font_name either explicitly or by default
270  (the tex_name) */
271  if (this_map_record -> font_name == NULL) {
272  this_map_record -> font_name = NEW (strlen(this_map_record->tex_name)+1, char);
273  strcpy (this_map_record->font_name, this_map_record->tex_name);
274  }
275  return;
276 }
277 
279 {
280  FILE *mapfile;
281  char *full_map_filename, *start = NULL, *end, *tex_name;
282  if (verbose > 0)
283  fprintf (stderr, "<%s", filename);
284  full_map_filename = kpse_find_file (filename, kpse_fontmap_format,
285  1);
286  if (full_map_filename == NULL ||
287  (mapfile = MFOPEN (full_map_filename, FOPEN_R_MODE)) == NULL) {
288  fprintf (stderr, "Warning: Couldn't open font map file %s\n", filename);
289  mapfile = NULL;
290  }
291  if (mapfile) {
293  NULL) {
295  skip_white (&start, end);
296  if (start >= end)
297  continue;
298  if (*start == '%')
299  continue;
300  if ((tex_name = parse_ident (&start, end)) == NULL)
301  continue;
302  /* Parse record line in map file. First two fields (after TeX font
303  name) are position specific. Arguments start at the first token
304  beginning with a '-' */
307  font_map[num_font_map].tex_name = tex_name;
308  skip_white (&start, end);
309  if (*start != '-') {
310  font_map[num_font_map].enc_name = parse_ident (&start, end); /* May be null */
311  skip_white (&start, end);
312  }
313  if (*start != '-') {
314  font_map[num_font_map].font_name = parse_ident (&start, end); /* May be null */
315  skip_white (&start, end);
316  }
317  /* Parse any remaining arguments */
318  while (start+1 < end && *start == '-') {
319  char *number;
320  switch (*(start+1)) {
321  case 's': /* Slant option */
322  start += 2;
323  skip_white (&start, end);
324  if (start < end &&
325  (number = parse_number(&start, end))) {
327  RELEASE (number);
328  } else {
329  fprintf (stderr, "\n\nMissing slant value in map file for %s\n\n",
330  tex_name);
331  }
332  break;
333  case 'e': /* Extend option */
334  start += 2;
335  skip_white (&start, end);
336  if (start < end &&
337  (number = parse_number(&start, end))) {
339  RELEASE (number);
340  } else {
341  fprintf (stderr, "\n\nMissing extend value in map file for %s\n\n",
342  tex_name);
343  }
344  break;
345  case 'r': /* Remap option */
346  start += 2;
347  skip_white (&start, end);
349  break;
350  default:
351  fprintf (stderr, "\n\nWarning: Unrecognized option in map file %s: -->%s<--\n\n",
352  tex_name, start);
353  start = end;
354  }
355  skip_white (&start, end);
356  }
358  num_font_map += 1;
359  }
360  MFCLOSE (mapfile);
361  if (verbose > 0)
362  fprintf (stderr, ">");
363  }
364  return;
365 }
366 
367 struct map_record *get_map_record (const char *tex_name)
368 {
369  struct map_record *result = NULL;
370  int tried_default = 0;
371  unsigned int i;
372  if (!font_map && !tried_default) {
374  tried_default = 1;
375  }
376  if (!font_map)
377  return result;
378  for (i=0; i<num_font_map; i++) {
379  if (!strcmp (font_map[i].tex_name, tex_name)) {
380  result = font_map+i;
381  break;
382  }
383  }
384  return result;
385 }
386 
387 static void set_text_matrix(spt_t xpos, spt_t ypos, double slant, double extend) {
388  int len = 0;
389 
390  switch(text_wmode) {
391  case VH_MODE:
392  len += sprintf (format_buffer+len, " 0 %.7g -1 %.3g ", extend, slant);
393  break;
394  case HV_MODE:
395  len += sprintf (format_buffer+len, " 0 %.7g 1 %.3g ", -extend, -slant);
396  break;
397  default: /* normal mode */
398  len += sprintf (format_buffer+len, " %.7g 0 %.3g 1 ", extend, slant);
399  }
401  format_buffer[len++] = ' ';
403  format_buffer[len++] = ' ';
404  format_buffer[len++] = 'T';
405  format_buffer[len++] = 'm';
406 
408  return;
409 }
410 
411 /*
412  * reset_text_state() outputs a BT
413  * and does any necessary coordinate transformations
414  * to get ready to ship out text
415  */
416 
417 static void reset_text_state(void)
418 {
419  text_xorigin = 0;
420  text_yorigin = 0;
421  text_offset = 0;
422  /*
423  * We need to reset the line matrix to handle slanted fonts
424  */
425  pdf_doc_add_to_page (" BT", 3);
426  /* text_slant = 0 and text_extend = 1 at top of page */
427  if (force_reset ||
428  (text_slant != 0.0 || text_extend != 1.0) ||
431  force_reset = 0;
432 }
433 
434 static void text_mode (void)
435 {
436  switch (motion_state) {
437  case STRING_MODE:
438  pdf_doc_add_to_page (")]TJ", 4);
439  case TEXT_MODE:
440  break;
441  case GRAPHICS_MODE:
443  break;
444  }
446  text_offset = 0;
447  return;
448 }
449 
450 void graphics_mode (void)
451 {
452  switch (motion_state) {
453  case GRAPHICS_MODE:
454  break;
455  case STRING_MODE:
456  pdf_doc_add_to_page (")]TJ", 4);
457  case TEXT_MODE:
458  pdf_doc_add_to_page (" ET", 3);
459  force_reset = 0;
460  break;
461  }
463  return;
464 }
465 
466 static void string_mode (spt_t xpos, spt_t ypos, double slant, double extend)
467 {
468  spt_t delx, dely;
469  int len = 0;
470  switch (motion_state) {
471  case STRING_MODE:
472  break;
473  case GRAPHICS_MODE:
475  /* Fall through now... */
476  /* Following may be necessary after a rule (and also after
477  specials) */
478  case TEXT_MODE:
479  if (force_reset) {
480  text_xorigin = xpos;
481  text_yorigin = ypos;
482  set_text_matrix(xpos, ypos, slant, extend);
483  pdf_doc_add_to_page ("[(", 2);
484  force_reset = 0;
485  } else {
486  delx = xpos - text_xorigin;
487  {
488  spt_t rounded_delx, desired_delx;
489  spt_t rounded_dely, desired_dely;
490  spt_t dvi_xerror, dvi_yerror;
491 
492  /* First round dely (it is needed for delx) */
493  dely = ypos - text_yorigin;
494  format_buffer[len++] = ' ';
495  switch(text_wmode) { /* precompensating for line transformation matrix */
496  case HV_MODE:
497  desired_delx = delx;
498  rounded_delx = IDIVRND(desired_delx, CENTI_PDF_U) * CENTI_PDF_U;
499  /* Next round dely */
500  desired_dely = (dely+desired_delx*slant)/extend;
501  rounded_dely = IDIVRND(desired_dely, CENTI_PDF_U) * CENTI_PDF_U;
502  len += centi_u_to_a (format_buffer+len, -rounded_dely/CENTI_PDF_U);
503  format_buffer[len++] = ' ';
504  len += centi_u_to_a (format_buffer+len, rounded_delx/CENTI_PDF_U);
505  break;
506  case VH_MODE:
507  desired_delx = delx;
508  rounded_delx = IDIVRND(desired_delx, CENTI_PDF_U) * CENTI_PDF_U;
509  /* Next round dely */
510  desired_dely = (dely+desired_delx*slant)/extend; /* slant = 0 */
511  rounded_dely = IDIVRND(desired_dely, CENTI_PDF_U) * CENTI_PDF_U;
512  len += centi_u_to_a (format_buffer+len, rounded_dely/CENTI_PDF_U);
513  format_buffer[len++] = ' ';
514  len += centi_u_to_a (format_buffer+len, -rounded_delx/CENTI_PDF_U);
515  break;
516  default: /* HH and VV */
517  desired_dely = dely;
518  rounded_dely = IDIVRND(desired_dely, CENTI_PDF_U) * CENTI_PDF_U;
519  /* Next round delx, precompensating for line transformation matrix */
520  desired_delx = (delx-desired_dely*slant)/extend;
521  rounded_delx = IDIVRND(desired_delx, CENTI_PDF_U) * CENTI_PDF_U;
522  len += centi_u_to_a (format_buffer+len, rounded_delx/CENTI_PDF_U);
523  format_buffer[len++] = ' ';
524  len += centi_u_to_a (format_buffer+len, rounded_dely/CENTI_PDF_U);
525  break;
526  }
528  len = 0;
529  pdf_doc_add_to_page (" TD[(", 5);
530  /* Estimate errors in DVI units */
531  dvi_yerror = (desired_dely - rounded_dely);
532  dvi_xerror = (extend*(desired_delx - rounded_delx)+slant*dvi_yerror);
533  text_xorigin = xpos-dvi_xerror;
534  text_yorigin = ypos-dvi_yerror;
535  }
536  text_offset = 0;
537  }
538  break;
539  }
541  return;
542 }
543 
544 /* The purpose of the following routine is to force a Tf only
545  when it's actually necessary. This became a problem when the
546  VF code was added. The VF spec says to instantiate the
547  first font contained in the VF file before drawing a virtual
548  character. However, that font may not be used for
549  many characters (e.g. small caps fonts). For this reason,
550  dev_select_font() should not force a "physical" font selection.
551  This routine prevents a PDF Tf font selection until there's
552  really a character in that font. */
553 
554 static void dev_set_font (int font_id)
555 {
556  int len = 0;
557  int prev_wmode = text_wmode;
558  text_mode();
559  if (dev_font[font_id].wmode == 0) {
560  if (mp_mode) {
562  } else {
563  text_wmode &= 1;
564  }
565  } else if (dev_font[font_id].wmode == 1) {
566  if (mp_mode) {
568  } else {
569  text_wmode |= 2;
570  }
571  }
572  len = sprintf (format_buffer, "/%s ", dev_font[font_id].short_name);
574  format_buffer[len++] = ' ';
575  format_buffer[len++] = 'T';
576  format_buffer[len++] = 'f';
577  if (dev_font[font_id].slant != text_slant ||
579  WMODE_CHANGES(prev_wmode, text_wmode)) {
582  force_reset = 1;
583  }
585  /* Add to Font list in Resource dictionary for this page */
586  if (!dev_font[font_id].used_on_this_page) {
588  pdf_link_obj(dev_font[font_id].font_resource));
590  }
592  return;
593 }
594 
595 void dev_set_string (spt_t xpos, spt_t ypos, unsigned char *s, int
596  length, spt_t width, int font_id)
597 {
598  int len = 0;
599  long kern;
600  int ctype = 1;
601 
602  if (font_id != current_font)
603  dev_set_font(font_id); /* Force a Tf since we are actually trying
604  to write a character */
605  /* double-byte char or single-byte char */
606  ctype = (dev_font[font_id].format == TYPE0) ? 2 : 1;
607  /* Kern is in units of character units, i.e., 1000 = 1 em. */
608  /* The following formula is of the form a*x/b where a, x, and b are
609  long integers. Since in integer arithmetic (a*x) could overflow
610  and a*(x/b) would not be accurate, we use floating point
611  arithmetic rather than trying to do this all with integer
612  arithmetic. */
613  if (! VERTDIR(text_wmode)) {
614  kern =
616  if (force_reset || /* reset text state */
617  labs(ypos-text_yorigin) > CENTI_PDF_U || /* CENTI_PDF_U is smallest resolvable dimension */
618  abs(kern) > 32000 /* Some PDF Readers fail on large kerns */
619  ) {
620  text_mode();
621  kern = 0;
622  }
623  } else {
624  kern =
626  if (force_reset || /* reset text state */
627  labs(xpos-text_xorigin) > CENTI_PDF_U || /* CENTI_PDF_U is smallest resolvable dimension */
628  abs(kern) > 32000 /* Some PDF Readers fail on large kerns */
629  ) {
630  text_mode();
631  kern = 0;
632  }
633  }
634  if (motion_state != STRING_MODE)
636  else if (kern != 0) {
637  text_offset -=
639  /* Same issues as earlier. Use floating point for simplicity */
640  /* This routine needs to be fast, so we don't call sprintf() or
641  strcpy() */
642  format_buffer[len++] = ')';
643  if (VERTFONT(text_wmode)) { /* PDF vertical writing mode for CJK characters */
645  } else {
647  }
648  format_buffer[len++] = '(';
650  len = 0;
651  }
653  length,
656 
657  /* Record characters used for partial font embedding */
658  /* Fonts without pfbs don't get counted and have used_chars set to
659  null */
660  if ((dev_font[font_id].used_chars != NULL) && ctype == 1) {
661  int i;
662  if (dev_font[font_id].remap)
663  for (i=0; i<length; i++){
664  (dev_font[font_id].used_chars)[twiddle(s[i])] = 1;
665  }
666  else
667  for (i=0; i<length; i++){
668  (dev_font[font_id].used_chars)[s[i]] = 1;
669  }
670  }
671  text_offset += width;
672 }
673 
674 void dev_init (double scale, double x_offset, double y_offset)
675 {
676  dvi2pts = scale;
677  hoffset = x_offset;
678  voffset = y_offset;
679  if (debug) fprintf (stderr, "dev_init:\n");
680  graphics_mode();
683 }
684 
685 void dev_close (void)
686 {
687  /* Set page origin now that user has had plenty of time
688  to set page size */
689  pdf_doc_set_origin((double) hoffset, (double)
691 }
692 
694 {
696 }
697 
698 
699 /* BOP, EOP, and FONT section.
700  BOP and EOP manipulate some of the same data structures
701  as the font stuff */
702 
703 #define GRAY 1
704 #define RGB 2
705 #define CMYK 3
706 struct color {
708  double c1, c2, c3, c4;
709 } colorstack[MAX_COLORS], background = {GRAY, 1.0, 1.0, 1.0, 1.0},
710  default_color = {GRAY, 0.0, 0.0, 0.0, 0.0};
711 
712 #include "colors.h"
713 
714 struct color color_by_name (char *s)
715 {
716  int i;
717  struct color result;
718  for (i=0; i<sizeof(colors_by_name)/sizeof(colors_by_name[0]); i++) {
719  if (!strcmp (s, colors_by_name[i].name)) {
720  break;
721  }
722  }
723  if (i == sizeof(colors_by_name)/sizeof(colors_by_name[0])) {
724  fprintf (stderr, "Color \"%s\" no known. Using \"Black\" instead.\n", s);
726  } else {
728  }
729  return result;
730 }
731 
732 static int num_colors = 0;
733 
734 static void fill_page (void)
735 {
736  if (background.colortype == GRAY && background.c1 == 1.0)
737  return;
738  switch (background.colortype) {
739  case GRAY:
740  sprintf (format_buffer, " q 0 w %.3f g %.3f G", background.c1, background.c1);
741  break;
742  case RGB:
743  sprintf (format_buffer, " q 0 w %.3f %.3f %.3f rg %.3f %.3f %.3f RG",
746  break;
747  case CMYK:
748  sprintf (format_buffer, " q 0 w %.3f %.3f %.3f %.3f k %.3f %.3f %.3f %.3f K ",
751  break;
752  }
755  " 0 0 m %.2f 0 l %.2f %.2f l 0 %.2f l b Q ",
757  dev_page_height());
759  return;
760 }
761 
762 void dev_bg_rgb_color (double r, double g, double b)
763 {
765  background.c1 = r;
766  background.c2 = g;
767  background.c3 = b;
768  return;
769 }
770 
771 void dev_bg_cmyk_color (double c, double m, double y, double k)
772 {
774  background.c1 = c;
775  background.c2 = m;
776  background.c3 = y;
777  background.c4 = k;
778  return;
779 }
780 
781 void dev_bg_gray (double value)
782 {
784  background.c1 = value;
785  return;
786 }
787 
788 void dev_bg_named_color (char *s)
789 {
790  struct color color = color_by_name (s);
791  switch (color.colortype) {
792  case GRAY:
793  dev_bg_gray (color.c1);
794  break;
795  case RGB:
797  break;
798  case CMYK:
800  break;
801  }
802  return;
803 }
804 
805 static void dev_clear_color_stack (void)
806 {
807  num_colors = 0;
808  return;
809 }
810 static void dev_set_color (struct color color)
811 {
812  switch (color.colortype) {
813  int len;
814  case RGB:
815  len = sprintf (format_buffer, " %.2f %.2f %.2f",
816  color.c1,
817  color.c2,
818  color.c3);
820  pdf_doc_add_to_page (" rg", 3);
822  pdf_doc_add_to_page (" RG", 3);
823  break;
824  case CMYK:
825  len = sprintf (format_buffer, " %.2f %.2f %.2f %.2f",
826  color.c1,
827  color.c2,
828  color.c3,
829  color.c4);
831  pdf_doc_add_to_page (" k", 2);
833  pdf_doc_add_to_page (" K ", 3);
834  break;
835  case GRAY:
836  len = sprintf (format_buffer, " %.2f", color.c1);
838  pdf_doc_add_to_page (" g", 2);
840  pdf_doc_add_to_page (" G", 2);
841  break;
842  default:
843  ERROR ("Internal error: Invalid default color item");
844  }
845 }
846 
847 
848 void dev_do_color (void)
849 {
850  if (num_colors == 0) {
852  } else {
854  }
855  return;
856 }
857 
858 void dev_set_def_rgb_color (double r, double g, double b)
859 {
860  default_color.c1 = r;
861  default_color.c2 = g;
862  default_color.c3 = b;
864  dev_do_color();
865  return;
866 }
867 
868 void dev_set_def_gray (double g)
869 {
870  default_color.c1 = g;
872  dev_do_color();
873  return;
874 }
875 
877 {
878  struct color color = color_by_name (s);
879  switch (color.colortype) {
880  case GRAY:
882  break;
883  case RGB:
885  break;
886  case CMYK:
888  break;
889  }
890  return;
891 }
892 
893 void dev_set_def_cmyk_color (double c, double m, double y, double k)
894 {
895  default_color.c1 = c;
896  default_color.c2 = m;
897  default_color.c3 = y;
898  default_color.c4 = k;
900  dev_do_color();
901  return;
902 }
903 
905 {
906  struct color color = color_by_name (s);
907  switch (color.colortype) {
908  case GRAY:
910  break;
911  case RGB:
913  break;
914  case CMYK:
916  break;
917  }
918  return;
919 }
920 
921 void dev_begin_rgb_color (double r, double g, double b)
922 {
923  if (num_colors >= MAX_COLORS) {
924  fprintf (stderr, "\ndev_set_color: Exceeded depth of color stack\n");
925  return;
926  }
931  num_colors+= 1;
932  dev_do_color();
933 }
934 
935 void dev_begin_cmyk_color (double c, double m, double y, double k)
936 {
937  if (num_colors >= MAX_COLORS) {
938  fprintf (stderr, "\ndev_set_color: Exceeded depth of color stack\n");
939  return;
940  }
946  num_colors+= 1;
947  dev_do_color();
948 }
949 
950 void dev_begin_gray (double value)
951 {
952  if (num_colors >= MAX_COLORS) {
953  fprintf (stderr, "\ndev_begin_gray: Exceeded depth of color stack\n");
954  return;
955  }
958  num_colors+= 1;
959  dev_do_color();
960 }
961 
962 void dev_end_color (void)
963 {
964  if (num_colors <= 0) {
965  fprintf (stderr, "\ndev_set_color: End color with no corresponding begin color\n");
966  return;
967  }
968  num_colors -= 1;
969  dev_do_color();
970 }
971 
972 static int num_transforms = 0;
973 
974 static void dev_clear_xform_stack (void)
975 {
976  num_transforms = 0;
977  return;
978 }
979 
980 void dev_begin_xform (double xscale, double yscale, double rotate,
981  double x_user, double y_user)
982 {
983  double c, s;
985  fprintf (stderr, "\ndev_begin_xform: Exceeded depth of transformation stack\n");
986  return;
987  }
988  c = ROUND (cos(rotate),1e-5);
989  s = ROUND (sin(rotate),1e-5);
990  sprintf (work_buffer, " q %g %g %g %g %.2f %.2f cm",
991  xscale*c, xscale*s, -yscale*s, yscale*c,
992  (1.0-xscale*c)*x_user+yscale*s*y_user,
993  -xscale*s*x_user+(1.0-yscale*c)*y_user);
995  num_transforms += 1;
996  return;
997 }
998 
999 void dev_end_xform (void)
1000 {
1001  if (num_transforms <= 0) {
1002  fprintf (stderr, "\ndev_end_xform: End transform with no corresponding begin\n");
1003  return;
1004  }
1005  pdf_doc_add_to_page (" Q", 2);
1006  num_transforms -= 1;
1007  /* Unfortunately, the following two lines are necessary in case of a font or color
1008  change inside of the save/restore pair. Anything that was done
1009  there must be redone, so in effect, we make no assumptions about
1010  what fonts. We act like we are starting a new page */
1012  dev_do_color();
1013  return;
1014 }
1015 
1017 {
1018  return num_transforms;
1019 }
1020 
1022 {
1023  if (num_transforms > depth) {
1024  fprintf (stderr, "\nspecial: Closing pending transformations at end of page/XObject\n");
1025  while (num_transforms > depth) {
1026  num_transforms -= 1;
1027  pdf_doc_add_to_page (" Q", 2);
1028  }
1030  dev_do_color();
1031  }
1032  return;
1033 }
1034 
1035 
1036 /* The following routine is here for forms. Since
1037  a form is self-contained, it will need its own Tf command
1038  at the beginningg even if it is continuing to set type
1039  in the current font. This routine simply forces reinstantiation
1040  of the current font. */
1042 {
1043  int i;
1044  current_font = -1;
1045  for (i=0; i<num_dev_fonts; i++) {
1047  }
1048  text_slant = 0.0;
1049  text_extend = 1.0;
1050 }
1051 
1052 static void bop_font_reset(void)
1053 {
1055 }
1056 
1057 void dev_bop (void)
1058 {
1059 #ifdef MEM_DEBUG
1060 MEM_START
1061 #endif
1062  if (debug) {
1063  fprintf (stderr, "dev_bop:\n");
1064  }
1065  pdf_doc_new_page ();
1066  graphics_mode();
1067  {
1068  text_slant = 0.0;
1069  text_extend = 1.0;
1070  force_reset = 0;
1071  }
1072  bop_font_reset();
1073  /* This shouldn't be necessary because line widths are now
1074  explicitly set for each rule */
1075  /* pdf_doc_add_to_page ("0 w", 3); */
1076  dev_do_color(); /* Set text color since new page loses color state */
1077 #ifdef MEM_DEBUG
1078 MEM_END
1079 #endif
1080 }
1081 
1082 void dev_eop (void)
1083 {
1084 #ifdef MEM_DEBUG
1085 MEM_START
1086 #endif
1087  if (debug) {
1088  fprintf (stderr, "dev_eop:\n");
1089  }
1090  graphics_mode();
1092  fill_page();
1094  /* Finish any pending PS specials */
1095  mp_eop_cleanup();
1096 #ifdef MEM_DEBUG
1097 MEM_END
1098 #endif
1099 }
1100 
1101 int dev_locate_font (const char *tex_name, spt_t ptsize)
1102 {
1103  int i;
1104  int this_font;
1105 
1106  if (ptsize == 0) {
1107  ERROR ("locate_dev_font() called with ptsize = 0");
1108  }
1109  /* Make sure we have room for a new one, even though we
1110  may not actually create one */
1112  this_font = num_dev_fonts;
1113 
1114  for (i=0; i<this_font; i++) {
1115  /* PK must match in name and size to resolve to the same device
1116  font */
1117  if (dev_font[i].tex_name &&
1118  strcmp (tex_name, dev_font[i].tex_name) == 0 &&
1119  dev_font[i].sptsize == ptsize &&
1120  dev_font[i].format == PK)
1121  break;
1122  /* Scaleable fonts must match in name; however, this routine
1123  must return a different id if the ptsize is different */
1124  if (dev_font[i].tex_name &&
1125  strcmp (tex_name, dev_font[i].tex_name) == 0 &&
1126  dev_font[i].format != PK)
1127  break;
1128  }
1129  if (i == this_font) { /* There is no physical font we can use */
1130  struct map_record *map_record;
1131  int font_id = -1, font_format = -1, tfm_id = -1, encoding_id = -1;
1132  int remap = 0;
1133  double extend= 1.0, slant = 0.0;
1134  const char *font_name;
1135  char short_name[7];
1136  /* Get appropriate info from map file (yes, PK fonts at two
1137  different point sizes would be looked up twice unecessarily) */
1138  if ((map_record = get_map_record (tex_name))) {
1139  remap = map_record -> remap;
1140  slant = map_record -> slant;
1141  extend = map_record -> extend;
1143  } else {
1144  font_name = tex_name;
1145  }
1146  if (verbose>1){
1147  if (map_record) {
1148  fprintf (stderr, "\nfontmap: %s -> %s", tex_name,
1150  if (map_record->enc_name)
1151  fprintf (stderr, "(%s)", map_record->enc_name);
1152  if (map_record->slant)
1153  fprintf (stderr, "[slant=%g]", map_record->slant);
1154  if (map_record->extend != 1.0)
1155  fprintf (stderr, "[extend=%g]", map_record->extend);
1156  if (map_record->remap)
1157  fprintf (stderr, "[remap]");
1158  fprintf (stderr, "\n");
1159  } else {
1160  fprintf (stderr, "\nfontmap: %s (no map)\n", tex_name);
1161  }
1162  }
1163  /* If this font has an encoding specified on the record, get its id */
1164  if (map_record && map_record -> enc_name != NULL) {
1165  encoding_id = get_encoding (map_record -> enc_name);
1166  } else { /* Otherwise set the encoding_id to -1 */
1167  encoding_id = -1;
1168  }
1169  tfm_id = tfm_open (tex_name);
1170  /* We assume, for now that we will find this as a physical font,
1171  as opposed to a vf, so we need a device name to tell the
1172  lower-level routines what we want this to be called. We'll
1173  blast this name away later if we don't need it. */
1174 
1175  short_name[0] = 'F';
1176  inttoa (short_name+1, num_phys_fonts+1);
1177  if ((font_id = type1_font (font_name, tfm_id,
1178  short_name, encoding_id, remap))>=0) {
1179  font_format = TYPE1;
1180 #ifdef HAVE_TTF_FORMATS
1181  } else if ((font_id = ttf_font (font_name, tfm_id,
1182  short_name, encoding_id, remap))>=0) {
1184 #endif /* HAVE_TTF_FORMATS */
1185  } else if ((font_id = type0_font (font_name, tfm_id,
1186  short_name, encoding_id, remap))>=0) {
1187  font_format = TYPE0;
1188  } else if ((font_id = pk_font (font_name, ptsize*dvi2pts,
1189  tfm_id,
1190  short_name))>=0) {
1191  font_format = PK;
1192  }
1193  if (font_format >= 0) { /* This is a new physical font and we found a physical
1194  font we can use */
1195  strcpy (dev_font[this_font].short_name, short_name);
1196  dev_font[this_font].tex_name = NEW (strlen (tex_name)+1, char);
1197  strcpy (dev_font[this_font].tex_name, tex_name);
1198  dev_font[this_font].sptsize = ptsize;
1199  dev_font[this_font].format = font_format;
1200  dev_font[this_font].wmode = is_vertical(tfm_id);
1201  if (dev_font[this_font].wmode && slant != 0.0) {
1202  fprintf(stderr, "Warning: slant option ignored (vertical font)\n");
1203  dev_font[this_font].slant = 0.0;
1204  } else {
1205  dev_font[this_font].slant = slant;
1206  }
1207  dev_font[this_font].extend = extend;
1208  dev_font[this_font].remap = remap;
1209  dev_font[this_font].used_on_this_page = 0;
1210  switch (font_format) {
1211  case TYPE1:
1212  dev_font[this_font].font_resource =
1215  break;
1216 #ifdef HAVE_TTF_FORMATS
1217  case TRUETYPE:
1218  dev_font[this_font].font_resource =
1220  dev_font[this_font].used_chars = ttf_font_used(font_id);
1221  break;
1222 #endif /* HAVE_TTF_FORMATS */
1223  case TYPE0:
1224  dev_font[this_font].font_resource =
1227  break;
1228  case PK:
1230  dev_font[this_font].used_chars = pk_font_used(font_id);
1231  break;
1232  default:
1233  ERROR ("Impossible font format in dev_locate_font()");
1234  }
1235  num_phys_fonts += 1;
1236  } else { /* No appropriate physical font exists */
1237  this_font = -1; /* A flag indicating no physical font */
1238  }
1239  } else { /* A previously existing physical font can be used;
1240  however, this routine must return a distinct ID if the
1241  ptsizes are different. Copy the information from the
1242  previous record to the new record */
1243  strcpy (dev_font[this_font].short_name, dev_font[i].short_name);
1244  dev_font[this_font].tex_name = NEW (strlen (tex_name)+1, char);
1245  strcpy (dev_font[this_font].tex_name, tex_name);
1246  dev_font[this_font].sptsize = ptsize;
1247  dev_font[this_font].format = dev_font[i].format;
1248  dev_font[this_font].used_chars = dev_font[i].used_chars;
1249  dev_font[this_font].slant = dev_font[i].slant;
1250  dev_font[this_font].extend = dev_font[i].extend;
1251  dev_font[this_font].remap = dev_font[i].remap;
1252  /* The value in useD_on_this_page will be incorrect if the font
1253  has already been used on a page in a different point size.
1254  It's too hard to do right. The only negative consequence is
1255  that there will be an attempt to add the resource to the page
1256  resource dict. However, the second attempt will do nothing */
1257  dev_font[this_font].used_on_this_page = 0;
1258  dev_font[this_font].wmode = dev_font[i].wmode;
1259  dev_font[this_font].font_resource = pdf_link_obj(dev_font[i].font_resource);
1260  /* These two fonts are treated as having the same physical
1261  "used_chars" */
1262  dev_font[this_font].used_chars = dev_font[i].used_chars;
1263  }
1264  if (this_font >= 0)
1265  num_dev_fonts += 1;
1266  return this_font;
1267 }
1268 
1270 {
1271  int i;
1272  for (i=0; i<num_dev_fonts; i++) {
1273  pdf_release_obj (dev_font[i].font_resource);
1275  }
1276  if (dev_font)
1277  RELEASE (dev_font);
1278 
1279  /* Release all map entries */
1280  for (i=0; i<num_font_map; i++) {
1282  }
1283 
1284  if (font_map)
1285  RELEASE (font_map);
1286  /* Close the various font handlers */
1287  type1_close_all();
1288  type0_close_all();
1289  pk_close_all();
1290 #ifdef HAVE_TTF_FORMATS
1291  ttf_close_all();
1292 #endif
1293 
1294  /* Now do encodings. */
1296 }
1297 
1299 {
1300  int len = 0;
1301  long w, p1, p2, p3, p4;
1302  graphics_mode();
1303  /* Is using a real stroke the right thing to do? It seems to preserve
1304  the logical meaning of a "rule" as opposed to a filled rectangle.
1305  I am assume the reader can more intelligently render a rule than a filled rectangle */
1306  if (width> height) { /* Horizontal stroke? */
1308  p1 = IDIVRND(xpos, CENTI_PDF_U);
1309  p2 = IDIVRND (2*ypos+height, 2*CENTI_PDF_U);
1310  p3 = IDIVRND(xpos+width,CENTI_PDF_U);
1311  p4 = IDIVRND (2*ypos+height, 2*CENTI_PDF_U);
1312  } else { /* Vertical stroke */
1314  p1 = IDIVRND (2*xpos+width, 2*CENTI_PDF_U);
1315  p2 = IDIVRND(ypos, CENTI_PDF_U);
1316  p3 = IDIVRND (2*xpos+width, 2*CENTI_PDF_U);
1317  p4 = IDIVRND(ypos+height,CENTI_PDF_U);
1318  }
1319  /* This needs to be quick */
1320  {
1321  format_buffer[len++] = ' ';
1323  format_buffer[len++] = ' ';
1324  format_buffer[len++] = 'w';
1325  format_buffer[len++] = ' ';
1327  format_buffer[len++] = ' ';
1329  format_buffer[len++] = ' ';
1330  format_buffer[len++] = 'm';
1331  format_buffer[len++] = ' ';
1332  len += centi_u_to_a (format_buffer+len, p3);
1333  format_buffer[len++] = ' ';
1334  len += centi_u_to_a (format_buffer+len, p4);
1335  format_buffer[len++] = ' ';
1336  format_buffer[len++] = 'l';
1337  format_buffer[len++] = ' ';
1338  format_buffer[len++] = 'S';
1339  }
1341 }
1342 
1343 /* The following routines tell the coordinates in true Adobe points
1344  with the coordinate system having its origin at the bottom
1345  left of the page. */
1346 
1347 double dev_phys_x (void)
1348 {
1349  return dvi_dev_xpos()*dvi_tell_mag() + hoffset;
1350 }
1351 
1352 double dev_phys_y (void)
1353 {
1355 }
1356 
1357 static int src_special (char *buffer, UNSIGNED_QUAD size) {
1358  char *start = buffer;
1359  char *end = buffer + size;
1360  int result = 0;
1361  skip_white (&start, end);
1362  if ((start+3 < end) &&
1363  (!strncmp ("src:", start, 4)))
1364  result = 1;
1365  return result;
1366 }
1367 
1368 static int om_special (char *buffer, UNSIGNED_QUAD size) {
1369  char *start = buffer;
1370  char *end = buffer + size;
1371  int result = 0;
1372  skip_white (&start, end);
1373  if ((start+3 < end) &&
1374  (!strncmp ("om:", start, 3)))
1375  result = 1;
1376  return result;
1377 }
1378 
1380  spt_t y_user)
1381 {
1382  double dev_xuser, dev_yuser;
1383  dev_xuser = ((double) x_user) / ((double) PDF_U);
1384  dev_yuser = ((double) -y_user) / ((double) PDF_U);
1385  graphics_mode();
1386  if (!pdf_parse_special (buffer, size, dev_xuser, dev_yuser) &&
1387  !tpic_parse_special (buffer, size, dev_xuser, dev_yuser) &&
1389  !color_special (buffer, size) &&
1390  !ps_parse_special (buffer, size, dev_xuser, dev_yuser) &&
1391  !src_special (buffer, size) &&
1392  !om_special (buffer, size)) {
1393  fprintf (stderr, "\nUnrecognized special ignored");
1394  dump (buffer, ((char *)buffer)+size);
1395  }
1396 }
1397 
1398 static unsigned dvi_stack_depth = 0;
1399 static int dvi_tagged_depth = -1;
1400 static unsigned char link_annot = 1;
1401 
1402 void dev_link_annot (unsigned char flag)
1403 {
1404  link_annot = flag;
1405 }
1406 
1407 void dev_stack_depth (unsigned int depth)
1408 {
1409  /* If decreasing below tagged_depth */
1410  if (link_annot &&
1412  depth == dvi_tagged_depth - 1) {
1413  /* See if this appears to be the end of a "logical unit"
1414  that's been broken. If so, flush the logical unit */
1416  }
1418  return;
1419 }
1420 
1421 /* The following routines setup and tear down a callback at
1422  a certain stack depth. This is used to handle broken (linewise)
1423  links */
1424 
1425 void dev_tag_depth (void)
1426 {
1428  dvi_compute_boxes (1);
1429  return;
1430 }
1431 
1432 void dev_untag_depth (void)
1433 {
1434  dvi_tagged_depth = -1;
1435  dvi_compute_boxes (0);
1436  return;
1437 }
1438 
1440 {
1441  double phys_width, phys_height, phys_depth, scale;
1444  phys_width = scale*width;
1445  phys_height = scale*height;
1446  phys_depth = scale*depth;
1447  if (! VERTDIR(text_wmode)) {
1448  pdf_doc_expand_box (dev_phys_x(), dev_phys_y()-phys_depth,
1449  dev_phys_x()+phys_width,
1450  dev_phys_y()+phys_height);
1451  } else {
1452  pdf_doc_expand_box (dev_phys_x()-phys_depth, dev_phys_y()-phys_width,
1453  dev_phys_x()+phys_height,
1454  dev_phys_y());
1455  }
1456  }
1457 }
1458 
1459 int dev_wmode (void)
1460 {
1461  return VERTDIR(text_wmode);
1462 }
1463 
1464 void dev_set_wmode (int dir)
1465 {
1466  int prev_wmode = text_wmode;
1467 
1468  if (dir) {
1469  text_wmode |= 1;
1470  } else {
1471  text_wmode &= 2;
1472  }
1473  if (WMODE_CHANGES(prev_wmode, text_wmode)) force_reset = 1;
1474 }
1475 
1476 void dev_start_mp_mode (void) /* MetaPost mode (or PostScript mode) */
1477 {
1479  text_wmode = HH_MODE;
1480  mp_mode = 1;
1481 }
1482 
1483 void dev_end_mp_mode (void)
1484 {
1486  mp_mode = 0;
1487 }
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
static void remap(long *what, int oldn, int newn)
Definition: afm2tfm.c:964
#define kern
Definition: aptex-macros.h:386
#define width(a)
Definition: aptex-macros.h:198
#define depth(a)
Definition: aptex-macros.h:199
#define name
#define height(a)
Definition: aptex-macros.h:200
#define slant(f)
static int font_id[65536]
Definition: aptex-src.c:20628
char * p2
Definition: bmpfont.h:62
char * p1
Definition: bmpfont.h:62
#define n
Definition: t4ht.c:1290
struct color_by_name colors_by_name[]
int color_special(char *buffer, UNSIGNED_QUAD size)
Definition: colorsp.c:203
#define b
Definition: jpegint.h:372
int w
Definition: dviconv.c:26
double cos()
double sin()
int strcmp()
Definition: coll.cpp:143
char * strcpy()
int ps_parse_special(char *buffer, UNSIGNED_QUAD size, double x_user, double y_user)
Definition: psspecial.c:214
pdf_obj * ttf_font_resource(int ttf_id)
Definition: ttf.c:851
int ttf_font(const char *map_name, int tfm_font_id, char *resource_name, int encoding_id, int remap)
Definition: ttf.c:875
void ttf_close_all(void)
Definition: ttf.c:982
char * ttf_font_used(int ttf_id)
Definition: ttf.c:861
void encoding_flush_all(void)
Definition: encodings.c:195
int get_encoding(const char *enc_name)
Definition: encodings.c:94
long int flag
Definition: f2c.h:53
int ptsize
Definition: ftlib.c:46
#define s
Definition: afcover.h:80
#define c(n)
Definition: gpos-common.c:150
char * mapfile
Definition: gsftopk.c:415
char comment[255+1]
Definition: hbf2gf.c:350
int htex_parse_special(char *buffer, UNSIGNED_QUAD size)
Definition: htex.c:209
#define MAX(a, b)
Definition: jpegint.h:267
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p scientific i
Definition: afcover.h:80
kerning y
Definition: ttdriver.c:212
#define NEW
Definition: gdkanji.c:77
double atof(const char *)
static void skip_white(const char **pp, const char *endptr)
Definition: dpxutil.c:74
void dvi_compute_boxes(int flag)
Definition: dvi.c:889
double dvi_dev_ypos(void)
Definition: dvi.c:1344
double dvi_tell_mag(void)
Definition: dvi.c:453
double dvi_dev_xpos(void)
Definition: dvi.c:1338
#define RENEW(p, n, type)
Definition: mem.h:38
#define RELEASE(p)
Definition: mem.h:39
char * mfgets(char *buffer, int length, FILE *file)
Definition: mfileio.c:132
char work_buffer[1024]
Definition: mfileio.c:171
#define WORK_BUFFER_SIZE
Definition: mfileio.h:68
#define MFOPEN(name, mode)
Definition: mfileio.h:42
#define MFCLOSE(file)
Definition: mfileio.h:44
void graphics_mode(void)
Definition: pdfdev.c:1781
int spt_t
Definition: pdfdev.h:32
static void pdf_doc_new_page(pdf_doc *p)
Definition: pdfdoc.c:2264
void pdf_doc_expand_box(const pdf_rect *rect)
Definition: pdfdoc.c:2836
static void pdf_doc_finish_page(pdf_doc *p)
Definition: pdfdoc.c:2294
void pdf_release_obj(pdf_obj *object)
Definition: pdfobj.c:3217
int pdfobj_escape_str(char *buffer, int bufsize, const unsigned char *s, int len)
Definition: pdfobj.c:1183
pdf_obj * pdf_link_obj(pdf_obj *object)
Definition: pdfobj.c:948
char * parse_number(const char **start, const char *end)
Definition: pdfparse.c:138
void dump(const char *start, const char *end)
Definition: pdfparse.c:74
char * parse_ident(const char **start, const char *end)
Definition: pdfparse.c:195
#define MAX_FONTS
Definition: tfm.c:314
int tfm_open(const char *tfm_name, int must_exist)
Definition: tfm.c:833
#define ERROR(string)
Definition: error.h:36
#define MEM_END
Definition: mem.h:45
#define MEM_START
Definition: mem.h:44
void mp_eop_cleanup(void)
Definition: mpost.c:1299
int inttoa(char *s, long int i)
Definition: numbers.c:252
int centi_u_to_a(char *s, long int n)
Definition: numbers.c:258
unsigned long UNSIGNED_QUAD
Definition: numbers.h:37
#define IDIVRND(a, b)
Definition: numbers.h:80
double dev_phys_x(void)
Definition: pdfdev.c:1347
#define HV_MODE
Definition: pdfdev.c:121
int dev_locate_font(const char *tex_name, spt_t ptsize)
Definition: pdfdev.c:1101
static int verbose
Definition: pdfdev.c:98
void dev_set_debug(void)
Definition: pdfdev.c:104
static void dev_set_color(struct color color)
Definition: pdfdev.c:810
struct map_record * get_map_record(const char *tex_name)
Definition: pdfdev.c:367
void dev_set_page_size(double width, double height)
Definition: pdfdev.c:76
int motion_state
Definition: pdfdev.c:113
void dev_set_def_cmyk_color(double c, double m, double y, double k)
Definition: pdfdev.c:893
void dev_set_wmode(int dir)
Definition: pdfdev.c:1464
static int src_special(char *buffer, UNSIGNED_QUAD size)
Definition: pdfdev.c:1357
static void font_maps_need(int n)
Definition: pdfdev.c:224
void dev_bg_cmyk_color(double c, double m, double y, double k)
Definition: pdfdev.c:771
static void fill_page(void)
Definition: pdfdev.c:734
void dev_do_special(void *buffer, UNSIGNED_QUAD size, spt_t x_user, spt_t y_user)
Definition: pdfdev.c:1379
void dev_end_color(void)
Definition: pdfdev.c:962
void dev_stack_depth(unsigned int depth)
Definition: pdfdev.c:1407
void dev_set_def_rgb_color(double r, double g, double b)
Definition: pdfdev.c:858
#define TYPE0
Definition: pdfdev.c:189
void dev_do_color(void)
Definition: pdfdev.c:848
static void dev_clear_xform_stack(void)
Definition: pdfdev.c:974
double voffset
Definition: pdfdev.c:58
void dev_init(double scale, double x_offset, double y_offset)
Definition: pdfdev.c:674
void dev_set_verbose(void)
Definition: pdfdev.c:100
#define GRAPHICS_MODE
Definition: pdfdev.c:109
void dev_start_mp_mode(void)
Definition: pdfdev.c:1476
static int num_transforms
Definition: pdfdev.c:972
#define HH_MODE
Definition: pdfdev.c:120
void dev_reselect_font(void)
Definition: pdfdev.c:1041
static void bop_font_reset(void)
Definition: pdfdev.c:1052
int dev_xform_depth(void)
Definition: pdfdev.c:1016
int page_size_readonly
Definition: pdfdev.c:74
int dev_wmode(void)
Definition: pdfdev.c:1459
void dev_eop(void)
Definition: pdfdev.c:1082
static void text_mode(void)
Definition: pdfdev.c:434
static int num_colors
Definition: pdfdev.c:732
static void dev_clear_color_stack(void)
Definition: pdfdev.c:805
void dev_set_def_named_color(char *s)
Definition: pdfdev.c:876
int mp_mode
Definition: pdfdev.c:130
double text_extend
Definition: pdfdev.c:177
struct color colorstack[32u]
static void init_map_record(struct map_record *r)
Definition: pdfdev.c:233
#define PK
Definition: pdfdev.c:187
unsigned num_dev_fonts
Definition: pdfdev.c:179
static spt_t text_yorigin
Definition: pdfdev.c:175
struct color color_by_name(char *s)
Definition: pdfdev.c:714
#define STRING_MODE
Definition: pdfdev.c:111
void dev_begin_cmyk_color(double c, double m, double y, double k)
Definition: pdfdev.c:935
unsigned num_phys_fonts
Definition: pdfdev.c:180
static void reset_text_state(void)
Definition: pdfdev.c:417
void dev_bg_rgb_color(double r, double g, double b)
Definition: pdfdev.c:762
static spt_t text_xorigin
Definition: pdfdev.c:175
double hoffset
Definition: pdfdev.c:58
void dev_close(void)
Definition: pdfdev.c:685
static unsigned dvi_stack_depth
Definition: pdfdev.c:1398
void dev_bg_gray(double value)
Definition: pdfdev.c:781
int force_reset
Definition: pdfdev.c:129
#define CMYK
Definition: pdfdev.c:705
void dev_read_mapfile(char *filename)
Definition: pdfdev.c:278
void dev_begin_rgb_color(double r, double g, double b)
Definition: pdfdev.c:921
static void dev_set_font(int font_id)
Definition: pdfdev.c:554
static int om_special(char *buffer, UNSIGNED_QUAD size)
Definition: pdfdev.c:1368
struct color default_color[32u]
#define VH_MODE
Definition: pdfdev.c:122
#define TEXT_MODE
Definition: pdfdev.c:110
static void fill_in_defaults(struct map_record *this_map_record)
Definition: pdfdev.c:255
void dev_bg_named_color(char *s)
Definition: pdfdev.c:788
int text_wmode
Definition: pdfdev.c:124
struct map_record * font_map
void dev_begin_gray(double value)
Definition: pdfdev.c:950
void dev_end_mp_mode(void)
Definition: pdfdev.c:1483
void dev_set_def_gray(double g)
Definition: pdfdev.c:868
static void string_mode(spt_t xpos, spt_t ypos, double slant, double extend)
Definition: pdfdev.c:466
#define PDF_U
Definition: pdfdev.c:157
void dev_end_xform(void)
Definition: pdfdev.c:999
void dev_untag_depth(void)
Definition: pdfdev.c:1432
static double page_width
Definition: pdfdev.c:71
double dev_phys_y(void)
Definition: pdfdev.c:1352
void dev_tag_depth(void)
Definition: pdfdev.c:1425
void dev_close_all_fonts(void)
Definition: pdfdev.c:1269
void dev_fonts_need(unsigned n)
Definition: pdfdev.c:208
void dev_close_all_xforms(int depth)
Definition: pdfdev.c:1021
double dev_page_height(void)
Definition: pdfdev.c:92
double dev_page_width(void)
Definition: pdfdev.c:86
void dev_rule(spt_t xpos, spt_t ypos, spt_t width, spt_t height)
Definition: pdfdev.c:1298
static int dvi_tagged_depth
Definition: pdfdev.c:1399
void dev_link_annot(unsigned char flag)
Definition: pdfdev.c:1402
#define VERTDIR(p)
Definition: pdfdev.c:128
unsigned int max_font_map
Definition: pdfdev.c:222
int current_font
Definition: pdfdev.c:181
static spt_t text_offset
Definition: pdfdev.c:176
static int debug
Definition: pdfdev.c:98
int text_wmode_save
Definition: pdfdev.c:125
static void release_map_record(struct map_record *r)
Definition: pdfdev.c:244
double pdf_dev_scale(void)
Definition: pdfdev.c:163
static unsigned char link_annot
Definition: pdfdev.c:1400
void dev_begin_named_color(char *s)
Definition: pdfdev.c:904
static double dvi2pts
Definition: pdfdev.c:60
#define DEFAULT_MAP_FILE
Definition: pdfdev.c:191
static char format_buffer[4096]
Definition: pdfdev.c:133
unsigned int num_font_map
Definition: pdfdev.c:222
#define TYPE1
Definition: pdfdev.c:186
struct color background[32u]
#define VV_MODE
Definition: pdfdev.c:123
#define VERTFONT(p)
Definition: pdfdev.c:127
void dev_bop(void)
Definition: pdfdev.c:1057
void dev_set_string(spt_t xpos, spt_t ypos, unsigned char *s, int length, spt_t width, int font_id)
Definition: pdfdev.c:595
double text_slant
Definition: pdfdev.c:177
#define TRUETYPE
Definition: pdfdev.c:188
void dev_expand_box(spt_t width, spt_t height, spt_t depth)
Definition: pdfdev.c:1439
#define WMODE_CHANGES(p, q)
Definition: pdfdev.c:126
static void set_text_matrix(spt_t xpos, spt_t ypos, double slant, double extend)
Definition: pdfdev.c:387
#define GRAY
Definition: pdfdev.c:703
void dev_add_comment(char *comment)
Definition: pdfdev.c:693
void dev_begin_xform(double xscale, double yscale, double rotate, double x_user, double y_user)
Definition: pdfdev.c:980
static double page_height
Definition: pdfdev.c:71
#define RGB
Definition: pdfdev.c:704
#define FORMAT_BUF_SIZE
Definition: pdfdev.c:132
#define CENTI_PDF_U
Definition: pdfdev.c:158
static unsigned max_device_fonts
Definition: pdfdev.c:206
void pdf_doc_add_to_page_fonts(const char *name, pdf_obj *resource)
Definition: pdfdoc.c:356
void pdf_doc_add_to_page(char *buffer, unsigned length)
Definition: pdfdoc.c:1021
void pdf_doc_flush_annot(void)
Definition: pdfdoc.c:1276
void pdf_doc_this_bop(char *string, unsigned length)
Definition: pdfdoc.c:193
void pdf_doc_set_origin(double x, double y)
Definition: pdfdoc.c:201
void pdf_doc_creator(char *s)
Definition: pdfdoc.c:1054
#define MAX_TRANSFORMS
Definition: pdflimits.h:29
#define MAX_COLORS
Definition: pdflimits.h:28
pdf_obj * pk_font_resource(int pk_id)
Definition: pkfont.c:133
void pk_close_all(void)
Definition: pkfont.c:603
char * pk_font_used(int pk_id)
Definition: pkfont.c:144
int pk_font(const char *tex_name, double ptsize, int tfm_font_id, char *res_name)
Definition: pkfont.c:85
char is_vertical(int font_id)
Definition: tfm.c:781
int type0_font(const char *map_name, int tfm_font_id, char *resource_name, int encoding_id, int remap)
Definition: type0.c:93
void type0_close_all(void)
Definition: type0.c:187
char * type0_font_used(int type0_id)
Definition: type0.c:80
pdf_obj * type0_font_resource(int type0_id)
Definition: type0.c:57
char * type1_font_used(int type1_id)
Definition: type1.c:1194
pdf_obj * type1_font_resource(int type1_id)
Definition: type1.c:1184
void type1_close_all(void)
Definition: type1.c:1336
int type1_font(const char *map_name, int tfm_font_id, char *resource_name, int encoding_id, int remap)
Definition: type1.c:1224
@ kpse_fontmap_format
Definition: types.h:114
#define fprintf
Definition: mendex.h:64
#define length(c)
Definition: ctangleboot.c:65
int strncmp()
#define sprintf
Definition: snprintf.c:44
#define FOPEN_R_MODE
Definition: includes.h:75
#define x_offset
Definition: mfluac.c:342
#define y_offset
Definition: mfluac.c:343
union value value
Definition: obx.h:44
static double extend
Definition: otftotfm.cc:277
int k
Definition: otp-parser.c:70
#define labs
Definition: p2c.h:477
static int format
Definition: pbmclean.c:15
#define abs(a)
Definition: pbmplus.h:225
char * filename[256]
Definition: pbmtopk.c:46
int pdf_parse_special(char *buffer, UNSIGNED_QUAD size, double x_user, double y_user)
Definition: pdfspecial.c:1519
struct const_name font_name[]
Definition: picttoppm.c:492
double scale
Definition: pnmhistmap.c:38
#define ROUND(x)
Definition: pnmnlfilt.c:322
static int size
Definition: ppmlabel.c:24
int g
Definition: ppmqvga.c:68
int r
Definition: ppmqvga.c:68
static double yscale
Definition: ppmtopjxl.c:47
static double xscale
Definition: ppmtopjxl.c:46
#define dir
#define rotate(D, num)
Definition: md5.c:38
#define flag
Definition: round_prec.c:45
ShellFileEnvironment e
Definition: sh6.c:388
Definition: utils.c:300
struct color color
Definition: colors.h:3
Definition: pdfdev.c:706
int colortype
Definition: pdfdev.c:707
double c4
Definition: pdfdev.c:708
double c3
Definition: pdfdev.c:708
double c2
Definition: pdfdev.c:708
double c1
Definition: pdfdev.c:708
Definition: ffi.h:327
int wmode
Definition: pdfdev.c:210
double extend
Definition: pdfdev.c:218
spt_t sptsize
Definition: pdfdev.c:183
char short_name[16]
Definition: pdfdev.c:179
int remap
Definition: pdfdev.c:202
char * tex_name
Definition: pdfdev.c:182
char * used_chars
Definition: pdfdev.c:200
int format
Definition: pdfdev.c:205
pdf_obj * font_resource
Definition: pdfdev.c:199
unsigned char format
Definition: pdfdev.c:196
double slant
Definition: pdfdev.c:219
int used_on_this_page
Definition: pdfdev.c:180
Definition: afm2pl.c:145
char * tex_name
Definition: pdfdev.c:217
double slant
Definition: pdfdev.c:218
char * enc_name
Definition: pdfdev.c:217
int remap
Definition: pdfdev.c:219
double extend
Definition: pdfdev.c:218
char * font_name
Definition: pdfdev.c:217
Definition: pdfobj.c:63
int number
Definition: t1part.c:207
#define FILE
Definition: t1stdio.h:34
*job_name strlen((char *) job_name) - 4)
m
Definition: tex4ht.c:3990
#define font_format(a)
Definition: texfont.h:290
int tpic_parse_special(char *buffer, UNSIGNED_QUAD size, double x_user, double y_user)
Definition: tpic.c:346
#define twiddle(n)
Definition: twiddle.h:2
Definition: obx.h:51
@ start
Definition: preamble.c:52
#define buffer
Definition: xmlparse.c:611
#define end(cp)
Definition: zic.c:71