os/kernelhwsrv/kernel/eka/euser/unicode/foldtable.inl
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of the License "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// e32\euser\unicode\foldtable.inl
sl@0
    15
// Use the bits from 12 up from your character to index CaseFoldTable0.
sl@0
    16
// Use the result of this plus bits 8-11 to index CaseFoldTable1.
sl@0
    17
// Use the result of this plus bits 4-7 to index CaseFoldTable2.
sl@0
    18
// Use the result of this plus bits 0-3 to index CaseFoldTable3.
sl@0
    19
// Add the result of this to your character to fold it.
sl@0
    20
// 
sl@0
    21
//
sl@0
    22
sl@0
    23
static const short CaseFoldTable3[] =
sl@0
    24
	{
sl@0
    25
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    26
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    27
	32, 32, 32, 32, 32, 32, 32, 32,
sl@0
    28
	32, 32, 32, 32, 32, 32, 32, 0,
sl@0
    29
	0, 0, 0, 0, -128, 0, 0, 0,
sl@0
    30
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    31
	0, 0, 0, 0, 775, 0, 0, 0,
sl@0
    32
	0, 0, 0, 0, 0, 0, 0, 32,
sl@0
    33
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    34
	0, 32, 0, 0, 0, 0, 0, 0,
sl@0
    35
	0, 32, 0, 0, 0, 0, 0, 32,
sl@0
    36
	0, 1, 0, 0, 0, 0, 0, 0,
sl@0
    37
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    38
	0, 1, 0, 0, 0, 0, 0, 0,
sl@0
    39
	0, 0, 0, -200, 1, 0, 0, 0,
sl@0
    40
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    41
	0, 1, 0, 0, 0, 0, 0, 0,
sl@0
    42
	0, 0, 1, 0, 0, 0, 0, 0,
sl@0
    43
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    44
	0, 0, -268, 0, 210, 1, 0, 1,
sl@0
    45
	0, 206, 1, 0, 205, 205, 1, 0,
sl@0
    46
	0, 79, 202, 203, 1, 0, 205, 207,
sl@0
    47
	0, 211, 209, 1, 0, 0, 0, 211,
sl@0
    48
	213, 0, 214, 0, 0, 1, 0, 1,
sl@0
    49
	0, 218, 1, 0, 218, 0, 0, 1,
sl@0
    50
	0, 218, 0, 217, 217, 1, 0, 1,
sl@0
    51
	0, 219, 1, 0, 0, 0, 1, 0,
sl@0
    52
	0, 0, 0, 2, 1, 0, 2, 1,
sl@0
    53
	0, 2, 1, 0, 0, 0, 0, 2,
sl@0
    54
	1, 0, 0, 0, -97, -56, 0, 0,
sl@0
    55
	0, 0, 0, 0, 0, 0, 1, 0,
sl@0
    56
	1, 0, 0, 0, 0, 0, 0, 0,
sl@0
    57
	0, 0, 0, 0, 116, 0, 0, 0,
sl@0
    58
	0, 0, 0, 0, 0, 0, 0, 32,
sl@0
    59
	32, 0, 32, 32, 32, 32, 32, 32,
sl@0
    60
	32, 0, 0, 0, 0, 0, 0, -30,
sl@0
    61
	-25, 0, 0, 0, -15, -22, 0, 0,
sl@0
    62
	0, 1, 0, 1, 0, 1, 0, 1,
sl@0
    63
	0, 1, 0, 1, 0, 1, 0, 1,
sl@0
    64
	0, -54, -48, -47, 0, 0, 0, 0,
sl@0
    65
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    66
	0, 80, 0, 80, 80, 80, 0, 80,
sl@0
    67
	80, 80, 80, 0, 0, 0, 80, 32,
sl@0
    68
	32, 32, 32, 32, 32, 32, 32, 32,
sl@0
    69
	0, 32, 32, 32, 32, 32, 32, 32,
sl@0
    70
	32, 32, 32, 32, 32, 32, 32, 32,
sl@0
    71
	32, 1, 0, 1, 0, 1, 0, 0,
sl@0
    72
	0, 1, 0, 1, 0, 1, 0, 1,
sl@0
    73
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    74
	0, 0, 0, 1, 0, 1, 0, 0,
sl@0
    75
	0, 1, 0, 0, 0, 1, 0, 0,
sl@0
    76
	0, 1, 0, 0, 0, 0, 1, 0,
sl@0
    77
	0, 0, 1, 0, 0, 0, 0, 0,
sl@0
    78
	0, 0, 1, 0, 0, 0, 0, 0,
sl@0
    79
	0, 0, 48, 48, 48, 48, 48, 48,
sl@0
    80
	48, 48, 48, 48, 48, 48, 48, 48,
sl@0
    81
	48, 48, 0, 0, 0, 0, 0, 0,
sl@0
    82
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
    83
	-7173, 0, 0, 0, 0, 0, 0, -7517,
sl@0
    84
	0, 0, 0, -8383, 0, 0, 0, 0,
sl@0
    85
	0, 16, 16, 16, 16, 16, 16, 16,
sl@0
    86
	16, 16, 16, 16, 16, 16, 16, 16,
sl@0
    87
	16, 0, 0, 0, 0, 0, 0, 26,
sl@0
    88
	26, 26, 26, 26, 26, 26, 26, 26,
sl@0
    89
	26, 26, 26, 26, 26, 26, 26
sl@0
    90
	};
