intl/unicharutil/src/casetable.h
author benjamin@smedbergs.us
Thu, 02 Aug 2007 11:43:30 -0700
changeset 4172 ade2d0545d8c96a0d4b2e3f47fce1d684e3a1d6c
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 22207 b7d98dc8d246e894bd1b1dc5874d5425763274c8
permissions -rw-r--r--
Bug 389671 - CVS remove old suite-style multi-profile code which is not used anymore, r=luser (NPOB except for removing build-system references to files/options)

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is mozilla.org code.
 *
 * The Initial Developer of the Original Code is
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 1999
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */
/* 
    DO NOT EDIT THIS DOCUMENT !!! THIS DOCUMENT IS GENERATED BY
    mozilla/intl/unicharutil/tools/gencasetable.pl
 */
#include "nscore.h" 

static const PRUnichar gUpperToTitle[] = { 
   0x01F1,    0x01F2, 
   0x01C7,    0x01C8, 
   0x01CA,    0x01CB, 
   0x01C4,    0x01C5, 
};

static const PRUint32 gUpperToTitleItems = 4;

static const PRUint16 gToUpper[] = 
{ /*   From    To             Every   Diff   */ 
       0x0061, ((0x19 << 8) | 0x01), 0xffe0  ,
       0x00b5, ((0x00 << 8) | 0x00), 0x02e7  ,
       0x00e0, ((0x16 << 8) | 0x01), 0xffe0  ,
       0x00f8, ((0x06 << 8) | 0x01), 0xffe0  ,
       0x00ff, ((0x00 << 8) | 0x00), 0x0079  ,
       0x0101, ((0x2e << 8) | 0x02), 0xffff  ,
       0x0131, ((0x00 << 8) | 0x00), 0xff18  ,
       0x0133, ((0x04 << 8) | 0x02), 0xffff  ,
       0x013a, ((0x0e << 8) | 0x02), 0xffff  ,
       0x014b, ((0x2c << 8) | 0x02), 0xffff  ,
       0x017a, ((0x04 << 8) | 0x02), 0xffff  ,
       0x017f, ((0x00 << 8) | 0x00), 0xfed4  ,
       0x0180, ((0x00 << 8) | 0x00), 0x00c3  ,
       0x0183, ((0x02 << 8) | 0x02), 0xffff  ,
       0x0188, ((0x04 << 8) | 0x04), 0xffff  ,
       0x0192, ((0x00 << 8) | 0x00), 0xffff  ,
       0x0195, ((0x00 << 8) | 0x00), 0x0061  ,
       0x0199, ((0x00 << 8) | 0x00), 0xffff  ,
       0x019a, ((0x00 << 8) | 0x00), 0x00a3  ,
       0x019e, ((0x00 << 8) | 0x00), 0x0082  ,
       0x01a1, ((0x04 << 8) | 0x02), 0xffff  ,
       0x01a8, ((0x05 << 8) | 0x05), 0xffff  ,
       0x01b0, ((0x04 << 8) | 0x04), 0xffff  ,
       0x01b6, ((0x03 << 8) | 0x03), 0xffff  ,
       0x01bd, ((0x00 << 8) | 0x00), 0xffff  ,
       0x01bf, ((0x00 << 8) | 0x00), 0x0038  ,
       0x01c5, ((0x00 << 8) | 0x00), 0xffff  ,
       0x01c6, ((0x00 << 8) | 0x00), 0xfffe  ,
       0x01c8, ((0x00 << 8) | 0x00), 0xffff  ,
       0x01c9, ((0x00 << 8) | 0x00), 0xfffe  ,
       0x01cb, ((0x00 << 8) | 0x00), 0xffff  ,
       0x01cc, ((0x00 << 8) | 0x00), 0xfffe  ,
       0x01ce, ((0x0e << 8) | 0x02), 0xffff  ,
       0x01dd, ((0x00 << 8) | 0x00), 0xffb1  ,
       0x01df, ((0x10 << 8) | 0x02), 0xffff  ,
       0x01f2, ((0x00 << 8) | 0x00), 0xffff  ,
       0x01f3, ((0x00 << 8) | 0x00), 0xfffe  ,
       0x01f5, ((0x04 << 8) | 0x04), 0xffff  ,
       0x01fb, ((0x24 << 8) | 0x02), 0xffff  ,
       0x0223, ((0x10 << 8) | 0x02), 0xffff  ,
       0x023c, ((0x06 << 8) | 0x06), 0xffff  ,
       0x0247, ((0x08 << 8) | 0x02), 0xffff  ,
       0x0253, ((0x00 << 8) | 0x00), 0xff2e  ,
       0x0254, ((0x00 << 8) | 0x00), 0xff32  ,
       0x0256, ((0x01 << 8) | 0x01), 0xff33  ,
       0x0259, ((0x00 << 8) | 0x00), 0xff36  ,
       0x025b, ((0x00 << 8) | 0x00), 0xff35  ,
       0x0260, ((0x00 << 8) | 0x00), 0xff33  ,
       0x0263, ((0x00 << 8) | 0x00), 0xff31  ,
       0x0268, ((0x00 << 8) | 0x00), 0xff2f  ,
       0x0269, ((0x00 << 8) | 0x00), 0xff2d  ,
       0x026b, ((0x00 << 8) | 0x00), 0x29f7  ,
       0x026f, ((0x00 << 8) | 0x00), 0xff2d  ,
       0x0272, ((0x00 << 8) | 0x00), 0xff2b  ,
       0x0275, ((0x00 << 8) | 0x00), 0xff2a  ,
       0x027d, ((0x00 << 8) | 0x00), 0x29e7  ,
       0x0280, ((0x03 << 8) | 0x03), 0xff26  ,
       0x0288, ((0x00 << 8) | 0x00), 0xff26  ,
       0x0289, ((0x00 << 8) | 0x00), 0xffbb  ,
       0x028a, ((0x01 << 8) | 0x01), 0xff27  ,
       0x028c, ((0x00 << 8) | 0x00), 0xffb9  ,
       0x0292, ((0x00 << 8) | 0x00), 0xff25  ,
       0x0345, ((0x00 << 8) | 0x00), 0x0054  ,
       0x037b, ((0x02 << 8) | 0x01), 0x0082  ,
       0x03ac, ((0x00 << 8) | 0x00), 0xffda  ,
       0x03ad, ((0x02 << 8) | 0x01), 0xffdb  ,
       0x03b1, ((0x10 << 8) | 0x01), 0xffe0  ,
       0x03c2, ((0x00 << 8) | 0x00), 0xffe1  ,
       0x03c3, ((0x08 << 8) | 0x01), 0xffe0  ,
       0x03cc, ((0x00 << 8) | 0x00), 0xffc0  ,
       0x03cd, ((0x01 << 8) | 0x01), 0xffc1  ,
       0x03d0, ((0x00 << 8) | 0x00), 0xffc2  ,
       0x03d1, ((0x00 << 8) | 0x00), 0xffc7  ,
       0x03d5, ((0x00 << 8) | 0x00), 0xffd1  ,
       0x03d6, ((0x00 << 8) | 0x00), 0xffca  ,
       0x03d9, ((0x16 << 8) | 0x02), 0xffff  ,
       0x03f0, ((0x00 << 8) | 0x00), 0xffaa  ,
       0x03f1, ((0x00 << 8) | 0x00), 0xffb0  ,
       0x03f2, ((0x00 << 8) | 0x00), 0x0007  ,
       0x03f5, ((0x00 << 8) | 0x00), 0xffa0  ,
       0x03f8, ((0x03 << 8) | 0x03), 0xffff  ,
       0x0430, ((0x1f << 8) | 0x01), 0xffe0  ,
       0x0450, ((0x0f << 8) | 0x01), 0xffb0  ,
       0x0461, ((0x20 << 8) | 0x02), 0xffff  ,
       0x048b, ((0x34 << 8) | 0x02), 0xffff  ,
       0x04c2, ((0x0c << 8) | 0x02), 0xffff  ,
       0x04cf, ((0x00 << 8) | 0x00), 0xfff1  ,
       0x04d1, ((0x42 << 8) | 0x02), 0xffff  ,
       0x0561, ((0x25 << 8) | 0x01), 0xffd0  ,
       0x1d7d, ((0x00 << 8) | 0x00), 0x0ee6  ,
       0x1e01, ((0x94 << 8) | 0x02), 0xffff  ,
       0x1e9b, ((0x00 << 8) | 0x00), 0xffc5  ,
       0x1ea1, ((0x58 << 8) | 0x02), 0xffff  ,
       0x1f00, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1f10, ((0x05 << 8) | 0x01), 0x0008  ,
       0x1f20, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1f30, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1f40, ((0x05 << 8) | 0x01), 0x0008  ,
       0x1f51, ((0x06 << 8) | 0x02), 0x0008  ,
       0x1f60, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1f70, ((0x01 << 8) | 0x01), 0x004a  ,
       0x1f72, ((0x03 << 8) | 0x01), 0x0056  ,
       0x1f76, ((0x01 << 8) | 0x01), 0x0064  ,
       0x1f78, ((0x01 << 8) | 0x01), 0x0080  ,
       0x1f7a, ((0x01 << 8) | 0x01), 0x0070  ,
       0x1f7c, ((0x01 << 8) | 0x01), 0x007e  ,
       0x1f80, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1f90, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1fa0, ((0x07 << 8) | 0x01), 0x0008  ,
       0x1fb0, ((0x01 << 8) | 0x01), 0x0008  ,
       0x1fb3, ((0x00 << 8) | 0x00), 0x0009  ,
       0x1fbe, ((0x00 << 8) | 0x00), 0xe3db  ,
       0x1fc3, ((0x00 << 8) | 0x00), 0x0009  ,
       0x1fd0, ((0x01 << 8) | 0x01), 0x0008  ,
       0x1fe0, ((0x01 << 8) | 0x01), 0x0008  ,
       0x1fe5, ((0x00 << 8) | 0x00), 0x0007  ,
       0x1ff3, ((0x00 << 8) | 0x00), 0x0009  ,
       0x214e, ((0x00 << 8) | 0x00), 0xffe4  ,
       0x2170, ((0x0f << 8) | 0x01), 0xfff0  ,
       0x2184, ((0x00 << 8) | 0x00), 0xffff  ,
       0x24d0, ((0x19 << 8) | 0x01), 0xffe6  ,
       0x2c30, ((0x2e << 8) | 0x01), 0xffd0  ,
       0x2c61, ((0x00 << 8) | 0x00), 0xffff  ,
       0x2c65, ((0x00 << 8) | 0x00), 0xd5d5  ,
       0x2c66, ((0x00 << 8) | 0x00), 0xd5d8  ,
       0x2c68, ((0x04 << 8) | 0x02), 0xffff  ,
       0x2c76, ((0x0b << 8) | 0x0b), 0xffff  ,
       0x2c83, ((0x60 << 8) | 0x02), 0xffff  ,
       0x2d00, ((0x25 << 8) | 0x01), 0xe3a0  ,
       0xff41, ((0x19 << 8) | 0x01), 0xffe0   
};

