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)  

t1part.c
Go to the documentation of this file.
1 /*
2  * T1part.c version 1.59 beta Copyright (C)1994, 1996
3  * by Sergey Lesenko
4  * lesenko@mx.ihep.su
5  *
6  * It is distributed with no warranty of any kind.
7  * You may modify and use this program. It can be included
8  * in any distribution, commercial or otherwise, so long as
9  * copyright notice be preserved on all copies.
10  */
11 #include "dvips.h"
12 #include "t1part.h"
13 #ifndef SEEK_SET
14 #define SEEK_SET (0)
15 #endif
16 
17 #ifdef BORLANDC
18 void huge *UniGetMem(size)
19 ub4 size;
20 {
21  void huge *tmp;
22  if ((tmp =(void huge*) farcalloc(1L, size)) == NULL)
23  {
24  fprintf(stderr,"Error allocating far memory\n");
25  exit(1);
26  }
27  return tmp;
28 }
29 #else
30 #define UniGetMem getmem
31 #endif
32 
33 #ifdef WIN32
34 /* CHAR is typedef'd by <windows.h> -- popineau@esemetz.ese-metz.fr. */
35 #define CHAR CHARACTER
36 #endif
37 
38 typedef struct Char
39 {
40  unsigned char *name;
41  int length;
42  int num;
43  int choose;
44  struct Char *NextChar;
45 }
47 
48 typedef struct String
49 {
50  unsigned char *name;
51  int num;
52  struct String *NextStr;
53 }
55 
56 static STRING *FirstStr;
57 static STRING *RevStr;
58 
59 static CHAR *FirstChar;
60 static CHAR *FirstCharA;
62 static CHAR *FirstCharW;
63 
66 int ind_ref;
67 
68 static unsigned char CDeCrypt(unsigned char, unsigned int *);
69 static void CorrectGrid(void);
70 static void OutHEX(FILE *);
71 static int Afm(void);
72 static int LoadVector(int, CHAR *);
73 static int ChooseVect(CHAR *);
74 static void ErrorOfScan(int err);
75 static void NameOfProgram(void);
76 
77 typedef struct
78 {
79  int num[4];
80  int select;
81 }
82 def_ref;
83 
85 
86 #ifndef min
87 #define min(a, b) ((a) < (b) ? (a) : (b))
88 #endif
89 
90 #ifndef max
91 #define max(a, b) ((a) > (b) ? (a) : (b))
92 #endif
93 
94 
95 #define PFA 1
96 #define PFB 2
97 
98 
99 #define NOTHING 0
100 #define FLG_ASCII 1
101 #define FLG_BINARY 2
102 #define FLG_EOF 3
103 #define FLG_ZERO_LINE 4
104 
105 #define FLG_OUT_STR (-1)
106 #define CHAR_NOT_DEF (-1)
107 #define SEAC_NOT_END (-2)
108 
109 #define FLG_LOAD_BASE (1)
110 
111 #define STANDARD_ENC (1)
112 #define SPECIAL_ENC (2)
113 #define AFM_ENC (4)
114 
115 
116 #define FLG_REENCODE (4)
117 
118 
119 #define BYTES_PER_LINE 32
120 
121 #ifndef KPATHSEA_TYPES_H
122 #define TRUE 1
123 #define FALSE 0
124 #endif /* not KPATHSEA_TYPES_H */
125 
126 #define LENIV 0
127 #define SUBRS 1
128 #define CHARSTRINGS 2
129 
130 #define ERR_FIRST_NUM (-1)
131 #define ERR_SECOND_NUM (-2)
132 #define ERR_FIRST_TOK (-3)
133 #define ERR_SECOND_TOK (-4)
134 #define ERR_STACK (-5)
135 #define ERR_NUM_CHAR (-6)
136 #define ERR_NAME_CHAR (-7)
137 
138 #define SUBR_STR 1
139 #define CHAR_STR -1
140 #define CHAR_SEAC -2
141 #define SKIP_ON_DUP 3
142 
143 #define C1 52845
144 #define C2 22719
145 #define EDR 55665
146 #define EER 55665
147 #define CDR 4330
148 
149 #define MAX_ESCAPE 33
150 
151 #define HSTEM 1
152 #define VSTEM 3
153 #define VMOVETO 4
154 #define CHARS_RLINETO 5
155 #define HLINETO 6
156 #define VLINETO 7
157 #define RRCURVETO 8
158 #define CHARS_CLOSEPATH 9
159 #define CALLSUBR 10
160 #define RETURN 11
161 #define ESCAPE 12
162 #define HSBW 13
163 #define ENDCHAR 14
164 #define CHARS_RMOVETO 21
165 #define HMOVETO 22
166 #define VHCURVETO 30
167 #define HVCURVETO 31
168 
169 #define DOTSECTION 0
170 #define VSTEM3 1
171 #define HSTEM3 2
172 #define SEAC 6
173 #define SBW 7
174 #define CHARS_DIV 12
175 #define CALLOTHERSUBR 16
176 #define POP 17
177 #define SETCURRENTPOINT 33
178 
182 unsigned char *line;
183 unsigned char *tmpline;
184 unsigned char token[64];
185 unsigned char notdef[]="/.notdef";
186 unsigned char grid[256];
187 unsigned char tmpgrid[256];
188 unsigned char psfontfile[500]; /* really should dynamically allocate */
189 unsigned char psvectfile[500];
190 unsigned char basevect[]="ad.enc";
191 unsigned char version[] = "v1.59 beta (c)1994, 1996";
192 unsigned char tmp_token[64];
193 /* static int j = 0; */
194 static int stack[128];
195 
197 
198 int loadbase = 0;
199 static int encode;
200 static int reencode;
201 
203 int lastpart=0;
204 int keep_flg=0;
205 int keep_num=0;
206 
207 int number;
208 int offset;
209 long value;
210 int lenIV = 4;
211 
212 static int grow=0;
213 static int level;
214 static int flg_seac=0;
215 
216 typedef struct
217 {
218  const char *command;
219  int code;
220 }
222 
224 {
225  {"callsubr", CALLSUBR}, {"callothersubr", CALLOTHERSUBR},
226  {"pop", POP }, {"seac", SEAC}, {""}
227 };
228 
229 typedef struct
230 {
231  const char *extension;
232  int num;
233 }
234 typefonts;
235 
236 
238 {
239  {".pfa", PFA}, {".pfb", PFB},
240  {".PFA", PFA}, {".PFB", PFB}, {""}
241 };
242 
243 static char Dup[]="dup";
244 
245 typedef struct
246 {
248  int length;
249  int type;
250  int offset;
251  int oldnum;
252  int newnum;
253 }
254 def_key;
255 
257 
259 
261 
262 
263 typedef struct
264 {
265  const char *name;
266  int num;
267 }
268 type_key;
269 
270 
272 {
273  {"/LenIV", LENIV}, {"/Subrs", SUBRS}, {"/CharStrings", CHARSTRINGS}, {""}
274 };
275 
276 
277 struct def_label
278 {
280  unsigned char skip;
281  int length;
282  short select;
283  int num;
284 };
285 
286 struct def_label label[NUM_LABEL];
287 
288 
289 
290 static int
291 DefTypeFont(unsigned char *name)
292 {
293  int i;
294 
295  for(i=0;*TypeFonts[i].extension;i++)
296  {
297  if(strstr((char *)name,TypeFonts[i].extension)!=0)
298  return(TypeFonts[i].num);
299  }
300  return -1;
301 }
302 
303 static int
304 GetZeroLine(unsigned char *str)
305 {
306  int token_type=0;
307  if(*str!='0')
308  {
309  return (token_type=0);
310  }
311  while(*str=='0')
312  {
313  str++;
314  }
315 
316  if(*str=='\n' || *str=='\r')
317  token_type= -1;
318  else
319  token_type=0;
320  return(token_type);
321 }
322 
323 /* We get token type and its content for ASCII code */
324 
325 static int
326 GetWord(unsigned char *mem)
327 {
328  int token_type=0;
329  register unsigned char *tmp;
330  tmp=mem;
331  *tmp= *line;
332  while((*line!='\0')&&(*line!='%'))
333  {
334  if(*line=='-')
335  {
336  *tmp++= *line++;
337  }
338 
339  if(isdigit(*line))
340  {
341  while(isdigit(*line))
342  {
343  *tmp++= *line++;
344  }
345  *tmp = '\0';
346  return 5;
347  }
348 
349  if(*line=='/')
350  {
351  *tmp++= *line++; token_type=1;
352  }
353  if(*line=='.')
354  {
355  *tmp++= *line++;
356 
357  if(token_type==1)
358  {
359  if(*line==' ')
360  {
361  *tmp = '\0';
362  return(token_type=token_type+2);
363  }
364  }
365  }
366  if(isalpha(*line))
367  {
368  *tmp++ = *line++;
369  while(!isspace(*line) && *line != '/')
370  *tmp++= *line++;
371  *tmp = '\0';
372  return(token_type=token_type+2);
373  }
374 
375  token_type=0;
376  tmp=mem;
377  line++;
378  }
379  return(token_type= -1);
380 }
381 
382 /* We get token type and its content for BINARY code */
383 
384 static int
385 GetToken(void)
386 {
387  register unsigned char *tmp;
388  int token_type=0;
389 
390  tmp=token;
391 
392  *tmp= *temp;
393  while(temp<end_of_scan)
394  {
395  if(*temp=='/')
396  {
397  *tmp++= *temp++; token_type=1;
398  }
399 
400  if(*temp=='.')
401  {
402  *tmp++= *temp++;
403  token_type++;
404  }
405 
406  if(isalpha(*temp))
407  {
408  while(isalnum(*temp) || *temp == '.')
409  *tmp++= *temp++;
410 
411  *tmp = '\0';
412 
413  return(token_type=token_type+2);
414  }
415  token_type=0;
416  tmp=token;
417  temp++;
418  }
419  return(token_type= -1);
420 }
421 
422 static int
423 GetNum(void)
424 {
425  unsigned char *tmp;
426  tmp=token;
427  *tmp= *temp;
428 
429  while(temp<end_of_scan)
430  {
431  if(isdigit(*temp))
432  {
433  while(isdigit(*temp))
434  *tmp++= *temp++;
435  *tmp = '\0';
436  return(atoi((char *)token));
437  }
438  temp++;
439  }
440 
441  return -1;
442 }
443 
444 /* We pass token without definition its type, it's for speed */
445 
446 static int
448 {
449  while(temp < end_of_scan)
450  {
451  if(!isspace(*temp))
452  {
453  while(!isspace(*temp))
454  temp++;
455  return 1;
456  }
457  temp++;
458  }
459  return -1;
460 }
461 
462 /* */
463 /* Simple pass off without charstring decrypting */
464 /* */
465 
466 static int
467 PassString(unsigned char flg)
468 {
469  int len_str;
470 
471  len_str=GetNum();
472  if(len_str<0)
473  {
474  return ERR_SECOND_NUM;
475  }
476 
477  if(PassToken()<0)
478  return ERR_FIRST_TOK;
479 
480 
481  if(flg==1)
482  {
483  label[number].length = len_str;
485  }
486 
487  temp= temp+1+len_str;
488 
489  if(PassToken()<0)
490  return ERR_SECOND_TOK;
491  return 1;
492 }
493 
494 void *
495 getmem(unsigned size)
496 {
497  void *tmp;
498  if ((tmp = calloc(1, size)) == NULL)
499  {
500  fprintf(stderr,"Error allocating memory\n");
501  exit(1);
502  }
503  return tmp;
504 }
505 
506 static CHAR *
507 AddChar(CHAR *TmpChar, unsigned char *CharName, int num)
508 {
509  int length;
510 
511  CHAR *ThisChar = (CHAR*) getmem(sizeof(CHAR));
512  length = strlen((char *) CharName);
513  ThisChar->name = (unsigned char *) getmem(length+1);
514  strcpy((char *) ThisChar->name, (char *) CharName);
515  ThisChar->length= length;
516  ThisChar->num=num;
517  ThisChar->NextChar = TmpChar;
518  TmpChar = ThisChar;
519  return TmpChar;
520 }
521 
522 
523 static void
524 AddStr(unsigned char *name, int num)
525 {
526  int length;
527 
528  STRING *ThisStr = (STRING *) getmem(sizeof(STRING));
529  length = strlen((char *) name);
530  ThisStr->name = (unsigned char *) getmem(length+1);
531  strcpy((char *) ThisStr->name, (char *) name);
532  ThisStr->num=num;
533 
534  ThisStr->NextStr = FirstStr;
535  FirstStr = ThisStr;
536 }
537 
538 
539 /* We prepare own encoding vector for output */
540 
541 static void
542 RevChar(CHAR *TmpChar)
543 {
544  int i;
545  CHAR *ThisChar = TmpChar;
546 
547  while (ThisChar != NULL)
548  {
549  for(i=keyword[char_str].offset-1; i < number; i++)
550  {
551  if(ThisChar->num == label[i].num)
552  {
553  if (label[i].select==FLG_BINARY)
554  {
555  CHAR *Rev_Char = (CHAR *) getmem(sizeof(CHAR));
556  Rev_Char->name = ThisChar->name;
557  Rev_Char->num = ThisChar->num;
558 
559  Rev_Char->NextChar = FirstCharW;
560  FirstCharW = Rev_Char;
561  break;
562  }
563  }
564  }
565  ThisChar = ThisChar->NextChar;
566  }
567 }
568 
569 /* And here we produce own resulting encoding vector for partial font */
570 
571 static void
572 OutChar(CHAR *TmpChar, FILE *fout)
573 {
574 
575  CHAR *ThisChar = TmpChar;
576 
577  while (ThisChar != NULL)
578  {
579  CHAR *tm = ThisChar;
580  if (ThisChar->num >= 0)
581 #ifdef SHIFTLOWCHARS
582  fprintf(fout, "dup %d %s put\n",T1Char(ThisChar->num),ThisChar->name);
583 #else
584  fprintf(fout, "dup %d %s put\n",ThisChar->num,ThisChar->name);
585 #endif
586  ThisChar = ThisChar->NextChar;
587  free(tm);
588  }
589 
590  FirstCharW = NULL;
591 }
592 
593 
594 
595 
596 /* We prepare strings list for output */
597 
598 static void
599 Reeverse(STRING *TmpStr)
600 {
601 
602  int tmp;
603 
604  if(encode==AFM_ENC)
605  tmp = -2;
606  else
607  tmp=0;
608 
609 
610  while (TmpStr != NULL)
611  {
612 
613  if(TmpStr->num < tmp)
614  {
615  STRING *ThisStr = (STRING *) getmem(sizeof(STRING));
616  ThisStr->name = TmpStr->name;
617 
618  ThisStr->NextStr = RevStr;
619  RevStr = ThisStr;
620  }
621  TmpStr = TmpStr->NextStr;
622  }
623 }
624 
625 
626 /* And here we post strings to out */
627 
628 static void
629 OutStr(STRING *TmpStr, FILE *fout)
630 {
631  STRING *ThisStr = TmpStr;
632  if(encode==AFM_ENC)
633  fprintf(fout, "readonly def\n");
634  while (ThisStr != NULL)
635  {
636  STRING *tm = ThisStr;
637  fprintf(fout, "%s",ThisStr->name);
638  ThisStr = ThisStr->NextStr;
639  free(tm);
640  }
641  RevStr = NULL;
642 }
643 
644 
645 
646 
647 
648 
649 static void
650 PrintChar(CHAR *TmpChar)
651 {
652  CHAR *ThisChar = TmpChar;
653  while (ThisChar != NULL)
654  {
655  if(ThisChar->choose==1)
656  {
657  fprintf_str(stderr, " Debug: Char %d '%s'\n",
658  ThisChar->num,ThisChar->name);
659  }
660  ThisChar = ThisChar->NextChar;
661  }
662 
663 }
664 
665 
666 static int
667 ClearB(void)
668 {
669  CHAR *ThisChar = FirstCharB;
670  while (ThisChar != NULL)
671  {
672  ThisChar->choose=0;
673  ThisChar = ThisChar->NextChar;
674  }
675  return 1;
676 }
677 
678 /* We mark chars in encoding vector thanks same names from
679 reencoding vector */
680 
681 static int
682 ChooseChar(unsigned char *name, CHAR *TmpChar)
683 {
684  int length;
685  CHAR *ThisChar = TmpChar;
686  length=strlen((char *) name);
687  while (ThisChar != NULL)
688  {
689  CHAR *NextChar = ThisChar->NextChar;
690  if(ThisChar->length==length)
691  {
692  if (strcmp((char *) name, (char *) ThisChar->name) == 0)
693  {
694  ThisChar->choose=1;
695  return 1;
696  }
697  }
698 /*
699  * If we couldn't find it, NextChar is NULL here. We fake up an entry
700  * (assuming it really does exist in the font). Fix is from Melissa
701  * O'Neill; bugs in application of fix due to me.
702  */
703  if (NextChar == 0) {
704  NextChar = (CHAR *) getmem(sizeof(CHAR));
705  NextChar->name = (unsigned char *) getmem(length + 1);
706  strcpy((char *) NextChar->name, (char *) name);
707  NextChar->length = length;
708  NextChar->num = -1;
709  NextChar->NextChar = 0;
710  NextChar->choose = 1;
711  ThisChar->NextChar = NextChar;
712  }
713  ThisChar = NextChar;
714  }
715 /*
716  * Can't ever get here.
717  */
718  return -1;
719 }
720 
721 /* We find index in label array for char, wich is required
722 for compose char, if it uses SEAC command */
723 
724 static int
726 {
727  int i;
728 
729  for(i=keyword[char_str].offset-1; i < number; i++)
730  {
731  if(label[i].num==num)
732  {
733  return i;
734  }
735  }
736  return -1;
737 }
738 
739 
740 static void ClearCW(CHAR *);
741 
742 static int
743 FindCharW(unsigned char *name, int length)
744 {
745  CHAR *ThisChar = FirstCharW;
746 
747  int find = 0;
748  int keep_char = 0;
749  int tmp = 0;
750  int tmp_num = 0;
751 
752  int ddd = 0;
753 
754 #ifdef DEBUG
755  if(dd(D_VIEW_VECTOR))
756  {
757  ddd = 1;
758  }
759 #endif
760 
761  while (ThisChar != NULL)
762  {
763  /* since ClearCW may free ThisChar, follow the pointer now. */
764  CHAR *NextChar = ThisChar->NextChar;
765 
766  if(ThisChar->length==length)
767  {
768  if (strcmp((char *) name, (char *) ThisChar->name) == 0)
769  {
770  if(ThisChar->choose==1)
771  {
772  if(find !=2)
773  {
774  find = 2;
775  tmp=FLG_BINARY;
776  label[number].num=ThisChar->num;
777  }
778  }
779  else
780  {
781  keep_char = 0;
782  if(find != 2)
783  {
784  find = 1;
785  tmp_num = ThisChar->num;
786  }
787  }
788 
789 
790  if(keep_char == 0)
791  {
792  ClearCW(ThisChar);
793  }
794 
795  if((find == 2)&&(ddd == 1))
796  keep_char = 1;
797  }
798  }
799  ThisChar = NextChar;
800  }
801 
802  if(find == 1)
803  {
804  tmp=NOTHING;
805  label[number].num=tmp_num;
806  }
807  return tmp;
808 }
809 
810 
811 static void
812 ClearCW(CHAR *ThisChar)
813 {
814 
815  if (ThisChar == FirstCharW)
816  FirstCharW = ThisChar->NextChar;
817  else
818  {
819  CHAR *tm = FirstCharW;
820  while (tm != NULL)
821  {
822  if (ThisChar == tm->NextChar)
823  {
824  tm->NextChar = ThisChar->NextChar;
825  break;
826  }
827  tm = tm->NextChar;
828  }
829  }
830  free(ThisChar);
831 }
832 
833 
834 /* We build temporary 'work' encoding vector only for searching
835 needed chars */
836 
837 static int
838 WorkVect(CHAR *TmpChar)
839 {
840  while (TmpChar != NULL) {
841  {
842  CHAR *ThisChar = (CHAR *) getmem(sizeof(CHAR));
843  ThisChar->name = TmpChar->name;
844  ThisChar->length = TmpChar->length;
845  ThisChar->num = TmpChar->num;
846  ThisChar->choose = TmpChar->choose;
847 
848  ThisChar->NextChar = FirstCharW;
849  FirstCharW = ThisChar;
850  }
851  TmpChar = TmpChar->NextChar;
852  }
853  return 0;
854 }
855 
856 
857 static void
859 {
860  CHAR *ThisChar = FirstCharW;
861  while (ThisChar != NULL)
862  {
863  CHAR *tm = ThisChar;
864  ThisChar = ThisChar->NextChar;
865  free(tm);
866  }
867  FirstCharW = NULL;
868  CharCount = 0;
869 }
870 
871 CHAR *
873 {
874  CHAR *ThisChar = TmpChar;
875  while (ThisChar != NULL)
876  {
877  CHAR *tm = ThisChar;
878  free(ThisChar->name);
879  ThisChar = ThisChar->NextChar;
880  free(tm);
881  }
882  TmpChar = NULL;
883  CharCount = 0;
884  return TmpChar;
885 }
886 
887 
888 
889 static void
891 {
892  STRING *ThisStr = FirstStr;
893  while (ThisStr != NULL)
894  {
895  STRING *tm = ThisStr;
896  free(ThisStr->name);
897  ThisStr = ThisStr->NextStr;
898  free(tm);
899  }
900  FirstStr = NULL;
901 }
902 
903 
904 
905 /* */
906 /* We mark subroutines without charstring decrypting */
907 /* */
908 
909 static void
911 {
912  int err_num;
913  int word_type = 0;
914  int len_dup;
915  int num_err=0;
916  int test=0;
917 
918  len_dup = strlen(Dup);
919 
920  for(; number < keyword[i].oldnum + keyword[i].offset;)
921  {
922  if((word_type=GetToken())>0)
923  {
924  if(word_type==2)
925  {
926  if(!strcmp((char *) token,Dup))
927  {
928  if(test==0)
929  test=1;
930  label[number].begin = temp-len_dup;
931 
932  err_num=GetNum();
933  if(err_num<0)
934  ;
935  else
936  {
937  if(err_num<4)
938  {
940  keyword[i].newnum++;
941 
942  }
943  }
944 
945  label[number].num=err_num;
946 
947  num_err=PassString(1);
948 
949  if(num_err<0)
950  {
951  ErrorOfScan(num_err);
952  fprintf(stderr,"in %d Subr string", number - 1);
953  exit(1);
954  }
955  if(test>1)
956  PassToken();
957 
958  number++;
959  }
960  else
961  {
962  if(test>=1)
963  test++;
964  }
965  }
966  }
967  else
968  {
969  ErrorOfScan(0);
970  fprintf(stderr,
971  "Token 'def' not found in %d Subr string ", number - 1);
972  exit(1);
973  }
974  }
975 }
976 
977 static void
978 ViewReturnCall(int num_err, int top, int *pstack,
979  int j, int depth)
980 {
981  int k,m;
982 
983 #ifdef DEBUG
984  if((dd(D_CALL_SUBR))&&(num_err>0))
985  {
986  if(grow==1)
987  {
988  grow=0;
989  fprintf(stderr, "\n Top: ");
990  }
991  else
992  fprintf(stderr, " Back: ");
993  }
994 
995 #endif
996 
997  if(num_err<0)
998  {
999  if(grow==1)
1000  {
1001  grow=0;
1002  fprintf(stderr, "\n ERROR: ");
1003  ErrorOfScan(num_err);
1004  }
1005  else
1006  fprintf(stderr, " Back: ");
1007  }
1008 
1009  fprintf(stderr, " %d Subr \n", top);
1010 
1011  fprintf(stderr," %dth level> STACK: ", level);
1012 
1013  for(m=0; m < j; m++, pstack++)
1014  {
1015  if(depth>(j-(m+1)))
1016  {
1017  for(k=0;
1019  k++)
1020  {
1021  if(TableCommand[k].code==*pstack)
1022  {
1023  fprintf_str(stderr," %s",
1025  k=0;
1026  break;
1027  }
1028  }
1029  if(k!=0)
1030  fprintf(stderr," (%d)", *pstack);
1031  }
1032  else
1033  fprintf(stderr, " %d", *pstack);
1034  }
1035  fprintf(stderr, " \n");
1036 }
1037 
1038 /* */
1039 /* We decrypt charstring with recursive descent */
1040 /* */
1041 
1042 static int
1043 DeCodeStr(int num, int numseac)
1044 {
1045  unsigned int loccr;
1046  unsigned char byte;
1047  static int j;
1048  int i;
1049  unsigned char jj,k;
1050  int tmpnum;
1051  int depth = 0;
1052  int num_err = 0;
1053  int len_str;
1055  typetemp BORLAND_HUGE *end_str;
1056  int pstack[64];
1057  int last_subr;
1058 
1059  if(num > CHAR_STR)
1060  {
1061  last_subr=keyword[subrs].offset+keyword[subrs].oldnum;
1062 
1063  for(tmpnum=keyword[subrs].offset; tmpnum<last_subr; tmpnum++)
1064  {
1065  if(label[tmpnum].num==num)
1066  break;
1067  }
1068 
1069  if(tmpnum==last_subr)
1070  {
1071  fprintf(stderr, " Error: %d Subr not found \n", num);
1072  exit(1);
1073  }
1074  if(label[tmpnum].select==FLG_BINARY)
1075  {
1076  if(j==0)
1077  return 1;
1078  }
1079  else
1080  {
1081  label[tmpnum].select=FLG_BINARY;
1082  if(num+1 > keyword[subrs].newnum ) /* max num of subr */
1083  keyword[subrs].newnum = num+1;
1084  }
1085  loc = label[tmpnum].begin + label[tmpnum].skip;
1086  len_str=label[tmpnum].length;
1087  }
1088  else
1089  {
1090  j=0;
1091 
1092  if(num == CHAR_SEAC)
1093  {
1094  if(label[numseac].select!=FLG_BINARY)
1095  {
1096  label[numseac].select=FLG_BINARY;
1097  keyword[char_str].newnum++;
1098  temp = label[numseac].begin;
1099  }
1100  else return 1;
1101  }
1102  len_str=GetNum();
1103 
1104  if(len_str < 0)
1105  {
1106  return ERR_SECOND_NUM;
1107  }
1108  num_err = PassToken();
1109  if(num_err < 0)
1110  {
1111  return ERR_FIRST_TOK;
1112  }
1113  loc=temp;
1114  }
1115  loc++;
1116 
1117  end_str=loc+len_str;
1118 
1119  loccr = CDR;
1120 
1121  for (i = 0; i < lenIV; i++,loc++)
1122  {
1123  byte = CDeCrypt(*loc, &loccr);
1124  }
1125  for (; loc < end_str;)
1126  {
1127  byte = CDeCrypt(*loc++, &loccr);
1128  if (byte == RETURN)
1129  {
1130  j=0;
1131  break;
1132  }
1133  else if (byte == ESCAPE)
1134  {
1135  byte = CDeCrypt(*loc++, &loccr);
1136  if (byte > MAX_ESCAPE)
1137  fprintf_str(stderr,
1138  "Error: not_defined_e%d in %s", byte, psfontfile);
1139  else
1140  {
1141  switch(byte)
1142  {
1143  case DOTSECTION : j=0; break;
1144  case VSTEM3 : j=0; break;
1145  case HSTEM3 : j=0; break;
1146  case SEAC :
1147  stack[j++]=byte;
1148  grow=1;
1149  level++;
1150  jj=j;
1151  for(k=0;k<jj;k++)
1152  pstack[k]=stack[k];
1153  num_err=FindSeac(pstack[jj-3]);
1154  if(num_err<0)
1155  {
1156  flg_seac=1;
1157  CharCount++;
1158  keyword[char_str].newnum--;
1159  if(flg_seac > -3)
1161  grow=0;
1162  level=0;
1163  j=0;
1164  break;
1165  }
1166 
1167  num_err=DeCodeStr(CHAR_SEAC, num_err);
1168  level--;
1169 
1170 #ifdef DEBUG
1171  if((num_err<0)||(dd(D_CALL_SUBR)))
1172 #else
1173  if(num_err<0)
1174 #endif
1176  (num_err, pstack[jj-3],pstack,jj,1);
1177  grow=1;
1178  level++;
1179  num_err=FindSeac(pstack[jj-2]);
1180  if(num_err<0)
1181  {
1182  flg_seac=1;
1183  CharCount++;
1184  keyword[char_str].newnum--;
1185  keyword[char_str].newnum--;
1186  if(flg_seac > -3)
1188  grow=0;
1189  level=0;
1190  j=0;
1191  break;
1192  }
1193  num_err=DeCodeStr(CHAR_SEAC, num_err);
1194  level--;
1195 #ifdef DEBUG
1196  if((num_err<0)||(dd(D_CALL_SUBR)))
1197 #else
1198  if(num_err<0)
1199 #endif
1200 
1202  (num_err, pstack[jj-2],pstack,jj,1);
1203 
1204  if(num_err<0)
1205  return ERR_STACK;
1206  j=0; break;
1207  case SBW : j=0; break;
1208  case CHARS_DIV : j=0; break;
1209  case CALLOTHERSUBR : stack[j++]=byte;
1210  depth=depth+2;
1211  break;
1212  case POP : stack[j++]=byte;
1213  depth=depth+2;
1214  break;
1215  case SETCURRENTPOINT : j=0; break;
1216  }
1217  }
1218  continue;
1219  }
1220  else if (byte < 32)
1221  {
1222  switch(byte)
1223  {
1224  case HSTEM : j=0; break;
1225  case VSTEM : j=0; break;
1226  case VMOVETO : j=0; break;
1227  case CHARS_RLINETO : j=0; break;
1228  case HLINETO : j=0; break;
1229  case VLINETO : j=0; break;
1230  case RRCURVETO : j=0; break;
1231  case CHARS_CLOSEPATH : j=0; break;
1232  case CALLSUBR : stack[j++]=byte;
1233  depth=depth+2;
1234  level++;
1235  grow=1;
1236  jj=j;
1237  j=j-depth;
1238  for(k=0;k<jj;k++)
1239  pstack[k]=stack[k];
1240 
1241  num_err = DeCodeStr(stack[j],0);
1242 
1243  level--;
1244 #ifdef DEBUG
1245  if((num_err<0)||(dd(D_CALL_SUBR)))
1246 #else
1247  if(num_err<0)
1248 #endif
1250  (num_err, pstack[jj-depth], pstack,jj,depth/2);
1251 
1252  if(num_err<0)
1253  return ERR_STACK;
1254  else
1255  {
1256  depth=0;
1257  break;
1258  }
1259  case RETURN : j=0; break;
1260  case ESCAPE : break;
1261  case HSBW : j=0; break;
1262  case ENDCHAR : j=0; break;
1263  case CHARS_RMOVETO : j=0; break;
1264  case HMOVETO : j=0; break;
1265  case VHCURVETO : j=0; break;
1266  case HVCURVETO : j=0; break;
1267  }
1268  }
1269  if (byte >= 32)
1270  {
1271  if (byte <= 246)
1272  {
1273  value= byte - 139;
1274  stack[j++]=value;
1275  }
1276  else if ((byte >= 247) && (byte <= 250))
1277  {
1278  value= (byte - 247) * 256 + CDeCrypt(*loc++, &loccr) + 108;
1279  stack[j++]=value;
1280  }
1281  else if ((byte >= 251) && (byte <= 254))
1282  {
1283  value= -(byte - 251) * 256 - CDeCrypt(*loc++, &loccr) - 108;
1284  stack[j++]=value;
1285  }
1286  else if (byte == 255)
1287  {
1288  value = CDeCrypt(*loc++, &loccr);
1289  value <<= 8;
1290  value += CDeCrypt(*loc++, &loccr);
1291  value <<= 8;
1292  value += CDeCrypt(*loc++, &loccr);
1293  value <<= 8;
1294  value += CDeCrypt(*loc++, &loccr);
1295  stack[j++]=value;
1296  }
1297  }
1298  }
1299  if(num == CHAR_STR)
1300  {
1301  temp=loc;
1302  num_err = PassToken();
1303  if(num_err<0)
1304  {
1305  return ERR_SECOND_TOK;
1306  }
1307  }
1308  return 1;
1309 }
1310 
1311 /* */
1312 /* We mark only necessary charstring */
1313 /* */
1314 
1315 
1316 static void
1318 {
1319 
1320  int word_type=0;
1321  int found;
1322  int str_len;
1323  int max_num;
1324  int counter;
1325  int num_err = 0;
1326  typetemp BORLAND_HUGE *tmptemp;
1327 
1328 
1329  CharCount++;
1330  counter=number;
1331  max_num = keyword[i].offset+keyword[i].oldnum;
1332 
1333  while( number < max_num )
1334  {
1335  if((word_type=GetToken())>0)
1336  {
1337  if(word_type>=3)
1338  {
1339  strcpy((char *) tmp_token, (char *) token);
1340  str_len = strlen((char *) token);
1341 
1342 
1343  if(CharCount!=0)
1344  {
1345 
1346  num_err=FindCharW(token, str_len);
1347 
1348  if(num_err==FLG_BINARY)
1349  {
1350  CharCount--;
1351  found=num_err;
1352  keyword[i].newnum++;
1353  }
1354  else
1355  {
1356 #ifdef DEBUG
1357 
1358  if(dd(D_VIEW_VECTOR)&&(num_err==-1))
1359  {
1360  fprintf_str(stderr,
1361  " Debug: Char '%s' not used in WorkVector\n", token);
1362 
1363  }
1364 #endif
1365  if(word_type>3)
1366  {
1367  if(strstr((char *) token, (char *) notdef)!=NULL)
1368  {
1369  CharCount--;
1370  label[number].num = -2;
1371  found=FLG_BINARY;
1372  keyword[i].newnum++;
1373  }
1374  else
1375  found=NOTHING;
1376  }
1377  else
1378  found=NOTHING;
1379  }
1380  }
1381  else
1382  {
1383  found=NOTHING;
1384  }
1385 
1387  label[number].select = found;
1388 
1389  switch(found)
1390  {
1391  case FLG_BINARY:
1392  tmptemp=temp;
1393  for(subrs=FirstKey; subrs<char_str; subrs++)
1394  {
1395  level=0;
1396  if(subrs!=FirstKey)
1397  {
1398  temp=tmptemp;
1399  }
1400 
1401  num_err=DeCodeStr(CHAR_STR,0);
1402 
1403  }
1404 #ifdef DEBUG
1405  if(dd(D_CALL_SUBR))
1406  {
1407  if(num_err>0)
1408  fprintf_str(stderr,
1409  " Debug for Char '%s'\n", tmp_token);
1410  }
1411 #endif
1412  break;
1413  case NOTHING:
1414 
1415  num_err=PassString(0);
1416  break;
1417  }
1418 
1419  if(num_err<0)
1420  {
1421  ErrorOfScan(num_err);
1422  fprintf_str(stderr,"in Char string of '%s'", tmp_token);
1423  exit(1);
1424  }
1425  number++;
1426  }
1427  }
1428  else
1429  {
1430  fprintf_str(stderr,
1431  "\n File <%s> ended before all chars have been found.", psfontfile);
1432 
1433  fprintf(stderr,
1434  "\n We scan %d Chars from %d",
1435  counter - (2 + keyword[subrs].oldnum),
1436  keyword[i].oldnum);
1437 
1438  if(tmp_token!=NULL)
1439  {
1440  fprintf_str(stderr, "\n Last seen token was '%s'\n", tmp_token);
1441  }
1442  exit(1);
1443  }
1444  }
1445 
1446  if(flg_seac!=0)
1447  {
1448  tmptemp=temp;
1449  flg_seac--;
1450  for(; counter<max_num; counter++)
1451  {
1452  if((int) label[counter].select==SEAC_NOT_END)
1453  {
1454  for(subrs=FirstKey; subrs<char_str; subrs++)
1455  {
1456  level=0;
1458  num_err=DeCodeStr(CHAR_STR,0);
1459  }
1460  if(num_err<0)
1461  {
1462  fprintf(stderr," Warning: %d char not choose during SEAC\n",
1463  label[counter].num);
1464  }
1465  else
1466  {
1467  CharCount--;
1469  if(CharCount==0)
1470  break;
1471  }
1472  }
1473  }
1474 
1475  temp=tmptemp;
1476  }
1477 
1478  if(CharCount!=0)
1479  {
1480  fprintf(stderr," WARNING: Not all chars found.");
1482 
1483  }
1484 }
1485 
1486 static void
1488 {
1489  label[number].begin = temp;
1491  number++;
1492 }
1493 
1494 static int
1495 FindKeyWord(int First_Key, int lastkey)
1496 {
1497  int word_type=0;
1498  int i;
1499  int tmp_num=0;
1500 
1501  for(;;)
1502  {
1503  if((word_type=GetToken())>0)
1504  {
1505  if(word_type==3)
1506  {
1507  for(i=First_Key; i<=lastkey; i++)
1508  {
1509  if(!strcmp((char *) token, Key[i].name))
1510  {
1511  tmp_num = GetNum();
1512  if(tmp_num<0)
1513  {
1514  fprintf_str(stderr,
1515  "\n ERROR: Number not found for '%s' in <%s>",
1516  Key[i].name, psfontfile);
1517  exit(1);
1518  }
1519  keyword[current].oldnum = tmp_num;
1520  keyword[current].length=strlen((char *) token);
1522  return i;
1523  }
1524  }
1525  }
1526  }
1527  else
1528  {
1529  fprintf_str(stderr,
1530  "\n ERROR: In <%s> keyword not found:", psfontfile);
1531 
1532  for(i=First_Key; i<=lastkey; i++)
1533  fprintf_str(stderr,"\n %dth > '%s' ",i,Key[i].name);
1534  exit(1);
1535  }
1536  }
1537 }
1538 
1539 /* To increase scan speed we use dynamic range of keywords */
1540 
1541 static int
1543 {
1544  int i;
1545  int firstnum, lastnum;
1546  firstnum= LENIV;
1547  lastnum=SUBRS;
1548 
1549  number=0;
1551  temp = label[number].begin;
1553  offset= ++number;
1554 
1555  for (current=0, FirstKey=current;; current++)
1556  {
1557  i=FindKeyWord(firstnum,lastnum);
1558  switch(i)
1559  {
1560  case LENIV:
1561  FirstKey++;
1562  firstnum=SUBRS;
1563  lastnum=SUBRS;
1565  keyword[current].type=Key[0].num;
1566  break;
1567  case SUBRS:
1568  firstnum=SUBRS;
1569  lastnum= CHARSTRINGS;
1571  keyword[current].newnum=0;
1572  keyword[current].type=Key[1].num;
1573  ScanSubrs(current);
1574  LastLook();
1575  break;
1576  case CHARSTRINGS:
1577  char_str=current;
1579  keyword[current].newnum=0;
1580  keyword[current].type=Key[2].num;
1581  ScanChars(current);
1582  LastLook();
1583 #ifdef DEBUG
1584  if(dd(D_CALL_SUBR))
1585  {
1586  for(i=0;i<=2;i++)
1587  {
1588  if(keyword[i].oldnum!=0)
1589  fprintf_str(stderr, " Result for <%s>: %s %d (instead %d) \n",
1590  psfontfile, Key[keyword[i].type].name,keyword[i].newnum, keyword[i].oldnum);
1591  }
1592 
1593  }
1594 #endif
1595  return 1;
1596  }
1597  }
1598 }
1599 
1600 static unsigned char *
1601 itoasp(int n, unsigned char *s, int len)
1602 {
1603  static int i, j;
1604 
1605  j++;
1606  if(n/10)
1607  itoasp(n/10,s,len);
1608  else
1609  i=0;
1610  s[i++]=abs(n)%10+'0';
1611  j--;
1612  if(j==0)
1613  {
1614  for(; i<len;)
1615  s[i++]=' ';
1616  s[i]='\0';
1617  return s;
1618  }
1619  return NULL;
1620 }
1621 
1622 static void
1624 {
1625  int i, j;
1626 
1627  for(i=FirstKey;i<=char_str;i++)
1628  {
1629  itoasp(keyword[i].newnum,token,keyword[i].length);
1630  temp=keyword[i].begin;
1631  for(j=0;token[j];++j,++temp)
1632  {
1633  *temp=token[j];
1634  }
1635  temp=keyword[i].begin;
1636  }
1637 }
1638 
1639 static ub4
1641 {
1642  return (ub4) buff[0] +
1643  ((ub4) buff[1] << 8) +
1644  ((ub4) buff[2] << 16) +
1645  ((ub4) buff[3] << 24);
1646 }
1647 
1648 unsigned short int c1 = C1, c2 = C2;
1649 unsigned short int edr;
1650 
1651 
1652 static unsigned char
1653 CDeCrypt(unsigned char cipher, unsigned int *lcdr)
1654 {
1655  register unsigned char plain;
1656 
1657  plain = (cipher ^ (*lcdr >> 8));
1658  *lcdr = (cipher + *lcdr) * c1 + c2;
1659  return plain;
1660 }
1661 
1662 unsigned short int eer;
1663 
1664 /* We find end of own vector with non StandardEncoding,
1665 
1666 
1667 */
1668 
1669 
1670 static int
1671 EndOfEncoding(int err_num)
1672 {
1673 
1674  int j;
1675  int i = 0;
1676  int flg_get_word=0;
1677 
1678 
1679  static const char *RefKey[] =
1680  {
1681  "readonly",
1682  "getinterval",
1683  "exch",
1684  "def",
1685  ""
1686  };
1687 
1688  for(;;)
1689  {
1690  if(flg_get_word==0)
1691  flg_get_word = 1;
1692  else
1693  {
1694  err_num=GetWord(token);
1695 
1696  }
1697 
1698  if(err_num <= 0)
1699  return -1;
1700 
1701  if(err_num==5)
1702  refer[ind_ref].num[i++]=atoi((char *) token);
1703  else
1704  {
1705  for(j=0; *RefKey[j]; j++)
1706  {
1707  if(strcmp((char *) token, RefKey[j]) ==0)
1708  break;
1709  }
1710  switch(j)
1711  {
1712  case 0:
1713  case 3:
1714  find_encod=1;
1715  keep_num = -2;
1716  if(ind_ref!=0)
1717  {
1718  CorrectGrid();
1719  }
1720  return 1;
1721 
1722  case 1:
1723  break;
1724 
1725  case 2:
1726  if(i==1)
1727  {
1728  refer[ind_ref].num[1] = 1;
1729  refer[ind_ref].num[2] = refer[ind_ref].num[0];
1730  GetWord(token);
1731  refer[ind_ref].num[0]= atoi((char *) token);
1732  }
1733  i=0;
1734  refer[ind_ref].select=1;
1735  ind_ref++;
1736  break;
1737  default:
1738  break;
1739  }
1740  }
1741  }
1742 
1743 }
1744 
1745 /* We rebuild grid for case
1746  "dup dup 161 10 getinterval 0 exch putinterval
1747  dup dup 173 23 getinterval 10 exch putinterval
1748  dup dup 127 exch 196 get put readonly def"
1749 in non StandardEncoding */
1750 
1751 
1752 static void
1754 {
1755  int i, j, k, imax;
1756 
1757 
1758  for(j=0; j<=ind_ref; j++){
1759  if(refer[j].select==1){
1760  imax= refer[j].num[1] + refer[j].num[2];
1761 
1762  for(k=0, i=refer[j].num[2]; i< imax; k++,i++){
1763  if(grid[i]==1){
1764  grid[i]=0;
1765  grid[k+refer[j].num[0]]=1;
1766  }
1767  }
1768  }
1769  }
1770 }
1771  /* We build vector for non StandardEncoding */
1772 
1773 static int
1775 {
1776  int err_token=0;
1777  int num=0;
1778  int seen = 0;
1779 
1780  while (1) {
1782 
1783  if(err_token==2)
1784  {
1785  if(strcmp((char *) token, Dup) ==0)
1786  {
1788  if(err_token<0)
1789  return ERR_NUM_CHAR;
1790 
1791  if(err_token!=2) /* define "dup word" */
1792  {
1793  num=atoi((char *) token);
1794 
1796  if(err_token<0)
1797  {
1798  return ERR_NAME_CHAR;
1799  }
1801  keep_num=num;
1802  keep_flg=1;
1803  seen++;
1804  err_token = GetWord(token);
1805  }
1806  } else {
1807 
1808  if(keep_flg==1)
1809  {
1811 
1812  if(EndOfEncoding(err_token)<0)
1813  {
1814  return -1;
1815  }
1816  }
1817  }
1818  } else
1819  return seen;
1820  }
1821 }
1822 
1823 
1824 
1825 static void
1827 {
1828  int num_err=0;
1829  int tmpnum;
1830 
1831  line=tmpline;
1832 
1833  if(encode==0)
1834  {
1835 
1836  while((num_err=GetWord(token))>=0)
1837  {
1838  if(num_err==3)
1839  {
1840  if (strcmp((char *) token,"/Encoding") == 0)
1841  {
1842 
1843  tmpnum=GetWord(token);
1844 
1845  if(tmpnum==5)
1846  {
1848  }
1849 
1850  else
1851  {
1852  find_encod=1;
1854  }
1855  return;
1856  }
1857  }
1858  }
1859  }
1860 
1861  else
1862  {
1863  num_err= CharEncoding();
1864  if(num_err<0)
1865  {
1866  ErrorOfScan(num_err);
1867  fprintf_str(stderr,
1868  "\n ERROR in encoding vector in <%s>", psfontfile);
1869  exit(1);
1870  }
1871  }
1872 }
1873 
1874 /* Before parse in BINARY portion of font we should mark needed chars,
1875 reencode them if there is reencoding vector for this case and
1876 build work vector */
1877 
1878 static void
1880 {
1881 
1882  CHAR *TmpChar;
1883  int err_num, i;
1884 
1885  if(encode==STANDARD_ENC)
1886  {
1887  TmpChar = FirstCharB;
1888  }
1889  else
1890  {
1891  if(encode==SPECIAL_ENC)
1892  {
1893  TmpChar = FirstChar;
1894  }
1895  else
1896  {
1897  fprintf_str(stderr,
1898  "WARNING: '/Encoding' not found in <%s>\n", psfontfile);
1899  exit(1);
1900  }
1901  }
1902 
1903  if(reencode==FLG_REENCODE)
1904  err_num=LoadVector(reencode, TmpChar);
1905  else
1906  err_num=ChooseVect(TmpChar);
1907 
1908  if(err_num<0)
1909  {
1910  Afm();
1911  encode=AFM_ENC;
1912 
1913  TmpChar = FirstCharA;
1914 
1915  for(i=0;i<=255;i++)
1916  grid[i]=tmpgrid[i];
1917 
1918 
1919  if(reencode==FLG_REENCODE)
1920  err_num=LoadVector(reencode, TmpChar);
1921  else
1922  err_num=ChooseVect(TmpChar);
1923 
1924  if(err_num<0)
1925  {
1926  fprintf(stderr,
1927  "\n Warning: after loading AFM file \n");
1928 
1929  fprintf_str(stderr,
1930  " only %d chars found instead %d for <%s>\n",
1932  }
1933 
1934  }
1935  WorkVect(TmpChar);
1936 
1937 #ifdef DEBUG
1938 
1939  if(dd(D_VIEW_VECTOR))
1940  {
1941  fprintf(stderr, "\n");
1942  if(encode==1)
1943  fprintf(stderr, " Encoding: standard \n");
1944  else
1945  fprintf(stderr, " Encoding: not standard \n");
1946 
1947  if(reencode==FLG_REENCODE)
1948  fprintf_str(stderr, " with reencode vector <%s>\n", psvectfile);
1949 
1951  }
1952 #endif
1953 
1954 }
1955 
1956 /*
1957  * As we write the output file, we search for /UniqueID, and if we find
1958  * such, we munge it. We need to do this because the font is only partial,
1959  * and if we send out a valid UniqueID, this well may mess up future jobs
1960  * that use this font, but characters that we do not include. We munge
1961  * the string from /UniqueID to /UniqueXX just to make it more clear
1962  * what we've done.
1963  */
1964 
1965 static char *
1967 {
1968  char *r = strstr(s, "/UniqueID");
1969  if (r) {
1970  r[7] = 'X';
1971  r[8] = 'X';
1972  }
1973  return s;
1974 }
1975 
1976 static void
1978 {
1979  ub4 i;
1980 
1981  for (i = 0; i < len; i++)
1982  {
1983  if ((*buff == 10)||(*buff == 13))
1984  {
1985  buff++;
1986  *line++='\n';
1987  *line='\0';
1988 
1989  if((find_encod==0)&&(lastpart==0))
1990  {
1991  FindEncoding();
1992  }
1993 
1994  line=(unsigned char *) KillUnique((char *) tmpline);
1995 
1996  if(keep_flg==0)
1997  fprintf(fout,"%s", line);
1998  else
1999  {
2000  if(keep_num<0)
2001  {
2002  AddStr(line,keep_num);
2003  if(keep_num==-2)
2004  keep_num = -3;
2005  }
2006 
2007  }
2008  }
2009  else
2010  {
2011  *line++ = *buff++;
2012  }
2013  }
2014 }
2015 
2016 /* It's eexec decription for PFB format */
2017 
2018 static void
2020 {
2021  ub4 i;
2022 
2023  for (i = 0; i < len; i++, temp++, buff++)
2024  {
2025  *temp = (*buff ^ (edr >> 8));
2026  edr = (*buff + edr) * c1 + c2;
2027  }
2028 }
2029 
2030 /* And it's eexec decription for PFA format */
2031 
2032 
2033 static void
2034 HexEDeCrypt(unsigned char *mem)
2035 {
2036  int ch1, ch2, cipher;
2037 
2038 
2039  for(;*mem!='\n' && *mem!='\r'; temp++)
2040  {
2041  ch1= *mem++;
2042  ch2= *mem++;
2043 
2044  if ('A' <= ch1 && ch1 <= 'F')
2045  ch1 -= 'A' - 10;
2046  else if ('a' <= ch1 && ch1 <= 'f')
2047  ch1 -= 'a' - 10;
2048  else
2049  ch1 -= '0';
2050  ch1<<=4;
2051 
2052  if ('A' <= ch2 && ch2 <= 'F')
2053  ch2 -= 'A' - 10;
2054  else if ('a' <= ch2 && ch2 <= 'f')
2055  ch2 -= 'a' - 10;
2056  else
2057  ch2 -= '0';
2058 
2059  cipher = ch1 + ch2;
2060 
2061  *temp = (cipher ^ (edr >> 8));
2062  edr = (cipher + edr) * c1 + c2;
2063 
2064  }
2065 }
2066 
2067 static int
2069 {
2070  ub1 type;
2071  ub4 memory, addmemory, length, add_of_len;
2072  unsigned char *mem = tmpline;
2073  int check_vect=0;
2074 
2075  tmpline=buf;
2076  edr = EDR;
2077  type = FLG_ASCII;
2078  memory = BASE_MEM;
2079  addmemory= ADD_MEM;
2080  length=0;
2081  temp=(typetemp *) UniGetMem(memory);
2083 
2084  for(;;)
2085  {
2086  if(fgets((char *)buf,BUFSIZ,fin)==NULL)
2087  break;
2088  switch (type)
2089  {
2090  case FLG_ASCII:
2091  if(strstr((char *)buf,"currentfile eexec") != NULL)
2092  {
2093  type=FLG_BINARY;
2094  }
2095 
2096  if((find_encod==0)&&(lastpart==0))
2097  {
2098  FindEncoding();
2099  }
2100 
2101  if(keep_flg==0)
2102  fprintf(fout,"%s", KillUnique((char *)buf));
2103  else
2104  {
2105  AddStr(buf,keep_num);
2106  }
2107  break;
2108 
2109  case FLG_BINARY:
2110  if(check_vect==0)
2111  {
2112  tmpline=mem;
2113  CheckChoosing();
2114  check_vect=1;
2115  }
2116 
2117  if(GetZeroLine(buf)<0)
2118  {
2119  type = FLG_ZERO_LINE;
2120  end_of_scan=temp;
2121  ScanBinary();
2122  SubstNum();
2123  if(keep_flg==1)
2124  {
2125  keep_flg=0;
2126  lastpart=1;
2127  if(encode!=1)
2128  {
2129  UnDefineCharsW();
2130  if(encode==4)
2132  else
2133  RevChar(FirstChar);
2134 
2136  }
2137  Reeverse(FirstStr);
2138  OutStr(RevStr, fout);
2139  }
2140 
2141  OutHEX(fout);
2143  fprintf(fout, "%s", KillUnique((char*) buf));
2144  break;
2145  }
2146 
2147  add_of_len=strlen((char *) buf)/2;
2148  length=length + add_of_len;
2149 
2150  if(length>memory)
2151  {
2152  memory = memory + addmemory;
2153 /* Using "memory = length;" retains minimum */
2154 /* of memory but it will be more slowly */
2156  temp = begin_of_scan + length - add_of_len;
2157  }
2158  HexEDeCrypt(buf);
2159  break;
2160  case FLG_ZERO_LINE:
2161  fprintf(fout, "%s", buf);
2162  break;
2163  }
2164  }
2165  if(type == FLG_ZERO_LINE)
2166  return TRUE;
2167  else return FALSE;
2168 }
2169 
2170 #define FIRST_ASCII 1
2171 #define FIRST_BINARY 2
2172 #define NEXT_BINARY 3
2173 #define NEXT_ASCII 4
2174 
2175 static int
2177 {
2178  ub1 type;
2179  ub4 t_length, length, nread;
2180  int nbytes, rc;
2181  int check_vect = 0;
2182  int sub_type = FIRST_ASCII;
2183 
2184  line=tmpline;
2185  edr = EDR;
2186 
2187 /* To find summary length of multiple binary parts we prescan font file */
2188 
2189  t_length = 0L;
2190 
2191  for (;;)
2192  {
2193  if ((rc = fread((char *) buf, 1, 6, fin)) < 2)
2194  {
2195  return FALSE;
2196  }
2197 
2198  if (buf[0] != 128)
2199  return FALSE;
2200 
2201  type = buf[1];
2202 
2203  if (type == FLG_EOF)
2204  {
2205  break;
2206  }
2207 
2208  if (rc != 6)
2209  return FALSE;
2210 
2211  length = little4(&buf[2]);
2212 
2213  if(type==FLG_BINARY)
2214  {
2215  t_length = (ub4)(length + t_length);
2216  }
2217  fseek(fin, ftell(fin) + length, SEEK_SET);
2218  }
2219 
2220 /* Here we start real parsing */
2221 
2222  sub_type = FIRST_BINARY;
2223 
2224  fseek(fin, 0L, SEEK_SET);
2225 
2226  for (;;)
2227  {
2228  if ((rc = fread((char *) buf, 1, 6, fin)) < 2)
2229  {
2230  return FALSE;
2231  }
2232  if (buf[0] != 128)
2233  return FALSE;
2234 
2235  type = buf[1];
2236 
2237  if (type == FLG_EOF)
2238  {
2239  return TRUE;
2240  }
2241 
2242  if (rc != 6)
2243  return FALSE;
2244 
2245  length = little4(&buf[2]);
2246 
2247  if(type==FLG_BINARY)
2248  {
2249  if(sub_type == FIRST_BINARY)
2250  {
2251  sub_type = NEXT_BINARY;
2252  temp=(typetemp*) UniGetMem(t_length);
2254  }
2255  }
2256  else
2257  {
2258  if( sub_type == NEXT_BINARY)
2259  {
2260  sub_type = NEXT_ASCII;
2261  end_of_scan=temp;
2262  ScanBinary();
2263  SubstNum();
2264  if(keep_flg==1)
2265  {
2266  keep_flg=0;
2267  lastpart=1;
2268  if(encode!=1)
2269  {
2270  UnDefineCharsW();
2271  if(encode==4)
2273  else
2274  RevChar(FirstChar);
2275 
2277  }
2278 
2279  Reeverse(FirstStr);
2280  OutStr(RevStr, fout);
2281  }
2282  OutHEX(fout);
2284  }
2285  }
2286 
2287  for (nread = 0; nread < length; nread += rc)
2288  {
2289  nbytes = min(BUFSIZ, length - nread);
2290 
2291  if ((rc = fread((char *) buf, 1, nbytes, fin)) == 0)
2292  {
2293  return FALSE;
2294  }
2295  switch (type)
2296  {
2297  case FLG_ASCII:
2298  OutASCII(fout, buf, (ub4) rc);
2299  break;
2300  case FLG_BINARY:
2301  if(check_vect==0)
2302  {
2303  CheckChoosing();
2304  check_vect=1;
2305  }
2306  BinEDeCrypt(buf, (ub4) rc);
2307  break;
2308  default:
2309  return FALSE;
2310  }
2311  }
2312  }
2313 }
2314 
2315 static void
2317 {
2318  int i=0;
2319  int num;
2320  static const char *hexstr = "0123456789abcdef";
2321  int bin;
2322 
2323  line=tmpline;
2324  eer = EER;
2327  number++;
2328 
2329  for(num=0; num < number; num++)
2330  {
2331  switch(label[num].select)
2332  {
2333  case NOTHING:
2334  break;
2335  case FLG_BINARY:
2337  for(temp=label[num].begin; temp<label[num+1].begin; temp++,i++)
2338  {
2339  bin = (*temp ^ (eer >> 8)); /* Eexec encryption */
2340  eer = ((bin + eer) * c1 + c2);
2341 
2342  *line++= hexstr[(bin&0xf0)>>4];
2343  *line++= hexstr[bin&0xf];
2344 
2345  if (!((i + 1) % BYTES_PER_LINE))
2346  {
2347  *line++='\0';
2348  line =tmpline;
2349  fprintf(fout, "%s\n",line);
2350  }
2351  }
2352  break;
2353  }
2354  }
2355  if (i % BYTES_PER_LINE)
2356  {
2357  *line++='\0';
2358  line =tmpline;
2359  fprintf(fout, "%s\n",line);
2360  }
2361 }
2362 
2363 /* We parse AFM file only if we've received errors after
2364 parsing of own vector */
2365 
2366 static int
2367 Afm(void)
2368 {
2369  unsigned char afmfile[100];
2370  FILE *fafm;
2371  int err_num=0;
2372  int i,j,k,num=0;
2373  unsigned char name[40];
2374 
2375  static const char *AfmKey[] =
2376  {
2377  "StartCharMetrics",
2378  "EndCharMetrics",
2379  ""
2380  };
2381 
2382  static const char *InfoKey[] =
2383  {
2384  "C",
2385  "N",
2386  ""
2387  };
2388 
2389  for(i=0; psfontfile[i]; i++)
2390  {
2391  if(psfontfile[i] == '.')
2392  break;
2393  else
2394  afmfile[i]=psfontfile[i];
2395  }
2396 
2397  afmfile[i]='\0';
2398  strcat((char *) afmfile,".afm");
2399  fprintf_str(stderr, "<%s>", afmfile);
2400 
2401  if ((fafm = psfopen((char *) afmfile, "r")) == NULL)
2402  {
2403  NameOfProgram();
2404  perror((char *) afmfile);
2405  return -1;
2406  }
2407 
2408  for(j=0;;)
2409  {
2410  line = tmpline;
2411 
2412  if(fgets((char *) line,BUFSIZ,fafm)==NULL)
2413  break;
2414 
2415  if(strstr((char *) line, AfmKey[j])!=NULL)
2416  {
2417  if(j==0)
2418  {
2419  j++;
2420  continue;
2421  }
2422  else
2423  {
2424  fclose(fafm);
2425  return 1;
2426  }
2427  }
2428 
2429  if(j==1)
2430  {
2431  for(k=0; err_num>=0; )
2432  {
2433  err_num=GetWord(token);
2434  if(err_num==2)
2435  {
2436  if(strcmp((char *) token,InfoKey[k])==0)
2437  {
2438  if(k==0)
2439  {
2440  err_num=GetWord(token);
2441  num=atoi((char *) token);
2442  k=1;
2443  continue;
2444  }
2445  else
2446  {
2447  err_num=GetWord(token);
2448  name[0]='/';
2449  name[1]='\0';
2450  strcat((char *) name, (char *) token);
2451  if(num>=0)
2453  break;
2454  }
2455  }
2456  }
2457 
2458  }
2459  }
2460  }
2461  return -2;
2462 }
2463 
2464 int
2465 FontPart(FILE *fout, unsigned char *fontfile,
2466  unsigned char *vectfile)
2467 {
2468  FILE *fin=0;
2469  int num;
2470  int rc;
2471  int i;
2472 
2473  ind_ref=0;
2474  reencode=0;
2475  encode=0;
2476  lastpart=0;
2477  keep_flg=0;
2478  flg_seac=0;
2479  strcpy((char *) psfontfile, (char *) fontfile);
2480  find_encod=0;
2481  CharCount=0;
2482 
2483  if(loadbase != 1)
2484  {
2485  for(i=offset; i < NUM_LABEL; i++)
2487 
2488 
2489  strcpy((char *) psvectfile, (char *) basevect);
2490 
2491 #ifdef DEBUG
2492  if(dd(D_VIEW_VECTOR))
2493  fprintf_str(stderr, " Base vector <%s>.", basevect);
2494 #endif
2495 
2496  if(LoadVector(1, FirstCharB)==1)
2497  {
2499 
2500  }
2501  else
2502  exit(1);
2503  }
2504 
2505  if(vectfile)
2506  {
2508  strcpy((char *) psvectfile, (char *) vectfile);
2509  }
2510 
2511  for(num=0;num<NUM_LABEL;num++)
2512  label[num].select = NOTHING;
2513 
2514  switch(DefTypeFont(fontfile))
2515  {
2516  case PFA:
2517  if ((fin = psfopen((char *) fontfile, "r"))==NULL)
2518  {
2519  NameOfProgram();
2520  perror((char *) fontfile);
2521  return -1;
2522  }
2523  rc = PartialPFA(fin,fout);
2524  if (rc == FALSE)
2525  {
2526  NameOfProgram();
2527  (void) fprintf_str(stderr,
2528  "Error: %s is not a valid PFA file\n", fontfile);
2529  return -1;
2530  }
2531 
2532  break;
2533  case PFB:
2534  if ((fin = psfopen((char *) fontfile, OPEN_READ_BINARY))==NULL)
2535  {
2536  NameOfProgram();
2537  perror((char *) fontfile);
2538  return -1;
2539  }
2540  rc = PartialPFB(fin,fout);
2541  if (rc==FALSE)
2542  {
2543  NameOfProgram();
2544  (void) fprintf_str(stderr,
2545  "Error: %s is not a valid PFB file\n", fontfile);
2546  return -1;
2547  }
2548  break;
2549  case -1:
2550  NameOfProgram();
2551  fprintf_str(stderr,
2552  "Error: %s has neither PFA nor PFB extension", fontfile);
2553  return -1;
2554  }
2555 
2556  UnDefineCharsW();
2557 
2558  if(encode==AFM_ENC)
2560 
2561  if(encode!=1)
2562  {
2563  UnDefineStr();
2564  }
2565 
2567 
2568  fclose(fin);
2569 
2570  for(i=0; i < number; i++)
2572 
2573  ClearB();
2574  return 1;
2575 }
2576 
2577 
2578 
2579 static int
2580 LoadVector(int num, CHAR *TmpChar)
2581 {
2582 
2583  FILE *fvect;
2584  int i = 0;
2585  int j = 0;
2586  int end_vect=0;
2587  int index_grid = 0;
2588 
2589  CharCount = 0;
2590 
2591  if ((fvect = psfopen((char *) psvectfile, "r")) == NULL)
2592  {
2593  NameOfProgram();
2594  perror((char *) psvectfile);
2595  return -1;
2596  }
2597 
2598  for(;;)
2599  {
2600  line = tmpline;
2601 
2602  if((fgets((char*)line,BUFSIZ,fvect)==NULL)||(end_vect!=0))
2603  break;
2604 
2605  for(;;)
2606  {
2607  j=GetWord(token);
2608  if(j==3)
2609  {
2610  if(i==0)
2611  {
2612  i++;
2613  continue;
2614  }
2615 
2616  if(num==4)
2617  {
2618  if(grid[index_grid]==1)
2619  {
2620  if(ChooseChar(token, TmpChar)> 0)
2621  CharCount++;
2622  else
2623  {
2624  fprintf_str(stderr,
2625  "Error: '%s' not found in reencoding vector <%s> for <%s>\n",
2627  }
2628  }
2629  index_grid++;
2630  }
2631  else
2632  {
2633  if(num==1) /* Build base vector */
2634  {
2636  CharCount++;
2637  }
2638  }
2639  continue;
2640  }
2641  if(j== -1)
2642  break;
2643  if(j==2)
2644  {
2645  i=0;
2646  end_vect = 1;
2647  break;
2648  }
2649  }
2650  }
2651 
2652  if(j==2)
2653  {
2654  if((index_grid!=256)&&(CharCount!=256))
2655  {
2656  fclose(fvect);
2657  fprintf_str(stderr,"Error during Load Vector in <%s> \n",
2658  psvectfile);
2659  fprintf(stderr,
2660  "Found %d chars instead 256\n", max(index_grid,CharCount));
2661  return -3;
2662  }
2663 
2664  if(CharCount>0)
2665  {
2666  fclose(fvect);
2667  return 1;
2668  }
2669  else
2670  {
2671  fclose(fvect);
2672  fprintf_str(stderr,
2673  "\n Warning: Vector from <%s> for <%s> doesn't load\n",
2675  return -1;
2676  }
2677  }
2678  else
2679  {
2680  fprintf_str(stderr,"\n Error: ending token 'def' not found in <%s> \n",
2681  psvectfile);
2682  return -2;
2683  }
2684 }
2685 
2686 static int
2687 ChooseVect(CHAR *tmpChar)
2688 {
2689  CHAR *ThisChar = tmpChar;
2690 
2691  CharCount=0;
2692  while (ThisChar != NULL)
2693  {
2694  ThisChar->choose= grid[ThisChar->num];
2695  if(grid[ThisChar->num]==1)
2696  {
2697  CharCount++;
2698  }
2699  ThisChar = ThisChar->NextChar;
2700  }
2701 
2702  if(CharCount<GridCount)
2703  return -1;
2704  else
2705  return 1;
2706 
2707 }
2708 
2709 static void
2711 {
2712  switch(err)
2713  {
2714 
2715  case 0: break;
2716 
2717  case ERR_FIRST_NUM:
2718  fprintf(stderr, " First number not found ");
2719  break;
2720  case ERR_SECOND_NUM:
2721  fprintf(stderr, " Second number not found ");
2722  break;
2723 
2724  case ERR_FIRST_TOK:
2725  fprintf(stderr, " First token not found ");
2726  break;
2727 
2728  case ERR_SECOND_TOK:
2729  fprintf(stderr, " Second token not found ");
2730  break;
2731 
2732  case ERR_STACK:
2733  fprintf(stderr, " End of stack ");
2734  break;
2735 
2736  case ERR_NUM_CHAR:
2737  fprintf(stderr, " Number of char not found ");
2738  break;
2739 
2740  case ERR_NAME_CHAR:
2741  fprintf(stderr, " Name of char not found ");
2742  break;
2743  }
2744 }
2745 
2746 static void
2748 {
2749 #ifdef DVIPS
2750  fprintf(stderr,"This is DVIPS, t1part module \n");
2751 #else
2752  fprintf(stderr,"This is t1part, %s by Sergey Lesenko\n", version);
2753 #endif
2754 }
2755 
2756 
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)
#define type(a)
Definition: aptex-macros.h:171
#define depth(a)
Definition: aptex-macros.h:199
#define loc
Definition: aptex-macros.h:65
#define name
static pointer def_ref
Definition: aptex.h:426
static pointer pstack[10]
Definition: aptex.h:445
int rc
Definition: bmpfont.h:9
#define n
Definition: t4ht.c:1290
#define huge
Definition: dd.h:144
#define free(a)
Definition: decNumber.cpp:310
#define fread
Definition: xxstdio.h:25
#define fseek
Definition: xxstdio.h:30
#define fgets
Definition: xxstdio.h:29
#define ftell
Definition: xxstdio.h:31
int strcmp()
Definition: coll.cpp:143
char * strcpy()
FILE * fout
#define fprintf_str
Definition: dvips.h:321
static void
Definition: fpif.c:118
#define s
Definition: afcover.h:80
static char buff[2 *10240]
Definition: genind.c:46
static FIELD_PTR begin
Definition: genind.c:37
unsigned short CHAR
Definition: hbf.c:169
static FILE * fin
Definition: hpcdtoppm.c:133
unsigned nbytes
Definition: in_pcx.cpp:355
#define byte
Definition: in_pcx.cpp:28
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p scientific i
Definition: afcover.h:80
void exit()
int int double double double char double char * top
Definition: gdfx.h:19
voidp calloc()
int atoi(const char *)
int num
Definition: disdvi.c:621
char * strstr()
#define fclose
Definition: debug.h:100
static int find(DIR *dp, char *name)
Definition: dirent.c:25
#define fprintf
Definition: mendex.h:64
#define length(c)
Definition: ctangleboot.c:65
#define mem
Definition: synctex.c:171
#define isdigit(c)
Definition: snprintf.c:177
#define extension(a0)
Definition: tif_fax3.c:201
static struct tm tm
Definition: localtime.c:216
token_type
Definition: scripting.h:54
@ err
Definition: mtxline.h:24
UnicodeString select(const PluralRules &rules, const Formattable &obj, const NumberFormat &fmt, UErrorCode &status)
string afmfile
Definition: mftrace.py:1406
int k
Definition: otp-parser.c:70
#define abs(a)
Definition: pbmplus.h:225
static int size
Definition: ppmlabel.c:24
int r
Definition: ppmqvga.c:68
static int imax(int a, int b)
Definition: basics.h:80
#define isspace(ch)
Definition: utype.h:87
#define isalpha(ch)
Definition: utype.h:82
#define isalnum(ch)
Definition: utype.h:84
static LJ_NOINLINE void err_token(LexState *ls, LexToken tok)
Definition: lj_parse.c:173
static int str_len(lua_State *L)
Definition: lstrlib.c:54
test
Definition: parser.c:257
#define str(s)
Definition: sh6.c:399
Definition: t1part.c:39
int choose
Definition: t1part.c:43
struct Char * NextChar
Definition: t1part.c:44
unsigned char * name
Definition: t1part.c:40
int num
Definition: t1part.c:42
int length
Definition: t1part.c:41
A string of characters.
Definition: t1part.c:49
int num
Definition: t1part.c:51
unsigned char * name
Definition: t1part.c:50
struct String * NextStr
Definition: t1part.c:52
Definition: inftrees.h:24
int offset
Definition: t1part.c:250
int oldnum
Definition: t1part.c:251
int newnum
Definition: t1part.c:252
int length
Definition: t1part.c:248
typetemp * begin
Definition: t1part.c:247
int type
Definition: t1part.c:249
int length
Definition: t1part.c:281
unsigned char skip
Definition: t1part.c:280
int num
Definition: t1part.c:283
typetemp * begin
Definition: t1part.c:279
short select
Definition: t1part.c:282
Definition: t1part.c:78
int num[4]
Definition: t1part.c:79
int select
Definition: t1part.c:80
Definition: bdf.c:133
Definition: spc_misc.c:56
int code
Definition: t1part.c:219
const char * command
Definition: t1part.c:218
Definition: parser.c:43
const char * name
Definition: t1part.c:265
int num
Definition: t1part.c:266
const char * extension
Definition: t1part.c:231
int num
Definition: t1part.c:232
typetemp * end_of_scan
Definition: t1part.c:181
struct def_label label[1024]
Definition: t1part.c:286
#define CDR
Definition: t1part.c:147
#define CHARS_CLOSEPATH
Definition: t1part.c:158
static int PartialPFA(FILE *fin, FILE *fout)
Definition: t1part.c:2068
int GridCount
Definition: t1part.c:65
#define RRCURVETO
Definition: t1part.c:157
#define POP
Definition: t1part.c:176
#define SEEK_SET
Definition: t1part.c:14
#define HSTEM3
Definition: t1part.c:171
#define PFB
Definition: t1part.c:96
struct String STRING
unsigned short int c2
Definition: t1part.c:1648
int ind_ref
Definition: t1part.c:66
static void OutHEX(FILE *)
Definition: t1part.c:2316
static void ClearCW(CHAR *)
Definition: t1part.c:812
unsigned char grid[256]
Definition: t1part.c:186
static void HexEDeCrypt(unsigned char *mem)
Definition: t1part.c:2034
#define CHAR_NOT_DEF
Definition: t1part.c:106
int keep_num
Definition: t1part.c:205
#define ERR_FIRST_NUM
Definition: t1part.c:130
static int grow
Definition: t1part.c:212
static int GetZeroLine(unsigned char *str)
Definition: t1part.c:304
#define AFM_ENC
Definition: t1part.c:113
#define CHARS_RLINETO
Definition: t1part.c:154
static void OutStr(STRING *TmpStr, FILE *fout)
Definition: t1part.c:629
static void PrintChar(CHAR *TmpChar)
Definition: t1part.c:650
static int encode
Definition: t1part.c:199
static int FindKeyWord(int First_Key, int lastkey)
Definition: t1part.c:1495
static char * KillUnique(char *s)
Definition: t1part.c:1966
static void SubstNum(void)
Definition: t1part.c:1623
static int ScanBinary(void)
Definition: t1part.c:1542
static void UnDefineStr(void)
Definition: t1part.c:890
static int EndOfEncoding(int err_num)
Definition: t1part.c:1671
#define EDR
Definition: t1part.c:145
static ub4 little4(ub1 *buff)
Definition: t1part.c:1640
#define ERR_NUM_CHAR
Definition: t1part.c:135
int FontPart(FILE *fout, unsigned char *fontfile, unsigned char *vectfile)
Definition: t1part.c:2465
static int PartialPFB(FILE *fin, FILE *fout)
Definition: t1part.c:2176
#define NEXT_ASCII
Definition: t1part.c:2173
static unsigned char * itoasp(int n, unsigned char *s, int len)
Definition: t1part.c:1601
#define ERR_SECOND_TOK
Definition: t1part.c:133
void * getmem(unsigned size)
Definition: t1part.c:495
#define LENIV
Definition: t1part.c:126
int CharCount
Definition: t1part.c:64
int char_str
Definition: t1part.c:260
#define VSTEM3
Definition: t1part.c:170
static int GetNum(void)
Definition: t1part.c:423
static void ScanSubrs(int i)
Definition: t1part.c:910
#define HLINETO
Definition: t1part.c:155
unsigned short int eer
Definition: t1part.c:1662
#define HVCURVETO
Definition: t1part.c:167
tablecommand TableCommand[]
Definition: t1part.c:223
#define C1
Definition: t1part.c:143
#define PFA
Definition: t1part.c:95
static void NameOfProgram(void)
Definition: t1part.c:2747
static int FindCharW(unsigned char *name, int length)
Definition: t1part.c:743
#define VLINETO
Definition: t1part.c:156
#define SPECIAL_ENC
Definition: t1part.c:112
ub1 buf[BUFSIZ]
Definition: t1part.c:196
#define FIRST_ASCII
Definition: t1part.c:2170
unsigned char basevect[]
Definition: t1part.c:190
#define FLG_OUT_STR
Definition: t1part.c:105
unsigned char token[64]
Definition: t1part.c:184
#define HMOVETO
Definition: t1part.c:165
#define CALLSUBR
Definition: t1part.c:159
static void ScanChars(int i)
Definition: t1part.c:1317
int find_encod
Definition: t1part.c:202
static CHAR * FirstCharW
Definition: t1part.c:62
CHAR * UnDefineChars(CHAR *TmpChar)
Definition: t1part.c:872
typefonts TypeFonts[]
Definition: t1part.c:237
#define DOTSECTION
Definition: t1part.c:169
#define RETURN
Definition: t1part.c:160
long value
Definition: t1part.c:209
static unsigned char CDeCrypt(unsigned char, unsigned int *)
Definition: t1part.c:1653
static CHAR * FirstCharA
Definition: t1part.c:60
int number
Definition: t1part.c:207
static void OutASCII(FILE *fout, ub1 *buff, ub4 len)
Definition: t1part.c:1977
static void ErrorOfScan(int err)
Definition: t1part.c:2710
static STRING * FirstStr
Definition: t1part.c:56
static int PassString(unsigned char flg)
Definition: t1part.c:467
#define FLG_LOAD_BASE
Definition: t1part.c:109
int FirstKey
Definition: t1part.c:258
static int Afm(void)
Definition: t1part.c:2367
def_key keyword[6]
Definition: t1part.c:256
type_key Key[]
Definition: t1part.c:271
static CHAR * FirstChar
Definition: t1part.c:59
#define FIRST_BINARY
Definition: t1part.c:2171
static int ChooseChar(unsigned char *name, CHAR *TmpChar)
Definition: t1part.c:682
static void FindEncoding(void)
Definition: t1part.c:1826
unsigned char notdef[]
Definition: t1part.c:185
static void BinEDeCrypt(ub1 *buff, ub4 len)
Definition: t1part.c:2019
#define ENDCHAR
Definition: t1part.c:163
#define HSTEM
Definition: t1part.c:151
#define SBW
Definition: t1part.c:173
static STRING * RevStr
Definition: t1part.c:57
#define SUBRS
Definition: t1part.c:127
#define STANDARD_ENC
Definition: t1part.c:111
unsigned short int c1
Definition: t1part.c:1648
#define CHAR_STR
Definition: t1part.c:139
#define HSBW
Definition: t1part.c:162
static void OutChar(CHAR *TmpChar, FILE *fout)
Definition: t1part.c:572
unsigned char tmpgrid[256]
Definition: t1part.c:187
def_ref refer[10]
Definition: t1part.c:84
CHAR * FirstCharB
Definition: t1part.c:61
#define TRUE
Definition: t1part.c:122
unsigned char version[]
Definition: t1part.c:191
#define CHAR_SEAC
Definition: t1part.c:140
int loadbase
Definition: t1part.c:198
#define FALSE
Definition: t1part.c:123
#define MAX_ESCAPE
Definition: t1part.c:149
typetemp * begin_of_scan
Definition: t1part.c:180
static void ViewReturnCall(int num_err, int top, int *pstack, int j, int depth)
Definition: t1part.c:978
#define NOTHING
Definition: t1part.c:99
static int DefTypeFont(unsigned char *name)
Definition: t1part.c:291
static int WorkVect(CHAR *TmpChar)
Definition: t1part.c:838
int current
Definition: t1part.c:258
static void UnDefineCharsW(void)
Definition: t1part.c:858
int lastpart
Definition: t1part.c:203
static void AddStr(unsigned char *name, int num)
Definition: t1part.c:524
#define FLG_EOF
Definition: t1part.c:102
typetemp * temp
Definition: t1part.c:179
#define VHCURVETO
Definition: t1part.c:166
#define BYTES_PER_LINE
Definition: t1part.c:119
static int FindSeac(int num)
Definition: t1part.c:725
#define ERR_STACK
Definition: t1part.c:134
#define EER
Definition: t1part.c:146
unsigned short int edr
Definition: t1part.c:1649
unsigned char psfontfile[500]
Definition: t1part.c:188
#define SETCURRENTPOINT
Definition: t1part.c:177
static CHAR * AddChar(CHAR *TmpChar, unsigned char *CharName, int num)
Definition: t1part.c:507
static int LoadVector(int, CHAR *)
Definition: t1part.c:2580
unsigned char tmp_token[64]
Definition: t1part.c:192
#define UniGetMem
Definition: t1part.c:30
#define FLG_REENCODE
Definition: t1part.c:116
#define CHARSTRINGS
Definition: t1part.c:128
#define min(a, b)
Definition: t1part.c:87
static void Reeverse(STRING *TmpStr)
Definition: t1part.c:599
static void LastLook(void)
Definition: t1part.c:1487
static int CharEncoding(void)
Definition: t1part.c:1774
static int flg_seac
Definition: t1part.c:214
#define FLG_ASCII
Definition: t1part.c:100
static int PassToken(void)
Definition: t1part.c:447
static int reencode
Definition: t1part.c:200
#define ERR_SECOND_NUM
Definition: t1part.c:131
static int level
Definition: t1part.c:213
static void CorrectGrid(void)
Definition: t1part.c:1753
static int DeCodeStr(int num, int numseac)
Definition: t1part.c:1043
#define VSTEM
Definition: t1part.c:152
#define CHARS_RMOVETO
Definition: t1part.c:164
unsigned char psvectfile[500]
Definition: t1part.c:189
#define NEXT_BINARY
Definition: t1part.c:2172
static void RevChar(CHAR *TmpChar)
Definition: t1part.c:542
#define C2
Definition: t1part.c:144
#define SEAC
Definition: t1part.c:172
#define SEAC_NOT_END
Definition: t1part.c:107
int keep_flg
Definition: t1part.c:204
int lenIV
Definition: t1part.c:210
static char Dup[]
Definition: t1part.c:243
static int ClearB(void)
Definition: t1part.c:667
struct Char CHAR
#define ERR_FIRST_TOK
Definition: t1part.c:132
int subrs
Definition: t1part.c:260
#define VMOVETO
Definition: t1part.c:153
#define FLG_ZERO_LINE
Definition: t1part.c:103
int offset
Definition: t1part.c:208
#define ERR_NAME_CHAR
Definition: t1part.c:136
static int GetToken(void)
Definition: t1part.c:385
static void CheckChoosing(void)
Definition: t1part.c:1879
static int ChooseVect(CHAR *)
Definition: t1part.c:2687
unsigned char * line
Definition: t1part.c:182
static int GetWord(unsigned char *mem)
Definition: t1part.c:326
#define CALLOTHERSUBR
Definition: t1part.c:175
unsigned char * tmpline
Definition: t1part.c:183
#define FLG_BINARY
Definition: t1part.c:101
#define ESCAPE
Definition: t1part.c:161
#define CHARS_DIV
Definition: t1part.c:174
#define max(a, b)
Definition: t1part.c:91
#define OPEN_READ_BINARY
Definition: t1part.h:53
#define BORLAND_HUGE
Definition: t1part.h:70
#define UniFree
Definition: t1part.h:83
unsigned long int ub4
Definition: t1part.h:62
#define ADD_MEM
Definition: t1part.h:91
#define BASE_MEM
Definition: t1part.h:90
unsigned char ub1
Definition: t1part.h:61
#define NUM_LABEL
Definition: t1part.h:89
#define UniRealloc
Definition: t1part.h:82
#define psfopen(A, B)
Definition: t1part.h:42
unsigned char typetemp
Definition: t1part.h:69
#define FILE
Definition: t1stdio.h:34
int j
Definition: t4ht.c:1589
*job_name strlen((char *) job_name) - 4)
ch2
Definition: tex4ht.c:3229
found
Definition: tex4ht.c:5000
m
Definition: tex4ht.c:3990
static struct count_rec * counter
Definition: tex4ht.c:1052
FILE * fontfile
Definition: ttf2afm.c:100
@ L
Definition: ubidiimp.h:45
Definition: obx.h:51
#define BUFSIZ
Definition: ps.c:61