#include "tif_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "tif_fax3.h"
Go to the source code of this file.
◆ streq
◆ FillTable()
Definition at line 318 of file mkg3states.c.
325 int incr = 1 <<
width;
GLint GLint GLsizei width
_In_ ULONG _In_ ULONG State
IN PVOID IN PVOID IN USHORT IN USHORT Size
Referenced by main().
◆ getopt()
Definition at line 20 of file getopt.c.
30 if (curopt ==
NULL || curopt[0] !=
'-' ||
strcmp(curopt,
"-") == 0)
35 if (
strcmp(curopt,
"--") == 0)
39 if ((
p =
strchr(optstring, curopt[cursubopt])) ==
NULL) {
40 optopt = curopt[cursubopt];
46 if (curopt[cursubopt+1] !=
'\0') {
47 optarg = curopt+cursubopt+1;
55 if (*optstring ==
':')
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
char * strchr(const char *String, int ch)
int strcmp(const char *String1, const char *String2)
Referenced by main().
◆ main()
hosttype.c Copyright (C) 2002 by Brian Palmer brian.nosp@m.p@sg.nosp@m.inet..nosp@m.com
Definition at line 379 of file mkg3states.c.
385 #if !HAVE_DECL_OPTARG 407 "usage: %s [-c const] [-s storage] [-p] [-b] file\n",
415 argv[0], outputfile);
434 fprintf(
fd,
"/* WARNING, this file was automatically generated by the\n");
437 fprintf(
fd,
"#include \"tif_fax3.h\"\n");
static struct proto TermB[]
void WriteTable(FILE *fd, const TIFFFaxTabEnt *T, int Size, const char *name)
static void FillTable(TIFFFaxTabEnt *T, int Size, struct proto *P, int State)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
static struct proto Horiz[]
static struct proto EOLH[]
static struct proto MakeUpW[]
static char * const_class
static struct proto Ext[]
TIFFFaxTabEnt WhiteTable[4096]
static struct proto MakeUp[]
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
int getopt(int argc, char *const argv[], const char *optstring)
TIFFFaxTabEnt BlackTable[8192]
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
static struct proto MakeUpB[]
static struct proto EOLV[]
TIFFFaxTabEnt MainTable[128]
static struct proto Pass[]
static struct proto TermW[]
◆ WriteTable()
Definition at line 344 of file mkg3states.c.
349 fprintf(
fd,
"%s %s TIFFFaxTabEnt %s[%d] = {",
356 if (((
i+1) % 10) == 0)
367 if (((
i+1) % 6) == 0)
IN PVOID IN PVOID IN USHORT IN USHORT Size
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
static char * const_class
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by main().
◆ BlackTable
◆ const_class
◆ EOLH
Initial value:= {
{ 0x0000, 11 },
{ 0, 0 }
}
Definition at line 312 of file mkg3states.c.
Referenced by main().
◆ EOLV
Initial value:= {
{ 0x0000, 7 },
{ 0, 0 }
}
Definition at line 92 of file mkg3states.c.
Referenced by main().
◆ Ext
Initial value:= {
{ 0x0040, 7 },
{ 0, 0 }
}
Definition at line 87 of file mkg3states.c.
Referenced by AssocFindByBuiltinExtension(), GetTempFileNameW(), main(), ProcessFiles(), UDFAllocateFESpace(), UDFAllocFreeExtent_(), UDFFlushAllCachedAllocations(), UDFFreeFESpace(), UDFGetCachedAllocation(), UDFStoreCachedAllocation(), and UDFUpdateNonAllocated().
◆ Horiz
Initial value:= {
{ 0x0004, 3 },
{ 0, 0 }
}
Definition at line 63 of file mkg3states.c.
Referenced by main().
◆ MainTable
◆ MakeUp
Initial value:= {
{ 0x0080, 28683 },
{ 0x0180, 29707 },
{ 0x0580, 30731 },
{ 0x0480, 31756 },
{ 0x0c80, 32780 },
{ 0x0280, 33804 },
{ 0x0a80, 34828 },
{ 0x0680, 35852 },
{ 0x0e80, 36876 },
{ 0x0380, 37900 },
{ 0x0b80, 38924 },
{ 0x0780, 39948 },
{ 0x0f80, 40972 },
{ 0, 0 }
}
Definition at line 159 of file mkg3states.c.
Referenced by main().
◆ MakeUpB
Initial value:= {
{ 0x03c0, 1034 },
{ 0x0130, 2060 },
{ 0x0930, 3084 },
{ 0x0da0, 4108 },
{ 0x0cc0, 5132 },
{ 0x02c0, 6156 },
{ 0x0ac0, 7180 },
{ 0x06c0, 8205 },
{ 0x16c0, 9229 },
{ 0x0a40, 10253 },
{ 0x1a40, 11277 },
{ 0x0640, 12301 },
{ 0x1640, 13325 },
{ 0x09c0, 14349 },
{ 0x19c0, 15373 },
{ 0x05c0, 16397 },
{ 0x15c0, 17421 },
{ 0x0dc0, 18445 },
{ 0x1dc0, 19469 },
{ 0x0940, 20493 },
{ 0x1940, 21517 },
{ 0x0540, 22541 },
{ 0x1540, 23565 },
{ 0x0b40, 24589 },
{ 0x1b40, 25613 },
{ 0x04c0, 26637 },
{ 0x14c0, 27661 },
{ 0, 0 }
}
Definition at line 128 of file mkg3states.c.
Referenced by main().
◆ MakeUpW
Initial value:= {
{ 0x001b, 1029 },
{ 0x0009, 2053 },
{ 0x003a, 3078 },
{ 0x0076, 4103 },
{ 0x006c, 5128 },
{ 0x00ec, 6152 },
{ 0x0026, 7176 },
{ 0x00a6, 8200 },
{ 0x0016, 9224 },
{ 0x00e6, 10248 },
{ 0x0066, 11273 },
{ 0x0166, 12297 },
{ 0x0096, 13321 },
{ 0x0196, 14345 },
{ 0x0056, 15369 },
{ 0x0156, 16393 },
{ 0x00d6, 17417 },
{ 0x01d6, 18441 },
{ 0x0036, 19465 },
{ 0x0136, 20489 },
{ 0x00b6, 21513 },
{ 0x01b6, 22537 },
{ 0x0032, 23561 },
{ 0x0132, 24585 },
{ 0x00b2, 25609 },
{ 0x0006, 26630 },
{ 0x01b2, 27657 },
{ 0, 0 }
}
Definition at line 97 of file mkg3states.c.
Referenced by main().
◆ packoutput
◆ Pass
◆ postbrace
◆ prebrace
◆ storage_class
◆ TermB
◆ TermW
◆ V0
Initial value:= {
{ 0x0001, 1 },
{ 0, 0 }
}
Definition at line 68 of file mkg3states.c.
Referenced by main().
◆ VL
Initial value:= {
{ 0x0002, (1<<4)+3 },
{ 0x0010, (2<<4)+6 },
{ 0x0020, (3<<4)+7 },
{ 0, 0 }
}
Definition at line 80 of file mkg3states.c.
Referenced by main().
◆ VR
Initial value:= {
{ 0x0006, (1<<4)+3 },
{ 0x0030, (2<<4)+6 },
{ 0x0060, (3<<4)+7 },
{ 0, 0 }
}
Definition at line 73 of file mkg3states.c.
Referenced by main().
◆ WhiteTable