static const PRUint32 gToUpperItems = 130;

static const PRUint16 gToLower[] = 
{ /*   From    To             Every   Diff   */ 
       0x0041, ((0x19 << 8) | 0x01), 0x0020  ,
       0x00c0, ((0x16 << 8) | 0x01), 0x0020  ,
       0x00d8, ((0x06 << 8) | 0x01), 0x0020  ,
       0x0100, ((0x2e << 8) | 0x02), 0x0001  ,
       0x0130, ((0x00 << 8) | 0x00), 0xff39  ,
       0x0132, ((0x04 << 8) | 0x02), 0x0001  ,
       0x0139, ((0x0e << 8) | 0x02), 0x0001  ,
       0x014a, ((0x2c << 8) | 0x02), 0x0001  ,
       0x0178, ((0x00 << 8) | 0x00), 0xff87  ,
       0x0179, ((0x04 << 8) | 0x02), 0x0001  ,
       0x0181, ((0x00 << 8) | 0x00), 0x00d2  ,
       0x0182, ((0x02 << 8) | 0x02), 0x0001  ,
       0x0186, ((0x00 << 8) | 0x00), 0x00ce  ,
       0x0187, ((0x00 << 8) | 0x00), 0x0001  ,
       0x0189, ((0x01 << 8) | 0x01), 0x00cd  ,
       0x018b, ((0x00 << 8) | 0x00), 0x0001  ,
       0x018e, ((0x00 << 8) | 0x00), 0x004f  ,
       0x018f, ((0x00 << 8) | 0x00), 0x00ca  ,
       0x0190, ((0x00 << 8) | 0x00), 0x00cb  ,
       0x0191, ((0x00 << 8) | 0x00), 0x0001  ,
       0x0193, ((0x00 << 8) | 0x00), 0x00cd  ,
       0x0194, ((0x00 << 8) | 0x00), 0x00cf  ,
       0x0196, ((0x00 << 8) | 0x00), 0x00d3  ,
       0x0197, ((0x00 << 8) | 0x00), 0x00d1  ,
       0x0198, ((0x00 << 8) | 0x00), 0x0001  ,
       0x019c, ((0x00 << 8) | 0x00), 0x00d3  ,
       0x019d, ((0x00 << 8) | 0x00), 0x00d5  ,
       0x019f, ((0x00 << 8) | 0x00), 0x00d6  ,
       0x01a0, ((0x04 << 8) | 0x02), 0x0001  ,
       0x01a6, ((0x00 << 8) | 0x00), 0x00da  ,
       0x01a7, ((0x00 << 8) | 0x00), 0x0001  ,
       0x01a9, ((0x00 << 8) | 0x00), 0x00da  ,
       0x01ac, ((0x00 << 8) | 0x00), 0x0001  ,
       0x01ae, ((0x00 << 8) | 0x00), 0x00da  ,
       0x01af, ((0x00 << 8) | 0x00), 0x0001  ,
       0x01b1, ((0x01 << 8) | 0x01), 0x00d9  ,
       0x01b3, ((0x02 << 8) | 0x02), 0x0001  ,
       0x01b7, ((0x00 << 8) | 0x00), 0x00db  ,
       0x01b8, ((0x04 << 8) | 0x04), 0x0001  ,
       0x01c4, ((0x00 << 8) | 0x00), 0x0002  ,
       0x01c5, ((0x00 << 8) | 0x00), 0x0001  ,
       0x01c7, ((0x00 << 8) | 0x00), 0x0002  ,
       0x01c8, ((0x00 << 8) | 0x00), 0x0001  ,
       0x01ca, ((0x00 << 8) | 0x00), 0x0002  ,
       0x01cb, ((0x10 << 8) | 0x02), 0x0001  ,
       0x01de, ((0x10 << 8) | 0x02), 0x0001  ,
       0x01f1, ((0x00 << 8) | 0x00), 0x0002  ,
       0x01f2, ((0x02 << 8) | 0x02), 0x0001  ,
       0x01f6, ((0x00 << 8) | 0x00), 0xff9f  ,
       0x01f7, ((0x00 << 8) | 0x00), 0xffc8  ,
       0x01f8, ((0x26 << 8) | 0x02), 0x0001  ,
       0x0220, ((0x00 << 8) | 0x00), 0xff7e  ,
       0x0222, ((0x10 << 8) | 0x02), 0x0001  ,
       0x023a, ((0x00 << 8) | 0x00), 0x2a2b  ,
       0x023b, ((0x00 << 8) | 0x00), 0x0001  ,
       0x023d, ((0x00 << 8) | 0x00), 0xff5d  ,
       0x023e, ((0x00 << 8) | 0x00), 0x2a28  ,
       0x0241, ((0x00 << 8) | 0x00), 0x0001  ,
       0x0243, ((0x00 << 8) | 0x00), 0xff3d  ,
       0x0244, ((0x00 << 8) | 0x00), 0x0045  ,
       0x0245, ((0x00 << 8) | 0x00), 0x0047  ,
       0x0246, ((0x08 << 8) | 0x02), 0x0001  ,
       0x0386, ((0x00 << 8) | 0x00), 0x0026  ,
       0x0388, ((0x02 << 8) | 0x01), 0x0025  ,
       0x038c, ((0x00 << 8) | 0x00), 0x0040  ,
       0x038e, ((0x01 << 8) | 0x01), 0x003f  ,
       0x0391, ((0x10 << 8) | 0x01), 0x0020  ,
       0x03a3, ((0x08 << 8) | 0x01), 0x0020  ,
       0x03d8, ((0x16 << 8) | 0x02), 0x0001  ,
       0x03f4, ((0x00 << 8) | 0x00), 0xffc4  ,
       0x03f7, ((0x00 << 8) | 0x00), 0x0001  ,
       0x03f9, ((0x00 << 8) | 0x00), 0xfff9  ,
       0x03fa, ((0x00 << 8) | 0x00), 0x0001  ,
       0x03fd, ((0x02 << 8) | 0x01), 0xff7e  ,
       0x0400, ((0x0f << 8) | 0x01), 0x0050  ,
       0x0410, ((0x1f << 8) | 0x01), 0x0020  ,
       0x0460, ((0x20 << 8) | 0x02), 0x0001  ,
       0x048a, ((0x34 << 8) | 0x02), 0x0001  ,
       0x04c0, ((0x00 << 8) | 0x00), 0x000f  ,
       0x04c1, ((0x0c << 8) | 0x02), 0x0001  ,
       0x04d0, ((0x42 << 8) | 0x02), 0x0001  ,
       0x0531, ((0x25 << 8) | 0x01), 0x0030  ,
       0x10a0, ((0x25 << 8) | 0x01), 0x1c60  ,
       0x1e00, ((0x94 << 8) | 0x02), 0x0001  ,
       0x1ea0, ((0x58 << 8) | 0x02), 0x0001  ,
       0x1f08, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1f18, ((0x05 << 8) | 0x01), 0xfff8  ,
       0x1f28, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1f38, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1f48, ((0x05 << 8) | 0x01), 0xfff8  ,
       0x1f59, ((0x06 << 8) | 0x02), 0xfff8  ,
       0x1f68, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1f88, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1f98, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1fa8, ((0x07 << 8) | 0x01), 0xfff8  ,
       0x1fb8, ((0x01 << 8) | 0x01), 0xfff8  ,
       0x1fba, ((0x01 << 8) | 0x01), 0xffb6  ,
       0x1fbc, ((0x00 << 8) | 0x00), 0xfff7  ,
       0x1fc8, ((0x03 << 8) | 0x01), 0xffaa  ,
       0x1fcc, ((0x00 << 8) | 0x00), 0xfff7  ,
       0x1fd8, ((0x01 << 8) | 0x01), 0xfff8  ,
       0x1fda, ((0x01 << 8) | 0x01), 0xff9c  ,
       0x1fe8, ((0x01 << 8) | 0x01), 0xfff8  ,
       0x1fea, ((0x01 << 8) | 0x01), 0xff90  ,
       0x1fec, ((0x00 << 8) | 0x00), 0xfff9  ,
       0x1ff8, ((0x01 << 8) | 0x01), 0xff80  ,
       0x1ffa, ((0x01 << 8) | 0x01), 0xff82  ,
       0x1ffc, ((0x00 << 8) | 0x00), 0xfff7  ,
       0x2126, ((0x00 << 8) | 0x00), 0xe2a3  ,
       0x212a, ((0x00 << 8) | 0x00), 0xdf41  ,
       0x212b, ((0x00 << 8) | 0x00), 0xdfba  ,
       0x2132, ((0x00 << 8) | 0x00), 0x001c  ,
       0x2160, ((0x0f << 8) | 0x01), 0x0010  ,
       0x2183, ((0x00 << 8) | 0x00), 0x0001  ,
       0x24b6, ((0x19 << 8) | 0x01), 0x001a  ,
       0x2c00, ((0x2e << 8) | 0x01), 0x0030  ,
       0x2c60, ((0x00 << 8) | 0x00), 0x0001  ,
       0x2c62, ((0x00 << 8) | 0x00), 0xd609  ,
       0x2c63, ((0x00 << 8) | 0x00), 0xf11a  ,
       0x2c64, ((0x00 << 8) | 0x00), 0xd619  ,
       0x2c67, ((0x04 << 8) | 0x02), 0x0001  ,
       0x2c75, ((0x0b << 8) | 0x0b), 0x0001  ,
       0x2c82, ((0x60 << 8) | 0x02), 0x0001  ,
       0xff21, ((0x19 << 8) | 0x01), 0x0020   
};

static const PRUint32 gToLowerItems = 124;

static const PRUint32 gCaseBlocks [8] = {
0xE001003F,
0x00003012,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x80000000
};