sl@0
    91
sl@0
    92
static const unsigned short CaseFoldTable2[] =
sl@0
    93
	{
sl@0
    94
	0, 0, 0, 0, 15, 20, 0, 0,
sl@0
    95
	0, 0, 36, 47, 57, 73, 0, 0,
sl@0
    96
	89, 99, 114, 128, 136, 99, 139, 155,
sl@0
    97
	171, 187, 202, 215, 0, 134, 230, 0,
sl@0
    98
	93, 244, 0, 0, 0, 0, 0, 0,
sl@0
    99
	0, 0, 0, 0, 0, 0, 0, 255,
sl@0
   100
	0, 0, 0, 0, 15, 271, 0, 136,
sl@0
   101
	287, 297, 313, 327, 343, 353, 0, 0,
sl@0
   102
	0, 297, 369, 383, 297, 297, 297, 398,
sl@0
   103
	410, 418, 0, 0, 0, 433, 434, 443,
sl@0
   104
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
   105
	0, 0, 0, 0, 0, 0, 0, 0,
sl@0
   106
	450, 0, 0, 0, 0, 465, 0, 0,
sl@0
   107
	0, 481, 0, 0, 0, 0, 0, 0,
sl@0
   108
	0, 0, 0, 0, 0, 497, 503, 0,
sl@0
   109
	0, 0, 15, 20, 0, 0, 0, 0,
sl@0
   110
	0, 0, 0, 0, 0, 0, 0, 0
sl@0
   111
	};
sl@0
   112
sl@0
   113
static const unsigned char CaseFoldTable1[] =
sl@0
   114
	{
sl@0
   115
	0, 15, 31, 43, 59, 74, 80, 80,
sl@0
   116
	80, 80, 80, 80, 80, 80, 80, 80,
sl@0
   117
	80, 80, 80, 80, 80, 85, 80, 99,
sl@0
   118
	80, 80, 106, 80, 80, 80, 80, 80,
sl@0
   119
	80, 80, 80, 80, 80, 80, 80, 80,
sl@0
   120
	80, 80, 80, 120
sl@0
   121
	};
sl@0
   122
sl@0
   123
static const unsigned char CaseFoldTable0[] =
sl@0
   124
	{
sl@0
   125
	0, 6, 22, 27, 27, 27, 27, 27,
sl@0
   126
	27, 27, 27, 27, 27, 27, 27, 28
sl@0
   127
	};