make_unicode: Don't output array sizes that could be over-estimated.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1e819f00a5
commit
7fc9e45dd8
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4894] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -3541,7 +3541,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x65, 0x66, 0x67, 0x68, 0x69, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[27631] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -2947,7 +2947,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x56, 0x57, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[27673] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -3046,7 +3046,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[39984] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x06af, 0x0688, 0x0691, 0xf83e, 0xf83f, 0xf840, 0x0698, 0x06d2
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5476] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x05e8, 0x05e9, 0x05ea, 0xf81a, 0xf81b, 0xf81c, 0xf81d, 0xf81e
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5610] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x03c7, 0x03c5, 0x03b6, 0x03ca, 0x03cb, 0x0390, 0x03b0, 0x003f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x00a4
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5406] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -2749,7 +2749,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[27310] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5145] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x20ac
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0e58, 0x0e59, 0x00ae, 0x00a9, 0x003f, 0x003f, 0x00fe, 0x003f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5138] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00dd, 0x00fd, 0x0137, 0x017b, 0x0141, 0x017c, 0x0122, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4887] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0xfe8b, 0xfef1, 0xfef2, 0xfef3, 0xfbb0, 0xfbae, 0xfe7c, 0xfe7d
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5165] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4889] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00af, 0x02d8, 0x02d9, 0x02da, 0x00b8, 0x02dd, 0x02db, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5104] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00af, 0x03c0, 0x00cb, 0x02da, 0x00b8, 0x00ca, 0x00e6, 0x02c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5145] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0038, 0x0039, 0x00b3, 0x00db, 0x0022, 0x00d9, 0x00da, 0x009f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4055] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0448, 0x0449, 0x044a, 0x044b, 0x044c, 0x044d, 0x044e, 0x044f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2803] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4043] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x03c8, 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce, 0xf8fb
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2881] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4055] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x05e8, 0x05e9, 0x05ea, 0xf894, 0xf895, 0x200e, 0x200f, 0xf896
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2060] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0651, 0x00f9, 0x0652, 0x00fb, 0x00fc, 0x200e, 0x200f, 0x06d2
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2318] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017e, 0x02d9
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[1739] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x01b0, 0x20ab, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2010] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -3805,7 +3805,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x70, 0x71, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[37401] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -39,7 +39,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -2683,7 +2683,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[27558] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x011d, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x016d, 0x015d, 0x02d9
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5136] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x0169, 0x016b, 0x02d9
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0458, 0x0459, 0x045a, 0x045b, 0x045c, 0x00a7, 0x045e, 0x045f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0xf7ed, 0xf7ee, 0xf7ef, 0xf7f0, 0xf7f1, 0xf7f2, 0xf7f3, 0xf7f4
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5372] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x03c8, 0x03c9, 0x03ca, 0x03cb, 0x03cc, 0x03cd, 0x03ce, 0xf7c7
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5142] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x05e8, 0x05e9, 0x05ea, 0xf7bd, 0xf7be, 0x200e, 0x200f, 0xf7bf
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5346] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0131, 0x015f, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x0138
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0173, 0x0142, 0x015b, 0x016b, 0x00fc, 0x017c, 0x017e, 0x2019
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x0177, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0171, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x0119, 0x021b, 0x00ff
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0038, 0x0039, 0x00b3, 0x003f, 0x003f, 0x003f, 0x00fe, 0x009f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5119] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0038, 0x0039, 0x00b3, 0x00db, 0x00dc, 0x00d9, 0x00da, 0x009f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x00a8, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x00a8, 0x02d9, 0x0171, 0x0158, 0x0159, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4884] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x042d, 0x0449, 0x0429, 0x0447, 0x0427, 0x00a7, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x00b0, 0x00a8, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5119] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x00a8, 0x00b7, 0x00b9, 0x00b3, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5099] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5162] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0xfed5, 0xfef5, 0xfef6, 0xfedd, 0xfed9, 0xfef1, 0x25a0, 0xf8c0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5342] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x207f, 0x00b2, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x2219, 0x00b7, 0x221a, 0x2116, 0x00a4, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x00b0, 0x00a8, 0x03c9, 0x03cb, 0x03b0, 0x03ce, 0x25a0, 0x00a0
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -73,7 +73,7 @@ static const WCHAR cp2uni[512] =
|
|||
0x0e58, 0x0e59, 0x0e5a, 0x0e5b, 0xf8c5, 0xf8c6, 0xf8c7, 0xf8c8
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[2588] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x0038, 0x0039, 0x00b3, 0x00a9, 0x001a, 0x001a, 0x00bb, 0x009f
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[4927] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f,
|
||||
|
|
|
@ -40,7 +40,7 @@ static const WCHAR cp2uni[256] =
|
|||
0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a
|
||||
};
|
||||
|
||||
static const unsigned char uni2cp_low[5403] =
|
||||
static const unsigned char uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
||||
|
|
|
@ -2056,7 +2056,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[27210] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -4234,7 +4234,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[28622] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -4234,7 +4234,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[37466] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -4234,7 +4234,7 @@ static const unsigned char cp2uni_leadbytes[256] =
|
|||
0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x00
|
||||
};
|
||||
|
||||
static const unsigned short uni2cp_low[31731] =
|
||||
static const unsigned short uni2cp_low[] =
|
||||
{
|
||||
/* 0x0000 .. 0x00ff */
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
|
||||
|
|
|
@ -1031,8 +1031,7 @@ sub dump_uni2cp_table($$)
|
|||
|
||||
# output all the subtables into a single array
|
||||
|
||||
printf OUTPUT "static const unsigned %s uni2cp_low[%d] =\n{\n",
|
||||
$width == 8 ? "char" : "short", ($index + 1) * 256 - $removed;
|
||||
printf OUTPUT "static const unsigned %s uni2cp_low[] =\n{\n", $width == 8 ? "char" : "short";
|
||||
|
||||
my $format = $width == 8 ? "0x%02x" : "0x%04x";
|
||||
for (my $i = $index = 0; $i < 257; $i++)
|
||||
|
|
Loading…
Reference in New Issue