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)  

tex2xindy.c
Go to the documentation of this file.
1 #line 95 "tex2xindy.l"
2 #include <stdio.h>
3 #include <stdlib.h>
4 #ifdef WIN32
5 # include <fcntl.h>
6 # ifndef __MINGW32__ /* this should be W32TeX */
7 # include <kpathsea/getopt.h>
8 # define YY_NO_UNISTD_H 1
9 # define __STDC_VERSION__ 199901L
10 # endif
11 #else
12 # include <unistd.h>
13 #endif
14 
15 
16 
17 #line 18 "tex2xindy.c"
18 
19 #define YY_INT_ALIGNED short int
20 
21 /* A lexical scanner generated by flex */
22 
23 #define FLEX_SCANNER
24 #define YY_FLEX_MAJOR_VERSION 2
25 #define YY_FLEX_MINOR_VERSION 5
26 #define YY_FLEX_SUBMINOR_VERSION 35
27 #if YY_FLEX_SUBMINOR_VERSION > 0
28 #define FLEX_BETA
29 #endif
30 
31 /* First, we deal with platform-specific or compiler-specific issues. */
32 
33 /* begin standard C headers. */
34 #include <stdio.h>
35 #include <string.h>
36 #include <errno.h>
37 #include <stdlib.h>
38 
39 /* end standard C headers. */
40 
41 /* flex integer type definitions */
42 
43 #ifndef FLEXINT_H
44 #define FLEXINT_H
45 
46 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
47 
48 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
49 
50 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
51  * if you want the limit (max/min) macros for int types.
52  */
53 #ifndef __STDC_LIMIT_MACROS
54 #define __STDC_LIMIT_MACROS 1
55 #endif
56 
57 #include <inttypes.h>
58 typedef int8_t flex_int8_t;
59 typedef uint8_t flex_uint8_t;
60 typedef int16_t flex_int16_t;
61 typedef uint16_t flex_uint16_t;
62 typedef int32_t flex_int32_t;
63 typedef uint32_t flex_uint32_t;
64 #else
65 typedef signed char flex_int8_t;
66 typedef short int flex_int16_t;
67 typedef int flex_int32_t;
68 typedef unsigned char flex_uint8_t;
69 typedef unsigned short int flex_uint16_t;
70 typedef unsigned int flex_uint32_t;
71 #endif /* ! C99 */
72 
73 /* Limits of integral types. */
74 #ifndef INT8_MIN
75 #define INT8_MIN (-128)
76 #endif
77 #ifndef INT16_MIN
78 #define INT16_MIN (-32767-1)
79 #endif
80 #ifndef INT32_MIN
81 #define INT32_MIN (-2147483647-1)
82 #endif
83 #ifndef INT8_MAX
84 #define INT8_MAX (127)
85 #endif
86 #ifndef INT16_MAX
87 #define INT16_MAX (32767)
88 #endif
89 #ifndef INT32_MAX
90 #define INT32_MAX (2147483647)
91 #endif
92 #ifndef UINT8_MAX
93 #define UINT8_MAX (255U)
94 #endif
95 #ifndef UINT16_MAX
96 #define UINT16_MAX (65535U)
97 #endif
98 #ifndef UINT32_MAX
99 #define UINT32_MAX (4294967295U)
100 #endif
101 
102 #endif /* ! FLEXINT_H */
103 
104 #ifdef __cplusplus
105 
106 /* The "const" storage-class-modifier is valid. */
107 #define YY_USE_CONST
108 
109 #else /* ! __cplusplus */
110 
111 /* C99 requires __STDC__ to be defined as 1. */
112 #if defined (__STDC__)
113 
114 #define YY_USE_CONST
115 
116 #endif /* defined (__STDC__) */
117 #endif /* ! __cplusplus */
118 
119 #ifdef YY_USE_CONST
120 #define yyconst const
121 #else
122 #define yyconst
123 #endif
124 
125 /* Returned upon end-of-file. */
126 #define YY_NULL 0
127 
128 /* Promotes a possibly negative, possibly signed char to an unsigned
129  * integer for use as an array index. If the signed char is negative,
130  * we want to instead treat it as an 8-bit unsigned char, hence the
131  * double cast.
132  */
133 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
134 
135 /* Enter a start condition. This macro really ought to take a parameter,
136  * but we do it the disgusting crufty way forced on us by the ()-less
137  * definition of BEGIN.
138  */
139 #define BEGIN (yy_start) = 1 + 2 *
140 
141 /* Translate the current start state into a value that can be later handed
142  * to BEGIN to return to the state. The YYSTATE alias is for lex
143  * compatibility.
144  */
145 #define YY_START (((yy_start) - 1) / 2)
146 #define YYSTATE YY_START
147 
148 /* Action number for EOF rule of a given start state. */
149 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
150 
151 /* Special action meaning "start processing a new file". */
152 #define YY_NEW_FILE yyrestart(yyin )
153 
154 #define YY_END_OF_BUFFER_CHAR 0
155 
156 /* Size of default input buffer. */
157 #ifndef YY_BUF_SIZE
158 #define YY_BUF_SIZE 16384
159 #endif
160 
161 /* The state buf must be large enough to hold one state per character in the main buffer.
162  */
163 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
164 
165 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
166 #define YY_TYPEDEF_YY_BUFFER_STATE
168 #endif
169 
170 extern int yyleng;
171 
172 extern FILE *yyin, *yyout;
173 
174 #define EOB_ACT_CONTINUE_SCAN 0
175 #define EOB_ACT_END_OF_FILE 1
176 #define EOB_ACT_LAST_MATCH 2
177 
178  #define YY_LESS_LINENO(n)
179 
180 /* Return all but the first "n" matched characters back to the input stream. */
181 #define yyless(n) \
182  do \
183  { \
184  /* Undo effects of setting up yytext. */ \
185  int yyless_macro_arg = (n); \
186  YY_LESS_LINENO(yyless_macro_arg);\
187  *yy_cp = (yy_hold_char); \
188  YY_RESTORE_YY_MORE_OFFSET \
189  (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
190  YY_DO_BEFORE_ACTION; /* set up yytext again */ \
191  } \
192  while ( 0 )
193 
194 #define unput(c) yyunput( c, (yytext_ptr) )
195 
196 #ifndef YY_TYPEDEF_YY_SIZE_T
197 #define YY_TYPEDEF_YY_SIZE_T
198 typedef size_t yy_size_t;
199 #endif
200 
201 #ifndef YY_STRUCT_YY_BUFFER_STATE
202 #define YY_STRUCT_YY_BUFFER_STATE
203 struct yy_buffer_state
204  {
206 
207  char *yy_ch_buf; /* input buffer */
208  char *yy_buf_pos; /* current position in input buffer */
209 
210  /* Size of input buffer in bytes, not including room for EOB
211  * characters.
212  */
214 
215  /* Number of characters read into yy_ch_buf, not including EOB
216  * characters.
217  */
218  int yy_n_chars;
219 
220  /* Whether we "own" the buffer - i.e., we know we created it,
221  * and can realloc() it to grow it, and should free() it to
222  * delete it.
223  */
224  int yy_is_our_buffer;
225 
226  /* Whether this is an "interactive" input source; if so, and
227  * if we're using stdio for input, then we want to use getc()
228  * instead of fread(), to make sure we stop fetching input after
229  * each newline.
230  */
231  int yy_is_interactive;
232 
233  /* Whether we're considered to be at the beginning of a line.
234  * If so, '^' rules will be active on the next match, otherwise
235  * not.
236  */
237  int yy_at_bol;
238 
239  int yy_bs_lineno; /**< The line count. */
240  int yy_bs_column; /**< The column count. */
241 
242  /* Whether to try to fill the input buffer when we reach the
243  * end of it.
244  */
245  int yy_fill_buffer;
246 
247  int yy_buffer_status;
248 
249 #define YY_BUFFER_NEW 0
250 #define YY_BUFFER_NORMAL 1
251  /* When an EOF's been seen but there's still some text to process
252  * then we mark the buffer as YY_EOF_PENDING, to indicate that we
253  * shouldn't try reading from the input source any more. We might
254  * still have a bunch of tokens to match, though, because of
255  * possible backing-up.
256  *
257  * When we actually see the EOF, we change the status to "new"
258  * (via yyrestart()), so that the user can continue scanning by
259  * just pointing yyin at a new input file.
260  */
261 #define YY_BUFFER_EOF_PENDING 2
262 
263  };
264 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
265 
266 /* Stack of input buffers. */
267 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
268 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
269 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
270 
271 /* We provide macros for accessing buffer states in case in the
272  * future we want to put the buffer states in a more general
273  * "scanner state".
274  *
275  * Returns the top of the stack, or NULL.
276  */
277 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
278  ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
279  : NULL)
280 
281 /* Same as previous macro, but useful when we know that the buffer stack is not
282  * NULL or when we need an lvalue. For internal use only.
283  */
284 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
285 
286 /* yy_hold_char holds the character lost when yytext is formed. */
287 static char yy_hold_char;
288 static int yy_n_chars; /* number of characters read into yy_ch_buf */
289 int yyleng;
290 
291 /* Points to current character in buffer. */
292 static char *yy_c_buf_p = (char *) 0;
293 static int yy_init = 0; /* whether we need to initialize */
294 static int yy_start = 0; /* start state number */
295 
296 /* Flag which is used to allow yywrap()'s to do buffer switches
297  * instead of setting up a fresh yyin. A bit of a hack ...
298  */
300 
301 void yyrestart (FILE *input_file );
302 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
306 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
307 void yypop_buffer_state (void );
308 
309 static void yyensure_buffer_stack (void );
310 static void yy_load_buffer_state (void );
311 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
312 
313 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
314 
316 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
318 
319 void *yyalloc (yy_size_t );
320 void *yyrealloc (void *,yy_size_t );
321 void yyfree (void * );
322 
323 #define yy_new_buffer yy_create_buffer
324 
325 #define yy_set_interactive(is_interactive) \
326  { \
327  if ( ! YY_CURRENT_BUFFER ){ \
328  yyensure_buffer_stack (); \
329  YY_CURRENT_BUFFER_LVALUE = \
330  yy_create_buffer(yyin,YY_BUF_SIZE ); \
331  } \
332  YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
333  }
334 
335 #define yy_set_bol(at_bol) \
336  { \
337  if ( ! YY_CURRENT_BUFFER ){\
338  yyensure_buffer_stack (); \
339  YY_CURRENT_BUFFER_LVALUE = \
340  yy_create_buffer(yyin,YY_BUF_SIZE ); \
341  } \
342  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
343  }
344 
345 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
346 
347 /* Begin user sect3 */
348 
349 typedef unsigned char YY_CHAR;
350 
351 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
352 
353 typedef int yy_state_type;
354 
355 extern int yylineno;
356 
357 int yylineno = 1;
358 
359 extern char *yytext;
360 #define yytext_ptr yytext
361 
362 static yy_state_type yy_get_previous_state (void );
364 static int yy_get_next_buffer (void );
365 static void yy_fatal_error (yyconst char msg[] );
366 
367 /* Done after the current pattern has been matched and before the
368  * corresponding action - sets up yytext.
369  */
370 #define YY_DO_BEFORE_ACTION \
371  (yytext_ptr) = yy_bp; \
372  yyleng = (size_t) (yy_cp - yy_bp); \
373  (yy_hold_char) = *yy_cp; \
374  *yy_cp = '\0'; \
375  (yy_c_buf_p) = yy_cp;
376 
377 #define YY_NUM_RULES 36
378 #define YY_END_OF_BUFFER 37
379 /* This struct is not used in this scanner,
380  but its presence is necessary. */
381 struct yy_trans_info
382  {
385  };
387  { 0,
388  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
389  0, 0, 0, 0, 0, 0, 0, 0, 37, 35,
390  34, 33, 35, 35, 32, 32, 31, 8, 32, 7,
391  12, 32, 32, 10, 6, 11, 9, 13, 34, 35,
392  24, 25, 19, 19, 19, 19, 15, 16, 19, 17,
393  14, 18, 20, 21, 22, 23, 27, 27, 27, 27,
394  26, 5, 4, 3, 0, 0, 0, 0, 24, 0,
395  0, 0, 0, 0, 0, 28, 0, 0, 0, 0,
396  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
397  0, 29, 0, 0, 0, 0, 0, 0, 0, 0,
398 
399  0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
400  0, 2, 0, 30, 0
401  } ;
402 
404  { 0,
405  1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
406  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
407  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
408  1, 2, 4, 5, 1, 1, 1, 1, 1, 6,
409  7, 1, 1, 1, 1, 1, 1, 8, 8, 8,
410  8, 8, 8, 8, 8, 8, 8, 9, 1, 1,
411  1, 1, 1, 10, 8, 8, 8, 8, 8, 8,
412  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
413  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
414  1, 11, 1, 12, 1, 1, 13, 8, 8, 14,
415 
416  15, 8, 16, 1, 17, 1, 1, 18, 1, 19,
417  20, 1, 1, 21, 22, 23, 1, 1, 1, 24,
418  25, 1, 26, 27, 28, 1, 1, 1, 1, 1,
419  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
420  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
421  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
422  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
423  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
424  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
425  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
426 
427  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
428  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
429  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
430  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
431  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
432  1, 1, 1, 1, 1
433  } ;
434 
436  { 0,
437  1, 1, 1, 1, 1, 1, 1, 2, 1, 1,
438  1, 2, 2, 2, 2, 1, 1, 1, 1, 1,
439  1, 1, 1, 1, 1, 1, 1, 1
440  } ;
441 
443  { 0,
444  0, 4, 14, 41, 0, 4, 68, 93, 116, 0,
445  143, 170, 8, 9, 1, 2, 197, 224, 174, 263,
446  263, 263, 165, 15, 263, 263, 263, 263, 164, 263,
447  263, 161, 153, 263, 263, 263, 263, 263, 31, 159,
448  263, 263, 263, 263, 263, 160, 263, 263, 157, 263,
449  263, 263, 263, 263, 263, 263, 263, 263, 158, 155,
450  263, 263, 263, 263, 141, 136, 141, 36, 263, 132,
451  133, 41, 129, 112, 117, 263, 119, 102, 99, 50,
452  109, 102, 99, 67, 101, 81, 80, 70, 85, 64,
453  64, 263, 78, 61, 53, 92, 42, 35, 95, 36,
454 
455  46, 103, 26, 64, 263, 114, 14, 122, 75, 125,
456  86, 263, 143, 263, 263, 252, 254, 256, 258, 260,
457  20, 19
458  } ;
459 
461  { 0,
462  116, 116, 117, 117, 4, 4, 116, 116, 4, 9,
463  118, 118, 9, 9, 9, 9, 119, 119, 115, 115,
464  115, 115, 120, 115, 115, 115, 115, 115, 120, 115,
465  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
466  115, 115, 115, 115, 115, 120, 115, 115, 115, 115,
467  115, 115, 115, 115, 115, 115, 115, 115, 120, 115,
468  115, 115, 115, 115, 115, 115, 121, 115, 115, 115,
469  115, 115, 115, 115, 115, 115, 122, 115, 115, 115,
470  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
471  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
472 
473  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
474  115, 115, 115, 115, 0, 115, 115, 115, 115, 115,
475  115, 115
476  } ;
477 
479  { 0,
480  115, 21, 22, 37, 23, 21, 22, 37, 23, 38,
481  24, 53, 53, 38, 24, 26, 27, 28, 29, 64,
482  80, 72, 30, 31, 32, 33, 54, 54, 56, 56,
483  65, 66, 68, 54, 54, 55, 55, 68, 109, 34,
484  35, 36, 26, 27, 28, 29, 107, 104, 76, 30,
485  31, 32, 33, 76, 76, 76, 69, 84, 103, 101,
486  100, 69, 84, 84, 84, 104, 34, 35, 36, 39,
487  22, 105, 23, 98, 88, 97, 111, 92, 40, 88,
488  88, 88, 92, 92, 92, 96, 95, 111, 94, 105,
489  96, 96, 96, 41, 39, 22, 93, 23, 91, 99,
490 
491  112, 90, 102, 40, 99, 99, 99, 102, 102, 102,
492  106, 112, 89, 87, 86, 106, 106, 106, 41, 25,
493  85, 108, 83, 82, 25, 25, 108, 108, 108, 110,
494  81, 79, 113, 78, 110, 110, 110, 113, 113, 113,
495  77, 25, 25, 42, 44, 45, 75, 46, 47, 48,
496  114, 74, 73, 49, 71, 114, 114, 114, 70, 64,
497  63, 64, 63, 64, 67, 64, 63, 63, 50, 51,
498  52, 44, 45, 115, 46, 47, 48, 115, 115, 115,
499  49, 115, 115, 115, 115, 115, 115, 115, 115, 115,
500  115, 115, 115, 115, 115, 50, 51, 52, 58, 22,
501 
502  115, 59, 115, 115, 115, 115, 115, 60, 115, 115,
503  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
504  115, 115, 115, 115, 61, 58, 22, 115, 59, 115,
505  115, 115, 115, 115, 60, 115, 115, 115, 115, 115,
506  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
507  115, 61, 20, 20, 25, 25, 43, 43, 57, 57,
508  62, 62, 19, 115, 115, 115, 115, 115, 115, 115,
509  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
510  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
511  115
512 
513  } ;
514 
516  { 0,
517  0, 1, 1, 5, 1, 2, 2, 6, 2, 5,
518  1, 13, 14, 6, 2, 3, 3, 3, 3, 24,
519  122, 121, 3, 3, 3, 3, 15, 16, 15, 16,
520  24, 24, 39, 13, 14, 13, 14, 68, 107, 3,
521  3, 3, 4, 4, 4, 4, 103, 101, 72, 4,
522  4, 4, 4, 72, 72, 72, 39, 80, 100, 98,
523  97, 68, 80, 80, 80, 104, 4, 4, 4, 7,
524  7, 101, 7, 95, 84, 94, 109, 88, 7, 84,
525  84, 84, 88, 88, 88, 93, 91, 111, 90, 104,
526  93, 93, 93, 7, 8, 8, 89, 8, 87, 96,
527 
528  109, 86, 99, 8, 96, 96, 96, 99, 99, 99,
529  102, 111, 85, 83, 82, 102, 102, 102, 8, 9,
530  81, 106, 79, 78, 9, 9, 106, 106, 106, 108,
531  77, 75, 110, 74, 108, 108, 108, 110, 110, 110,
532  73, 9, 9, 9, 11, 11, 71, 11, 11, 11,
533  113, 70, 67, 11, 66, 113, 113, 113, 65, 60,
534  59, 49, 46, 40, 33, 32, 29, 23, 11, 11,
535  11, 12, 12, 19, 12, 12, 12, 0, 0, 0,
536  12, 0, 0, 0, 0, 0, 0, 0, 0, 0,
537  0, 0, 0, 0, 0, 12, 12, 12, 17, 17,
538 
539  0, 17, 0, 0, 0, 0, 0, 17, 0, 0,
540  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
541  0, 0, 0, 0, 17, 18, 18, 0, 18, 0,
542  0, 0, 0, 0, 18, 0, 0, 0, 0, 0,
543  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
544  0, 18, 116, 116, 117, 117, 118, 118, 119, 119,
545  120, 120, 115, 115, 115, 115, 115, 115, 115, 115,
546  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
547  115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
548  115
549 
550  } ;
551 
554 
555 extern int yy_flex_debug;
557 
558 /* The intent behind this definition is that it'll catch
559  * any uses of REJECT which flex missed.
560  */
561 #define REJECT reject_used_but_not_detected
562 #define yymore() yymore_used_but_not_detected
563 #define YY_MORE_ADJ 0
564 #define YY_RESTORE_YY_MORE_OFFSET
565 char *yytext;
566 #line 1 "tex2xindy.l"
567 #line 4 "tex2xindy.l"
568  /* $Id: tex2xindy.l,v 1.24 2010/05/10 23:02:17 jschrod Exp $
569  ============================================================
570  (history at end)
571 
572 =head1 NAME
573 
574 tex2xindy - a preprocessor of the xindy index processor
575 
576 =head1 SYNOPSIS
577 
578  tex2xindy [-o] [attr_file]
579 
580 =head1 DESCRIPTION
581 
582 B<tex2xindy> transforms a LaTeX index file C<.idx> (or an C<.aux>
583 file) into a B<xindy> raw index file.
584 
585 It is a filter that reads from F<stdin> a file in the input format of
586 LaTeX's raw index file, i.e., with C<\indexentry> tags. It outputs on
587 F<stdout> a B<xindy> raw index file, i.e., with C<indexentry> clauses.
588 
589 If the option B<-o> is not specified, B<tex2xindy> handles ^^-notation
590 of TeX and outputs the octet that is represented: C<^^ab> in the input
591 gets output as the octet 0xab. If C<^^^^abcd> or C<^^^^^^^^abcdefab>
592 are detected, they are output as is.
593 
594 If the option B<-o> is specified, B<tex2xindy> operates in I<Omega
595 mode> and handles its ^^-notation: Then C<^^ab>, C<^^^^abcd>, and
596 C<^^^^^^^^abcdefab> represent Unicode characters with code points
597 0xab, 0xabcd, and 0xabcdefab respectively. They are output in UTF-8
598 encoding.
599 
600 If the optional argument F<attr_file> is specified, B<tex2xindy>
601 writes all index key attributes into this file.
602 
603 
604 =head1 DEFICITS
605 
606 This program was written since it was not easily possible to extract
607 the parser from the old makeindex system. Therefore it does not find
608 all errors in the input as the makeindex(1) version.
609 
610 Additionally it uses only the default input specifiers of
611 makeindex(1). If other input specifiers (cf. manual page of
612 makeindex(1)) are needed, the input specifiers (starting from the
613 pattern C<KEYWORD>, see below) must be changed and the program must be
614 recompiled.
615 
616 The particular missing feature is configuration of the quote and the
617 actual characters, maybe also the escape, subitem (level), and encap
618 characters. Argument and range delimiters seem to be less of a problem.
619 
620 In fact, input markup handling (and thus B<tex2xindy>) should be
621 incorporated into the B<xindy> kernel, to be able to specify
622 configuration in xindy style files.
623 
624 =head1 SEE ALSO
625 
626 texindy(1),
627 xindy(1),
628 makeindex(1)
629 
630 =head1 AUTHOR
631 
632 Roger Kehr, Institut fuer Theoretische Informatik, TU Darmstadt
633 
634 =head1 COPYRIGHT AND LICENSE
635 
636 Copyright (c) 1996,1997 Roger Kehr.
637 Copyright (c) 2006 Joachim Schrod.
638 
639 This program is free software; you can redistribute it and/or modify
640 it under the terms of the GNU General Public License as published by
641 the Free Software Foundation; either version 2 of the License, or (at
642 your option) any later version.
643 
644 This program is distributed in the hope that it will be useful, but
645 WITHOUT ANY WARRANTY; without even the implied warranty of
646 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
647 General Public License for more details.
648 
649 You should have received a copy of the GNU General Public License
650 along with this program; if not, write to the Free Software
651 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
652 
653 =cut
654 
655 */
656 
657 #line 110 "tex2xindy.l"
658 #define QUOTE_ECHO qs(yytext)
659 
661 
662 static int lineno = 1;
663 static int braces = 0;
664 static int xref_mode = 0;
665 static int glos_mode = 0;
666 static int errors = 0;
667 static int omega_mode = 0;
668 
669 #define multiple_err \
670  { \
671  fprintf(stderr, "line %d: multiple %s's\n", lineno, yytext); \
672  errors++; \
673  }
674 
675 #define NO_RANGE 0
676 #define OPEN_RANGE 1
677 #define CLOSE_RANGE 2
678 
680 
681 /* This function quotes a character, if necessary. */
682 
683 static void qc( char ch ) {
684  switch (ch) {
685  case '\\' :
686  case '"' :
687  putchar( '\\' );
688  break;
689  }
690  putchar(ch);
691 }
692 
693 /* Quote an entire string. */
694 
695 static void qs( char* str ) {
696  while ( *str ) {
697  qc( *str++ );
698  }
699 }
700 
701 /*
702  Output an Omega character, ^^-notation in yytext, in UTF-8 encoding.
703  The parameter gets passed the amount of hex digits in the ^^-notation.
704  In front of the hex digits are the same amount of ^ chars.
705 */
706 static void omega_output_utf8 ( int width )
707 {
708  unsigned long int c = strtoul (yytext+width, NULL, 16);
709  if (c < 0x80) {
710  putchar (c);
711  }
712  else if (c < 0x800) {
713  putchar (0xC0 | (c>>6));
714  putchar (0x80 | (c & 0x3F));
715  }
716  else if (c < 0x10000) {
717  putchar (0xE0 | (c>>12));
718  putchar (0x80 | (c>>6 & 0x3F));
719  putchar (0x80 | (c & 0x3F));
720  }
721  else if (c < 0x200000) {
722  putchar (0xF0 | (c>>18));
723  putchar (0x80 | (c>>12 & 0x3F));
724  putchar (0x80 | (c>>6 & 0x3F));
725  putchar (0x80 | (c & 0x3F));
726  }
727  else if (c < 0x4000000) {
728  putchar (0xF8 | (c>>24));
729  putchar (0x80 | (c>>18 & 0x3F));
730  putchar (0x80 | (c>>12 & 0x3F));
731  putchar (0x80 | (c>>6 & 0x3F));
732  putchar (0x80 | (c & 0x3F));
733  }
734  else if (c < 0x80000000) {
735  putchar (0xFC | (c>>30));
736  putchar (0x80 | (c>>24 & 0x3F));
737  putchar (0x80 | (c>>18 & 0x3F));
738  putchar (0x80 | (c>>12 & 0x3F));
739  putchar (0x80 | (c>>6 & 0x3F));
740  putchar (0x80 | (c & 0x3F));
741  }
742  else { /* out of range, output U+FFFD REPLACEMENT CHARACTER */
743  fputs("\xef\xbf\xbd",stdout);
744  fprintf (stderr, "line %d: character %#lx not in UTF-8 range\n",
745  lineno, c);
746  }
747 }
748 
749 
750 #line 751 "tex2xindy.c"
751 
752 #define INITIAL 0
753 #define key 1
754 #define print 2
755 #define skip2location 3
756 #define location 4
757 #define encap 5
758 #define xref 6
759 #define is 7
760 #define skiplocation 8
761 
762 #ifndef YY_NO_UNISTD_H
763 /* Special case for "unistd.h", since it is non-ANSI. We include it way
764  * down here because we want the user's section 1 to have been scanned first.
765  * The user has a chance to override it with an option.
766  */
767 #include <unistd.h>
768 #endif
769 
770 #ifndef YY_EXTRA_TYPE
771 #define YY_EXTRA_TYPE void *
772 #endif
773 
774 static int yy_init_globals (void );
775 
776 /* Accessor methods to globals.
777  These are made visible to non-reentrant scanners for convenience. */
778 
779 int yylex_destroy (void );
780 
781 int yyget_debug (void );
782 
783 void yyset_debug (int debug_flag );
784 
786 
787 void yyset_extra (YY_EXTRA_TYPE user_defined );
788 
789 FILE *yyget_in (void );
790 
791 void yyset_in (FILE * in_str );
792 
793 FILE *yyget_out (void );
794 
795 void yyset_out (FILE * out_str );
796 
797 int yyget_leng (void );
798 
799 char *yyget_text (void );
800 
801 int yyget_lineno (void );
802 
803 void yyset_lineno (int line_number );
804 
805 /* Macros after this point can all be overridden by user definitions in
806  * section 1.
807  */
808 
809 #ifndef YY_SKIP_YYWRAP
810 #ifdef __cplusplus
811 extern "C" int yywrap (void );
812 #else
813 extern int yywrap (void );
814 #endif
815 #endif
816 
817  static void yyunput (int c,char *buf_ptr );
818 
819 #ifndef yytext_ptr
820 static void yy_flex_strncpy (char *,yyconst char *,int );
821 #endif
822 
823 #ifdef YY_NEED_STRLEN
824 static int yy_flex_strlen (yyconst char * );
825 #endif
826 
827 #ifndef YY_NO_INPUT
828 
829 #ifdef __cplusplus
830 static int yyinput (void );
831 #else
832 static int input (void );
833 #endif
834 
835 #endif
836 
837 /* Amount of stuff to slurp up with each read. */
838 #ifndef YY_READ_BUF_SIZE
839 #define YY_READ_BUF_SIZE 8192
840 #endif
841 
842 /* Copy whatever the last rule matched to the standard output. */
843 #ifndef ECHO
844 /* This used to be an fputs(), but since the string might contain NUL's,
845  * we now use fwrite().
846  */
847 #define ECHO fwrite( yytext, yyleng, 1, yyout )
848 #endif
849 
850 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
851  * is returned in "result".
852  */
853 #ifndef YY_INPUT
854 #define YY_INPUT(buf,result,max_size) \
855  if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
856  { \
857  int c = '*'; \
858  int n; \
859  for ( n = 0; n < max_size && \
860  (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
861  buf[n] = (char) c; \
862  if ( c == '\n' ) \
863  buf[n++] = (char) c; \
864  if ( c == EOF && ferror( yyin ) ) \
865  YY_FATAL_ERROR( "input in flex scanner failed" ); \
866  result = n; \
867  } \
868  else \
869  { \
870  errno=0; \
871  while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
872  { \
873  if( errno != EINTR) \
874  { \
875  YY_FATAL_ERROR( "input in flex scanner failed" ); \
876  break; \
877  } \
878  errno=0; \
879  clearerr(yyin); \
880  } \
881  }\
882 \
883 
884 #endif
885 
886 /* No semi-colon after return; correct usage is to write "yyterminate();" -
887  * we don't want an extra ';' after the "return" because that will cause
888  * some compilers to complain about unreachable statements.
889  */
890 #ifndef yyterminate
891 #define yyterminate() return YY_NULL
892 #endif
893 
894 /* Number of entries by which start-condition stack grows. */
895 #ifndef YY_START_STACK_INCR
896 #define YY_START_STACK_INCR 25
897 #endif
898 
899 /* Report a fatal error. */
900 #ifndef YY_FATAL_ERROR
901 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
902 #endif
903 
904 /* end tables serialization structures and prototypes */
905 
906 /* Default declaration of generated scanner - a define so the user can
907  * easily add parameters.
908  */
909 #ifndef YY_DECL
910 #define YY_DECL_IS_OURS 1
911 
912 extern int yylex (void);
913 
914 #define YY_DECL int yylex (void)
915 #endif /* !YY_DECL */
916 
917 /* Code executed at the beginning of each rule, after yytext and yyleng
918  * have been set up.
919  */
920 #ifndef YY_USER_ACTION
921 #define YY_USER_ACTION
922 #endif
923 
924 /* Code executed at the end of each rule. */
925 #ifndef YY_BREAK
926 #define YY_BREAK break;
927 #endif
928 
929 #define YY_RULE_SETUP \
930  YY_USER_ACTION
931 
932 /** The main scanner function which does all the work.
933  */
935 {
936  register yy_state_type yy_current_state;
937  register char *yy_cp, *yy_bp;
938  register int yy_act;
939 
940 #line 222 "tex2xindy.l"
941 
942 
943 #line 944 "tex2xindy.c"
944 
945  if ( !(yy_init) )
946  {
947  (yy_init) = 1;
948 
949 #ifdef YY_USER_INIT
950  YY_USER_INIT;
951 #endif
952 
953  if ( ! (yy_start) )
954  (yy_start) = 1; /* first start state */
955 
956  if ( ! yyin )
957  yyin = stdin;
958 
959  if ( ! yyout )
960  yyout = stdout;
961 
962  if ( ! YY_CURRENT_BUFFER ) {
966  }
967 
969  }
970 
971  while ( 1 ) /* loops until end-of-file is reached */
972  {
973  yy_cp = (yy_c_buf_p);
974 
975  /* Support of yytext. */
976  *yy_cp = (yy_hold_char);
977 
978  /* yy_bp points to the position in yy_ch_buf of the start of
979  * the current run.
980  */
981  yy_bp = yy_cp;
982 
983  yy_current_state = (yy_start);
984 yy_match:
985  do
986  {
987  register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
988  if ( yy_accept[yy_current_state] )
989  {
990  (yy_last_accepting_state) = yy_current_state;
991  (yy_last_accepting_cpos) = yy_cp;
992  }
993  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
994  {
995  yy_current_state = (int) yy_def[yy_current_state];
996  if ( yy_current_state >= 116 )
997  yy_c = yy_meta[(unsigned int) yy_c];
998  }
999  yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1000  ++yy_cp;
1001  }
1002  while ( yy_current_state != 115 );
1003  yy_cp = (yy_last_accepting_cpos);
1004  yy_current_state = (yy_last_accepting_state);
1005 
1006 yy_find_action:
1007  yy_act = yy_accept[yy_current_state];
1008 
1010 
1011 do_action: /* This label is used only to access EOF actions. */
1012 
1013  switch ( yy_act )
1014  { /* beginning of action switch */
1015  case 0: /* must back up */
1016  /* undo the effects of YY_DO_BEFORE_ACTION */
1017  *yy_cp = (yy_hold_char);
1018  yy_cp = (yy_last_accepting_cpos);
1019  yy_current_state = (yy_last_accepting_state);
1020  goto yy_find_action;
1021 
1022 case 1:
1024 #line 224 "tex2xindy.l"
1025 {
1026  printf("(indexentry :tkey ((\"");
1027  xref_mode = 0;
1028  glos_mode = 0;
1029  BEGIN(key);
1030  }
1031  YY_BREAK
1032 case 2:
1034 #line 231 "tex2xindy.l"
1035 {
1036  printf("(indexentry :tkey ((\"");
1037  xref_mode = 0;
1038  glos_mode = 1;
1039  BEGIN(key);
1040  }
1041  YY_BREAK
1042 case 3:
1044 #line 238 "tex2xindy.l"
1045 { QUOTE_ECHO; }
1046  YY_BREAK
1047 case 4:
1048 /* rule 4 can match eol */
1050 #line 239 "tex2xindy.l"
1051 { qc(yytext[1]); lineno++; }
1052  YY_BREAK
1053 case 5:
1055 #line 240 "tex2xindy.l"
1056 { qc(yytext[1]); }
1057  YY_BREAK
1058 case 6:
1060 #line 241 "tex2xindy.l"
1061 {
1062  printf("\")) :attr \"");
1063  range = NO_RANGE;
1064  BEGIN(encap);
1065  }
1066  YY_BREAK
1067 case 7:
1069 #line 246 "tex2xindy.l"
1070 {
1071  if ( glos_mode ) {
1072  printf("\")) :attr \"is\" :xref (\"");
1073  range = NO_RANGE;
1074  if (attrfd) fprintf(attrfd, "\txref\n");
1075  BEGIN(is);
1076  } else {
1077  ECHO;
1078  }
1079  }
1080  YY_BREAK
1081 case 8:
1083 #line 256 "tex2xindy.l"
1084 { printf("\") (\""); }
1085  YY_BREAK
1086 case 9:
1088 #line 257 "tex2xindy.l"
1089 { printf("\") (\""); BEGIN(key); }
1090  YY_BREAK
1091 case 10:
1093 #line 258 "tex2xindy.l"
1094 { ECHO; braces++; }
1095  YY_BREAK
1096 case 11:
1098 #line 259 "tex2xindy.l"
1099 {
1100  if ( braces > 0 ) {
1101  ECHO;
1102  braces--;
1103  } else {
1104  printf("\"))");
1106  }
1107  }
1108  YY_BREAK
1109 case 12:
1111 #line 269 "tex2xindy.l"
1112 { printf("\" \""); BEGIN(print); }
1113  YY_BREAK
1114 case 13:
1116 #line 270 "tex2xindy.l"
1117 { multiple_err; }
1118  YY_BREAK
1119 case 14:
1121 #line 272 "tex2xindy.l"
1122 { multiple_err; }
1123  YY_BREAK
1124 case 15:
1126 #line 273 "tex2xindy.l"
1127 { range = OPEN_RANGE; }
1128  YY_BREAK
1129 case 16:
1131 #line 274 "tex2xindy.l"
1132 { range = CLOSE_RANGE; }
1133  YY_BREAK
1134 case 17:
1136 #line 275 "tex2xindy.l"
1137 { /* close :attr "... */
1138  printf("\" :xref (\"");
1139  if (attrfd) fprintf(attrfd, "\txref\n");
1140  braces++;
1141  BEGIN(xref);
1142  }
1143  YY_BREAK
1144 case 18:
1146 #line 281 "tex2xindy.l"
1147 {
1148  if ( braces > 0 ) {
1149  ECHO;
1150  braces--;
1151  } else {
1152  putchar('"');
1153  if (attrfd) fprintf(attrfd, "\tlocref\n");
1154  switch (range) {
1155  case OPEN_RANGE:
1156  printf(" :open-range");
1157  break;
1158  case CLOSE_RANGE:
1159  printf(" :close-range");
1160  break;
1161  }
1163  }
1164  }
1165  YY_BREAK
1166 case 19:
1167 /* rule 19 can match eol */
1169 #line 299 "tex2xindy.l"
1170 {
1171  QUOTE_ECHO;
1172  if (attrfd) fwrite(yytext, sizeof(char), 1, attrfd);
1173  if (*yytext == '\n') lineno++;
1174  }
1175  YY_BREAK
1176 case 20:
1178 #line 307 "tex2xindy.l"
1179 { printf("\" \""); }
1180  YY_BREAK
1181 case 21:
1183 #line 308 "tex2xindy.l"
1184 { ECHO; braces++; }
1185  YY_BREAK
1186 case 22:
1188 #line 309 "tex2xindy.l"
1189 {
1190  if ( braces > 1 ) {
1191  ECHO;
1192  braces--;
1193  } else if ( braces == 1 ) {
1194  braces--;
1195  } else {
1196  printf("\")");
1197  xref_mode = 1;
1199  }
1200  }
1201  YY_BREAK
1202 case 23:
1204 #line 321 "tex2xindy.l"
1205 {
1206  if ( braces > 0 ) {
1207  ECHO;
1208  braces--;
1209  } else {
1210  printf("\")");
1211  xref_mode = 1;
1213  }
1214  }
1215  YY_BREAK
1216 case 24:
1218 #line 332 "tex2xindy.l"
1219 {
1220  if (xref_mode) {
1222  } else {
1223  printf(" :locref \"");
1224  BEGIN(location);
1225  }
1226  }
1227  YY_BREAK
1228 case 25:
1230 #line 340 "tex2xindy.l"
1231 { printf("\")\n"); BEGIN(0); }
1232  YY_BREAK
1233 case 26:
1235 #line 342 "tex2xindy.l"
1236 { printf(")\n"); BEGIN(0); }
1237  YY_BREAK
1238 case 27:
1240 #line 343 "tex2xindy.l"
1241 { ; }
1242  YY_BREAK
1243 case 28:
1245 #line 345 "tex2xindy.l"
1246 {
1247  if ( omega_mode ) {
1248  omega_output_utf8(2);
1249  } else {
1250  unput( strtol(yytext+2, NULL, 16) );
1251  }
1252  }
1253  YY_BREAK
1254 case 29:
1256 #line 352 "tex2xindy.l"
1257 {
1258  if ( omega_mode ) {
1259  omega_output_utf8(4);
1260  } else {
1261  ECHO;
1262  }
1263  }
1264  YY_BREAK
1265 case 30:
1267 #line 359 "tex2xindy.l"
1268 {
1269  if ( omega_mode ) {
1270  omega_output_utf8(8);
1271  } else {
1272  ECHO;
1273  }
1274  }
1275  YY_BREAK
1276 case 31:
1277 /* rule 31 can match eol */
1279 #line 367 "tex2xindy.l"
1280 { ECHO; lineno++; }
1281  YY_BREAK
1282 case 32:
1284 #line 368 "tex2xindy.l"
1285 { QUOTE_ECHO; }
1286  YY_BREAK
1287 case 33:
1288 /* rule 33 can match eol */
1290 #line 370 "tex2xindy.l"
1291 { lineno++; }
1292  YY_BREAK
1293 case 34:
1295 #line 371 "tex2xindy.l"
1296 { ; }
1297  YY_BREAK
1298 case 35:
1300 #line 372 "tex2xindy.l"
1301 {
1302  fprintf(stderr,
1303  "Encountered unexpected char '%c' on line %d\n",
1304  yytext[0], lineno);
1305  }
1306  YY_BREAK
1307 case 36:
1309 #line 378 "tex2xindy.l"
1310 ECHO;
1311  YY_BREAK
1312 #line 1313 "tex2xindy.c"
1313 case YY_STATE_EOF(INITIAL):
1314 case YY_STATE_EOF(key):
1315 case YY_STATE_EOF(print):
1317 case YY_STATE_EOF(location):
1318 case YY_STATE_EOF(encap):
1319 case YY_STATE_EOF(xref):
1320 case YY_STATE_EOF(is):
1322  yyterminate();
1323 
1324  case YY_END_OF_BUFFER:
1325  {
1326  /* Amount of text matched not including the EOB char. */
1327  int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1328 
1329  /* Undo the effects of YY_DO_BEFORE_ACTION. */
1330  *yy_cp = (yy_hold_char);
1332 
1333  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1334  {
1335  /* We're scanning a new file or input source. It's
1336  * possible that this happened because the user
1337  * just pointed yyin at a new source and called
1338  * yylex(). If so, then we have to assure
1339  * consistency between YY_CURRENT_BUFFER and our
1340  * globals. Here is the right place to do so, because
1341  * this is the first action (other than possibly a
1342  * back-up) that will match for the new input source.
1343  */
1344  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1345  YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1346  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1347  }
1348 
1349  /* Note that here we test for yy_c_buf_p "<=" to the position
1350  * of the first EOB in the buffer, since yy_c_buf_p will
1351  * already have been incremented past the NUL character
1352  * (since all states make transitions on EOB to the
1353  * end-of-buffer state). Contrast this with the test
1354  * in input().
1355  */
1356  if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1357  { /* This was really a NUL. */
1358  yy_state_type yy_next_state;
1359 
1360  (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1361 
1362  yy_current_state = yy_get_previous_state( );
1363 
1364  /* Okay, we're now positioned to make the NUL
1365  * transition. We couldn't have
1366  * yy_get_previous_state() go ahead and do it
1367  * for us because it doesn't know how to deal
1368  * with the possibility of jamming (and we don't
1369  * want to build jamming into it because then it
1370  * will run more slowly).
1371  */
1372 
1373  yy_next_state = yy_try_NUL_trans( yy_current_state );
1374 
1375  yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1376 
1377  if ( yy_next_state )
1378  {
1379  /* Consume the NUL. */
1380  yy_cp = ++(yy_c_buf_p);
1381  yy_current_state = yy_next_state;
1382  goto yy_match;
1383  }
1384 
1385  else
1386  {
1387  yy_cp = (yy_last_accepting_cpos);
1388  yy_current_state = (yy_last_accepting_state);
1389  goto yy_find_action;
1390  }
1391  }
1392 
1393  else switch ( yy_get_next_buffer( ) )
1394  {
1395  case EOB_ACT_END_OF_FILE:
1396  {
1398 
1399  if ( yywrap( ) )
1400  {
1401  /* Note: because we've taken care in
1402  * yy_get_next_buffer() to have set up
1403  * yytext, we can now set up
1404  * yy_c_buf_p so that if some total
1405  * hoser (like flex itself) wants to
1406  * call the scanner after we return the
1407  * YY_NULL, it'll still work - another
1408  * YY_NULL will get returned.
1409  */
1411 
1412  yy_act = YY_STATE_EOF(YY_START);
1413  goto do_action;
1414  }
1415 
1416  else
1417  {
1418  if ( ! (yy_did_buffer_switch_on_eof) )
1419  YY_NEW_FILE;
1420  }
1421  break;
1422  }
1423 
1424  case EOB_ACT_CONTINUE_SCAN:
1425  (yy_c_buf_p) =
1426  (yytext_ptr) + yy_amount_of_matched_text;
1427 
1428  yy_current_state = yy_get_previous_state( );
1429 
1430  yy_cp = (yy_c_buf_p);
1431  yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1432  goto yy_match;
1433 
1434  case EOB_ACT_LAST_MATCH:
1435  (yy_c_buf_p) =
1436  &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1437 
1438  yy_current_state = yy_get_previous_state( );
1439 
1440  yy_cp = (yy_c_buf_p);
1441  yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1442  goto yy_find_action;
1443  }
1444  break;
1445  }
1446 
1447  default:
1449  "fatal flex scanner internal error--no action found" );
1450  } /* end of action switch */
1451  } /* end of scanning one token */
1452 } /* end of yylex */
1453 
1454 /* yy_get_next_buffer - try to read in a new buffer
1455  *
1456  * Returns a code representing an action:
1457  * EOB_ACT_LAST_MATCH -
1458  * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1459  * EOB_ACT_END_OF_FILE - end of file
1460  */
1461 static int yy_get_next_buffer (void)
1462 {
1463  register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1464  register char *source = (yytext_ptr);
1465  register int number_to_move, i;
1466  int ret_val;
1467 
1468  if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1470  "fatal flex scanner internal error--end of buffer missed" );
1471 
1472  if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1473  { /* Don't try to fill the buffer, so this is an EOF. */
1474  if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1475  {
1476  /* We matched a single character, the EOB, so
1477  * treat this as a final EOF.
1478  */
1479  return EOB_ACT_END_OF_FILE;
1480  }
1481 
1482  else
1483  {
1484  /* We matched some text prior to the EOB, first
1485  * process it.
1486  */
1487  return EOB_ACT_LAST_MATCH;
1488  }
1489  }
1490 
1491  /* Try to read more data. */
1492 
1493  /* First move last chars to start of buffer. */
1494  number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
1495 
1496  for ( i = 0; i < number_to_move; ++i )
1497  *(dest++) = *(source++);
1498 
1499  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1500  /* don't do the read, it's not guaranteed to return an EOF,
1501  * just force an EOF
1502  */
1503  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1504 
1505  else
1506  {
1507  int num_to_read =
1508  YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1509 
1510  while ( num_to_read <= 0 )
1511  { /* Not enough room in the buffer - grow it. */
1512 
1513  /* just a shorter name for the current buffer */
1515 
1516  int yy_c_buf_p_offset =
1517  (int) ((yy_c_buf_p) - b->yy_ch_buf);
1518 
1519  if ( b->yy_is_our_buffer )
1520  {
1521  int new_size = b->yy_buf_size * 2;
1522 
1523  if ( new_size <= 0 )
1524  b->yy_buf_size += b->yy_buf_size / 8;
1525  else
1526  b->yy_buf_size *= 2;
1527 
1528  b->yy_ch_buf = (char *)
1529  /* Include room in for 2 EOB chars. */
1530  yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
1531  }
1532  else
1533  /* Can't grow it, we don't own it. */
1534  b->yy_ch_buf = 0;
1535 
1536  if ( ! b->yy_ch_buf )
1538  "fatal error - scanner input buffer overflow" );
1539 
1540  (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1541 
1542  num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1543  number_to_move - 1;
1544 
1545  }
1546 
1547  if ( num_to_read > YY_READ_BUF_SIZE )
1548  num_to_read = YY_READ_BUF_SIZE;
1549 
1550  /* Read in more data. */
1551  YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1552  (yy_n_chars), (size_t) num_to_read );
1553 
1554  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1555  }
1556 
1557  if ( (yy_n_chars) == 0 )
1558  {
1559  if ( number_to_move == YY_MORE_ADJ )
1560  {
1561  ret_val = EOB_ACT_END_OF_FILE;
1562  yyrestart(yyin );
1563  }
1564 
1565  else
1566  {
1567  ret_val = EOB_ACT_LAST_MATCH;
1568  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1570  }
1571  }
1572 
1573  else
1574  ret_val = EOB_ACT_CONTINUE_SCAN;
1575 
1576  if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1577  /* Extend the array by 50%, plus the number we really need. */
1578  yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1579  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
1580  if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1581  YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1582  }
1583 
1584  (yy_n_chars) += number_to_move;
1587 
1588  (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1589 
1590  return ret_val;
1591 }
1592 
1593 /* yy_get_previous_state - get the state just before the EOB char was reached */
1594 
1596 {
1597  register yy_state_type yy_current_state;
1598  register char *yy_cp;
1599 
1600  yy_current_state = (yy_start);
1601 
1602  for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1603  {
1604  register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1605  if ( yy_accept[yy_current_state] )
1606  {
1607  (yy_last_accepting_state) = yy_current_state;
1608  (yy_last_accepting_cpos) = yy_cp;
1609  }
1610  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1611  {
1612  yy_current_state = (int) yy_def[yy_current_state];
1613  if ( yy_current_state >= 116 )
1614  yy_c = yy_meta[(unsigned int) yy_c];
1615  }
1616  yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1617  }
1618 
1619  return yy_current_state;
1620 }
1621 
1622 /* yy_try_NUL_trans - try to make a transition on the NUL character
1623  *
1624  * synopsis
1625  * next_state = yy_try_NUL_trans( current_state );
1626  */
1627  static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1628 {
1629  register int yy_is_jam;
1630  register char *yy_cp = (yy_c_buf_p);
1631 
1632  register YY_CHAR yy_c = 1;
1633  if ( yy_accept[yy_current_state] )
1634  {
1635  (yy_last_accepting_state) = yy_current_state;
1636  (yy_last_accepting_cpos) = yy_cp;
1637  }
1638  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1639  {
1640  yy_current_state = (int) yy_def[yy_current_state];
1641  if ( yy_current_state >= 116 )
1642  yy_c = yy_meta[(unsigned int) yy_c];
1643  }
1644  yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1645  yy_is_jam = (yy_current_state == 115);
1646 
1647  return yy_is_jam ? 0 : yy_current_state;
1648 }
1649 
1650  static void yyunput (int c, register char * yy_bp )
1651 {
1652  register char *yy_cp;
1653 
1654  yy_cp = (yy_c_buf_p);
1655 
1656  /* undo effects of setting up yytext */
1657  *yy_cp = (yy_hold_char);
1658 
1659  if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1660  { /* need to shift things up to make room */
1661  /* +2 for EOB chars. */
1662  register int number_to_move = (yy_n_chars) + 2;
1663  register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
1664  YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
1665  register char *source =
1666  &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
1667 
1668  while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1669  *--dest = *--source;
1670 
1671  yy_cp += (int) (dest - source);
1672  yy_bp += (int) (dest - source);
1673  YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
1674  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
1675 
1676  if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1677  YY_FATAL_ERROR( "flex scanner push-back overflow" );
1678  }
1679 
1680  *--yy_cp = (char) c;
1681 
1682  (yytext_ptr) = yy_bp;
1683  (yy_hold_char) = *yy_cp;
1684  (yy_c_buf_p) = yy_cp;
1685 }
1686 
1687 #ifndef YY_NO_INPUT
1688 #ifdef __cplusplus
1689  static int yyinput (void)
1690 #else
1691  static int input (void)
1692 #endif
1693 
1694 {
1695  int c;
1696 
1697  *(yy_c_buf_p) = (yy_hold_char);
1698 
1699  if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1700  {
1701  /* yy_c_buf_p now points to the character we want to return.
1702  * If this occurs *before* the EOB characters, then it's a
1703  * valid NUL; if not, then we've hit the end of the buffer.
1704  */
1705  if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1706  /* This was really a NUL. */
1707  *(yy_c_buf_p) = '\0';
1708 
1709  else
1710  { /* need more input */
1711  int offset = (yy_c_buf_p) - (yytext_ptr);
1712  ++(yy_c_buf_p);
1713 
1714  switch ( yy_get_next_buffer( ) )
1715  {
1716  case EOB_ACT_LAST_MATCH:
1717  /* This happens because yy_g_n_b()
1718  * sees that we've accumulated a
1719  * token and flags that we need to
1720  * try matching the token before
1721  * proceeding. But for input(),
1722  * there's no matching to consider.
1723  * So convert the EOB_ACT_LAST_MATCH
1724  * to EOB_ACT_END_OF_FILE.
1725  */
1726 
1727  /* Reset buffer status. */
1728  yyrestart(yyin );
1729 
1730  /*FALLTHROUGH*/
1731 
1732  case EOB_ACT_END_OF_FILE:
1733  {
1734  if ( yywrap( ) )
1735  return EOF;
1736 
1737  if ( ! (yy_did_buffer_switch_on_eof) )
1738  YY_NEW_FILE;
1739 #ifdef __cplusplus
1740  return yyinput();
1741 #else
1742  return input();
1743 #endif
1744  }
1745 
1746  case EOB_ACT_CONTINUE_SCAN:
1747  (yy_c_buf_p) = (yytext_ptr) + offset;
1748  break;
1749  }
1750  }
1751  }
1752 
1753  c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1754  *(yy_c_buf_p) = '\0'; /* preserve yytext */
1755  (yy_hold_char) = *++(yy_c_buf_p);
1756 
1757  return c;
1758 }
1759 #endif /* ifndef YY_NO_INPUT */
1760 
1761 /** Immediately switch to a different input stream.
1762  * @param input_file A readable stream.
1763  *
1764  * @note This function does not reset the start condition to @c INITIAL .
1765  */
1767 {
1768 
1769  if ( ! YY_CURRENT_BUFFER ){
1773  }
1774 
1777 }
1778 
1779 /** Switch to a different input buffer.
1780  * @param new_buffer The new input buffer.
1781  *
1782  */
1784 {
1785 
1786  /* TODO. We should be able to replace this entire function body
1787  * with
1788  * yypop_buffer_state();
1789  * yypush_buffer_state(new_buffer);
1790  */
1792  if ( YY_CURRENT_BUFFER == new_buffer )
1793  return;
1794 
1795  if ( YY_CURRENT_BUFFER )
1796  {
1797  /* Flush out information for old buffer. */
1798  *(yy_c_buf_p) = (yy_hold_char);
1799  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1800  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1801  }
1802 
1803  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1805 
1806  /* We don't actually know whether we did this switch during
1807  * EOF (yywrap()) processing, but the only time this flag
1808  * is looked at is after yywrap() is called, so it's safe
1809  * to go ahead and always set it.
1810  */
1812 }
1813 
1814 static void yy_load_buffer_state (void)
1815 {
1816  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1817  (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1818  yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1819  (yy_hold_char) = *(yy_c_buf_p);
1820 }
1821 
1822 /** Allocate and initialize an input buffer state.
1823  * @param file A readable stream.
1824  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1825  *
1826  * @return the allocated buffer state.
1827  */
1829 {
1831 
1832  b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
1833  if ( ! b )
1834  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1835 
1836  b->yy_buf_size = size;
1837 
1838  /* yy_ch_buf has to be 2 characters longer than the size given because
1839  * we need to put in 2 end-of-buffer characters.
1840  */
1841  b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
1842  if ( ! b->yy_ch_buf )
1843  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1844 
1845  b->yy_is_our_buffer = 1;
1846 
1847  yy_init_buffer(b,file );
1848 
1849  return b;
1850 }
1851 
1852 /** Destroy the buffer.
1853  * @param b a buffer created with yy_create_buffer()
1854  *
1855  */
1857 {
1858 
1859  if ( ! b )
1860  return;
1861 
1862  if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1864 
1865  if ( b->yy_is_our_buffer )
1866  yyfree((void *) b->yy_ch_buf );
1867 
1868  yyfree((void *) b );
1869 }
1870 
1871 /* Initializes or reinitializes a buffer.
1872  * This function is sometimes called more than once on the same buffer,
1873  * such as during a yyrestart() or at EOF.
1874  */
1876 
1877 {
1878  int oerrno = errno;
1879 
1880  yy_flush_buffer(b );
1881 
1882  b->yy_input_file = file;
1883  b->yy_fill_buffer = 1;
1884 
1885  /* If b is the current buffer, then yy_init_buffer was _probably_
1886  * called from yyrestart() or through yy_get_next_buffer.
1887  * In that case, we don't want to reset the lineno or column.
1888  */
1889  if (b != YY_CURRENT_BUFFER){
1890  b->yy_bs_lineno = 1;
1891  b->yy_bs_column = 0;
1892  }
1893 
1894  b->yy_is_interactive = 0;
1895 
1896  errno = oerrno;
1897 }
1898 
1899 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1900  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1901  *
1902  */
1904 {
1905  if ( ! b )
1906  return;
1907 
1908  b->yy_n_chars = 0;
1909 
1910  /* We always need two end-of-buffer characters. The first causes
1911  * a transition to the end-of-buffer state. The second causes
1912  * a jam in that state.
1913  */
1914  b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
1915  b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1916 
1917  b->yy_buf_pos = &b->yy_ch_buf[0];
1918 
1919  b->yy_at_bol = 1;
1920  b->yy_buffer_status = YY_BUFFER_NEW;
1921 
1922  if ( b == YY_CURRENT_BUFFER )
1924 }
1925 
1926 /** Pushes the new state onto the stack. The new state becomes
1927  * the current state. This function will allocate the stack
1928  * if necessary.
1929  * @param new_buffer The new state.
1930  *
1931  */
1933 {
1934  if (new_buffer == NULL)
1935  return;
1936 
1938 
1939  /* This block is copied from yy_switch_to_buffer. */
1940  if ( YY_CURRENT_BUFFER )
1941  {
1942  /* Flush out information for old buffer. */
1943  *(yy_c_buf_p) = (yy_hold_char);
1944  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1945  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1946  }
1947 
1948  /* Only push if top exists. Otherwise, replace top. */
1949  if (YY_CURRENT_BUFFER)
1950  (yy_buffer_stack_top)++;
1951  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1952 
1953  /* copied from yy_switch_to_buffer. */
1956 }
1957 
1958 /** Removes and deletes the top of the stack, if present.
1959  * The next element becomes the new top.
1960  *
1961  */
1963 {
1964  if (!YY_CURRENT_BUFFER)
1965  return;
1966 
1969  if ((yy_buffer_stack_top) > 0)
1970  --(yy_buffer_stack_top);
1971 
1972  if (YY_CURRENT_BUFFER) {
1975  }
1976 }
1977 
1978 /* Allocates the stack if it does not exist.
1979  * Guarantees space for at least one push.
1980  */
1981 static void yyensure_buffer_stack (void)
1982 {
1983  int num_to_alloc;
1984 
1985  if (!(yy_buffer_stack)) {
1986 
1987  /* First allocation is just for 2 elements, since we don't know if this
1988  * scanner will even need a stack. We use 2 instead of 1 to avoid an
1989  * immediate realloc on the next call.
1990  */
1991  num_to_alloc = 1;
1993  (num_to_alloc * sizeof(struct yy_buffer_state*)
1994  );
1995  if ( ! (yy_buffer_stack) )
1996  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1997 
1998  memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1999 
2000  (yy_buffer_stack_max) = num_to_alloc;
2001  (yy_buffer_stack_top) = 0;
2002  return;
2003  }
2004 
2005  if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2006 
2007  /* Increase the buffer to prepare for a possible push. */
2008  int grow_size = 8 /* arbitrary grow size */;
2009 
2010  num_to_alloc = (yy_buffer_stack_max) + grow_size;
2012  ((yy_buffer_stack),
2013  num_to_alloc * sizeof(struct yy_buffer_state*)
2014  );
2015  if ( ! (yy_buffer_stack) )
2016  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2017 
2018  /* zero only the new slots.*/
2019  memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2020  (yy_buffer_stack_max) = num_to_alloc;
2021  }
2022 }
2023 
2024 /** Setup the input buffer state to scan directly from a user-specified character buffer.
2025  * @param base the character buffer
2026  * @param size the size in bytes of the character buffer
2027  *
2028  * @return the newly allocated buffer state object.
2029  */
2031 {
2033 
2034  if ( size < 2 ||
2037  /* They forgot to leave room for the EOB's. */
2038  return 0;
2039 
2040  b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
2041  if ( ! b )
2042  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2043 
2044  b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2045  b->yy_buf_pos = b->yy_ch_buf = base;
2046  b->yy_is_our_buffer = 0;
2047  b->yy_input_file = 0;
2048  b->yy_n_chars = b->yy_buf_size;
2049  b->yy_is_interactive = 0;
2050  b->yy_at_bol = 1;
2051  b->yy_fill_buffer = 0;
2052  b->yy_buffer_status = YY_BUFFER_NEW;
2053 
2055 
2056  return b;
2057 }
2058 
2059 /** Setup the input buffer state to scan a string. The next call to yylex() will
2060  * scan from a @e copy of @a str.
2061  * @param yystr a NUL-terminated string to scan
2062  *
2063  * @return the newly allocated buffer state object.
2064  * @note If you want to scan bytes that may contain NUL values, then use
2065  * yy_scan_bytes() instead.
2066  */
2068 {
2069 
2070  return yy_scan_bytes(yystr,strlen(yystr) );
2071 }
2072 
2073 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2074  * scan from a @e copy of @a bytes.
2075  * @param bytes the byte buffer to scan
2076  * @param len the number of bytes in the buffer pointed to by @a bytes.
2077  *
2078  * @return the newly allocated buffer state object.
2079  */
2080 YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
2081 {
2083  char *buf;
2084  yy_size_t n;
2085  int i;
2086 
2087  /* Get memory for full buffer, including space for trailing EOB's. */
2088  n = _yybytes_len + 2;
2089  buf = (char *) yyalloc(n );
2090  if ( ! buf )
2091  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2092 
2093  for ( i = 0; i < _yybytes_len; ++i )
2094  buf[i] = yybytes[i];
2095 
2096  buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2097 
2098  b = yy_scan_buffer(buf,n );
2099  if ( ! b )
2100  YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2101 
2102  /* It's okay to grow etc. this buffer, and we should throw it
2103  * away when we're done.
2104  */
2105  b->yy_is_our_buffer = 1;
2106 
2107  return b;
2108 }
2109 
2110 #ifndef YY_EXIT_FAILURE
2111 #define YY_EXIT_FAILURE 2
2112 #endif
2113 
2114 static void yy_fatal_error (yyconst char* msg )
2115 {
2116  (void) fprintf( stderr, "%s\n", msg );
2117  exit( YY_EXIT_FAILURE );
2118 }
2119 
2120 /* Redefine yyless() so it works in section 3 code. */
2121 
2122 #undef yyless
2123 #define yyless(n) \
2124  do \
2125  { \
2126  /* Undo effects of setting up yytext. */ \
2127  int yyless_macro_arg = (n); \
2128  YY_LESS_LINENO(yyless_macro_arg);\
2129  yytext[yyleng] = (yy_hold_char); \
2130  (yy_c_buf_p) = yytext + yyless_macro_arg; \
2131  (yy_hold_char) = *(yy_c_buf_p); \
2132  *(yy_c_buf_p) = '\0'; \
2133  yyleng = yyless_macro_arg; \
2134  } \
2135  while ( 0 )
2136 
2137 /* Accessor methods (get/set functions) to struct members. */
2138 
2139 /** Get the current line number.
2140  *
2141  */
2142 int yyget_lineno (void)
2143 {
2144 
2145  return yylineno;
2146 }
2147 
2148 /** Get the input stream.
2149  *
2150  */
2152 {
2153  return yyin;
2154 }
2155 
2156 /** Get the output stream.
2157  *
2158  */
2160 {
2161  return yyout;
2162 }
2163 
2164 /** Get the length of the current token.
2165  *
2166  */
2167 int yyget_leng (void)
2168 {
2169  return yyleng;
2170 }
2171 
2172 /** Get the current token.
2173  *
2174  */
2175 
2176 char *yyget_text (void)
2177 {
2178  return yytext;
2179 }
2180 
2181 /** Set the current line number.
2182  * @param line_number
2183  *
2184  */
2186 {
2187 
2189 }
2190 
2191 /** Set the input stream. This does not discard the current
2192  * input buffer.
2193  * @param in_str A readable stream.
2194  *
2195  * @see yy_switch_to_buffer
2196  */
2197 void yyset_in (FILE * in_str )
2198 {
2199  yyin = in_str ;
2200 }
2201 
2202 void yyset_out (FILE * out_str )
2203 {
2204  yyout = out_str ;
2205 }
2206 
2207 int yyget_debug (void)
2208 {
2209  return yy_flex_debug;
2210 }
2211 
2212 void yyset_debug (int bdebug )
2213 {
2214  yy_flex_debug = bdebug ;
2215 }
2216 
2217 static int yy_init_globals (void)
2218 {
2219  /* Initialization is the same as for the non-reentrant scanner.
2220  * This function is called from yylex_destroy(), so don't allocate here.
2221  */
2222 
2223  (yy_buffer_stack) = 0;
2224  (yy_buffer_stack_top) = 0;
2225  (yy_buffer_stack_max) = 0;
2226  (yy_c_buf_p) = (char *) 0;
2227  (yy_init) = 0;
2228  (yy_start) = 0;
2229 
2230 /* Defined in main.c */
2231 #ifdef YY_STDINIT
2232  yyin = stdin;
2233  yyout = stdout;
2234 #else
2235  yyin = (FILE *) 0;
2236  yyout = (FILE *) 0;
2237 #endif
2238 
2239  /* For future reference: Set errno on error, since we are called by
2240  * yylex_init()
2241  */
2242  return 0;
2243 }
2244 
2245 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2246 int yylex_destroy (void)
2247 {
2248 
2249  /* Pop the buffer stack, destroying each element. */
2250  while(YY_CURRENT_BUFFER){
2254  }
2255 
2256  /* Destroy the stack itself. */
2257  yyfree((yy_buffer_stack) );
2258  (yy_buffer_stack) = NULL;
2259 
2260  /* Reset the globals. This is important in a non-reentrant scanner so the next time
2261  * yylex() is called, initialization will occur. */
2262  yy_init_globals( );
2263 
2264  return 0;
2265 }
2266 
2267 /*
2268  * Internal utility routines.
2269  */
2270 
2271 #ifndef yytext_ptr
2272 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
2273 {
2274  register int i;
2275  for ( i = 0; i < n; ++i )
2276  s1[i] = s2[i];
2277 }
2278 #endif
2279 
2280 #ifdef YY_NEED_STRLEN
2281 static int yy_flex_strlen (yyconst char * s )
2282 {
2283  register int n;
2284  for ( n = 0; s[n]; ++n )
2285  ;
2286 
2287  return n;
2288 }
2289 #endif
2290 
2292 {
2293  return (void *) malloc( size );
2294 }
2295 
2296 void *yyrealloc (void * ptr, yy_size_t size )
2297 {
2298  /* The cast to (char *) in the following accommodates both
2299  * implementations that use char* generic pointers, and those
2300  * that use void* generic pointers. It works with the latter
2301  * because both ANSI C and C++ allow castless assignment from
2302  * any pointer type to void*, and deal with argument conversions
2303  * as though doing an assignment.
2304  */
2305  return (void *) realloc( (char *) ptr, size );
2306 }
2307 
2308 void yyfree (void * ptr )
2309 {
2310  free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2311 }
2312 
2313 #define YYTABLES_NAME "yytables"
2314 
2315 #line 378 "tex2xindy.l"
2316 
2317 
2318 
2319 static void usage (void)
2320 {
2321  fputs("This is tex2xindy, $Revision: 1.24 $.\n", stderr);
2322  fputs("usage: tex2xindy [-o] [attr_file]\n", stderr);
2323  exit (1);
2324 }
2325 
2326 int
2327 main(int argc, char* argv[])
2328 {
2329  int option;
2330 
2331 #ifdef WIN32
2333 #else
2334  extern char *optarg;
2335  extern int optind, optopt;
2336 #endif
2337 
2338  while ( (option=getopt(argc, argv, ":o")) != -1 ) {
2339  switch (option) {
2340  case 'o':
2341  omega_mode = 1;
2342  break;
2343  case '?':
2344  default:
2345  fprintf(stderr, "Unrecognized option: -%c\n", optopt);
2346  usage();
2347  /* NOTREACHED */
2348  }
2349  }
2350 
2351  /* More than one argument left? */
2352  if ( optind < argc - 1 ) usage();
2353 
2354  /* attr_file specified? */
2355  if ( optind == argc - 1 ) {
2356  fprintf(stderr, "Writing attribute names to file \"%s\".\n",
2357  argv[optind]);
2358  if ( (attrfd = fopen(argv[optind], "wb")) == NULL ) {
2359  perror (argv[optind]);
2360  exit (1);
2361  }
2362  }
2363 
2364  yylex();
2365  if (attrfd) fclose(attrfd);
2366  return (errors > 0); /* 1 or 0 */
2367 }
2368 
2369 
2370 /*
2371  * Define dummy yywrap so we no longer depend on `libfl.a'.
2372  */
2373 int yywrap (void)
2374 {
2375  return 1;
2376 }
2377 
2378 
2379 /* ============================================================
2380 
2381  $Log: tex2xindy.l,v $
2382  Revision 1.24 2010/05/10 23:02:17 jschrod
2383  Use ANSI C function definitions. (Patch from peb.)
2384 
2385  Revision 1.23 2009/12/03 00:42:14 jschrod
2386  Define internal functions as static to silence gcc warnings.
2387 
2388  Revision 1.22 2009/12/03 00:36:09 jschrod
2389  Define yywrap(), to be independent from libfl.
2390 
2391  Revision 1.21 2006/07/30 09:44:04 jschrod
2392  While quote is not output, escape+quote *is* output.
2393 
2394  Revision 1.20 2006/07/18 21:40:45 jschrod
2395  Add parenthesis as recommended by gcc -Wall.
2396  Use ECHO instead of QUOTE_ECHO where quoting will not be needed.
2397  Code cleanup: sanitize braces and indentation.
2398 
2399  Revision 1.19 2006/07/18 21:26:34 jschrod
2400  Add man page as POD to tex2xindy source.
2401  Add support for ^^-notation, both in TeX and in new Omega mode.
2402  Add usage message and proper option parsing.
2403 
2404  Revision 1.18 2006/02/21 12:12:05 jschrod
2405  Don't output escape or quote characters.
2406 
2407  Revision 1.17 2006/02/21 02:05:00 jschrod
2408  Quote really quotes the next char, now.
2409 
2410  Revision 1.16 2005/06/27 20:49:06 jschrod
2411  Keywords may be inmidst a line, as Jörg Sommer showed.
2412  "." rule merging did not work for attributes, and for skiplocation.
2413  Output error message if we come across chars outside our FSA.
2414 
2415  Revision 1.15 2005/06/14 16:22:08 jschrod
2416  Fold in changes from Thomas Henlich, as of 2000-02-14:
2417  Paranoia fix: recognize KEYWORD only in INITIAL start condition.
2418  Recognize \n and count lines (multiline entries do exist!).
2419  Merged "." rules.
2420  Fixed error messages (multiple ...).
2421 
2422  Revision 1.14 2004/10/05 21:10:48 jschrod
2423  Handles quote character correctly (bug ticket 1006128).
2424  Test case: german-sty.
2425 
2426  Revision 1.13 2002/01/29 13:32:58 thenlich
2427  Fixed bug in crossref-to-subitem bugfix. The original one proposed by Roger Kehr
2428  was right, only I copied it wrongly (shame on me). Thanks to Torsten Bronger
2429  for pointing it out to me.
2430 
2431  Revision 1.12 1999/10/13 08:06:44 kehr
2432  Changed revision number message back to RCS-tag. No functional changes.
2433 
2434  Revision 1.11 1999/10/13 08:05:10 kehr
2435  Merged bugfix from Thomas Henlich with my own modifications.
2436 
2437  1.8 Fixed minor quoting bugs (for increased makeindex compatibility).
2438  1999-07-28 Thomas Henlich <henlich@mmers1.mw.tu-dresden.de>
2439  Fixed crossref to subitem.
2440  1999-09-23 Thomas Henlich <henlich@mmers1.mw.tu-dresden.de>
2441 
2442  1.7 Fixed a bug concerning writing to and closing non-existing file (stat)
2443  Fixed a bug concerning quoting the " character.
2444  Enhancement for processing glossary files.
2445  1999-06-14 Thomas Henlich <henlich@mmers1.mw.tu-dresden.de>
2446 
2447  Revision 1.10 1999/09/23 06:53:32 kehr
2448  Fixed wrong raw index generation for cross-ref keywords.
2449 
2450  Revision 1.9 1999/04/27 09:01:17 kehr
2451  Defined a clean exit code as suggested by Klaus Guntermann
2452  <guntermann@iti.informatik.tu-darmstadt.de>.
2453 
2454  Revision 1.8 1999/04/27 08:57:48 kehr
2455  Added quoting patch sent by Thomas Henlich <thenlich@Rcs1.urz.tu-dresden.de>
2456 
2457  Revision 1.7 1999/04/27 08:56:59 kehr
2458  Another checkin.
2459 
2460  Revision 1.6 1997/02/13 14:42:50 kehr
2461  Minor changes.
2462 
2463  Revision 1.5 1997/01/21 16:44:36 kehr
2464  Bugfix: State <print> was not changed back to <key> if {LEVEL} was found.
2465 
2466  Revision 1.4 1997/01/17 16:30:37 kehr
2467  Rewrote makeindex4 and heavily modified tex2xindy.
2468 
2469  Revision 1.3 1996/07/19 17:15:18 kehr
2470  Made this program comaptible with lex by correctly enclosing all
2471  actions--stupid bug, 'cause lex didn't complain and flex did some
2472  wonderful matching of all the actions such that no error was
2473  discovered.
2474 
2475  Revision 1.2 1996/07/11 14:16:55 kehr
2476  Complete Major checkin before changing the letter-groups.
2477 
2478  Revision 1.1 1996/06/24 08:53:57 kehr
2479  Initial checkin of the Makefile, README and tex2xindy.
2480 */
2481 
long __cdecl strtol(char const *_String, char **_EndPtr, int _Radix)
unsigned long __cdecl strtoul(char const *_String, char **_EndPtr, int _Radix)
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
void __cdecl perror(char const *_ErrMsg)
int source[257]
Definition: afm2tfm.c:928
#define line_number
#define width(a)
Definition: aptex-macros.h:198
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
#define free(a)
Definition: decNumber.cpp:310
short int flex_int16_t
Definition: detex.c:139
int flex_int32_t
Definition: detex.c:140
int yy_state_type
Definition: detex.c:417
flex_uint8_t YY_CHAR
Definition: detex.c:413
size_t yy_size_t
Definition: detex.c:242
#define fopen
Definition: xxstdio.h:21
int printf()
struct internal_state current_state
integer debug_flag
Definition: dvips.c:241
static void
Definition: fpif.c:118
#define s
Definition: afcover.h:80
#define c(n)
Definition: gpos-common.c:150
int base
Definition: gsftopk.c:1502
JCOPY_OPTION option
Definition: transupp.h:131
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p scientific i
Definition: afcover.h:80
void exit()
#define EOF
Definition: afmparse.c:59
int getopt(int nargc, char *const nargv[], const char *ostr)
Definition: getopt.c:53
int optopt
Definition: getopt.c:40
int optind
Definition: getopt.c:39
char * optarg
Definition: getopt.c:42
signed short int16_t
Definition: stdint.h:76
unsigned short uint16_t
Definition: stdint.h:79
unsigned int uint32_t
Definition: stdint.h:80
signed int int32_t
Definition: stdint.h:77
unsigned char uint8_t
Definition: stdint.h:78
signed char int8_t
Definition: stdint.h:75
int errno
#define buf
#define fclose
Definition: debug.h:100
#define fileno
Definition: win32lib.h:72
#define fputs
Definition: mendex.h:67
#define fprintf
Definition: mendex.h:64
Code related to b fwrite(a, sizeof(char), b, stdout) @d C_printf(c
#define malloc
Definition: alloca.c:91
#define dest
int setmode()
#define _O_BINARY
Definition: lfs.c:127
#define realloc
Definition: glob.c:206
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro pixld1_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl mov asr adds SRC_WIDTH_FIXED bpl add asl else error unsupported endif endm macro pixld2_s mem_operand if mov asr add asl add asl mov asr sub UNIT_X add asl mov asr add asl add asl mov asr add UNIT_X add asl else pixld1_s mem_operand pixld1_s mem_operand endif endm macro pixld0_s mem_operand if asr adds SRC_WIDTH_FIXED bpl add asl elseif asr adds SRC_WIDTH_FIXED bpl add asl endif endm macro pixld_s_internal mem_operand if mem_operand pixld2_s mem_operand pixdeinterleave basereg elseif mem_operand elseif mem_operand elseif mem_operand elseif mem_operand pixld0_s mem_operand else pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else pixld0_s mem_operand pixld0_s mem_operand endif elseif mem_operand else error unsupported mem_operand if bpp mem_operand endif endm macro vuzp8 reg2 vuzp d d &reg2 endm macro vzip8 reg2 vzip d d &reg2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld if[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro fetch_mask_pixblock pixld mask_basereg pixblock_size MASK endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1(dst_w_bpp<=(lowbit *8)) &&((lowbit *8)<(pixblock_size *dst_w_bpp)) .if lowbit< 16 tst DST_R
set set set set set set set set set set set set set set set set set set set set *set set set macro pixldst op &r &cond WK op &r &cond WK op &r &cond WK else op &m &cond &ia op &r &cond WK else op &m &cond &ia elseif elseif else error unsupported base if elseif elseif else error unsupported unaligned pixldst unaligned endm macro pixst base base else pixldst base endif endm macro PF ptr
static void yy_flex_strncpy(char *, char *, int)
Definition: pl-lexer.c:3346
static int size
Definition: ppmlabel.c:24
static int offset
Definition: ppmtogif.c:642
bstring c int memset(void *s, int c, int length)
static long bytes
Definition: psutil.c:35
#define str(s)
Definition: sh6.c:399
Definition: filedef.h:30
Definition: texview.c:48
Definition: getopt.h:95
Definition: sh.h:1345
char * yy_ch_buf
Definition: detex.c:277
int yy_bs_column
Definition: detex.c:310
FILE * yy_input_file
Definition: detex.c:275
int yy_buf_size
Definition: detex.c:283
int yy_fill_buffer
Definition: detex.c:315
int yy_buffer_status
Definition: detex.c:317
int yy_is_our_buffer
Definition: detex.c:294
int yy_bs_lineno
Definition: detex.c:309
char * yy_buf_pos
Definition: detex.c:278
int yy_at_bol
Definition: detex.c:307
int yy_is_interactive
Definition: detex.c:301
int yy_n_chars
Definition: detex.c:288
flex_int32_t yy_verify
Definition: detex.c:448
flex_int32_t yy_nxt
Definition: detex.c:449
pointer location
Definition: t1imager.h:35
#define FILE
Definition: t1stdio.h:34
ch
Definition: t4ht.c:1443
s1
Definition: t4ht.c:1059
char * s2
Definition: t4ht.c:1062
*job_name strlen((char *) job_name) - 4)
char * file
Definition: t4ht.c:931
int range
Definition: tex2xindy.c:679
#define YY_NEW_FILE
Definition: tex2xindy.c:152
int main(int argc, char *argv[])
Definition: tex2xindy.c:2327
unsigned char flex_uint8_t
Definition: tex2xindy.c:68
static char yy_hold_char
Definition: tex2xindy.c:287
static int input(void)
Definition: tex2xindy.c:1691
static void omega_output_utf8(int width)
Definition: tex2xindy.c:706
static int omega_mode
Definition: tex2xindy.c:667
int yyleng
Definition: tex2xindy.c:289
void yyset_lineno(int line_number)
Definition: tex2xindy.c:2185
static yy_state_type yy_last_accepting_state
Definition: tex2xindy.c:552
unsigned char YY_CHAR
Definition: tex2xindy.c:349
static flex_int16_t yy_accept[116]
Definition: tex2xindy.c:386
static void yyunput(int c, char *buf_ptr)
#define YY_EXTRA_TYPE
Definition: tex2xindy.c:771
FILE * yyout
Definition: tex2xindy.c:172
FILE * attrfd
Definition: tex2xindy.c:660
static int yy_start
Definition: tex2xindy.c:294
short int flex_int16_t
Definition: tex2xindy.c:66
static void yyensure_buffer_stack(void)
Definition: tex2xindy.c:1981
void yy_flush_buffer(YY_BUFFER_STATE b)
Definition: tex2xindy.c:1903
#define multiple_err
Definition: tex2xindy.c:669
static flex_int32_t yy_ec[256]
Definition: tex2xindy.c:403
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
Definition: tex2xindy.c:1783
static YY_BUFFER_STATE * yy_buffer_stack
Definition: tex2xindy.c:269
unsigned int flex_uint32_t
Definition: tex2xindy.c:70
static void yy_fatal_error(char msg[])
int yyget_lineno(void)
Definition: tex2xindy.c:2142
static int yy_get_next_buffer(void)
Definition: tex2xindy.c:1461
#define YY_BREAK
Definition: tex2xindy.c:926
static int errors
Definition: tex2xindy.c:666
static size_t yy_buffer_stack_max
Definition: tex2xindy.c:268
#define unput(c)
Definition: tex2xindy.c:194
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
Definition: tex2xindy.c:1627
FILE * yyin
Definition: tex2xindy.c:351
void * yyalloc(yy_size_t)
Definition: tex2xindy.c:2291
void yypush_buffer_state(YY_BUFFER_STATE new_buffer)
Definition: tex2xindy.c:1932
int yyget_debug(void)
Definition: tex2xindy.c:2207
struct yy_buffer_state * YY_BUFFER_STATE
Definition: tex2xindy.c:167
static int lineno
Definition: tex2xindy.c:662
#define YY_BUFFER_NEW
Definition: tex2xindy.c:249
#define YY_RESTORE_YY_MORE_OFFSET
Definition: tex2xindy.c:564
static int yy_did_buffer_switch_on_eof
Definition: tex2xindy.c:299
static int yy_init_globals(void)
Definition: tex2xindy.c:2217
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
Definition: tex2xindy.c:1828
int yylineno
Definition: tex2xindy.c:357
#define YY_BUFFER_NORMAL
Definition: tex2xindy.c:250
void yypop_buffer_state(void)
Definition: tex2xindy.c:1962
static int xref_mode
Definition: tex2xindy.c:664
#define YY_MORE_ADJ
Definition: tex2xindy.c:563
#define YY_RULE_SETUP
Definition: tex2xindy.c:929
void yyfree(void *)
Definition: tex2xindy.c:2308
#define OPEN_RANGE
Definition: tex2xindy.c:676
int yy_flex_debug
Definition: tex2xindy.c:556
#define yytext_ptr
Definition: tex2xindy.c:360
signed char flex_int8_t
Definition: tex2xindy.c:65
#define EOB_ACT_END_OF_FILE
Definition: tex2xindy.c:175
#define YY_CURRENT_BUFFER_LVALUE
Definition: tex2xindy.c:284
int yyget_leng(void)
Definition: tex2xindy.c:2167
static int glos_mode
Definition: tex2xindy.c:665
int flex_int32_t
Definition: tex2xindy.c:67
void * yyrealloc(void *, yy_size_t)
Definition: tex2xindy.c:2296
void yyset_out(FILE *out_str)
Definition: tex2xindy.c:2202
void yyset_extra(void *user_defined)
#define YY_START
Definition: tex2xindy.c:145
static flex_int16_t yy_nxt[292]
Definition: tex2xindy.c:478
static void qs(char *str)
Definition: tex2xindy.c:695
#define is
Definition: tex2xindy.c:759
int yylex(void)
Definition: tex2xindy.c:934
int yywrap(void)
Definition: tex2xindy.c:2373
int yy_state_type
Definition: tex2xindy.c:353
void * yyget_extra(void)
#define YY_CURRENT_BUFFER
Definition: tex2xindy.c:277
#define CLOSE_RANGE
Definition: tex2xindy.c:677
#define encap
Definition: tex2xindy.c:757
#define yyconst
Definition: tex2xindy.c:122
#define INITIAL
Definition: tex2xindy.c:752
YY_BUFFER_STATE yy_scan_string(char *yy_str)
Definition: tex2xindy.c:2067
static flex_int16_t yy_chk[292]
Definition: tex2xindy.c:515
static int yy_n_chars
Definition: tex2xindy.c:288
#define skiplocation
Definition: tex2xindy.c:760
#define YY_READ_BUF_SIZE
Definition: tex2xindy.c:839
#define YY_INPUT(buf, result, max_size)
Definition: tex2xindy.c:854
#define ECHO
Definition: tex2xindy.c:847
static flex_int32_t yy_meta[29]
Definition: tex2xindy.c:435
#define YY_END_OF_BUFFER
Definition: tex2xindy.c:378
#define YY_STATE_EOF(state)
Definition: tex2xindy.c:149
int yylex_destroy(void)
Definition: tex2xindy.c:2246
void yyrestart(FILE *input_file)
Definition: tex2xindy.c:1766
#define BEGIN
Definition: tex2xindy.c:139
#define YY_END_OF_BUFFER_CHAR
Definition: tex2xindy.c:154
YY_BUFFER_STATE yy_scan_bytes(char *bytes, int len)
Definition: tex2xindy.c:2080
#define YY_FATAL_ERROR(msg)
Definition: tex2xindy.c:901
#define yyterminate()
Definition: tex2xindy.c:891
unsigned short int flex_uint16_t
Definition: tex2xindy.c:69
void yyset_debug(int debug_flag)
Definition: tex2xindy.c:2212
#define NO_RANGE
Definition: tex2xindy.c:675
void yyset_in(FILE *in_str)
Definition: tex2xindy.c:2197
static void yy_load_buffer_state(void)
Definition: tex2xindy.c:1814
char * yyget_text(void)
Definition: tex2xindy.c:2176
#define YY_DO_BEFORE_ACTION
Definition: tex2xindy.c:370
static flex_int16_t yy_def[123]
Definition: tex2xindy.c:460
#define EOB_ACT_LAST_MATCH
Definition: tex2xindy.c:176
size_t yy_size_t
Definition: tex2xindy.c:198
#define YY_BUFFER_EOF_PENDING
Definition: tex2xindy.c:261
static yy_state_type yy_get_previous_state(void)
Definition: tex2xindy.c:1595
#define print
Definition: tex2xindy.c:754
char * yytext
Definition: tex2xindy.c:565
static void usage(void)
Definition: tex2xindy.c:2319
#define QUOTE_ECHO
Definition: tex2xindy.c:658
static char * yy_c_buf_p
Definition: tex2xindy.c:292
#define skip2location
Definition: tex2xindy.c:755
#define EOB_ACT_CONTINUE_SCAN
Definition: tex2xindy.c:174
FILE * yyget_out(void)
Definition: tex2xindy.c:2159
#define xref
Definition: tex2xindy.c:758
static size_t yy_buffer_stack_top
Definition: tex2xindy.c:267
#define key
Definition: tex2xindy.c:753
#define YY_DECL
Definition: tex2xindy.c:914
void yy_delete_buffer(YY_BUFFER_STATE b)
Definition: tex2xindy.c:1856
static flex_int16_t yy_base[123]
Definition: tex2xindy.c:442
#define YY_BUF_SIZE
Definition: tex2xindy.c:158
#define YY_EXIT_FAILURE
Definition: tex2xindy.c:2111
static int braces
Definition: tex2xindy.c:663
static int yy_init
Definition: tex2xindy.c:293
static void qc(char ch)
Definition: tex2xindy.c:683
FILE * yyget_in(void)
Definition: tex2xindy.c:2151
#define YY_SC_TO_UI(c)
Definition: tex2xindy.c:133
static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
Definition: tex2xindy.c:1875
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
Definition: tex2xindy.c:2030
static char * yy_last_accepting_cpos
Definition: tex2xindy.c:553
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)
#define argv
Definition: xmain.c:270
#define argc
Definition: xmain.c:269
static void new_size(int size, int block)
Definition: gc.c:702