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)  

mpost.c
Go to the documentation of this file.
1 /* $Header: SCCS/s.mpost.c 1.1 00/08/05 01:52:14-00:00 mwicks@gaspra $
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 
25 #include <stdlib.h>
26 #include <ctype.h>
27 #include <math.h>
28 #include <string.h>
29 #include "system.h"
30 #include "mem.h"
31 #include "error.h"
32 #include "mfileio.h"
33 #include "dvi.h"
34 #include "pdfobj.h"
35 #include "pdfspecial.h"
36 #include "pdfparse.h"
37 #include "mpost.h"
38 #include "pdfparse.h"
39 #include "pdflimits.h"
40 #include "pdfdev.h"
41 #include "pdfdoc.h"
42 
43 int check_for_mp (FILE *image_file)
44 {
45  int i;
46  int n = 0;
47  rewind (image_file);
48  /* For now, this is an exact test that must be passed, character for
49  character */
50  mfgets (work_buffer, WORK_BUFFER_SIZE, image_file);
51  if (strncmp (work_buffer, "%!PS", 4))
52  return 0;
53  for(i=0; i < 10; i++) {
54  mfgets (work_buffer, WORK_BUFFER_SIZE, image_file);
55  if(strncmp(work_buffer, "%%Creator: MetaPost", strlen("%%Creator: MetaPost"))
56  == 0)
57  n++;
58  }
59  if(n == 0)
60  return 0;
61  return 1;
62 }
63 
64 static struct mp_fonts
65 {
66  char *tex_name;
67  int font_id;
68  double pt_size;
70 
71 int n_mp_fonts = 0, max_mp_fonts = 0;
72 
73 static void need_more_mp_fonts (unsigned n)
74 {
75  if (n_mp_fonts + n > max_mp_fonts) {
78  }
79 }
80 
81 
82 
83 int mp_locate_font (char *tex_name, double pt_size)
84 {
85  int result=-1, i;
86  for (i=0; i<n_mp_fonts; i++) {
87  if (!strcmp (tex_name, mp_fonts[i].tex_name) &&
88  mp_fonts[i].pt_size == pt_size)
89  break;
90  }
92  if (i == n_mp_fonts) {
93  n_mp_fonts += 1;
94  mp_fonts[i].tex_name = NEW (strlen(tex_name)+1, char);
95  strcpy (mp_fonts[i].tex_name, tex_name);
96  mp_fonts[i].pt_size = pt_size;
97  /* The following line is a bit of a kludge. MetaPost inclusion
98  was an afterthought */
99  mp_fonts[i].font_id = dev_locate_font (tex_name,
100  pt_size/dvi_unit_size());
102  } else
103  result = -1;
104  return result;
105 }
106 
107 static void release_fonts (void)
108 {
109  int i;
110  for (i=0; i<n_mp_fonts; i++) {
111  RELEASE (mp_fonts[i].tex_name);
112  }
113  if (mp_fonts) {
114  RELEASE (mp_fonts);
115  mp_fonts = NULL;
116  }
117  n_mp_fonts = 0;
118  max_mp_fonts = 0;
119 }
120 
121 int mp_is_font_name (char *tex_name)
122 {
123  int i;
124  for (i=0; i<n_mp_fonts; i++) {
125  if (!strcmp (tex_name, mp_fonts[i].tex_name))
126  break;
127  }
128  if (i < n_mp_fonts)
129  return 1;
130  else
131  return 0;
132 }
133 
134 int mp_fontid (char *tex_name, double pt_size)
135 {
136  int i;
137  for (i=0; i<n_mp_fonts; i++) {
138  if (!strcmp (tex_name, mp_fonts[i].tex_name) &&
139  (mp_fonts[i].pt_size == pt_size))
140  break;
141  }
142  if (i < n_mp_fonts) {
143  return i;
144  }
145  else {
146  return -1;
147  }
148 }
149 
150 static int mp_parse_headers (FILE *image_file, struct xform_info *p)
151 {
152  int error = 0;
153  char *start, *end, *token, *name;
154  char *llx = NULL, *lly = NULL, *urx = NULL, *ury = NULL;
155  unsigned long save_position;
156 #ifdef MEM_DEBUG
157  MEM_START
158 #endif
159  /* Scan for bounding box record */
160  for (;;) {
161  mfgets (work_buffer, WORK_BUFFER_SIZE, image_file);
162  if (work_buffer[0] != '%' ||
163  !strncmp (work_buffer, "%%BoundingBox:",
164  strlen("%%BoundingBox")))
165  break;
166  }
167  if (work_buffer[0] == '%') { /* Found %%BoundingBox */
168  start = work_buffer + strlen("%%BoundingBox:");
169  end = start+strlen(start);
170  skip_white (&start, end);
171  /* Expect 4 numbers or fail */
172  if ((llx = parse_number (&start, end)) &&
173  (lly = parse_number (&start, end)) &&
174  (urx = parse_number (&start, end)) &&
175  (ury = parse_number (&start, end))) {
176  /* Set the crop box to the true bounding box specified in the
177  file */
178  p->c_llx = atof (llx);
179  p->c_lly = atof (lly);
180  p->c_urx = atof (urx);
181  p->c_ury = atof (ury);
182  } else{
183  fprintf (stderr, "\nMissing expected number in bounding box specification:\n");
184  dump (start, end);
185  error = 1;
186  }
187  } else { /* Didn't find Bounding box */
188  fprintf (stderr, "\nFailed to find an expected BoundingBox record.\n");
189  error = 1;
190  }
191  if (llx) RELEASE(llx);
192  if (lly) RELEASE(lly);
193  if (urx) RELEASE(urx);
194  if (ury) RELEASE(ury);
195  /* Got four numbers */
196  /* Read all headers--act on *Font records */
197  save_position = tell_position(image_file);
198  while (!error && !feof(image_file) && mfgets (work_buffer, WORK_BUFFER_SIZE,
199  image_file)) {
200  if (*work_buffer != '%') {
201  seek_absolute (image_file, save_position);
202  break;
203  }
204  save_position = tell_position (image_file);
205  if (*(work_buffer+1) == '*' &&
206  !strncmp (work_buffer+2, "Font:", strlen("Font:"))) {
207  double ps_ptsize;
208  start = work_buffer+strlen("%*Font:");
209  end = start+strlen(start);
210  skip_white (&start, end);
211  if ((name = parse_ident (&start, end))) {
212  skip_white (&start, end);
213  } else {
214  fprintf (stderr, "\nMissing expected font name:\n");
215  dump (start, end);
216  error = 1;
217  break;
218  }
219  if ((token = parse_number (&start, end))) {
220  ps_ptsize = atof (token);
221  RELEASE (token);
222  } else {
223  fprintf (stderr, "\nMissing expected font point size specification:\n");
224  dump (start, end);
225  error = 1;
226  break;
227  }
228  mp_locate_font (name, ps_ptsize);
229  RELEASE (name);
230  }
231  }
232 #ifdef MEM_DEBUG
233  MEM_END
234 #endif
235  return !error;
236 }
237 
238 struct point {
239  double x, y;
240 };
241 
242 struct curve {
243  double x[3], y[3];
244 };
245 
246 static struct path_element
247 {
248  char type;
249  void *element;
250 } *path = NULL;
251 static int n_path_pts = 0, max_path_pts = 0;
252 static int path_clip = 0, path_close = 0;
253 
254 #define MORE_PATH_POINTS 64
255 
256 static void need_points (int n)
257 {
258  if (n_path_pts+n > max_path_pts) {
260  path = RENEW (path, max_path_pts, struct path_element);
261  }
262  return;
263 }
264 
265 static void clip_path (void)
266 {
267  path_clip = 1;
268 }
269 
270 static void close_path (void)
271 {
272  path_close = 1;
273 }
274 
275 static void add_point_to_path (double x, double y, char type)
276 {
277  struct point *p;
278  need_points (1);
280  p = NEW (1, struct point);
281  p->x = x; p->y = y;
282  path[n_path_pts].element = p;
283  n_path_pts += 1;
284  return;
285 }
286 
287 static void add_curve_to_path (double x0, double y0,
288  double x1, double y1,
289  double x2, double y2)
290 {
291  struct curve *c;
292  need_points (1);
293  c = NEW (1, struct curve);
294  path[n_path_pts].type = 'c';
295  (c->x)[0] = x0; (c->y)[0] = y0;
296  (c->x)[1] = x1; (c->y)[1] = y1;
297  (c->x)[2] = x2; (c->y)[2] = y2;
298  path[n_path_pts].element = c;
299  n_path_pts += 1;
300  return;
301 }
302 
303 static void void_path (void)
304 {
305  int i;
306  for (i=0; i<n_path_pts; i++) {
307  RELEASE (path[i].element);
308  }
309  path_clip = 0;
310  path_close = 0;
311  n_path_pts = 0;
312 }
313 
314 static void flush_path (void)
315 {
316  int i, len;
317  for (i=0; i<n_path_pts; i++) {
318  switch (path[i].type) {
319  case 'm': /* moveto */
320  /* Moveto must start a new path */
321  /* void_path (); */
322  case 'l': /* lineto */
323  {
324  struct point *p;
325  p = path[i].element;
326  len = sprintf (work_buffer, "\n%g %g %c",
327  ROUND(p->x, 0.001), ROUND(p->y, 0.001),
328  path[i].type);
330  RELEASE (p);
331  }
332  break;
333  case 'c': /* curveto */
334  {
335  struct curve *p;
336  p = path[i].element;
337  len = sprintf (work_buffer, "\n%g %g %g %g %g %g c",
338  ROUND((p->x)[0], 0.001), ROUND((p->y)[0], 0.001),
339  ROUND((p->x)[1], 0.001), ROUND((p->y)[1], 0.001),
340  ROUND((p->x)[2], 0.001), ROUND((p->y)[2], 0.001));
342  RELEASE (p);
343  }
344  break;
345  default: /* This shouldn't happen! */
346  ERROR ("Internal error in mpost.c, flush_path ()");
347  }
348  }
349  n_path_pts = 0;
350  if (path_close) {
351  pdf_doc_add_to_page (" h", 2);
352  path_close = 0;
353  }
354  if (path_clip) {
355  pdf_doc_add_to_page (" W", 2);
356  path_clip = 0;
357  }
358  return;
359 }
360 
361 static void transform_path (double a, double b, double c, double d,
362  double e, double f)
363 {
364  double an, bn, cn, dn, en, fn, delta, xn, yn;
365  unsigned i;
366  delta = a*d-b*c;
367  if (delta == 0.0) {
368  ERROR ("Determinant exactly zero in transform_path()");
369  }
370  an=d/delta; bn=-b/delta; cn=-c/delta; dn=a/delta;
371  en=(c*f-e*d)/delta, fn=(b*e-a*f)/delta;
372  for (i=0; i<n_path_pts; i++) {
373  switch (path[i].type) {
374  case 'l':
375  case 'm':
376  {
377  struct point *p;
378  p = path[i].element;
379  xn = an*(p->x)+cn*(p->y)+en;
380  yn = bn*(p->x)+dn*(p->y)+fn;
381  p->x = xn;
382  p->y = yn;
383  }
384  break;
385  case 'c':
386  {
387  int j;
388  struct curve *c;
389  c = path[i].element;
390  for (j=0; j<3; j++) {
391  xn = an*(c->x)[j]+cn*(c->y)[j]+en;
392  yn = bn*(c->x)[j]+dn*(c->y)[j]+fn;
393  (c->x)[j] = xn; (c->y)[j] = yn;
394  }
395  }
396  }
397  }
398 }
399 static void dump_path (void)
400 {
401  unsigned i;
402  for (i=0; i<n_path_pts; i++) {
403  switch (path[i].type) {
404  case 'l':
405  case 'm':
406  {
407  struct point *p;
408  p = path[i].element;
409  fprintf (stderr, "\t%g %g %c\n", p->x, p->y, path[i].type);
410  }
411  break;
412  case 'c':
413  {
414  struct curve *c;
415  int j;
416  c = path[i].element;
417  for (j=0; j<3; j++) {
418  fprintf (stderr, "\t%g %g\n", (c->x)[j], (c->y)[j]);
419  }
420  fprintf (stderr, "\t\t\tcurveto\n");
421  break;
422  }
423  }
424  }
425 }
426 
427 #define PS_STACK_SIZE 1024
429 static unsigned top_stack;
430 
431 double x_state, y_state;
432 static int state = 0;
433 static int num_saves = 0;
434 
435 #define PUSH(o) { \
436  if (top_stack<PS_STACK_SIZE) { \
437  stack[top_stack++] = o; \
438  } else { \
439  fprintf (stderr, "PS stack overflow including MetaPost file or inline PS code"); \
440  error=1; \
441  break; \
442  } \
443  }
444 
445 #define POP_STACK() (top_stack>0?stack[--top_stack]:NULL)
446 
448 {
449  int i;
450  fprintf (stderr, "\ndump_stack\n");
451  for (i=0; i<top_stack; i++) {
452  pdf_write_obj (stderr, stack[i]);
453  fprintf (stderr, "\n");
454  }
455 }
456 #define ADD 1
457 #define CLIP 2
458 #define CLOSEPATH 3
459 #define CONCAT 4
460 #define CURVETO 5
461 #define DIV 6
462 #define DTRANSFORM 7
463 #define EXCH 8
464 #define FILL 9
465 #define FSHOW 10
466 #define GSAVE 11
467 #define GRESTORE 12
468 #define IDTRANSFORM 13
469 #define LINETO 14
470 #define MOVETO 15
471 #define MUL 16
472 #define NEWPATH 17
473 #define POP 18
474 #define RLINETO 19
475 #define SCALE 20
476 #define SETCMYKCOLOR 21
477 #define SETDASH 22
478 #define SETGRAY 23
479 #ifdef WIN32
480 #undef SETLINECAP
481 #undef SETLINEJOIN
482 #undef SETMITERLIMIT
483 #endif
484 #define SETLINECAP 24
485 #define SETLINEJOIN 25
486 #define SETLINEWIDTH 26
487 #define SETMITERLIMIT 27
488 #define SETRGBCOLOR 28
489 #define SHOW 29
490 #define SHOWPAGE 30
491 #define STROKE 31
492 #define SUB 32
493 #define TRANSLATE 33
494 #define TRUNCATE 34
495 #define CURRENTPOINT 35
496 #define NEG 36
497 #define ROTATE 37
498 #define TEXFIG 38
499 #define ETEXFIG 39
500 #define FONTNAME 99
501 
502 struct operators
503 {
504  char *t;
505  int v;
506 } operators[] = {
507  {"add", ADD},
508  {"clip", CLIP},
509  {"closepath", CLOSEPATH},
510  {"concat", CONCAT},
511  {"curveto", CURVETO},
512  {"currentpoint", CURRENTPOINT}, /* This is here for rotate
513  support in graphics package-not MP support */
514  {"div", DIV},
515  {"dtransform", DTRANSFORM},
516  {"exch", EXCH},
517  {"fill", FILL},
518  {"fshow", FSHOW},
519  {"gsave", GSAVE},
520  {"grestore", GRESTORE},
521  {"idtransform", IDTRANSFORM},
522  {"lineto", LINETO},
523  {"moveto", MOVETO},
524  {"mul", MUL},
525  {"neg", NEG},
526  {"newpath", NEWPATH},
527  {"pop", POP},
528  {"rlineto", RLINETO},
529  {"rotate", ROTATE},
530  {"scale", SCALE},
531  {"setcmykcolor", SETCMYKCOLOR},
532  {"setdash", SETDASH},
533  {"setgray", SETGRAY},
534  {"setlinecap", SETLINECAP},
535  {"setlinejoin", SETLINEJOIN},
536  {"setlinewidth", SETLINEWIDTH},
537  {"setmiterlimit", SETMITERLIMIT},
538  {"setrgbcolor", SETRGBCOLOR},
539  {"show", SHOW},
540  {"showpage", SHOWPAGE},
541  {"startTexFig", TEXFIG},
542  {"endTexFig", ETEXFIG},
543  {"stroke", STROKE},
544  {"sub", SUB},
545  {"translate", TRANSLATE},
546  {"truncate", TRUNCATE}
547 };
548 
549 static int lookup_operator(char *token)
550 {
551  int i, operator;
552  operator = -1;
553  for (i=0; i<sizeof(operators)/sizeof(operators[0]); i++) {
554  if (!strcmp (token, operators[i].t)) {
555  operator = operators[i].v;
556  break;
557  }
558  }
559  if (i == sizeof(operators)/sizeof(operators[0]) &&
561  operator = FONTNAME;
562  }
563  return operator;
564 }
565 
566 
567 /* Following needed to save texfig state */
568 
569 static long next_fig = 1;
572 static char fig_res_name[16];
573 
574 static int do_operator(char *token,
575  double x_user, double y_user)
576  /* Again, the only piece that needs x_user and y_user is
577  that piece dealing with texfig */
578 {
579  int operator, error = 0;
580  pdf_obj *tmp1=NULL, *tmp2=NULL, *tmp3=NULL, *tmp4 = NULL;
581  pdf_obj *tmp5=NULL, *tmp6=NULL;
582  int len;
583  /* PS to PDF conversion is not so simple. We maintain
584  state so we can change "gsave fill grestore stroke" to "B".
585  We need to keep track of what we have seen. This code is not
586  too smart and could be easily fooled by real postscript.
587  It makes some assumptions since it is only looking at MetaPost
588 
589  States are as follows:
590  0: Nothing special
591  1: Started a path
592  2: Saw gsave in path
593  3: Saw a painting operator in state 2(fill, stroke, or newpath)
594  4: Saw a grestore in state 3
595  */
596  operator = lookup_operator (token);
597  switch (operator) {
598  case ADD:
599  tmp1 = POP_STACK();
600  tmp2 = POP_STACK();
601  if (tmp1 && tmp2)
604  if (tmp2)
605  pdf_release_obj (tmp2);
606  if (tmp1)
607  PUSH(tmp1);
608  break;
609  case CLIP:
610  clip_path();
611  break;
612  case CLOSEPATH:
613  close_path();
614  break;
615  case CONCAT:
616  tmp1 = POP_STACK();
617  if (tmp1 && tmp1 -> type == PDF_ARRAY) {
618  int i, len = 0;
619  for (i=0; i<6; i++) {
620  if (!(tmp2 = pdf_get_array(tmp1, i)))
621  break;
622  if (i == 0)
623  len += sprintf (work_buffer+len, "\n");
624  else
625  len += sprintf (work_buffer+len, " ");
626  len += sprintf (work_buffer+len, "%g",
627  ROUND(pdf_number_value(tmp2),0.0001));
628  }
629  len += sprintf (work_buffer+len, " cm");
631  /* Transform pending path, if any */
638  } else {
639  fprintf (stderr, "\nMissing array before \"concat\"\n");
640  }
641  if (tmp1)
643  break;
644  case CURRENTPOINT:
645  state = 0;
646  PUSH (pdf_new_number (x_user)); /* Remember that x_user and y_user */
647  PUSH (pdf_new_number (y_user)); /* are off by 0.02 % */
648  break;
649  case CURVETO:
650  if (state <= 1) /* In path now */
651  state = 1;
652  else {
653  fprintf (stderr, "\nUnexpected path segment\n");
654  }
655  if ((tmp6 = POP_STACK()) && tmp6->type == PDF_NUMBER &&
656  (tmp5 = POP_STACK()) && tmp5->type == PDF_NUMBER &&
657  (tmp4 = POP_STACK()) && tmp4->type == PDF_NUMBER &&
658  (tmp3 = POP_STACK()) && tmp3->type == PDF_NUMBER &&
659  (tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
660  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
662  pdf_number_value(tmp2),
663  pdf_number_value(tmp3),
664  pdf_number_value(tmp4),
665  pdf_number_value(tmp5),
666  pdf_number_value(tmp6));
667  x_state = pdf_number_value (tmp5);
668  y_state = pdf_number_value (tmp6);
669  } else {
670  fprintf (stderr, "\nMissing number(s) before \"curveto\"\n");
671  }
672  if (tmp1) pdf_release_obj (tmp1);
673  if (tmp2) pdf_release_obj (tmp2);
674  if (tmp3) pdf_release_obj (tmp3);
675  if (tmp4) pdf_release_obj (tmp4);
676  if (tmp5) pdf_release_obj (tmp5);
677  if (tmp6) pdf_release_obj (tmp6);
678  break;
679  case DIV:
680  tmp2 = POP_STACK();
681  tmp1 = POP_STACK();
682  if (tmp1 && tmp2)
685  if (tmp1)
686  PUSH(tmp1);
687  if (tmp2)
688  pdf_release_obj (tmp2);
689  break;
690  case DTRANSFORM:
691  if ((tmp2 = POP_STACK()) && tmp2 -> type == PDF_NUMBER &&
692  (tmp1 = POP_STACK()) && tmp1 -> type == PDF_NUMBER) {
694  pdf_set_number (tmp2, pdf_number_value(tmp2)*100.0);
695  PUSH(tmp1);
696  PUSH(tmp2);
697  } else {
698  if (tmp1)
700  if (tmp2)
701  pdf_release_obj (tmp2);
702  fprintf (stderr, "\nExpecting two numbers before \"dtransform\"");
703  }
704  break;
705  case EXCH:
706  if ((tmp1 = POP_STACK()) &&
707  (tmp2 = POP_STACK())) {
708  PUSH (tmp1);
709  PUSH (tmp2);
710  } else {
711  if (tmp1)
713  }
714  break;
715  case FILL:
716  switch (state) {
717  case 0:
718  state = 0;
719  break;
720  case 1:
721  flush_path ();
722  pdf_doc_add_to_page (" f", 2);
723  state = 0;
724  break;
725  case 2:
726  state = 3;
727  break;
728  case 3:
729  fprintf (stderr, "\nUnexpected fill\n");
730  break;
731  case 4:
732  flush_path ();
733  pdf_doc_add_to_page (" B", 2);
734  state = 0;
735  break;
736  }
737  break;
738  case FSHOW:
739  {
740  int fontid;
741  if ((tmp3 = POP_STACK()) && (tmp3->type == PDF_NUMBER) &&
742  (tmp2 = POP_STACK()) && (tmp2->type == PDF_STRING) &&
743  (tmp1 = POP_STACK()) && (tmp1->type == PDF_STRING)) {
744  if ((fontid = mp_fontid (pdf_string_value(tmp2),
745  pdf_number_value(tmp3))) < 0) {
746  fprintf (stderr, "\n\"fshow\": Missing font in MetaPost file? %s@%g\n",
747  (char *) pdf_string_value(tmp2), pdf_number_value(tmp3));
748  }
751  pdf_string_length(tmp1), 0, mp_fonts[fontid].font_id);
752  graphics_mode();
753  }
754  /* Treat fshow as a path terminator of sorts */
755  state = 0;
756 
757  if (tmp1)
759  if (tmp2)
760  pdf_release_obj (tmp2);
761  if (tmp3)
762  pdf_release_obj (tmp3);
763  }
764  break;
765  case GSAVE:
766  switch (state) {
767  case 0:
768  pdf_doc_add_to_page ("\nq", 2);
769  num_saves += 1;
770  break;
771  case 1:
772  state = 2;
773  break;
774  case 4:
775  state = 2;
776  break;
777  default:
778  fprintf (stderr, "\nUnexpected gsave\n");
779  break;
780  }
781  break;
782  case GRESTORE:
783  switch (state) {
784  case 0:
785  if (num_saves > 0) {
786  num_saves -= 1;
787  pdf_doc_add_to_page ("\nQ", 2);
788  /* Unfortunately, the following two lines are necessary in case of a font or color
789  change inside of the save/restore pair. Anything that was done
790  there must be redone, so in effect, we make no assumptions about
791  what fonts are active. We act like we are starting a new page */
793  /* The following line was causing trouble - 1/30/01 */
794  /* dev_do_color(); */
795  }
796  else {
797  fprintf (stderr, "PS special: \"grestore\" ignored. More restores than saves on a page.\n");
798  }
799  break;
800  case 2:
801  state = 1;
802  break;
803  case 3:
804  state = 4;
805  break;
806  default:
807  fprintf (stderr, "\nUnexpected grestore\n");
808  break;
809  }
810  break;
811  case IDTRANSFORM:
812  if ((tmp2 = POP_STACK()) && tmp2 -> type == PDF_NUMBER &&
813  (tmp1 = POP_STACK()) && tmp1 -> type == PDF_NUMBER) {
815  pdf_set_number (tmp2, pdf_number_value(tmp2)/100.0);
816  PUSH(tmp1);
817  PUSH(tmp2);
818  } else {
819  if (tmp1)
821  if (tmp2)
822  pdf_release_obj (tmp2);
823  fprintf (stderr, "\nExpecting two numbers before \"idtransform\"");
824  }
825  break;
826  case LINETO:
827  {
828  if (state <= 1) /* In path now */
829  state = 1;
830  else {
831  fprintf (stderr, "\nUnexpected path segment\n");
832  }
833  if ((tmp2 = POP_STACK()) && tmp2-> type == PDF_NUMBER &&
834  (tmp1 = POP_STACK()) && tmp1-> type == PDF_NUMBER) {
836  y_state = pdf_number_value (tmp2);
838  }
839  if (tmp1)
841  if (tmp2)
842  pdf_release_obj (tmp2);
843  }
844  break;
845  case MOVETO:
846  if (state <= 1) /* In path now */
847  state = 1;
848  else {
849  fprintf (stderr, "\nUnexpected path segment\n");
850  }
851  if ((tmp2 = POP_STACK()) && tmp2-> type == PDF_NUMBER &&
852  (tmp1 = POP_STACK()) && tmp1-> type == PDF_NUMBER) {
853  /* MetaPost likes to ship out a moveto before displayed text.
854  Save the results so we know where to place the text. Save
855  the move but don't actually do it unless the next operator is
856  a graphics operator */
858  y_state = pdf_number_value (tmp2);
860  }
861  if (tmp1)
863  if (tmp2)
864  pdf_release_obj (tmp2);
865  break;
866  case MUL:
867  tmp2 = POP_STACK();
868  tmp1 = POP_STACK();
869  if (tmp1 && tmp2)
872  if (tmp1)
873  PUSH(tmp1);
874  if (tmp2)
875  pdf_release_obj (tmp2);
876  break;
877  case NEG:
878  tmp1 = POP_STACK();
879  if (tmp1 && tmp1 -> type == PDF_NUMBER) {
881  PUSH (tmp1);
882  }
883  break;
884  case NEWPATH:
885  flush_path ();
886  pdf_doc_add_to_page ("\nn", 2);
887  break;
888  case POP:
889  tmp1 = POP_STACK();
890  if (tmp1)
892  break;
893  case RLINETO:
894  if (state <= 1) /* In path now */
895  state = 1;
896  else {
897  fprintf (stderr, "\nUnexpected path segment\n");
898  }
899  if ((tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
900  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
902  y_state += pdf_number_value (tmp2);
904  }
905  if (tmp1)
907  if (tmp2)
908  pdf_release_obj (tmp2);
909  break;
910  case SCALE:
911  if ((tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
912  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
913  len = sprintf (work_buffer, "\n%g 0 0 %g 0 0 cm",
914  ROUND(pdf_number_value (tmp1),0.01),
915  ROUND(pdf_number_value (tmp2),0.01));
917  0.0, pdf_number_value(tmp2), 0.0, 0.0);
919  }
920  if (tmp1)
922  if (tmp2)
923  pdf_release_obj (tmp2);
924  break;
925  case SETCMYKCOLOR:
926  if ((tmp4 = POP_STACK()) && tmp4->type == PDF_NUMBER &&
927  (tmp3 = POP_STACK()) && tmp3->type == PDF_NUMBER &&
928  (tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
929  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
930  len = sprintf (work_buffer, "\n%g %g %g %g k",
931  ROUND(pdf_number_value (tmp1),0.001),
932  ROUND(pdf_number_value (tmp2),0.001),
933  ROUND(pdf_number_value (tmp3),0.001),
934  ROUND(pdf_number_value (tmp4),0.001));
936  len = sprintf (work_buffer, "\n%g %g %g %g K",
937  ROUND(pdf_number_value (tmp1),0.001),
938  ROUND(pdf_number_value (tmp2),0.001),
939  ROUND(pdf_number_value (tmp3),0.001),
940  ROUND(pdf_number_value (tmp4),0.001));
942  } else {
943  fprintf (stderr, "\nExpecting four numbers before \"setcmykcolor\"\n");
944  }
945  if (tmp1)
947  if (tmp2)
948  pdf_release_obj (tmp2);
949  if (tmp3)
950  pdf_release_obj (tmp3);
951  if (tmp4)
952  pdf_release_obj (tmp4);
953  break;
954  case SETDASH:
955  if ((tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
956  (tmp1 = POP_STACK()) && tmp1->type == PDF_ARRAY) {
957  int i;
958  pdf_doc_add_to_page ("\n[", 2);
959  for (i=0;; i++) {
960  if ((tmp3 = pdf_get_array (tmp1, i)) &&
961  tmp3 -> type == PDF_NUMBER) {
962  len = sprintf (work_buffer, " %g", ROUND(pdf_number_value(tmp3),0.01));
964  } else
965  break;
966  }
967  pdf_doc_add_to_page (" ]", 2);
968  if (tmp2 -> type == PDF_NUMBER) {
969  len = sprintf (work_buffer, " %g d", ROUND(pdf_number_value(tmp2),0.01));
971  }
972  } else {
973  fprintf (stderr, "\nExpecting array and number before \"setdash\"");
974  }
975  if (tmp1)
977  if (tmp2)
978  pdf_release_obj (tmp2);
979  break;
980  case SETGRAY:
981  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
982  len = sprintf (work_buffer, "\n%g g",
983  ROUND(pdf_number_value (tmp1),0.001));
985  len = sprintf (work_buffer, " %g G",
986  ROUND(pdf_number_value (tmp1),0.001));
988  } else {
989  fprintf (stderr, "\nExpecting a number before \"setgray\"\n");
990  }
991  if (tmp1)
993  break;
994  case SETLINECAP:
995  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
996  len = sprintf (work_buffer, "\n%g J", pdf_number_value (tmp1));
998  } else {
999  fprintf (stderr, "\nExpecting a number before \"setlinecap\"\n");
1000  }
1001  if (tmp1)
1003  break;
1004  case SETLINEJOIN:
1005  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1006  len = sprintf (work_buffer, "\n%g j", pdf_number_value (tmp1));
1008  } else {
1009  fprintf (stderr, "\nExpecting a number before \"setlinejoin\"\n");
1010  }
1011  if (tmp1)
1013  break;
1014  case SETLINEWIDTH:
1015  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1016  len = sprintf (work_buffer, "\n%g w", ROUND(pdf_number_value (tmp1),0.01));
1018  } else {
1019  fprintf (stderr, "\nExpecting a number before \"setlinewidth\"\n");
1020  }
1021  if (tmp1)
1023  break;
1024  case SETMITERLIMIT:
1025  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1027  (tmp1),0.01));
1029  } else {
1030  fprintf (stderr, "\nExpecting a number before \"setmiterlimit\"\n");
1031  }
1032  if (tmp1)
1034  break;
1035  case SETRGBCOLOR:
1036  if ((tmp3 = POP_STACK()) && tmp3->type == PDF_NUMBER &&
1037  (tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
1038  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1039  len = sprintf (work_buffer, "\n%g %g %g rg",
1040  ROUND(pdf_number_value (tmp1),0.001),
1041  ROUND(pdf_number_value (tmp2),0.001),
1042  ROUND(pdf_number_value (tmp3),0.001));
1044  len = sprintf (work_buffer, "\n%g %g %g RG",
1045  ROUND(pdf_number_value (tmp1),0.001),
1046  ROUND(pdf_number_value (tmp2),0.001),
1047  ROUND(pdf_number_value (tmp3),0.001));
1049  } else {
1050  fprintf (stderr, "\nExpecting three numbers before \"setrgbcolor\"\n");
1051  }
1052  if (tmp1)
1054  if (tmp2)
1055  pdf_release_obj (tmp2);
1056  if (tmp3)
1057  pdf_release_obj (tmp3);
1058  break;
1059  case SHOWPAGE:
1060  /* Let's ignore this for now */
1061  void_path ();
1062  break;
1063  case STROKE:
1064  switch (state) {
1065  case 0:
1066  state = 0;
1067  break;
1068  case 1:
1069  flush_path ();
1070  pdf_doc_add_to_page (" S", 2);
1071  state = 0;
1072  break;
1073  case 2:
1074  state = 3;
1075  break;
1076  case 3:
1077  fprintf (stderr, "\nUnexpected fill\n");
1078  break;
1079  case 4:
1080  flush_path ();
1081  pdf_doc_add_to_page (" B", 2);
1082  state = 0;
1083  break;
1084  }
1085  break;
1086  case SUB:
1087  tmp2 = POP_STACK();
1088  tmp1 = POP_STACK();
1089  if (tmp1 && tmp2)
1092  if (tmp1)
1093  PUSH(tmp1);
1094  if (tmp2)
1095  pdf_release_obj (tmp2);
1096  break;
1097  case ROTATE:
1098  if ((tmp1 = POP_STACK()) && (tmp1 -> type == PDF_NUMBER)) {
1099  double theta = pdf_number_value(tmp1)*M_PI/180.0;
1100  len = sprintf (work_buffer, "\n%.4f %.4f %.4f %.4f 0 0 cm",
1101  cos(theta), -sin(theta),
1102  sin(theta), cos(theta));
1104  }
1105  if (tmp1)
1107  break;
1108  case TEXFIG:
1109  if ((tmp6 = POP_STACK()) && (tmp6 -> type == PDF_NUMBER) &&
1110  (tmp5 = POP_STACK()) && (tmp5 -> type == PDF_NUMBER) &&
1111  (tmp4 = POP_STACK()) && (tmp4 -> type == PDF_NUMBER) &&
1112  (tmp3 = POP_STACK()) && (tmp3 -> type == PDF_NUMBER) &&
1113  (tmp2 = POP_STACK()) && (tmp2 -> type == PDF_NUMBER) &&
1114  (tmp1 = POP_STACK()) && (tmp1 -> type == PDF_NUMBER)) {
1115  double dvi2pts = dvi_unit_size();
1116  fig_p = new_xform_info ();
1118  fig_p -> height = pdf_number_value(tmp2)*dvi2pts;
1119  fig_p -> c_llx = pdf_number_value(tmp3)*dvi2pts;
1120  fig_p -> c_lly = pdf_number_value(tmp4)*dvi2pts;
1121  fig_p -> c_urx = pdf_number_value(tmp5)*dvi2pts;
1122  fig_p -> c_ury = pdf_number_value(tmp6)*dvi2pts;
1124  sprintf (fig_res_name, "Tf%ld", next_fig);
1127  }
1128  if (tmp1) pdf_release_obj(tmp1);
1129  if (tmp2) pdf_release_obj(tmp2);
1130  if (tmp3) pdf_release_obj(tmp3);
1131  if (tmp4) pdf_release_obj(tmp4);
1132  if (tmp5) pdf_release_obj(tmp5);
1133  if (tmp6) pdf_release_obj(tmp6);
1134  break;
1135  case ETEXFIG:
1136  if (fig_xobj) {
1137  next_fig += 1;
1138  end_form_xobj ();
1141  fig_xobj = NULL;
1142  pdf_doc_add_to_page ("\nq", 2);
1143  add_xform_matrix (x_user, y_user, fig_p->xscale, -fig_p->yscale, fig_p->rotate);
1144  if (fig_p->depth != 0.0)
1145  add_xform_matrix (0.0, -fig_p->depth, 1.0, -1.0, 0.0);
1148  sprintf (work_buffer, " /%s Do Q",
1149  fig_res_name));
1150  } else {
1151  fprintf (stderr, "\nendTexFig without valid startTexFig ignored\n");
1152  }
1153  break;
1154  case TRANSLATE:
1155  if ((tmp2 = POP_STACK()) && tmp2->type == PDF_NUMBER &&
1156  (tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1157  len = sprintf (work_buffer, "\n1 0 0 1 %g %g cm",
1158  ROUND(pdf_number_value (tmp1),0.01),
1159  ROUND(pdf_number_value (tmp2),0.01));
1161  transform_path (1.0, 0.0, 0.0, 1.0,
1163  pdf_number_value (tmp2));
1164  }
1165  if (tmp1)
1167  if (tmp2)
1168  pdf_release_obj (tmp2);
1169  break;
1170  case TRUNCATE:
1171  if ((tmp1 = POP_STACK()) && tmp1->type == PDF_NUMBER) {
1172  double val=pdf_number_value(tmp1);
1173  pdf_set_number (tmp1, val>0? floor(val): ceil(val));
1174  PUSH (tmp1);
1175  } else if (tmp1)
1177  break;
1178  case FONTNAME:
1180  break;
1181  default:
1182  fprintf (stderr,
1183  "\nIgnoring remaining special text following unknown PS operator: \"%s\"\n", token);
1184  error = 1;
1185  break;
1186  }
1187  return !error;
1188 }
1189 
1190 static int do_one_ps_line (char **start, char *end,
1191  double x_user, double y_user)
1192  /* the only sections that need to know x_user and y _user are those
1193  dealing with texfig */
1194 {
1195  char *token, *save = NULL;
1196  pdf_obj *obj;
1197  int error = 0;
1198  skip_white (start, end);
1199  while (*start < end && !error) {
1200  save = *start;
1201  if (isdigit (**start) || **start == '-' || **start == '.' ) {
1202  token = parse_number (start, end);
1204  RELEASE (token);
1205  } else if (**start == '[' && /* This code assumes that arrays are contained on one line */
1206  (obj = parse_pdf_array (start, end))) {
1207  PUSH (obj);
1208  } else if (**start == '(' &&
1209  (obj = parse_pdf_string (start, end))) {
1210  PUSH (obj);
1211  } else if (**start == '<' &&
1212  (obj = parse_pdf_hex_string (start, end))) {
1213  PUSH (obj);
1214  } else if (**start == '/') {
1215  fprintf (stderr, "\nUnable to handle names in raw PS code.");
1216  dump (*start, end);
1217  error = 1;
1218  } else {
1219  token = parse_ident (start, end);
1220  if (!token || !do_operator (token, x_user, y_user)) {
1221  error = 1;
1222  }
1223  if (token)
1224  RELEASE (token);
1225  }
1226  skip_white (start, end);
1227  }
1228  if (*start < end) {
1229  fprintf (stderr, "\nRemainder of line unparsed.");
1230  dump (*start, end);
1231  }
1232  return !error;
1233 }
1234 
1235 static char line_buffer[1024];
1236 int parse_contents (FILE *image_file)
1237 {
1238  int error = 0;
1239  top_stack = 0;
1240  x_state = 0.0;
1241  y_state = 0.0;
1242  state = 0;
1243  while (!feof(image_file) && mfgets (line_buffer, sizeof(line_buffer),
1244  image_file)) {
1245  char *start, *end;
1246  start = line_buffer;
1248  if (!do_one_ps_line (&start, end, 0.0, 0.0)) {
1249  error = 1;
1250  break;
1251  }
1252  }
1253  return !error;
1254 }
1255 
1256 int do_raw_ps_special (char **start, char* end, int cleanup,
1257  double x_user, double y_user)
1258 {
1259  int error = 0;
1260  state = 0;
1261  do_one_ps_line (start, end, x_user, y_user);
1262  if (cleanup)
1263  mp_cleanup(1);
1264  return !error;
1265 }
1266 
1267 void mp_cleanup (int sloppy_ok)
1268 {
1269  release_fonts();
1270  if (state != 0) {
1271  if (!sloppy_ok)
1272  fprintf (stderr, "mp_cleanup(): State not zero\n");
1273  state = 0;
1274  }
1275  if (top_stack != 0) {
1276  if (!sloppy_ok)
1277  fprintf (stderr, "\nPS/MetaPost: PS stack not empty at end of figure!\n");
1278  }
1279  /* Cleanup paths */
1280  while (top_stack > 0) {
1281  pdf_obj *p;
1282  if ((p=POP_STACK()))
1283  pdf_release_obj (p);
1284  }
1285  if (n_path_pts > 0) {
1286  if (!sloppy_ok) {
1287  fprintf (stderr, "\nPS/MetaPost: Pending path at end of figure!\n");
1288  dump_path ();
1289  }
1290  void_path ();
1291  }
1292  if (max_path_pts > 0) {
1293  RELEASE (path);
1294  path = NULL;
1295  max_path_pts = 0;
1296  }
1297 }
1298 
1299 void mp_eop_cleanup(void)
1300 {
1301  mp_cleanup(1);
1302  num_saves = 0;
1303 }
1304 
1305 
1306 /* mp inclusion is a bit of a hack. The routine
1307  * starts a form at the lower left corner of
1308  * the page and then calls begin_form_xobj telling
1309  * it to record the image drawn there and bundle it
1310  * up in an xojbect. This allows us to use the coordinates
1311  * in the MP file directly. This appears to be the
1312  * easiest way to be able to use the dev_set_string()
1313  * command (with its scaled and extended fonts) without
1314  * getting all confused about the coordinate system.
1315  * After the xobject is created, the whole thing can
1316  * be scaled any way the user wants */
1317 
1318 pdf_obj *mp_include (FILE *image_file, struct xform_info *p,
1319  char *res_name, double x_user, double y_user)
1320 {
1321  pdf_obj *xobj = NULL;
1322  rewind (image_file);
1323  if (mp_parse_headers (image_file, p)) {
1324  /* Looks like an MP file. Setup xobj "capture" */
1325  pdf_scale_image (p);
1326  xobj = begin_form_xobj (p->u_llx,p->u_lly, p->c_llx, p->c_lly,
1327  p->c_urx, p->c_ury, res_name);
1328  if (!xobj)
1329  return NULL;
1330  /* prevent dev_set_string() to be disturbed by wmode */
1332  /* Flesh out the contents */
1333  if (!parse_contents (image_file)) {
1334  fprintf (stderr, "Errors occured while interpreting MetaPost file.\n\n");
1335  }
1336  dev_end_mp_mode();
1337  /* Finish off the form */
1338  end_form_xobj();
1339  } else {
1340  fprintf (stderr, "\nErrors occured while scanning MetaPost file headers.\n");
1341  }
1342  mp_cleanup(0);
1343  return xobj;
1344 }
1345 
1346 /* struct xform_info *texfig_info (void)
1347 {
1348  struct xform_info *p;
1349  p = new_xform_info ();
1350  p -> user_bbox = 1;
1351  p -> width = fig_width;
1352  p -> height = fig_height;
1353  p -> u_llx = fig_llx;
1354  p -> u_lly = fig_lly;
1355  p -> u_urx = fig_urx;
1356  p -> u_ury = fig_ury;
1357  return p;
1358 } */
1359 
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
double ury
Definition: aftopl.c:56
double urx
Definition: aftopl.c:55
double lly
Definition: aftopl.c:54
double llx
Definition: aftopl.c:53
#define y0
#define width(a)
Definition: aptex-macros.h:198
#define type(a)
Definition: aptex-macros.h:171
#define name
#define x0
#define height(a)
Definition: aptex-macros.h:200
static int font_id[65536]
Definition: aptex-src.c:20628
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
#define dn
Definition: devnag.c:324
double cos()
double sin()
int strcmp()
Definition: coll.cpp:143
char * strcpy()
#define error(a)
Definition: dviinfo.c:48
FcElement element
Definition: fcxml.c:418
mpz_t * f
Definition: gen-fib.c:34
__gmp_expr< mpf_t, __gmp_unary_expr< __gmp_expr< mpf_t, U >, __gmp_ceil_function > > ceil(const __gmp_expr< mpf_t, U > &expr)
Definition: gmpxx.h:3340
#define c(n)
Definition: gpos-common.c:150
#define a(n)
Definition: gpos-common.c:148
#define d(n)
Definition: gpos-common.c:151
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p
Definition: afcover.h:72
small capitals from c petite p scientific i
Definition: afcover.h:80
kerning y
Definition: ttdriver.c:212
#define M_PI
Definition: gd.h:236
#define NEW
Definition: gdkanji.c:77
double atof(const char *)
static void skip_white(const char **pp, const char *endptr)
Definition: dpxutil.c:74
double dvi_unit_size(void)
Definition: dvi.c:999
static double dvi2pts
Definition: dvi.c:450
#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
void seek_absolute(FILE *file, int32_t pos)
Definition: mfileio.c:78
int32_t tell_position(FILE *file)
Definition: mfileio.c:100
char work_buffer[1024]
Definition: mfileio.c:171
#define WORK_BUFFER_SIZE
Definition: mfileio.h:68
void graphics_mode(void)
Definition: pdfdev.c:1781
pdf_obj * pdf_new_number(double value)
Definition: pdfobj.c:1076
pdf_obj * pdf_ref_obj(pdf_obj *object)
Definition: pdfobj.c:960
double pdf_number_value(pdf_obj *object)
Definition: pdfobj.c:1119
void pdf_release_obj(pdf_obj *object)
Definition: pdfobj.c:3217
void pdf_set_number(pdf_obj *object, double value)
Definition: pdfobj.c:1108
unsigned pdf_string_length(pdf_obj *object)
Definition: pdfobj.c:1167
pdf_obj * pdf_new_string(const void *str, unsigned length)
Definition: pdfobj.c:1131
pdf_obj * pdf_get_array(pdf_obj *array, int idx)
Definition: pdfobj.c:1461
void * pdf_string_value(pdf_obj *object)
Definition: pdfobj.c:1155
static void pdf_write_obj(pdf_out *p, pdf_obj *object)
Definition: pdfobj.c:3081
#define PDF_ARRAY
Definition: pdfobj.h:36
#define PDF_NUMBER
Definition: pdfobj.h:33
#define PDF_STRING
Definition: pdfobj.h:34
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
pdf_obj * parse_pdf_array(const char **pp, const char *endptr, pdf_file *pf)
Definition: pdfparse.c:982
char * parse_ident(const char **start, const char *end)
Definition: pdfparse.c:195
pdf_obj * parse_pdf_string(const char **pp, const char *endptr)
Definition: pdfparse.c:622
static pdf_obj * parse_pdf_hex_string(const char **pp, const char *endptr)
Definition: pdfparse.c:573
#define MAX_FONTS
Definition: tfm.c:314
#define ERROR(string)
Definition: error.h:36
#define MEM_END
Definition: mem.h:45
#define MEM_START
Definition: mem.h:44
static void add_curve_to_path(double x0, double y0, double x1, double y1, double x2, double y2)
Definition: mpost.c:287
#define POP
Definition: mpost.c:473
int n_mp_fonts
Definition: mpost.c:71
#define SCALE
Definition: mpost.c:475
static int do_operator(char *token, double x_user, double y_user)
Definition: mpost.c:574
#define SETRGBCOLOR
Definition: mpost.c:488
static int max_path_pts
Definition: mpost.c:251
#define TRUNCATE
Definition: mpost.c:494
static void dump_path(void)
Definition: mpost.c:399
int do_raw_ps_special(char **start, char *end, int cleanup, double x_user, double y_user)
Definition: mpost.c:1256
#define POP_STACK()
Definition: mpost.c:445
#define PS_STACK_SIZE
Definition: mpost.c:427
double x_state
Definition: mpost.c:431
static int path_clip
Definition: mpost.c:252
static void need_points(int n)
Definition: mpost.c:256
#define LINETO
Definition: mpost.c:469
#define SETCMYKCOLOR
Definition: mpost.c:476
static int path_close
Definition: mpost.c:252
#define PUSH(o)
Definition: mpost.c:435
#define GSAVE
Definition: mpost.c:466
int mp_is_font_name(char *tex_name)
Definition: mpost.c:121
#define MORE_PATH_POINTS
Definition: mpost.c:254
#define SETLINEJOIN
Definition: mpost.c:485
static pdf_obj * fig_xobj
Definition: mpost.c:570
#define TEXFIG
Definition: mpost.c:498
#define CONCAT
Definition: mpost.c:459
static int lookup_operator(char *token)
Definition: mpost.c:549
int parse_contents(FILE *image_file)
Definition: mpost.c:1236
void mp_cleanup(int sloppy_ok)
Definition: mpost.c:1267
void mp_eop_cleanup(void)
Definition: mpost.c:1299
#define SETMITERLIMIT
Definition: mpost.c:487
static char fig_res_name[16]
Definition: mpost.c:572
static void flush_path(void)
Definition: mpost.c:314
struct operators operators[]
double y_state
Definition: mpost.c:431
#define STROKE
Definition: mpost.c:491
#define SUB
Definition: mpost.c:492
#define FILL
Definition: mpost.c:464
pdf_obj * mp_include(FILE *image_file, struct xform_info *p, char *res_name, double x_user, double y_user)
Definition: mpost.c:1318
#define NEWPATH
Definition: mpost.c:472
#define GRESTORE
Definition: mpost.c:467
static int mp_parse_headers(FILE *image_file, struct xform_info *p)
Definition: mpost.c:150
#define CURRENTPOINT
Definition: mpost.c:495
void dump_stack()
Definition: mpost.c:447
#define DIV
Definition: mpost.c:461
static void void_path(void)
Definition: mpost.c:303
static int do_one_ps_line(char **start, char *end, double x_user, double y_user)
Definition: mpost.c:1190
int mp_fontid(char *tex_name, double pt_size)
Definition: mpost.c:134
#define SETDASH
Definition: mpost.c:477
static void transform_path(double a, double b, double c, double d, double e, double f)
Definition: mpost.c:361
#define ADD
Definition: mpost.c:456
static unsigned top_stack
Definition: mpost.c:429
#define SETLINEWIDTH
Definition: mpost.c:486
static void release_fonts(void)
Definition: mpost.c:107
#define NEG
Definition: mpost.c:496
static char line_buffer[1024]
Definition: mpost.c:1235
#define MOVETO
Definition: mpost.c:470
#define ETEXFIG
Definition: mpost.c:499
#define SHOW
Definition: mpost.c:489
static void close_path(void)
Definition: mpost.c:270
int max_mp_fonts
Definition: mpost.c:71
#define EXCH
Definition: mpost.c:463
#define CURVETO
Definition: mpost.c:460
#define MUL
Definition: mpost.c:471
#define TRANSLATE
Definition: mpost.c:493
static int num_saves
Definition: mpost.c:433
#define RLINETO
Definition: mpost.c:474
#define SETLINECAP
Definition: mpost.c:484
#define SETGRAY
Definition: mpost.c:478
#define FSHOW
Definition: mpost.c:465
static void add_point_to_path(double x, double y, char type)
Definition: mpost.c:275
#define IDTRANSFORM
Definition: mpost.c:468
static int n_path_pts
Definition: mpost.c:251
#define ROTATE
Definition: mpost.c:497
#define CLOSEPATH
Definition: mpost.c:458
#define SHOWPAGE
Definition: mpost.c:490
static void clip_path(void)
Definition: mpost.c:265
static void need_more_mp_fonts(unsigned n)
Definition: mpost.c:73
#define DTRANSFORM
Definition: mpost.c:462
#define FONTNAME
Definition: mpost.c:500
#define CLIP
Definition: mpost.c:457
int check_for_mp(FILE *image_file)
Definition: mpost.c:43
static long next_fig
Definition: mpost.c:569
struct xform_info * fig_p
Definition: mpost.c:571
int mp_locate_font(char *tex_name, double pt_size)
Definition: mpost.c:83
int dev_locate_font(const char *tex_name, spt_t ptsize)
Definition: pdfdev.c:1101
void dev_start_mp_mode(void)
Definition: pdfdev.c:1476
void dev_reselect_font(void)
Definition: pdfdev.c:1041
void dev_end_mp_mode(void)
Definition: pdfdev.c:1483
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
void pdf_doc_add_to_page(char *buffer, unsigned length)
Definition: pdfdoc.c:1021
static pdf_obj * tmp1
Definition: pdfdoc.c:76
void pdf_doc_add_to_page_xobjects(const char *name, pdf_obj *resource)
Definition: pdfdoc.c:375
pdf_obj * begin_form_xobj(double xpos, double ypos, double bbllx, double bblly, double bburx, double bbury, char *res_name)
Definition: pdfdoc.c:1153
void end_form_xobj(void)
Definition: pdfdoc.c:1198
#define fprintf
Definition: mendex.h:64
F2Dot14 SCALE
Definition: tables.h:211
#define floor(x)
Definition: cpascal.h:52
int strncmp()
#define sprintf
Definition: snprintf.c:44
#define isdigit(c)
Definition: snprintf.c:177
float x
Definition: cordic.py:15
string fn
Definition: fc-lang.py:335
static int delta
Definition: pbmtolj.c:36
void pdf_scale_image(struct xform_info *p)
Definition: pdfspecial.c:1701
void release_xform_info(struct xform_info *p)
Definition: pdfspecial.c:257
struct xform_info * new_xform_info(void)
Definition: pdfspecial.c:235
void add_xform_matrix(double xoff, double yoff, double xscale, double yscale, double rotate)
Definition: pdfspecial.c:1655
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro pixld1_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl else error unsupported endif endm macro pixld2_s mem_operand if mov asr add asl add asl mov asr sub UNIT_X add asl mov asr add asl add asl mov asr add UNIT_X add asl else pixld1_s mem_operand pixld1_s mem_operand endif endm macro pixld0_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl endif endm macro pixld_s_internal mem_operand if mem_operand pixld2_s mem_operand pixdeinterleave basereg elseif mem_operand elseif mem_operand elseif mem_operand elseif mem_operand pixld0_s mem_operand else pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else error unsupported mem_operand if bpp mem_operand endif endm macro vuzp8 reg2 vuzp d d &reg2 endm macro vzip8 reg2 vzip d d &reg2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld cleanup[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro fetch_mask_pixblock pixld mask_basereg pixblock_size MASK endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1 beq endif SRC MASK if dst_r_bpp DST_R else add endif PF add sub src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head pixblock_size cache_preload_simple process_pixblock_tail pixinterleave dst_w_basereg irp beq endif process_pixblock_tail_head tst beq irp if pixblock_size chunk_size tst beq pixld_src SRC pixld MASK if DST_R else pixld DST_R endif if src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head if pixblock_size cache_preload_simple endif process_pixblock_tail pixinterleave dst_w_basereg irp if pixblock_size chunk_size tst beq if DST_W else pixst DST_W else mov ORIG_W endif add lsl if lsl endif if lsl endif lsl endif lsl endif lsl endif subs mov DST_W if regs_shortage str endif bge start_of_loop_label endm macro generate_composite_function
#define ROUND(x)
Definition: pnmnlfilt.c:322
#define x1
#define y1
#define y2
#define x2
ShellFileEnvironment e
Definition: sh6.c:388
token
Definition: strexpr.c:17
Definition: mpost.c:242
double x[3]
Definition: mpost.c:243
double y[3]
Definition: mpost.c:243
Definition: mpost.c:65
int font_id
Definition: mpost.c:67
char * tex_name
Definition: mpost.c:66
double pt_size
Definition: mpost.c:68
int v
Definition: mpost.c:505
char * t
Definition: mpost.c:504
void * element
Definition: mpost.c:249
char type
Definition: mpost.c:248
Definition: tpic.c:45
unsigned int type[5]
Definition: pdfobj.c:63
int type
Definition: pdfobj.c:64
Definition: mpost.c:238
double y
Definition: mpost.c:239
double x
Definition: mpost.c:239
Definition: spc_misc.c:56
Definition: dvips.h:235
Definition: parser.c:43
Definition: strexpr.c:21
double depth
Definition: pdfspecial.h:36
double c_urx
Definition: pdfspecial.h:74
double c_lly
Definition: pdfspecial.h:74
double xscale
Definition: pdfspecial.h:38
double yscale
Definition: pdfspecial.h:39
double rotate
Definition: pdfspecial.h:40
double c_llx
Definition: pdfspecial.h:74
double c_ury
Definition: pdfspecial.h:74
static unsigned char * save
Definition: t1disasm.c:278
#define FILE
Definition: t1stdio.h:34
#define feof(f)
Definition: t1stdio.h:109
int j
Definition: t4ht.c:1589
*job_name strlen((char *) job_name) - 4)
@ start
Definition: preamble.c:52
#define cn
Definition: preamble.c:65
#define end(cp)
Definition: zic.c:71