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)  

gd.h
Go to the documentation of this file.
1 #ifndef GD_H
2 #define GD_H 1
3 
4 #include <stdlib.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 /* Version information. This gets parsed by build scripts as well as
11  * gcc so each #define line in this group must also be splittable on
12  * whitespace, take the form GD_*_VERSION and contain the magical
13  * trailing comment. */
14 #define GD_MAJOR_VERSION 2 /*version605b5d1778*/
15 #define GD_MINOR_VERSION 3 /*version605b5d1778*/
16 #define GD_RELEASE_VERSION 1 /*version605b5d1778*/
17 #define GD_EXTRA_VERSION "" /*version605b5d1778*/
18 /* End parsable section. */
19 
20 /* The version string. This is constructed from the version number
21  * parts above via macro abuse^Wtrickery. */
22 #define GDXXX_VERSION_STR(mjr, mnr, rev, ext) mjr "." mnr "." rev ext
23 #define GDXXX_STR(s) GDXXX_SSTR(s) /* Two levels needed to expand args. */
24 #define GDXXX_SSTR(s) #s
25 
26 #define GD_VERSION_STRING \
27  GDXXX_VERSION_STR(GDXXX_STR(GD_MAJOR_VERSION), \
28  GDXXX_STR(GD_MINOR_VERSION), \
29  GDXXX_STR(GD_RELEASE_VERSION), \
30  GD_EXTRA_VERSION)
31 
32 
33 /* Do the DLL dance: dllexport when building the DLL,
34  dllimport when importing from it, nothing when
35  not on Silly Silly Windows (tm Aardman Productions). */
36 
37 /* 2.0.20: for headers */
38 
39 /* 2.0.24: __stdcall also needed for Visual BASIC
40  and other languages. This breaks ABI compatibility
41  with previous DLL revs, but it's necessary. */
42 
43 /* 2.0.29: WIN32 programmers can declare the NONDLL macro if they
44  wish to build gd as a static library or by directly including
45  the gd sources in a project. */
46 
47 /* http://gcc.gnu.org/wiki/Visibility */
48 #if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE)
49 # ifdef BGDWIN32
50 # ifdef NONDLL
51 # define BGD_EXPORT_DATA_PROT
52 # else
53 # ifdef __GNUC__
54 # define BGD_EXPORT_DATA_PROT __attribute__ ((__dllexport__))
55 # else
56 # define BGD_EXPORT_DATA_PROT __declspec(dllexport)
57 # endif
58 # endif
59 # else
60 # ifdef __GNUC__
61 # define BGD_EXPORT_DATA_PROT __attribute__ ((__dllimport__))
62 # else
63 # define BGD_EXPORT_DATA_PROT __declspec(dllimport)
64 # endif
65 # endif
66 # define BGD_STDCALL
67 # define BGD_EXPORT_DATA_IMPL
68 #else
69 # if defined(__GNUC__) || defined(__clang__)
70 # define BGD_EXPORT_DATA_PROT __attribute__ ((__visibility__ ("default")))
71 # define BGD_EXPORT_DATA_IMPL __attribute__ ((__visibility__ ("hidden")))
72 # else
73 # define BGD_EXPORT_DATA_PROT
74 # define BGD_EXPORT_DATA_IMPL
75 # endif
76 # define BGD_STDCALL
77 #endif
78 
79 #define BGD_DECLARE(rt) BGD_EXPORT_DATA_PROT rt BGD_STDCALL
80 
81 /* VS2012+ disable keyword macroizing unless _ALLOW_KEYWORD_MACROS is set
82  We define inline, snprintf, and strcasecmp if they're missing
83 */
84 #ifdef _MSC_VER
85 # define _ALLOW_KEYWORD_MACROS
86 # ifndef inline
87 # define inline __inline
88 # endif
89 # ifndef strcasecmp
90 # define strcasecmp _stricmp
91 # endif
92 #if _MSC_VER < 1900
93  extern int snprintf(char*, size_t, const char*, ...);
94 #endif
95 #endif
96 
97 /* gd.h: declarations file for the graphic-draw module.
98  * Permission to use, copy, modify, and distribute this software and its
99  * documentation for any purpose and without fee is hereby granted, provided
100  * that the above copyright notice appear in all copies and that both that
101  * copyright notice and this permission notice appear in supporting
102  * documentation. This software is provided "AS IS." Thomas Boutell and
103  * Boutell.Com, Inc. disclaim all warranties, either express or implied,
104  * including but not limited to implied warranties of merchantability and
105  * fitness for a particular purpose, with respect to this code and accompanying
106  * documentation. */
107 
108 /* stdio is needed for file I/O. */
109 #include <stdio.h>
110 #include <stdarg.h>
111 #include "gd_io.h"
112 
113 /* The maximum number of palette entries in palette-based images.
114  In the wonderful new world of gd 2.0, you can of course have
115  many more colors when using truecolor mode. */
116 
117 #define gdMaxColors 256
118 
119 /* Image type. See functions below; you will not need to change
120  the elements directly. Use the provided macros to
121  access sx, sy, the color table, and colorsTotal for
122  read-only purposes. */
123 
124 /* If 'truecolor' is set true, the image is truecolor;
125  pixels are represented by integers, which
126  must be 32 bits wide or more.
127 
128  True colors are repsented as follows:
129 
130  ARGB
131 
132  Where 'A' (alpha channel) occupies only the
133  LOWER 7 BITS of the MSB. This very small
134  loss of alpha channel resolution allows gd 2.x
135  to keep backwards compatibility by allowing
136  signed integers to be used to represent colors,
137  and negative numbers to represent special cases,
138  just as in gd 1.x. */
139 
140 #define gdAlphaMax 127
141 #define gdAlphaOpaque 0
142 #define gdAlphaTransparent 127
143 #define gdRedMax 255
144 #define gdGreenMax 255
145 #define gdBlueMax 255
146 
147 /**
148  * Group: Color Decomposition
149  */
150 
151 /**
152  * Macro: gdTrueColorGetAlpha
153  *
154  * Gets the alpha channel value
155  *
156  * Parameters:
157  * c - The color
158  *
159  * See also:
160  * - <gdTrueColorAlpha>
161  */
162 #define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24)
163 
164 /**
165  * Macro: gdTrueColorGetRed
166  *
167  * Gets the red channel value
168  *
169  * Parameters:
170  * c - The color
171  *
172  * See also:
173  * - <gdTrueColorAlpha>
174  */
175 #define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16)
176 
177 /**
178  * Macro: gdTrueColorGetGreen
179  *
180  * Gets the green channel value
181  *
182  * Parameters:
183  * c - The color
184  *
185  * See also:
186  * - <gdTrueColorAlpha>
187  */
188 #define gdTrueColorGetGreen(c) (((c) & 0x00FF00) >> 8)
189 
190 /**
191  * Macro: gdTrueColorGetBlue
192  *
193  * Gets the blue channel value
194  *
195  * Parameters:
196  * c - The color
197  *
198  * See also:
199  * - <gdTrueColorAlpha>
200  */
201 #define gdTrueColorGetBlue(c) ((c) & 0x0000FF)
202 
203 /**
204  * Group: Effects
205  *
206  * The layering effect
207  *
208  * When pixels are drawn the new colors are "mixed" with the background
209  * depending on the effect.
210  *
211  * Note that the effect does not apply to palette images, where pixels
212  * are always replaced.
213  *
214  * Modes:
215  * gdEffectReplace - replace pixels
216  * gdEffectAlphaBlend - blend pixels, see <gdAlphaBlend>
217  * gdEffectNormal - default mode; same as gdEffectAlphaBlend
218  * gdEffectOverlay - overlay pixels, see <gdLayerOverlay>
219  * gdEffectMultiply - overlay pixels with multiply effect, see
220  * <gdLayerMultiply>
221  *
222  * See also:
223  * - <gdImageAlphaBlending>
224  */
225 #define gdEffectReplace 0
226 #define gdEffectAlphaBlend 1
227 #define gdEffectNormal 2
228 #define gdEffectOverlay 3
229 #define gdEffectMultiply 4
230 
231 #define GD_TRUE 1
232 #define GD_FALSE 0
233 
234 #define GD_EPSILON 1e-6
235 #ifndef M_PI
236 # define M_PI 3.14159265358979323846
237 #endif
238 
239 /* This function accepts truecolor pixel values only. The
240  source color is composited with the destination color
241  based on the alpha channel value of the source color.
242  The resulting color is opaque. */
243 
244 BGD_DECLARE(int) gdAlphaBlend (int dest, int src);
245 BGD_DECLARE(int) gdLayerOverlay (int dest, int src);
246 BGD_DECLARE(int) gdLayerMultiply (int dest, int src);
247 
248 
249 /**
250  * Group: Color Quantization
251  *
252  * Enum: gdPaletteQuantizationMethod
253  *
254  * Constants:
255  * GD_QUANT_DEFAULT - GD_QUANT_LIQ if libimagequant is available,
256  * GD_QUANT_JQUANT otherwise.
257  * GD_QUANT_JQUANT - libjpeg's old median cut. Fast, but only uses 16-bit
258  * color.
259  * GD_QUANT_NEUQUANT - NeuQuant - approximation using Kohonen neural network.
260  * GD_QUANT_LIQ - A combination of algorithms used in libimagequant
261  * aiming for the highest quality at cost of speed.
262  *
263  * Note that GD_QUANT_JQUANT does not retain the alpha channel, and
264  * GD_QUANT_NEUQUANT does not support dithering.
265  *
266  * See also:
267  * - <gdImageTrueColorToPaletteSetMethod>
268  */
273  GD_QUANT_LIQ = 3
274 };
275 
276 
277 /**
278  * Group: Transform
279  *
280  * Constants: gdInterpolationMethod
281  *
282  * GD_BELL - Bell
283  * GD_BESSEL - Bessel
284  * GD_BILINEAR_FIXED - fixed point bilinear
285  * GD_BICUBIC - Bicubic
286  * GD_BICUBIC_FIXED - fixed point bicubic integer
287  * GD_BLACKMAN - Blackman
288  * GD_BOX - Box
289  * GD_BSPLINE - BSpline
290  * GD_CATMULLROM - Catmullrom
291  * GD_GAUSSIAN - Gaussian
292  * GD_GENERALIZED_CUBIC - Generalized cubic
293  * GD_HERMITE - Hermite
294  * GD_HAMMING - Hamming
295  * GD_HANNING - Hannig
296  * GD_MITCHELL - Mitchell
297  * GD_NEAREST_NEIGHBOUR - Nearest neighbour interpolation
298  * GD_POWER - Power
299  * GD_QUADRATIC - Quadratic
300  * GD_SINC - Sinc
301  * GD_TRIANGLE - Triangle
302  * GD_WEIGHTED4 - 4 pixels weighted bilinear interpolation
303  * GD_LINEAR - bilinear interpolation
304  *
305  * See also:
306  * - <gdImageSetInterpolationMethod>
307  * - <gdImageGetInterpolationMethod>
308  */
309 typedef enum {
333  GD_METHOD_COUNT = 23
335 
336 /* define struct with name and func ptr and add it to gdImageStruct gdInterpolationMethod interpolation; */
337 
338 /* Interpolation function ptr */
339 typedef double (* interpolation_method )(double);
340 
341 
342 /*
343  Group: Types
344 
345  typedef: gdImage
346 
347  typedef: gdImagePtr
348 
349  The data structure in which gd stores images. <gdImageCreate>,
350  <gdImageCreateTrueColor> and the various image file-loading functions
351  return a pointer to this type, and the other functions expect to
352  receive a pointer to this type as their first argument.
353 
354  *gdImagePtr* is a pointer to *gdImage*.
355 
356  See also:
357  <Accessor Macros>
358 
359  (Previous versions of this library encouraged directly manipulating
360  the contents ofthe struct but we are attempting to move away from
361  this practice so the fields are no longer documented here. If you
362  need to poke at the internals of this struct, feel free to look at
363  *gd.h*.)
364 */
365 typedef struct gdImageStruct {
366  /* Palette-based image pixels */
367  unsigned char **pixels;
368  int sx;
369  int sy;
370  /* These are valid in palette images only. See also
371  'alpha', which appears later in the structure to
372  preserve binary backwards compatibility */
378  /* For backwards compatibility, this is set to the
379  first palette entry with 100% transparency,
380  and is also set and reset by the
381  gdImageColorTransparent function. Newer
382  applications can allocate palette entries
383  with any desired level of transparency; however,
384  bear in mind that many viewers, notably
385  many web browsers, fail to implement
386  full alpha channel for PNG and provide
387  support for full opacity or transparency only. */
389  int *polyInts;
396  int stylePos;
397  int *style;
399  /* New in 2.0: thickness of line. Initialized to 1. */
400  int thick;
401  /* New in 2.0: alpha channel for palettes. Note that only
402  Macintosh Internet Explorer and (possibly) Netscape 6
403  really support multiple levels of transparency in
404  palettes, to my knowledge, as of 2/15/01. Most
405  common browsers will display 100% opaque and
406  100% transparent correctly, and do something
407  unpredictable and/or undesirable for levels
408  in between. TBB */
410  /* Truecolor flag and pixels. New 2.0 fields appear here at the
411  end to minimize breakage of existing object code. */
413  int **tpixels;
414  /* Should alpha channel be copied, or applied, each time a
415  pixel is drawn? This applies to truecolor images only.
416  No attempt is made to alpha-blend in palette images,
417  even if semitransparent palette entries exist.
418  To do that, build your image as a truecolor image,
419  then quantize down to 8 bits. */
421  /* Should the alpha channel of the image be saved? This affects
422  PNG at the moment; other future formats may also
423  have that capability. JPEG doesn't. */
425 
426  /* There should NEVER BE ACCESSOR MACROS FOR ITEMS BELOW HERE, so this
427  part of the structure can be safely changed in new releases. */
428 
429  /* 2.0.12: anti-aliased globals. 2.0.26: just a few vestiges after
430  switching to the fast, memory-cheap implementation from PHP-gd. */
431  int AA;
432  int AA_color;
434 
435  /* 2.0.12: simple clipping rectangle. These values
436  must be checked for safety when set; please use
437  gdImageSetClip */
438  int cx1;
439  int cy1;
440  int cx2;
441  int cy2;
442 
443  /* 2.1.0: allows to specify resolution in dpi */
444  unsigned int res_x;
445  unsigned int res_y;
446 
447  /* Selects quantization method, see gdImageTrueColorToPaletteSetMethod() and gdPaletteQuantizationMethod enum. */
449  /* speed/quality trade-off. 1 = best quality, 10 = best speed. 0 = method-specific default.
450  Applicable to GD_QUANT_LIQ and GD_QUANT_NEUQUANT. */
452  /* Image will remain true-color if conversion to palette cannot achieve given quality.
453  Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
455  /* Image will use minimum number of palette colors needed to achieve given quality. Must be higher than paletteQuantizationMinQuality
456  Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
460 }
462 
464 
465 
466 /* Point type for use in polygon drawing. */
467 
468 /**
469  * Group: Types
470  *
471  * typedef: gdPointF
472  * Defines a point in a 2D coordinate system using floating point
473  * values.
474  * x - Floating point position (increase from left to right)
475  * y - Floating point Row position (increase from top to bottom)
476  *
477  * typedef: gdPointFPtr
478  * Pointer to a <gdPointF>
479  *
480  * See also:
481  * <gdImageCreate>, <gdImageCreateTrueColor>,
482  **/
483 typedef struct
484 {
485  double x, y;
486 }
488 
489 
490 /*
491  Group: Types
492 
493  typedef: gdFont
494 
495  typedef: gdFontPtr
496 
497  A font structure, containing the bitmaps of all characters in a
498  font. Used to declare the characteristics of a font. Text-output
499  functions expect these as their second argument, following the
500  <gdImagePtr> argument. <gdFontGetSmall> and <gdFontGetLarge> both
501  return one.
502 
503  You can provide your own font data by providing such a structure and
504  the associated pixel array. You can determine the width and height
505  of a single character in a font by examining the w and h members of
506  the structure. If you will not be creating your own fonts, you will
507  not need to concern yourself with the rest of the components of this
508  structure.
509 
510  Please see the files gdfontl.c and gdfontl.h for an example of
511  the proper declaration of this structure.
512 
513  > typedef struct {
514  > // # of characters in font
515  > int nchars;
516  > // First character is numbered... (usually 32 = space)
517  > int offset;
518  > // Character width and height
519  > int w;
520  > int h;
521  > // Font data; array of characters, one row after another.
522  > // Easily included in code, also easily loaded from
523  > // data files.
524  > char *data;
525  > } gdFont;
526 
527  gdFontPtr is a pointer to gdFont.
528 
529 */
530 typedef struct {
531  /* # of characters in font */
532  int nchars;
533  /* First character is numbered... (usually 32 = space) */
534  int offset;
535  /* Character width and height */
536  int w;
537  int h;
538  /* Font data; array of characters, one row after another.
539  Easily included in code, also easily loaded from
540  data files. */
541  char *data;
542 }
543 gdFont;
544 
545 /* Text functions take these. */
546 typedef gdFont *gdFontPtr;
547 
548 typedef void(*gdErrorMethod)(int, const char *, va_list);
549 
551 BGD_DECLARE(void) gdClearErrorMethod(void);
552 
553 /* For backwards compatibility only. Use gdImageSetStyle()
554  for MUCH more flexible line drawing. Also see
555  gdImageSetBrush(). */
556 #define gdDashSize 4
557 
558 /**
559  * Group: Colors
560  *
561  * Colors are always of type int which is supposed to be at least 32 bit large.
562  *
563  * Kinds of colors:
564  * true colors - ARGB values where the alpha channel is stored as most
565  * significant, and the blue channel as least significant
566  * byte. Note that the alpha channel only uses the 7 least
567  * significant bits.
568  * Don't rely on the internal representation, though, and
569  * use <gdTrueColorAlpha> to compose a truecolor value, and
570  * <gdTrueColorGetAlpha>, <gdTrueColorGetRed>,
571  * <gdTrueColorGetGreen> and <gdTrueColorGetBlue> to access
572  * the respective channels.
573  * palette indexes - The index of a color palette entry (0-255).
574  * special colors - As listed in the following section.
575  *
576  * Constants: Special Colors
577  * gdStyled - use the current style, see <gdImageSetStyle>
578  * gdBrushed - use the current brush, see <gdImageSetBrush>
579  * gdStyledBrushed - use the current style and brush
580  * gdTiled - use the current tile, see <gdImageSetTile>
581  * gdTransparent - indicate transparency, what is not the same as the
582  * transparent color index; used for lines only
583  * gdAntiAliased - draw anti aliased
584  */
585 
586 #define gdStyled (-2)
587 #define gdBrushed (-3)
588 #define gdStyledBrushed (-4)
589 #define gdTiled (-5)
590 #define gdTransparent (-6)
591 #define gdAntiAliased (-7)
592 
593 /* Functions to manipulate images. */
594 
595 /* Creates a palette-based image (up to 256 colors). */
596 BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy);
597 
598 /* An alternate name for the above (2.0). */
599 #define gdImageCreatePalette gdImageCreate
600 
601 /* Creates a truecolor image (millions of colors). */
603 
604 /* Creates an image from various file types. These functions
605  return a palette or truecolor image based on the
606  nature of the file being loaded. Truecolor PNG
607  stays truecolor; palette PNG stays palette-based;
608  JPEG is always truecolor. */
612 
613 /* These read the first frame only */
621 BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx (FILE * infile, int ignore_warning);
625 BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx (int size, void *data, int ignore_warning);
629 
633 
637 
642 
643 
644 /*
645  Group: Types
646 
647  typedef: gdSource
648 
649  typedef: gdSourcePtr
650 
651  *Note:* This interface is *obsolete* and kept only for
652  *compatibility. Use <gdIOCtx> instead.
653 
654  Represents a source from which a PNG can be read. Programmers who
655  do not wish to read PNGs from a file can provide their own
656  alternate input mechanism, using the <gdImageCreateFromPngSource>
657  function. See the documentation of that function for an example of
658  the proper use of this type.
659 
660  > typedef struct {
661  > int (*source) (void *context, char *buffer, int len);
662  > void *context;
663  > } gdSource, *gdSourcePtr;
664 
665  The source function must return -1 on error, otherwise the number
666  of bytes fetched. 0 is EOF, not an error!
667 
668  'context' will be passed to your source function.
669 
670 */
671 typedef struct {
672  int (*source) (void *context, char *buffer, int len);
673  void *context;
674 }
676 
677 /* Deprecated in favor of gdImageCreateFromPngCtx */
679 
683 
687 
688 BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * in, int srcx, int srcy, int w,
689  int h);
691  int w, int h);
692 BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy,
693  int w, int h);
694 /* 2.0.10: prototype was missing */
697 
698 /* NOTE: filename, not FILE */
700 
702 
703 /* Replaces or blends with the background depending on the
704  most recent call to gdImageAlphaBlending and the
705  alpha channel value of 'color'; default is to overwrite.
706  Tiling and line styling are also implemented
707  here. All other gd drawing functions pass through this call,
708  allowing for many useful effects.
709  Overlay and multiply effects are used when gdImageAlphaBlending
710  is passed gdEffectOverlay and gdEffectMultiply */
711 
712 BGD_DECLARE(void) gdImageSetPixel (gdImagePtr im, int x, int y, int color);
713 /* FreeType 2 text output with hook to extra flags */
714 
715 BGD_DECLARE(int) gdImageGetPixel (gdImagePtr im, int x, int y);
717 
719 
720 BGD_DECLARE(void) gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color);
721 
722 /* For backwards compatibility only. Use gdImageSetStyle()
723  for much more flexible line drawing. */
724 BGD_DECLARE(void) gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2,
725  int color);
726 /* Corners specified (not width and height). Upper left first, lower right
727  second. */
728 BGD_DECLARE(void) gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
729  int color);
730 /* Solid bar. Upper left corner first, lower right corner second. */
731 BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
732  int color);
733 BGD_DECLARE(void) gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2);
734 BGD_DECLARE(void) gdImageGetClip(gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P);
735 BGD_DECLARE(void) gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y);
736 BGD_DECLARE(int) gdImageBoundsSafe (gdImagePtr im, int x, int y);
737 BGD_DECLARE(void) gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c,
738  int color);
739 BGD_DECLARE(void) gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c,
740  int color);
741 BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y,
742  unsigned char *s, int color);
743 BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y,
744  unsigned char *s, int color);
745 BGD_DECLARE(void) gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y,
746  unsigned short *s, int color);
747 BGD_DECLARE(void) gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y,
748  unsigned short *s, int color);
749 
750 /* 2.0.16: for thread-safe use of gdImageStringFT and friends,
751  call this before allowing any thread to call gdImageStringFT.
752  Otherwise it is invoked by the first thread to invoke
753  gdImageStringFT, with a very small but real risk of a race condition.
754  Return 0 on success, nonzero on failure to initialize freetype. */
756 
757 /* Optional: clean up after application is done using fonts in
758  gdImageStringFT(). */
760 /* 2.0.20: for backwards compatibility. A few applications did start calling
761  this function when it first appeared although it was never documented.
762  Simply invokes gdFontCacheShutdown. */
764 
765 /* Calls gdImageStringFT. Provided for backwards compatibility only. */
766 BGD_DECLARE(char *) gdImageStringTTF (gdImage * im, int *brect, int fg, const char *fontlist,
767  double ptsize, double angle, int x, int y,
768  const char *string);
769 
770 /* FreeType 2 text output */
771 BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, const char *fontlist,
772  double ptsize, double angle, int x, int y,
773  const char *string);
774 
775 
776 /*
777  Group: Types
778 
779  typedef: gdFTStringExtra
780 
781  typedef: gdFTStringExtraPtr
782 
783  A structure and associated pointer type used to pass additional
784  parameters to the <gdImageStringFTEx> function. See
785  <gdImageStringFTEx> for the structure definition.
786 
787  Thanks to Wez Furlong.
788 */
789 
790 /* 2.0.5: provides an extensible way to pass additional parameters.
791  Thanks to Wez Furlong, sorry for the delay. */
792 typedef struct {
793  int flags; /* Logical OR of gdFTEX_ values */
794  double linespacing; /* fine tune line spacing for '\n' */
795  int charmap; /* TBB: 2.0.12: may be gdFTEX_Unicode,
796  gdFTEX_Shift_JIS, gdFTEX_Big5,
797  or gdFTEX_Adobe_Custom;
798  when not specified, maps are searched
799  for in the above order. */
800  int hdpi; /* if (flags & gdFTEX_RESOLUTION) */
801  int vdpi; /* if (flags & gdFTEX_RESOLUTION) */
802  char *xshow; /* if (flags & gdFTEX_XSHOW)
803  then, on return, xshow is a malloc'ed
804  string containing xshow position data for
805  the last string.
806 
807  NB. The caller is responsible for gdFree'ing
808  the xshow string.
809  */
810  char *fontpath; /* if (flags & gdFTEX_RETURNFONTPATHNAME)
811  then, on return, fontpath is a malloc'ed
812  string containing the actual font file path name
813  used, which can be interesting when fontconfig
814  is in use.
815 
816  The caller is responsible for gdFree'ing the
817  fontpath string.
818  */
819 
820 }
822 
823 #define gdFTEX_LINESPACE 1
824 #define gdFTEX_CHARMAP 2
825 #define gdFTEX_RESOLUTION 4
826 #define gdFTEX_DISABLE_KERNING 8
827 #define gdFTEX_XSHOW 16
828 /* The default unless gdFTUseFontConfig(1); has been called:
829  fontlist is a full or partial font file pathname or list thereof
830  (i.e. just like before 2.0.29) */
831 #define gdFTEX_FONTPATHNAME 32
832 /* Necessary to use fontconfig patterns instead of font pathnames
833  as the fontlist argument, unless gdFTUseFontConfig(1); has
834  been called. New in 2.0.29 */
835 #define gdFTEX_FONTCONFIG 64
836 /* Sometimes interesting when fontconfig is used: the fontpath
837  element of the structure above will contain a gdMalloc'd string
838  copy of the actual font file pathname used, if this flag is set
839  when the call is made */
840 #define gdFTEX_RETURNFONTPATHNAME 128
841 
842 /* If flag is nonzero, the fontlist parameter to gdImageStringFT
843  and gdImageStringFTEx shall be assumed to be a fontconfig font pattern
844  if fontconfig was compiled into gd. This function returns zero
845  if fontconfig is not available, nonzero otherwise. */
847 
848 /* These are NOT flags; set one in 'charmap' if you set the
849  gdFTEX_CHARMAP bit in 'flags'. */
850 #define gdFTEX_Unicode 0
851 #define gdFTEX_Shift_JIS 1
852 #define gdFTEX_Big5 2
853 #define gdFTEX_Adobe_Custom 3
854 
855 BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, const char *fontlist,
856  double ptsize, double angle, int x, int y,
857  const char *string, gdFTStringExtraPtr strex);
858 
859 
860 /*
861  Group: Types
862 
863  typedef: gdPoint
864 
865  typedef: gdPointPtr
866 
867  Represents a point in the coordinate space of the image; used by
868  <gdImagePolygon>, <gdImageOpenPolygon> and <gdImageFilledPolygon>
869  for polygon drawing.
870 
871  > typedef struct {
872  > int x, y;
873  > } gdPoint, *gdPointPtr;
874 
875 */
876 typedef struct {
877  int x, y;
878 }
880 
881 /**
882  * Typedef: gdRect
883  *
884  * A rectangle in the coordinate space of the image
885  *
886  * Members:
887  * x - The x-coordinate of the upper left corner.
888  * y - The y-coordinate of the upper left corner.
889  * width - The width.
890  * height - The height.
891  *
892  * Typedef: gdRectPtr
893  *
894  * A pointer to a <gdRect>
895  */
896 typedef struct {
897  int x, y;
898  int width, height;
899 }
901 
902 
903 BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c);
904 BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c);
906 
907 /* These functions still work with truecolor images,
908  for which they never return error. */
909 BGD_DECLARE(int) gdImageColorAllocate (gdImagePtr im, int r, int g, int b);
910 /* gd 2.0: palette entries with non-opaque transparency are permitted. */
911 BGD_DECLARE(int) gdImageColorAllocateAlpha (gdImagePtr im, int r, int g, int b, int a);
912 /* Assumes opaque is the preferred alpha channel value */
913 BGD_DECLARE(int) gdImageColorClosest (gdImagePtr im, int r, int g, int b);
914 /* Closest match taking all four parameters into account.
915  A slightly different color with the same transparency
916  beats the exact same color with radically different
917  transparency */
918 BGD_DECLARE(int) gdImageColorClosestAlpha (gdImagePtr im, int r, int g, int b, int a);
919 /* An alternate method */
920 BGD_DECLARE(int) gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b);
921 /* Returns exact, 100% opaque matches only */
922 BGD_DECLARE(int) gdImageColorExact (gdImagePtr im, int r, int g, int b);
923 /* Returns an exact match only, including alpha */
924 BGD_DECLARE(int) gdImageColorExactAlpha (gdImagePtr im, int r, int g, int b, int a);
925 /* Opaque only */
926 BGD_DECLARE(int) gdImageColorResolve (gdImagePtr im, int r, int g, int b);
927 /* Based on gdImageColorExactAlpha and gdImageColorClosestAlpha */
928 BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, int a);
929 
930 /* A simpler way to obtain an opaque truecolor value for drawing on a
931  truecolor image. Not for use with palette images! */
932 
933 #define gdTrueColor(r, g, b) (((r) << 16) + \
934  ((g) << 8) + \
935  (b))
936 
937 /**
938  * Group: Color Composition
939  *
940  * Macro: gdTrueColorAlpha
941  *
942  * Compose a truecolor value from its components
943  *
944  * Parameters:
945  * r - The red channel (0-255)
946  * g - The green channel (0-255)
947  * b - The blue channel (0-255)
948  * a - The alpha channel (0-127, where 127 is fully transparent, and 0 is
949  * completely opaque).
950  *
951  * See also:
952  * - <gdTrueColorGetAlpha>
953  * - <gdTrueColorGetRed>
954  * - <gdTrueColorGetGreen>
955  * - <gdTrueColorGetBlue>
956  * - <gdImageColorExactAlpha>
957  */
958 #define gdTrueColorAlpha(r, g, b, a) (((a) << 24) + \
959  ((r) << 16) + \
960  ((g) << 8) + \
961  (b))
962 
964 
965 /* Converts a truecolor image to a palette-based image,
966  using a high-quality two-pass quantization routine
967  which attempts to preserve alpha channel information
968  as well as R/G/B color information when creating
969  a palette. If ditherFlag is set, the image will be
970  dithered to approximate colors better, at the expense
971  of some obvious "speckling." colorsWanted can be
972  anything up to 256. If the original source image
973  includes photographic information or anything that
974  came out of a JPEG, 256 is strongly recommended.
975 
976  Better yet, don't use these function -- write real
977  truecolor PNGs and JPEGs. The disk space gain of
978  conversion to palette is not great (for small images
979  it can be negative) and the quality loss is ugly.
980 
981  DIFFERENCES: gdImageCreatePaletteFromTrueColor creates and
982  returns a new image. gdImageTrueColorToPalette modifies
983  an existing image, and the truecolor pixels are discarded.
984 
985  gdImageTrueColorToPalette() returns TRUE on success, FALSE on failure.
986 */
987 
989  int colorsWanted);
990 
991 BGD_DECLARE(int) gdImageTrueColorToPalette (gdImagePtr im, int ditherFlag,
992  int colorsWanted);
993 
995 
996 /* An attempt at getting the results of gdImageTrueColorToPalette to
997  * look a bit more like the original (im1 is the original and im2 is
998  * the palette version */
999 
1001 
1002 /* Selects quantization method used for subsequent gdImageTrueColorToPalette calls.
1003  See gdPaletteQuantizationMethod enum (e.g. GD_QUANT_NEUQUANT, GD_QUANT_LIQ).
1004  Speed is from 1 (highest quality) to 10 (fastest).
1005  Speed 0 selects method-specific default (recommended).
1006 
1007  Returns FALSE if the given method is invalid or not available.
1008 */
1009 BGD_DECLARE(int) gdImageTrueColorToPaletteSetMethod (gdImagePtr im, int method, int speed);
1010 
1011 /*
1012  Chooses quality range that subsequent call to gdImageTrueColorToPalette will aim for.
1013  Min and max quality is in range 1-100 (1 = ugly, 100 = perfect). Max must be higher than min.
1014  If palette cannot represent image with at least min_quality, then image will remain true-color.
1015  If palette can represent image with quality better than max_quality, then lower number of colors will be used.
1016  This function has effect only when GD_QUANT_LIQ method has been selected and the source image is true-color.
1017 */
1018 BGD_DECLARE(void) gdImageTrueColorToPaletteSetQuality (gdImagePtr im, int min_quality, int max_quality);
1019 
1020 /* Specifies a color index (if a palette image) or an
1021  RGB color (if a truecolor image) which should be
1022  considered 100% transparent. FOR TRUECOLOR IMAGES,
1023  THIS IS IGNORED IF AN ALPHA CHANNEL IS BEING
1024  SAVED. Use gdImageSaveAlpha(im, 0); to
1025  turn off the saving of a full alpha channel in
1026  a truecolor image. Note that gdImageColorTransparent
1027  is usually compatible with older browsers that
1028  do not understand full alpha channels well. TBB */
1030 
1032 
1034 
1035 BGD_DECLARE(int) gdImageColorReplace(gdImagePtr im, int src, int dst);
1037 BGD_DECLARE(int) gdImageColorReplaceArray(gdImagePtr im, int len, int *src, int *dst);
1039 
1040 BGD_DECLARE(void) gdImageGif (gdImagePtr im, FILE * out);
1041 BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);
1044 BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile);
1045 BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size);
1047 
1048 BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression);
1049 BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression);
1051 
1052 /* 2.0.12: Compression level: 0-9 or -1, where 0 is NO COMPRESSION at all,
1053  1 is FASTEST but produces larger files, 9 provides the best
1054  compression (smallest files) but takes a long time to compress, and
1055  -1 selects the default compiled into the zlib library. */
1056 BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level);
1058 
1059 BGD_DECLARE(void) gdImageWBMP (gdImagePtr image, int fg, FILE * out);
1061 
1062 BGD_DECLARE(int) gdImageFile(gdImagePtr im, const char *filename);
1063 BGD_DECLARE(int) gdSupportsFileType(const char *filename, int writing);
1064 
1065 
1066 /* Guaranteed to correctly free memory returned by the gdImage*Ptr
1067  functions */
1068 BGD_DECLARE(void) gdFree (void *m);
1069 
1070 /* Best to free this memory with gdFree(), not free() */
1071 BGD_DECLARE(void *) gdImageWBMPPtr (gdImagePtr im, int *size, int fg);
1072 
1073 /* 100 is highest quality (there is always a little loss with JPEG).
1074  0 is lowest. 10 is about the lowest useful setting. */
1075 BGD_DECLARE(void) gdImageJpeg (gdImagePtr im, FILE * out, int quality);
1077 
1078 /* Best to free this memory with gdFree(), not free() */
1079 BGD_DECLARE(void *) gdImageJpegPtr (gdImagePtr im, int *size, int quality);
1080 
1081 BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quantization);
1082 BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile);
1083 BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size);
1084 BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization);
1085 BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization);
1086 
1087 
1088 /**
1089  * Group: GifAnim
1090  *
1091  * Legal values for Disposal. gdDisposalNone is always used by
1092  * the built-in optimizer if previm is passed.
1093  *
1094  * Constants: gdImageGifAnim
1095  *
1096  * gdDisposalUnknown - Not recommended
1097  * gdDisposalNone - Preserve previous frame
1098  * gdDisposalRestoreBackground - First allocated color of palette
1099  * gdDisposalRestorePrevious - Restore to before start of frame
1100  *
1101  * See also:
1102  * - <gdImageGifAnimAdd>
1103  */
1104 enum {
1109 };
1110 
1111 BGD_DECLARE(void) gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops);
1112 BGD_DECLARE(void) gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
1113 BGD_DECLARE(void) gdImageGifAnimEnd(FILE *outFile);
1114 BGD_DECLARE(void) gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtx *out, int GlobalCM, int Loops);
1115 BGD_DECLARE(void) gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtx *out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
1117 BGD_DECLARE(void *) gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops);
1118 BGD_DECLARE(void *) gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
1119 BGD_DECLARE(void *) gdImageGifAnimEndPtr(int *size);
1120 
1121 
1122 
1123 /*
1124  Group: Types
1125 
1126  typedef: gdSink
1127 
1128  typedef: gdSinkPtr
1129 
1130  *Note:* This interface is *obsolete* and kept only for
1131  *compatibility*. Use <gdIOCtx> instead.
1132 
1133  Represents a "sink" (destination) to which a PNG can be
1134  written. Programmers who do not wish to write PNGs to a file can
1135  provide their own alternate output mechanism, using the
1136  <gdImagePngToSink> function. See the documentation of that
1137  function for an example of the proper use of this type.
1138 
1139  > typedef struct {
1140  > int (*sink) (void *context, char *buffer, int len);
1141  > void *context;
1142  > } gdSink, *gdSinkPtr;
1143 
1144  The _sink_ function must return -1 on error, otherwise the number of
1145  bytes written, which must be equal to len.
1146 
1147  _context_ will be passed to your sink function.
1148 
1149 */
1150 
1151 typedef struct {
1152  int (*sink) (void *context, const char *buffer, int len);
1153  void *context;
1154 }
1156 
1158 
1159 BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out);
1160 BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt);
1161 
1162 /* Best to free this memory with gdFree(), not free() */
1163 BGD_DECLARE(void *) gdImageGifPtr (gdImagePtr im, int *size);
1164 
1165 /* Best to free this memory with gdFree(), not free() */
1166 BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size);
1167 BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level);
1168 
1169 /* Best to free this memory with gdFree(), not free() */
1170 BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size);
1171 
1172 /* Best to free this memory with gdFree(), not free() */
1173 BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size);
1174 
1175 /* Style is a bitwise OR ( | operator ) of these.
1176  gdArc and gdChord are mutually exclusive;
1177  gdChord just connects the starting and ending
1178  angles with a straight line, while gdArc produces
1179  a rounded edge. gdPie is a synonym for gdArc.
1180  gdNoFill indicates that the arc or chord should be
1181  outlined, not filled. gdEdged, used together with
1182  gdNoFill, indicates that the beginning and ending
1183  angles should be connected to the center; this is
1184  a good way to outline (rather than fill) a
1185  'pie slice'. */
1186 #define gdArc 0
1187 #define gdPie gdArc
1188 #define gdChord 1
1189 #define gdNoFill 2
1190 #define gdEdged 4
1191 
1192 BGD_DECLARE(void) gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s,
1193  int e, int color, int style);
1194 BGD_DECLARE(void) gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e,
1195  int color);
1196 BGD_DECLARE(void) gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color);
1197 BGD_DECLARE(void) gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int w, int h,
1198  int color);
1199 BGD_DECLARE(void) gdImageFillToBorder (gdImagePtr im, int x, int y, int border,
1200  int color);
1201 BGD_DECLARE(void) gdImageFill (gdImagePtr im, int x, int y, int color);
1202 BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
1203  int srcX, int srcY, int w, int h);
1204 BGD_DECLARE(void) gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
1205  int srcX, int srcY, int w, int h, int pct);
1207  int dstY, int srcX, int srcY, int w, int h,
1208  int pct);
1209 
1210 /* Stretches or shrinks to fit, as needed. Does NOT attempt
1211  to average the entire set of source pixels that scale down onto the
1212  destination pixel. */
1213 BGD_DECLARE(void) gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
1214  int srcX, int srcY, int dstW, int dstH, int srcW,
1215  int srcH);
1216 
1217 /* gd 2.0: stretches or shrinks to fit, as needed. When called with a
1218  truecolor destination image, this function averages the
1219  entire set of source pixels that scale down onto the
1220  destination pixel, taking into account what portion of the
1221  destination pixel each source pixel represents. This is a
1222  floating point operation, but this is not a performance issue
1223  on modern hardware, except for some embedded devices. If the
1224  destination is a palette image, gdImageCopyResized is
1225  substituted automatically. */
1227  int dstY, int srcX, int srcY, int dstW, int dstH,
1228  int srcW, int srcH);
1229 
1230 /* gd 2.0.8: gdImageCopyRotated is added. Source
1231  is a rectangle, with its upper left corner at
1232  srcX and srcY. Destination is the *center* of
1233  the rotated copy. Angle is in degrees, same as
1234  gdImageArc. Floating point destination center
1235  coordinates allow accurate rotation of
1236  objects of odd-numbered width or height. */
1238  gdImagePtr src,
1239  double dstX, double dstY,
1240  int srcX, int srcY,
1241  int srcWidth, int srcHeight, int angle);
1242 
1244 
1248 BGD_DECLARE(void) gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend);
1249 BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels);
1250 /* Line thickness (defaults to 1). Affects lines, ellipses,
1251  rectangles, polygons and so forth. */
1253 /* On or off (1 or 0) for all three of these. */
1254 BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg);
1255 BGD_DECLARE(void) gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg);
1256 BGD_DECLARE(void) gdImageSaveAlpha (gdImagePtr im, int saveAlphaArg);
1257 
1258 BGD_DECLARE(gdImagePtr) gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor);
1259 
1263 };
1264 
1265 BGD_DECLARE(int) gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
1266 
1267 typedef struct {
1268  int sub;
1269  int plus;
1270  unsigned int num_colors;
1271  int *colors;
1272  unsigned int seed;
1274 
1275 BGD_DECLARE(int) gdImageScatter(gdImagePtr im, int sub, int plus);
1276 BGD_DECLARE(int) gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
1278 BGD_DECLARE(int) gdImageSmooth(gdImagePtr im, float weight);
1284 BGD_DECLARE(int) gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset);
1285 BGD_DECLARE(int) gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
1286 BGD_DECLARE(int) gdImageContrast(gdImagePtr src, double contrast);
1287 BGD_DECLARE(int) gdImageBrightness(gdImagePtr src, int brightness);
1290 
1292  double sigma);
1293 
1294 
1295 /**
1296  * Group: Accessor Macros
1297  */
1298 
1299 /**
1300  * Macro: gdImageTrueColor
1301  *
1302  * Whether an image is a truecolor image.
1303  *
1304  * Parameters:
1305  * im - The image.
1306  *
1307  * Returns:
1308  * Non-zero if the image is a truecolor image, zero for palette images.
1309  */
1310 #define gdImageTrueColor(im) ((im)->trueColor)
1311 
1312 /**
1313  * Macro: gdImageSX
1314  *
1315  * Gets the width (in pixels) of an image.
1316  *
1317  * Parameters:
1318  * im - The image.
1319  */
1320 #define gdImageSX(im) ((im)->sx)
1321 
1322 /**
1323  * Macro: gdImageSY
1324  *
1325  * Gets the height (in pixels) of an image.
1326  *
1327  * Parameters:
1328  * im - The image.
1329  */
1330 #define gdImageSY(im) ((im)->sy)
1331 
1332 /**
1333  * Macro: gdImageColorsTotal
1334  *
1335  * Gets the number of colors in the palette.
1336  *
1337  * This macro is only valid for palette images.
1338  *
1339  * Parameters:
1340  * im - The image
1341  */
1342 #define gdImageColorsTotal(im) ((im)->colorsTotal)
1343 
1344 /**
1345  * Macro: gdImageRed
1346  *
1347  * Gets the red component value of a given color.
1348  *
1349  * Parameters:
1350  * im - The image.
1351  * c - The color.
1352  */
1353 #define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \
1354  (im)->red[(c)])
1355 
1356 /**
1357  * Macro: gdImageGreen
1358  *
1359  * Gets the green component value of a given color.
1360  *
1361  * Parameters:
1362  * im - The image.
1363  * c - The color.
1364  */
1365 #define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \
1366  (im)->green[(c)])
1367 
1368 /**
1369  * Macro: gdImageBlue
1370  *
1371  * Gets the blue component value of a given color.
1372  *
1373  * Parameters:
1374  * im - The image.
1375  * c - The color.
1376  */
1377 #define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \
1378  (im)->blue[(c)])
1379 
1380 /**
1381  * Macro: gdImageAlpha
1382  *
1383  * Gets the alpha component value of a given color.
1384  *
1385  * Parameters:
1386  * im - The image.
1387  * c - The color.
1388  */
1389 #define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \
1390  (im)->alpha[(c)])
1391 
1392 /**
1393  * Macro: gdImageGetTransparent
1394  *
1395  * Gets the transparent color of the image.
1396  *
1397  * Parameters:
1398  * im - The image.
1399  *
1400  * See also:
1401  * - <gdImageColorTransparent>
1402  */
1403 #define gdImageGetTransparent(im) ((im)->transparent)
1404 
1405 /**
1406  * Macro: gdImageGetInterlaced
1407  *
1408  * Whether an image is interlaced.
1409  *
1410  * Parameters:
1411  * im - The image.
1412  *
1413  * Returns:
1414  * Non-zero for interlaced images, zero otherwise.
1415  *
1416  * See also:
1417  * - <gdImageInterlace>
1418  */
1419 #define gdImageGetInterlaced(im) ((im)->interlace)
1420 
1421 /**
1422  * Macro: gdImagePalettePixel
1423  *
1424  * Gets the color of a pixel.
1425  *
1426  * Calling this macro is only valid for palette images.
1427  * No bounds checking is done for the coordinates.
1428  *
1429  * Parameters:
1430  * im - The image.
1431  * x - The x-coordinate.
1432  * y - The y-coordinate.
1433  *
1434  * See also:
1435  * - <gdImageTrueColorPixel>
1436  * - <gdImageGetPixel>
1437  */
1438 #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
1439 
1440 /**
1441  * Macro: gdImageTrueColorPixel
1442  *
1443  * Gets the color of a pixel.
1444  *
1445  * Calling this macro is only valid for truecolor images.
1446  * No bounds checking is done for the coordinates.
1447  *
1448  * Parameters:
1449  * im - The image.
1450  * x - The x-coordinate.
1451  * y - The y-coordinate.
1452  *
1453  * See also:
1454  * - <gdImagePalettePixel>
1455  * - <gdImageGetTrueColorPixel>
1456  */
1457 #define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)]
1458 
1459 /**
1460  * Macro: gdImageResolutionX
1461  *
1462  * Gets the horizontal resolution in DPI.
1463  *
1464  * Parameters:
1465  * im - The image.
1466  *
1467  * See also:
1468  * - <gdImageResolutionY>
1469  * - <gdImageSetResolution>
1470  */
1471 #define gdImageResolutionX(im) (im)->res_x
1472 
1473 /**
1474  * Macro: gdImageResolutionY
1475  *
1476  * Gets the vertical resolution in DPI.
1477  *
1478  * Parameters:
1479  * im - The image.
1480  *
1481  * See also:
1482  * - <gdImageResolutionX>
1483  * - <gdImageSetResolution>
1484  */
1485 #define gdImageResolutionY(im) (im)->res_y
1486 
1487 /* I/O Support routines. */
1488 
1490 /* If data is null, size is ignored and an initial data buffer is
1491  allocated automatically. NOTE: this function assumes gd has the right
1492  to free or reallocate "data" at will! Also note that gd will free
1493  "data" when the IO context is freed. If data is not null, it must point
1494  to memory allocated with gdMalloc, or by a call to gdImage[something]Ptr.
1495  If not, see gdNewDynamicCtxEx for an alternative. */
1496 BGD_DECLARE(gdIOCtx *) gdNewDynamicCtx (int size, void *data);
1497 /* 2.0.21: if freeFlag is nonzero, gd will free and/or reallocate "data" as
1498  needed as described above. If freeFlag is zero, gd will never free
1499  or reallocate "data", which means that the context should only be used
1500  for *reading* an image from a memory buffer, or writing an image to a
1501  memory buffer which is already large enough. If the memory buffer is
1502  not large enough and an image write is attempted, the write operation
1503  will fail. Those wishing to write an image to a buffer in memory have
1504  a much simpler alternative in the gdImage[something]Ptr functions. */
1505 BGD_DECLARE(gdIOCtx *) gdNewDynamicCtxEx (int size, void *data, int freeFlag);
1507 BGD_DECLARE(void *) gdDPExtractData (struct gdIOCtx *ctx, int *size);
1508 
1509 #define GD2_CHUNKSIZE 128
1510 #define GD2_CHUNKSIZE_MIN 64
1511 #define GD2_CHUNKSIZE_MAX 4096
1512 
1513 #define GD2_VERS 2
1514 #define GD2_ID "gd2"
1515 
1516 #define GD2_FMT_RAW 1
1517 #define GD2_FMT_COMPRESSED 2
1518 
1519 /* Image comparison definitions */
1521 
1525 
1526 #define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
1527 #define GD_FLIP_HORIZONTAL 1
1528 #define GD_FLIP_VERTICAL 2
1529 #define GD_FLIP_BOTH 3
1530 
1531 /**
1532  * Group: Crop
1533  *
1534  * Constants: gdCropMode
1535  * GD_CROP_DEFAULT - Same as GD_CROP_TRANSPARENT
1536  * GD_CROP_TRANSPARENT - Crop using the transparent color
1537  * GD_CROP_BLACK - Crop black borders
1538  * GD_CROP_WHITE - Crop white borders
1539  * GD_CROP_SIDES - Crop using colors of the 4 corners
1540  *
1541  * See also:
1542  * - <gdImageCropAuto>
1543  **/
1551 };
1552 
1554 BGD_DECLARE(gdImagePtr) gdImageCropAuto(gdImagePtr im, const unsigned int mode);
1555 BGD_DECLARE(gdImagePtr) gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
1556 
1559 
1560 BGD_DECLARE(gdImagePtr) gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height);
1561 
1563 
1564 typedef enum {
1571 
1572 BGD_DECLARE(int) gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]);
1573 BGD_DECLARE(int) gdAffineInvert (double dst[6], const double src[6]);
1574 BGD_DECLARE(int) gdAffineFlip (double dst_affine[6], const double src_affine[6], const int flip_h, const int flip_v);
1575 BGD_DECLARE(int) gdAffineConcat (double dst[6], const double m1[6], const double m2[6]);
1576 
1577 BGD_DECLARE(int) gdAffineIdentity (double dst[6]);
1578 BGD_DECLARE(int) gdAffineScale (double dst[6], const double scale_x, const double scale_y);
1579 BGD_DECLARE(int) gdAffineRotate (double dst[6], const double angle);
1580 BGD_DECLARE(int) gdAffineShearHorizontal (double dst[6], const double angle);
1581 BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle);
1582 BGD_DECLARE(int) gdAffineTranslate (double dst[6], const double offset_x, const double offset_y);
1583 BGD_DECLARE(double) gdAffineExpansion (const double src[6]);
1584 BGD_DECLARE(int) gdAffineRectilinear (const double src[6]);
1585 BGD_DECLARE(int) gdAffineEqual (const double matrix1[6], const double matrix2[6]);
1586 BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]);
1587 BGD_DECLARE(int) gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]);
1588 /*
1589 gdTransformAffineCopy(gdImagePtr dst, int x0, int y0, int x1, int y1,
1590  const gdImagePtr src, int src_width, int src_height,
1591  const double affine[6]);
1592 */
1593 BGD_DECLARE(int) gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
1594 
1595 /**
1596  * Group: Image Comparison
1597  *
1598  * Constants:
1599  * GD_CMP_IMAGE - Actual image IS different
1600  * GD_CMP_NUM_COLORS - Number of colors in pallette differ
1601  * GD_CMP_COLOR - Image colors differ
1602  * GD_CMP_SIZE_X - Image width differs
1603  * GD_CMP_SIZE_Y - Image heights differ
1604  * GD_CMP_TRANSPARENT - Transparent color differs
1605  * GD_CMP_BACKGROUND - Background color differs
1606  * GD_CMP_INTERLACE - Interlaced setting differs
1607  * GD_CMP_TRUECOLOR - Truecolor vs palette differs
1608  *
1609  * See also:
1610  * - <gdImageCompare>
1611  */
1612 #define GD_CMP_IMAGE 1
1613 #define GD_CMP_NUM_COLORS 2
1614 #define GD_CMP_COLOR 4
1615 #define GD_CMP_SIZE_X 8
1616 #define GD_CMP_SIZE_Y 16
1617 #define GD_CMP_TRANSPARENT 32
1618 #define GD_CMP_BACKGROUND 64
1619 #define GD_CMP_INTERLACE 128
1620 #define GD_CMP_TRUECOLOR 256
1621 
1622 /* resolution affects ttf font rendering, particularly hinting */
1623 #define GD_RESOLUTION 96 /* pixels per inch */
1624 
1625 
1626 /* Version information functions */
1627 BGD_DECLARE(int) gdMajorVersion(void);
1628 BGD_DECLARE(int) gdMinorVersion(void);
1629 BGD_DECLARE(int) gdReleaseVersion(void);
1630 BGD_DECLARE(const char *) gdExtraVersion(void);
1631 BGD_DECLARE(const char *) gdVersionString(void);
1632 
1633 /* newfangled special effects */
1634 #include "gdfx.h"
1635 
1636 #ifdef __cplusplus
1637 }
1638 #endif
1639 
1640 #endif /* GD_H */
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
int level
Definition: afm2pl.c:1694
#define width(a)
Definition: aptex-macros.h:198
#define thickness
#define mode
Definition: aptex-macros.h:510
@ block_size
Definition: aptex.h:160
#define blue
Definition: backend_eps.c:37
#define green
Definition: backend_eps.c:36
#define red
Definition: backend_eps.c:35
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
int w
Definition: dviconv.c:26
int h
Definition: dviconv.c:9
struct rect data
Definition: dvipdfm.c:64
int compression
long int flag
Definition: f2c.h:53
static void
Definition: fpif.c:118
int ptsize
Definition: ftlib.c:46
FT_Matrix matrix1
Definition: ftlib.c:44
FT_Matrix matrix2
Definition: ftlib.c:44
mpz_t * f
Definition: gen-fib.c:34
#define s
Definition: afcover.h:80
#define c(n)
Definition: gpos-common.c:150
#define a(n)
Definition: gpos-common.c:148
int offset_x
Definition: hbf2gf.c:415
FILE * out
Definition: hbf2gf.c:286
int threshold
Definition: hbf2gf.c:391
int offset_y
Definition: hbf2gf.c:416
static FILE * infile
Definition: rdjpgcom.c:61
static FILE * outfile
Definition: wrjpgcom.c:80
small capitals from c petite p
Definition: afcover.h:72
Arabic default style
Definition: afstyles.h:94
static uInt border[]
Definition: infblock.c:18
kerning y
Definition: ttdriver.c:212
void gdImageWebpCtx(gdImagePtr im, gdIOCtx *outfile, int quantization)
Definition: gd_webp.c:390
void gdImageSetTile(gdImagePtr im, gdImagePtr tile)
Definition: gd.c:3872
int gdLayerOverlay(int dest, int src)
Definition: gd.c:4127
void * gdImagePngPtrEx(gdImagePtr im, int *size, int level)
Definition: gd_png.c:1130
void gdSetErrorMethod(gdErrorMethod)
Definition: gd.c:128
void gdImageFilledPolygon(gdImagePtr im, gdPointPtr p, int n, int c)
Definition: gd.c:3655
void gdImageRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color)
Definition: gd.c:2645
void gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
Definition: gd.c:3207
int gdImageColorAllocateAlpha(gdImagePtr im, int r, int g, int b, int a)
Definition: gd.c:766
int gdFontCacheSetup(void)
void gdImageBmp(gdImagePtr im, FILE *outFile, int compression)
Definition: gd_bmp.c:128
int gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors)
Definition: gd_filter.c:59
gdImagePtr gdImageCreate(int sx, int sy)
Definition: gd.c:181
void gdImageJpegCtx(gdImagePtr im, gdIOCtx *out, int quality)
Definition: gd_jpeg.c:1225
int gdImageScatterEx(gdImagePtr im, gdScatterPtr s)
Definition: gd_filter.c:74
int gdAffineInvert(double dst[6], const double src[6])
Definition: gd_matrix.c:62
void gdFreeFontCache(void)
void gdImageAlphaBlending(gdImagePtr im, int alphaBlendingArg)
Definition: gd.c:4202
char * gdImageStringTTF(gdImage *im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string)
Definition: gdft.c:103
gdIOCtx * gdNewDynamicCtxEx(int size, void *data, int freeFlag)
Definition: gd_io_dp.c:81
gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in)
Definition: gd_gif_in.c:196
int gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6])
int gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id)
gdImagePtr gdImageClone(gdImagePtr src)
Definition: gd.c:2836
int gdAffineApplyToPointF(gdPointFPtr dst, const gdPointFPtr src, const double affine[6])
Definition: gd_matrix.c:31
void gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color)
Definition: gd.c:2813
gdIOCtx * gdNewDynamicCtx(int size, void *data)
Definition: gd_io_dp.c:72
int gdAffineShearVertical(double dst[6], const double angle)
Definition: gd_matrix.c:248
int gdImageEdgeDetectQuick(gdImagePtr src)
Definition: gd_filter.c:710
void gdImageString(gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color)
Definition: gd.c:1963
gdImagePtr gdImageCreateFromBmpCtx(gdIOCtxPtr infile)
Definition: gd_bmp.c:499
gdImagePtr gdImageCreateFromPngCtx(gdIOCtxPtr in)
gdImagePtr gdImageCreateFromTiffPtr(int size, void *data)
Definition: gd_tiff.c:1096
void gdImageGifAnimEndCtx(gdIOCtx *out)
Definition: gd_gif_out.c:962
int gdAffineIdentity(double dst[6])
Definition: gd_matrix.c:154
void gdImageSetBrush(gdImagePtr im, gdImagePtr brush)
Definition: gd.c:3852
void gdImageWebpEx(gdImagePtr im, FILE *outFile, int quantization)
Definition: gd_webp.c:395
struct gdRect * gdRectPtr
void gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color)
Definition: gd.c:1544
gdImagePtr gdImageCreateFromGd2Ctx(gdIOCtxPtr in)
Definition: gd_gd2.c:1153
gdIOCtx * gdNewFileCtx(FILE *)
Definition: gd_io_file.c:56
void gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm)
Definition: gd_gif_out.c:610
void gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtx *out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm)
gdImagePtr gdImageCreateFromGif(FILE *fd)
Definition: gd_gif_in.c:156
void gdImageTiffCtx(gdImagePtr image, gdIOCtx *out)
Definition: gd_tiff.c:1079
int gdImageNegate(gdImagePtr src)
Definition: gd_filter.c:203
void gdImageFilledArc(gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color, int style)
Definition: gd.c:2062
int gdImageTrueColorToPalette(gdImagePtr im, int ditherFlag, int colorsWanted)
Definition: gd_topal.c:1487
void gdImageColorDeallocate(gdImagePtr im, int color)
Definition: gd.c:881
void gdImageWebp(gdImagePtr im, FILE *outFile)
Definition: gd_webp.c:400
void * gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm)
Definition: gd_gif_out.c:487
gdImagePtr gdImageCrop(gdImagePtr src, const gdRect *crop)
Definition: gd_crop.c:48
void gdImageCharUp(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
Definition: gd.c:1913
int gdImageColorResolveAlpha(gdImagePtr im, int r, int g, int b, int a)
Definition: gd.c:815
void gdImagePngEx(gdImagePtr im, FILE *out, int level)
Definition: gd_png.c:1115
void gdImagePngCtxEx(gdImagePtr im, gdIOCtx *out, int level)
Definition: gd_png.c:1140
int gdMinorVersion(void)
Definition: gd_version.c:23
gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx *ctx)
Definition: gd_tga.c:62
int gdImageGetTrueColorPixel(gdImagePtr im, int x, int y)
Definition: gd.c:1470
gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height)
void gdImageOpenPolygon(gdImagePtr im, gdPointPtr p, int n, int c)
Definition: gd.c:3610
void gdImageStringUp16(gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color)
Definition: gd.c:2010
int gdImageGetPixel(gdImagePtr im, int x, int y)
Definition: gd.c:1443
void gdFree(void *m)
Definition: gdhelpers.c:113
gdCropMode
Definition: gd.h:1544
@ GD_CROP_TRANSPARENT
Definition: gd.h:1546
@ GD_CROP_THRESHOLD
Definition: gd.h:1550
@ GD_CROP_WHITE
Definition: gd.h:1548
@ GD_CROP_BLACK
Definition: gd.h:1547
@ GD_CROP_SIDES
Definition: gd.h:1549
@ GD_CROP_DEFAULT
Definition: gd.h:1545
#define gdMaxColors
Definition: gd.h:117
void gdImageSetAntiAliased(gdImagePtr im, int c)
Definition: gd.c:3909
gdPixelateMode
Definition: gd.h:1260
@ GD_PIXELATE_UPPERLEFT
Definition: gd.h:1261
@ GD_PIXELATE_AVERAGE
Definition: gd.h:1262
const char * gdExtraVersion(void)
Definition: gd_version.c:39
int gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset)
Definition: gd_filter.c:511
int gdAffineFlip(double dst_affine[6], const double src_affine[6], const int flip_h, const int flip_v)
Definition: gd_matrix.c:97
int(* gdCallbackImageColor)(gdImagePtr im, int src)
Definition: gd.h:1033
void gdImageDestroy(gdImagePtr im)
Definition: gd.c:387
void * gdImageGifAnimEndPtr(int *size)
Definition: gd_gif_out.c:936
gdImagePtr gdImageCreateFromGd2Part(FILE *in, int srcx, int srcy, int w, int h)
Definition: gd_gd2.c:1159
void gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2)
Definition: gd.c:4239
struct gdScatter * gdScatterPtr
int gdAffineRectilinear(const double src[6])
Definition: gd_matrix.c:309
int gdImageGaussianBlur(gdImagePtr im)
Definition: gd_filter.c:739
gdImagePtr gdImageCreateFromGdPtr(int size, void *data)
Definition: gd_gd.c:422
int gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6])
int gdAffineConcat(double dst[6], const double m1[6], const double m2[6])
Definition: gd_matrix.c:125
gdImagePtr gdImageCreateFromWBMPCtx(gdIOCtx *infile)
Definition: gd_wbmp.c:151
int gdAffineRotate(double dst[6], const double angle)
Definition: gd_matrix.c:201
void gdFontCacheShutdown(void)
gdInterpolationMethod gdImageGetInterpolationMethod(gdImagePtr im)
void gdImagePng(gdImagePtr im, FILE *out)
Definition: gd_png.c:1120
gdFont * gdFontPtr
Definition: gd.h:546
void gdImageSetAntiAliasedDontBlend(gdImagePtr im, int c, int dont_blend)
Definition: gd.c:3930
gdImagePtr gdImageCreateFromJpegCtx(gdIOCtx *infile)
Definition: gd_jpeg.c:1254
gdImagePtr gdImageCreateFromTga(FILE *fp)
Definition: gd_tga.c:30
gdImagePtr gdImageCreateFromJpeg(FILE *infile)
Definition: gd_jpeg.c:1230
gdImagePtr gdImageCreateFromXbm(FILE *in)
Definition: gd_xbm.c:67
gdImagePtr gdImageCreateFromBmpPtr(int size, void *data)
Definition: gd_bmp.c:486
int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox)
gdImagePtr gdImageCreateFromJpegPtr(int size, void *data)
Definition: gd_jpeg.c:1242
gdImagePtr gdImageCreateFromJpegCtxEx(gdIOCtx *infile, int ignore_warning)
Definition: gd_jpeg.c:1260
int gdImageEmboss(gdImagePtr im)
Definition: gd_filter.c:766
void * gdImageJpegPtr(gdImagePtr im, int *size, int quality)
Definition: gd_jpeg.c:1219
#define BGD_DECLARE(rt)
Definition: gd.h:79
void gdImageFlipVertical(gdImagePtr im)
Definition: gd_transform.c:26
void * gdImageGdPtr(gdImagePtr im, int *size)
Definition: gd_gd.c:439
void(* gdErrorMethod)(int, const char *, va_list)
Definition: gd.h:548
gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor)
gdImagePtr gdImageCreateFromXpm(char *filename)
Definition: gdxpm.c:29
int gdAffineTranslate(double dst[6], const double offset_x, const double offset_y)
Definition: gd_matrix.c:271
void gdImageGd(gdImagePtr im, FILE *out)
Definition: gd_gd.c:434
int gdAffineEqual(const double matrix1[6], const double matrix2[6])
Definition: gd_matrix.c:327
void gdImageFillToBorder(gdImagePtr im, int x, int y, int border, int color)
Definition: gd.c:2287
gdImagePtr gdImageCropAuto(gdImagePtr im, const unsigned int mode)
Definition: gd_crop.c:85
gdIOCtx * gdNewSSCtx(gdSourcePtr in, gdSinkPtr out)
Definition: gd_io_ss.c:55
void * gdImagePngPtr(gdImagePtr im, int *size)
Definition: gd_png.c:1125
int gdAffineShearHorizontal(double dst[6], const double angle)
Definition: gd_matrix.c:226
int gdImageColorExact(gdImagePtr im, int r, int g, int b)
Definition: gd.c:677
void gdImageTiff(gdImagePtr im, FILE *outFile)
Definition: gd_tiff.c:1102
int gdLayerMultiply(int dest, int src)
Definition: gd.c:4166
gdImagePtr gdImageCreateFromGd2Ptr(int size, void *data)
Definition: gd_gd2.c:1165
void gdImageArc(gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color)
Definition: gd.c:2053
void gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color)
Definition: gd.c:2184
gdImagePtr gdImageCreateFromGd2PartCtx(gdIOCtxPtr in, int srcx, int srcy, int w, int h)
void gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out)
Definition: gd_wbmp.c:104
int gdImageTrueColorToPaletteSetMethod(gdImagePtr im, int method, int speed)
Definition: gd_topal.c:1393
void * gdImageTiffPtr(gdImagePtr im, int *size)
Definition: gd_tiff.c:1107
void gdImageSetThickness(gdImagePtr im, int thickness)
Definition: gd.c:3838
void gdImagePngCtx(gdImagePtr im, gdIOCtx *out)
Definition: gd_png.c:1135
int gdImageColorClosest(gdImagePtr im, int r, int g, int b)
Definition: gd.c:436
gdImagePtr gdImageCreateFromFile(const char *filename)
Definition: gd_filename.c:183
int gdImageColorReplaceArray(gdImagePtr im, int len, int *src, int *dst)
Definition: gd.c:1053
struct gdSink * gdSinkPtr
void * gdImageWBMPPtr(gdImagePtr im, int *size, int fg)
Definition: gd_wbmp.c:281
int gdImageBoundsSafe(gdImagePtr im, int x, int y)
Definition: gd.c:1858
int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode)
Definition: gd_filter.c:136
int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha)
Definition: gd_filter.c:445
void * gdImageBmpPtr(gdImagePtr im, int *size, int compression)
Definition: gd_bmp.c:87
double gdAffineExpansion(const double src[6])
Definition: gd_matrix.c:293
void gdImageFlipBoth(gdImagePtr im)
Definition: gd_transform.c:118
gdImagePtr gdImageCreateFromPngSource(gdSourcePtr in)
Definition: gd_ss.c:56
gdAffineStandardMatrix
Definition: gd.h:1564
@ GD_AFFINE_SCALE
Definition: gd.h:1566
@ GD_AFFINE_SHEAR_HORIZONTAL
Definition: gd.h:1568
@ GD_AFFINE_SHEAR_VERTICAL
Definition: gd.h:1569
@ GD_AFFINE_TRANSLATE
Definition: gd.h:1565
@ GD_AFFINE_ROTATE
Definition: gd.h:1567
void gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops)
Definition: gd_gif_out.c:361
void gdImageGetClip(gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P)
Definition: gd.c:4286
gdImagePtr gdImageCreatePaletteFromTrueColor(gdImagePtr im, int ditherFlag, int colorsWanted)
Definition: gd_topal.c:1460
gdImagePtr gdImageCreateFromBmp(FILE *inFile)
Definition: gd_bmp.c:473
gdImagePtr gdImageCreateFromWebp(FILE *inFile)
Definition: gd_webp.c:372
gdInterpolationMethod
Definition: gd.h:309
@ GD_BELL
Definition: gd.h:311
@ GD_TRIANGLE
Definition: gd.h:330
@ GD_BESSEL
Definition: gd.h:312
@ GD_CATMULLROM
Definition: gd.h:319
@ GD_BSPLINE
Definition: gd.h:318
@ GD_HAMMING
Definition: gd.h:323
@ GD_BICUBIC
Definition: gd.h:314
@ GD_DEFAULT
Definition: gd.h:310
@ GD_BILINEAR_FIXED
Definition: gd.h:313
@ GD_QUADRATIC
Definition: gd.h:328
@ GD_LINEAR
Definition: gd.h:332
@ GD_POWER
Definition: gd.h:327
@ GD_BLACKMAN
Definition: gd.h:316
@ GD_NEAREST_NEIGHBOUR
Definition: gd.h:326
@ GD_BOX
Definition: gd.h:317
@ GD_HERMITE
Definition: gd.h:322
@ GD_WEIGHTED4
Definition: gd.h:331
@ GD_GENERALIZED_CUBIC
Definition: gd.h:321
@ GD_BICUBIC_FIXED
Definition: gd.h:315
@ GD_METHOD_COUNT
Definition: gd.h:333
@ GD_HANNING
Definition: gd.h:324
@ GD_SINC
Definition: gd.h:329
@ GD_MITCHELL
Definition: gd.h:325
@ GD_GAUSSIAN
Definition: gd.h:320
gdImagePtr gdImageCreateFromWebpPtr(int size, void *data)
Definition: gd_webp.c:378
gdImagePtr gdImageCreateFromTiff(FILE *inFile)
Definition: gd_tiff.c:1090
void gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y)
Definition: gd.c:4308
void gdImagePolygon(gdImagePtr im, gdPointPtr p, int n, int c)
Definition: gd.c:3585
gdImagePtr gdImageCreateFromWBMP(FILE *inFile)
Definition: gd_wbmp.c:234
gdImagePtr gdImageCreateFromTiffCtx(gdIOCtx *infile)
Definition: gd_tiff.c:1084
int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2)
void gdImageFilledEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color)
Definition: gd.c:2231
struct gdFTStringExtra * gdFTStringExtraPtr
void gdImageGifCtx(gdImagePtr im, gdIOCtx *out)
int gdImageMeanRemoval(gdImagePtr im)
Definition: gd_filter.c:797
void gdImageDashedLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color)
Definition: gd.c:1714
void gdImageCopyResampled(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
Definition: gd.c:3464
int gdImageColorExactAlpha(gdImagePtr im, int r, int g, int b, int a)
Definition: gd.c:703
void * gdImageGd2Ptr(gdImagePtr im, int cs, int fmt, int *size)
Definition: gd_gd2.c:1189
gdImagePtr gdImageCreateFromJpegEx(FILE *infile, int ignore_warning)
Definition: gd_jpeg.c:1236
gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold)
Definition: gd_crop.c:188
void gdImageJpeg(gdImagePtr im, FILE *out, int quality)
Definition: gd_jpeg.c:1214
int gdAlphaBlend(int dest, int src)
Definition: gd.c:4066
void gdImageSetStyle(gdImagePtr im, int *style, int noOfPixels)
Definition: gd.c:3812
int gdSupportsFileType(const char *filename, int writing)
Definition: gd_filename.c:149
void gdImageWBMP(gdImagePtr image, int fg, FILE *out)
Definition: gd_wbmp.c:270
int gdImageColorResolve(gdImagePtr im, int r, int g, int b)
Definition: gd.c:807
int gdFTUseFontConfig(int flag)
Definition: gdft.c:1922
struct gdSource * gdSourcePtr
gdImagePtr gdImageCreateFromGd2PartPtr(int size, void *data, int srcx, int srcy, int w, int h)
Definition: gd_gd2.c:1177
void gdImageFlipHorizontal(gdImagePtr im)
Definition: gd_transform.c:68
void gdClearErrorMethod(void)
Definition: gd.c:136
int gdImageFile(gdImagePtr im, const char *filename)
Definition: gd_filename.c:239
struct gdImageStruct gdImage
int gdImagePaletteToTrueColor(gdImagePtr src)
Definition: gd.c:4479
int gdMajorVersion(void)
Definition: gd_version.c:15
void gdImageStringUp(gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color)
Definition: gd.c:1978
struct gdPoint * gdPointPtr
gdImagePtr gdImageCreateFromWBMPPtr(int size, void *data)
Definition: gd_wbmp.c:255
void * gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops)
Definition: gd_gif_out.c:299
int gdImageColorAllocate(gdImagePtr im, int r, int g, int b)
Definition: gd.c:741
gdImagePtr gdImageCreateFromGdCtx(gdIOCtxPtr in)
Definition: gd_gd.c:428
void gdImageCopyMerge(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct)
Definition: gd.c:3056
char * gdImageStringFTEx(gdImage *im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string, gdFTStringExtraPtr strex)
Definition: gdft.c:112
gdImagePtr gdImageCreateFromPngPtr(int size, void *data)
Definition: gd_png.c:1105
gdImagePtr gdImageCreateFromWebpCtx(gdIOCtx *infile)
Definition: gd_webp.c:384
int gdImageContrast(gdImagePtr src, double contrast)
Definition: gd_filter.c:367
gdImagePtr gdImageCopyGaussianBlurred(gdImagePtr src, int radius, double sigma)
Definition: gd_filter.c:1005
double(* interpolation_method)(double)
Definition: gd.h:339
void gdImageCopyMergeGray(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct)
Definition: gd.c:3125
gdImagePtr gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor)
Definition: gd_nnquant.c:512
int gdImageBrightness(gdImagePtr src, int brightness)
Definition: gd_filter.c:305
int gdReleaseVersion(void)
Definition: gd_version.c:31
const char * gdVersionString(void)
Definition: gd_version.c:46
int gdImageSmooth(gdImagePtr im, float weight)
Definition: gd_filter.c:823
int gdAffineScale(double dst[6], const double scale_x, const double scale_y)
Definition: gd_matrix.c:176
void gdImageCopy(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h)
Definition: gd.c:2943
gdImagePtr gdImageCreateFromJpegPtrEx(int size, void *data, int ignore_warning)
Definition: gd_jpeg.c:1248
gdImagePtr gdImageCreateFromTgaPtr(int size, void *data)
Definition: gd_tga.c:43
void gdImageCopyRotated(gdImagePtr dst, gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle)
Definition: gd.c:3356
void gdImageString16(gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color)
Definition: gd.c:1995
void gdImagePaletteCopy(gdImagePtr dst, gdImagePtr src)
Definition: gd.c:923
void gdImageTrueColorToPaletteSetQuality(gdImagePtr im, int min_quality, int max_quality)
Definition: gd_topal.c:1431
int gdImageGrayScale(gdImagePtr src)
Definition: gd_filter.c:251
gdPaletteQuantizationMethod
Definition: gd.h:269
@ GD_QUANT_LIQ
Definition: gd.h:273
@ GD_QUANT_JQUANT
Definition: gd.h:271
@ GD_QUANT_DEFAULT
Definition: gd.h:270
@ GD_QUANT_NEUQUANT
Definition: gd.h:272
void gdImageInterlace(gdImagePtr im, int interlaceArg)
Definition: gd.c:3952
struct gdPointF * gdPointFPtr
gdImagePtr gdImageCreateFromGd(FILE *in)
Definition: gd_gd.c:416
gdImagePtr gdImageCreateTrueColor(int sx, int sy)
Definition: gd.c:289
void gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
Definition: gd_bmp.c:147
void gdImageGd2(gdImagePtr im, FILE *out, int cs, int fmt)
Definition: gd_gd2.c:1184
int gdImageColorReplace(gdImagePtr im, int src, int dst)
Definition: gd.c:978
void gdImageGif(gdImagePtr im, FILE *out)
Definition: gd_gif_out.c:207
void gdImageFill(gdImagePtr im, int x, int y, int color)
Definition: gd.c:2436
gdImagePtr gdImageCreateFromGd2(FILE *in)
Definition: gd_gd2.c:1147
void * gdImageWebpPtr(gdImagePtr im, int *size)
Definition: gd_webp.c:405
void gdImageAABlend(gdImagePtr im)
Definition: gd.c:1491
char * gdImageStringFT(gdImage *im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string)
Definition: gdft.c:130
void * gdDPExtractData(struct gdIOCtx *ctx, int *size)
Definition: gd_io_dp.c:116
int gdImageColorReplaceCallback(gdImagePtr im, gdCallbackImageColor callback)
Definition: gd.c:1105
int gdImageColorClosestAlpha(gdImagePtr im, int r, int g, int b, int a)
Definition: gd.c:460
gdImagePtr gdImageCreateFromPng(FILE *fd)
Definition: gd_png.c:1099
void gdImageColorTransparent(gdImagePtr im, int color)
Definition: gd.c:902
void gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtx *out, int GlobalCM, int Loops)
@ gdDisposalUnknown
Definition: gd.h:1105
@ gdDisposalRestorePrevious
Definition: gd.h:1108
@ gdDisposalNone
Definition: gd.h:1106
@ gdDisposalRestoreBackground
Definition: gd.h:1107
int gdImageColorReplaceThreshold(gdImagePtr im, int src, int dst, float threshold)
Definition: gd.c:1012
int gdImageSelectiveBlur(gdImagePtr src)
Definition: gd_filter.c:575
void gdImageChar(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
Definition: gd.c:1882
void gdImageSetPixel(gdImagePtr im, int x, int y, int color)
Definition: gd.c:1237
void * gdImageWebpPtrEx(gdImagePtr im, int *size, int quantization)
Definition: gd_webp.c:411
int gdImageScatter(gdImagePtr im, int sub, int plus)
Definition: gd_filter.c:45
gdImagePtr gdImageCreateFromGifPtr(int size, void *data)
Definition: gd_gif_in.c:179
void * gdImageGifPtr(gdImagePtr im, int *size)
Definition: gd_gif_out.c:134
void gdImageXbmCtx(gdImagePtr image, char *file_name, int fg, gdIOCtx *out)
Definition: gd_xbm.c:229
int gdImageColorClosestHWB(gdImagePtr im, int r, int g, int b)
Definition: gd.c:630
void gdImageGifAnimEnd(FILE *outFile)
Definition: gd_gif_out.c:898
void gdImagePngToSink(gdImagePtr im, gdSinkPtr out)
Definition: gd_ss.c:49
int gdImageCompare(gdImagePtr im1, gdImagePtr im2)
Definition: gd.c:3970
gdImage * gdImagePtr
Definition: gd.h:463
void gdImageSaveAlpha(gdImagePtr im, int saveAlphaArg)
Definition: gd.c:4216
int radius
Definition: gdfx.h:8
int int cy
Definition: gdfx.h:13
int pct
Definition: gdfx.h:23
int cx
Definition: gdfx.h:12
static pdf_color bgcolor
Definition: pdfdoc.c:2395
static int num_colors
Definition: pdfdev.c:732
char file_name[][1024]
Definition: cwebboot.c:318
#define dest
#define snprintf
Definition: snprintf.c:41
angle
Definition: cordic.py:17
float x
Definition: cordic.py:15
char * filename[256]
Definition: pbmtopk.c:46
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF base if bpp PF set rept prefetch_distance PF set OFFSET endr endif endm macro preload_leading_step2 base if bpp ifc DST PF PF else if bpp lsl PF PF lsl PF sub
#define fp
FILE * inFile
Definition: plain2.c:111
static enum alpha_handling alpha
Definition: pngtopnm.c:70
static int filter
Definition: pnmtopng.c:113
static int size
Definition: ppmlabel.c:24
int g
Definition: ppmqvga.c:68
int r
Definition: ppmqvga.c:68
static int offset
Definition: ppmtogif.c:642
int colors
Definition: ppmtogif.c:51
static int quality
Definition: ppmtopjxl.c:45
#define x1
#define y1
#define y2
#define x2
ShellFileEnvironment e
Definition: sh6.c:388
static FILE * in
Definition: squeeze.c:36
Definition: nsfix.c:44
Definition: pdfdev.c:706
Definition: pst1form.c:310
char * fontpath
Definition: gd.h:810
int vdpi
Definition: gd.h:801
char * xshow
Definition: gd.h:802
int hdpi
Definition: gd.h:800
int charmap
Definition: gd.h:795
double linespacing
Definition: gd.h:794
int flags
Definition: gd.h:793
Definition: gd.h:530
int offset
Definition: gd.h:534
int w
Definition: gd.h:536
int nchars
Definition: gd.h:532
int h
Definition: gd.h:537
char * data
Definition: gd.h:541
Definition: gd_io.h:59
unsigned int res_y
Definition: gd.h:445
int trueColor
Definition: gd.h:412
int alpha[256]
Definition: gd.h:409
int paletteQuantizationMethod
Definition: gd.h:448
unsigned char ** pixels
Definition: gd.h:367
struct gdImageStruct * tile
Definition: gd.h:392
int green[256]
Definition: gd.h:375
int cy2
Definition: gd.h:441
int paletteQuantizationMaxQuality
Definition: gd.h:457
unsigned int res_x
Definition: gd.h:444
int ** tpixels
Definition: gd.h:413
int stylePos
Definition: gd.h:396
int cy1
Definition: gd.h:439
int polyAllocated
Definition: gd.h:390
interpolation_method interpolation
Definition: gd.h:459
int interlace
Definition: gd.h:398
int blue[256]
Definition: gd.h:376
int cx1
Definition: gd.h:438
gdInterpolationMethod interpolation_id
Definition: gd.h:458
int sy
Definition: gd.h:369
int * style
Definition: gd.h:397
int AA_dont_blend
Definition: gd.h:433
int styleLength
Definition: gd.h:395
int saveAlphaFlag
Definition: gd.h:424
int open[256]
Definition: gd.h:377
int alphaBlendingFlag
Definition: gd.h:420
int brushColorMap[256]
Definition: gd.h:393
int thick
Definition: gd.h:400
int sx
Definition: gd.h:368
int paletteQuantizationSpeed
Definition: gd.h:451
int AA
Definition: gd.h:431
int cx2
Definition: gd.h:440
struct gdImageStruct * brush
Definition: gd.h:391
int transparent
Definition: gd.h:388
int * polyInts
Definition: gd.h:389
int AA_color
Definition: gd.h:432
int colorsTotal
Definition: gd.h:373
int red[256]
Definition: gd.h:374
int tileColorMap[256]
Definition: gd.h:394
int paletteQuantizationMinQuality
Definition: gd.h:454
Definition: gd.h:484
double x
Definition: gd.h:485
Definition: gd.h:876
int x
Definition: gd.h:877
Definition: gd.h:896
int x
Definition: gd.h:897
int height
Definition: gd.h:898
Definition: gd.h:1267
int sub
Definition: gd.h:1268
unsigned int seed
Definition: gd.h:1272
int * colors
Definition: gd.h:1271
unsigned int num_colors
Definition: gd.h:1270
int plus
Definition: gd.h:1269
Definition: gd.h:1151
void * context
Definition: gd.h:1153
Definition: gd.h:671
void * context
Definition: gd.h:673
Definition: sd.h:76
Definition: sh.h:1345
Definition: sd.h:107
#define FILE
Definition: t1stdio.h:34
char fmt[256]
Definition: tex4ht.c:3925
m
Definition: tex4ht.c:3990
return() int(((double) *(font_tbl[cur_fnt].wtbl+(int)(*(font_tbl[cur_fnt].char_wi+(int)(ch - font_tbl[cur_fnt].char_f)% 256)))/(double)(1L<< 20)) *(double) font_tbl[cur_fnt].scale)
char * va_list
Definition: varargs.h:22
#define buffer
Definition: xmlparse.c:611