mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
790694c449
--HG-- rename : intl/lwbrk/src/Makefile.in => intl/lwbrk/Makefile.in rename : intl/lwbrk/src/crashtests/416721.html => intl/lwbrk/crashtests/416721.html rename : intl/lwbrk/src/crashtests/crashtests.list => intl/lwbrk/crashtests/crashtests.list rename : intl/lwbrk/src/jisx4051class.h => intl/lwbrk/jisx4051class.h rename : intl/lwbrk/src/jisx4051pairtable.txt => intl/lwbrk/jisx4051pairtable.txt rename : intl/lwbrk/src/nsCarbonBreaker.cpp => intl/lwbrk/nsCarbonBreaker.cpp rename : intl/lwbrk/src/nsComplexBreaker.h => intl/lwbrk/nsComplexBreaker.h rename : intl/lwbrk/public/nsILineBreaker.h => intl/lwbrk/nsILineBreaker.h rename : intl/lwbrk/idl/nsISemanticUnitScanner.idl => intl/lwbrk/nsISemanticUnitScanner.idl rename : intl/lwbrk/public/nsIWordBreaker.h => intl/lwbrk/nsIWordBreaker.h rename : intl/lwbrk/src/nsJISx4051LineBreaker.cpp => intl/lwbrk/nsJISx4051LineBreaker.cpp rename : intl/lwbrk/src/nsJISx4051LineBreaker.h => intl/lwbrk/nsJISx4051LineBreaker.h rename : intl/lwbrk/public/nsLWBrkCIID.h => intl/lwbrk/nsLWBrkCIID.h rename : intl/lwbrk/src/nsPangoBreaker.cpp => intl/lwbrk/nsPangoBreaker.cpp rename : intl/lwbrk/src/nsRuleBreaker.cpp => intl/lwbrk/nsRuleBreaker.cpp rename : intl/lwbrk/src/nsSampleWordBreaker.cpp => intl/lwbrk/nsSampleWordBreaker.cpp rename : intl/lwbrk/src/nsSampleWordBreaker.h => intl/lwbrk/nsSampleWordBreaker.h rename : intl/lwbrk/src/nsSemanticUnitScanner.cpp => intl/lwbrk/nsSemanticUnitScanner.cpp rename : intl/lwbrk/src/nsSemanticUnitScanner.h => intl/lwbrk/nsSemanticUnitScanner.h rename : intl/lwbrk/src/nsUniscribeBreaker.cpp => intl/lwbrk/nsUniscribeBreaker.cpp rename : intl/lwbrk/src/rulebrk.c => intl/lwbrk/rulebrk.c rename : intl/lwbrk/src/rulebrk.h => intl/lwbrk/rulebrk.h rename : intl/lwbrk/src/th_char.h => intl/lwbrk/th_char.h
219 lines
6.5 KiB
C
219 lines
6.5 KiB
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
/*
|
|
DO NOT EDIT THIS DOCUMENT !!! THIS DOCUMENT IS GENERATED BY
|
|
mozilla/intl/lwbrk/tools/anzx4051.pl
|
|
*/
|
|
static const uint32_t gLBClass00[32] = {
|
|
0x55555555, // U+0000 - U+0007
|
|
0x55555555, // U+0008 - U+000F
|
|
0x55555555, // U+0010 - U+0017
|
|
0x55555555, // U+0018 - U+001F
|
|
0x7AABAAA5, // U+0020 - U+0027
|
|
0x7A7AAAA9, // U+0028 - U+002F
|
|
0x66666666, // U+0030 - U+0037
|
|
0xAAA9AA66, // U+0038 - U+003F
|
|
0x77777777, // U+0040 - U+0047
|
|
0x77777777, // U+0048 - U+004F
|
|
0x77777777, // U+0050 - U+0057
|
|
0x77AA9777, // U+0058 - U+005F
|
|
0x77777777, // U+0060 - U+0067
|
|
0x77777777, // U+0068 - U+006F
|
|
0x77777777, // U+0070 - U+0077
|
|
0x7AAA9777, // U+0078 - U+007F
|
|
0x77777777, // U+0080 - U+0087
|
|
0x77777777, // U+0088 - U+008F
|
|
0x77777777, // U+0090 - U+0097
|
|
0x77777777, // U+0098 - U+009F
|
|
0xAA9A9AAB, // U+00A0 - U+00A7
|
|
0x77A9777A, // U+00A8 - U+00AF
|
|
0xAAAAAAAA, // U+00B0 - U+00B7
|
|
0xAAAAAAAA, // U+00B8 - U+00BF
|
|
0x77777777, // U+00C0 - U+00C7
|
|
0x77777777, // U+00C8 - U+00CF
|
|
0x77777777, // U+00D0 - U+00D7
|
|
0x77777777, // U+00D8 - U+00DF
|
|
0x77777777, // U+00E0 - U+00E7
|
|
0x77777777, // U+00E8 - U+00EF
|
|
0xA7777777, // U+00F0 - U+00F7
|
|
0x77777777, // U+00F8 - U+00FF
|
|
};
|
|
|
|
static const uint32_t gLBClass20[32] = {
|
|
0xB5555555, // U+2000 - U+2007
|
|
0x77775555, // U+2008 - U+200F
|
|
0x777277B7, // U+2010 - U+2017
|
|
0x77A777A7, // U+2018 - U+201F
|
|
0xAAAA7777, // U+2020 - U+2027
|
|
0xB7777777, // U+2028 - U+202F
|
|
0x77744444, // U+2030 - U+2037
|
|
0x7A115107, // U+2038 - U+203F
|
|
0x11017777, // U+2040 - U+2047
|
|
0x77777711, // U+2048 - U+204F
|
|
0x77777777, // U+2050 - U+2057
|
|
0x57777777, // U+2058 - U+205F
|
|
0x7777777B, // U+2060 - U+2067
|
|
0x77777777, // U+2068 - U+206F
|
|
0x77777777, // U+2070 - U+2077
|
|
0x77777777, // U+2078 - U+207F
|
|
0x77777777, // U+2080 - U+2087
|
|
0x77777777, // U+2088 - U+208F
|
|
0x77777777, // U+2090 - U+2097
|
|
0x77777777, // U+2098 - U+209F
|
|
0x77777777, // U+20A0 - U+20A7
|
|
0x77777777, // U+20A8 - U+20AF
|
|
0x77777777, // U+20B0 - U+20B7
|
|
0x77777777, // U+20B8 - U+20BF
|
|
0x77777777, // U+20C0 - U+20C7
|
|
0x77777777, // U+20C8 - U+20CF
|
|
0x77777777, // U+20D0 - U+20D7
|
|
0x77777777, // U+20D8 - U+20DF
|
|
0x77777777, // U+20E0 - U+20E7
|
|
0x77777777, // U+20E8 - U+20EF
|
|
0x77777777, // U+20F0 - U+20F7
|
|
0x77777777, // U+20F8 - U+20FF
|
|
};
|
|
|
|
static const uint32_t gLBClass21[32] = {
|
|
0x77777777, // U+2100 - U+2107
|
|
0x77777777, // U+2108 - U+210F
|
|
0x73777777, // U+2110 - U+2117
|
|
0x77777777, // U+2118 - U+211F
|
|
0x77777777, // U+2120 - U+2127
|
|
0x77777777, // U+2128 - U+212F
|
|
0x77777777, // U+2130 - U+2137
|
|
0x77777777, // U+2138 - U+213F
|
|
0x77777777, // U+2140 - U+2147
|
|
0x77777777, // U+2148 - U+214F
|
|
0x77777777, // U+2150 - U+2157
|
|
0x77777777, // U+2158 - U+215F
|
|
0x55555555, // U+2160 - U+2167
|
|
0x55555555, // U+2168 - U+216F
|
|
0x55555555, // U+2170 - U+2177
|
|
0x55555555, // U+2178 - U+217F
|
|
0x77777777, // U+2180 - U+2187
|
|
0x77777777, // U+2188 - U+218F
|
|
0x77777777, // U+2190 - U+2197
|
|
0x77777777, // U+2198 - U+219F
|
|
0x77777777, // U+21A0 - U+21A7
|
|
0x77777777, // U+21A8 - U+21AF
|
|
0x77777777, // U+21B0 - U+21B7
|
|
0x77777777, // U+21B8 - U+21BF
|
|
0x77777777, // U+21C0 - U+21C7
|
|
0x77777777, // U+21C8 - U+21CF
|
|
0x77777777, // U+21D0 - U+21D7
|
|
0x77777777, // U+21D8 - U+21DF
|
|
0x77777777, // U+21E0 - U+21E7
|
|
0x77777777, // U+21E8 - U+21EF
|
|
0x77777777, // U+21F0 - U+21F7
|
|
0x77777777, // U+21F8 - U+21FF
|
|
};
|
|
|
|
static const uint32_t gLBClass30[32] = {
|
|
0x55155115, // U+3000 - U+3007
|
|
0x10101010, // U+3008 - U+300F
|
|
0x10105510, // U+3010 - U+3017
|
|
0x11011010, // U+3018 - U+301F
|
|
0x55555555, // U+3020 - U+3027
|
|
0x55555555, // U+3028 - U+302F
|
|
0x55555555, // U+3030 - U+3037
|
|
0x55555555, // U+3038 - U+303F
|
|
0x15151515, // U+3040 - U+3047
|
|
0x55555515, // U+3048 - U+304F
|
|
0x55555555, // U+3050 - U+3057
|
|
0x55555555, // U+3058 - U+305F
|
|
0x55551555, // U+3060 - U+3067
|
|
0x55555555, // U+3068 - U+306F
|
|
0x55555555, // U+3070 - U+3077
|
|
0x55555555, // U+3078 - U+307F
|
|
0x15151555, // U+3080 - U+3087
|
|
0x51555555, // U+3088 - U+308F
|
|
0x55555555, // U+3090 - U+3097
|
|
0x51111115, // U+3098 - U+309F
|
|
0x15151515, // U+30A0 - U+30A7
|
|
0x55555515, // U+30A8 - U+30AF
|
|
0x55555555, // U+30B0 - U+30B7
|
|
0x55555555, // U+30B8 - U+30BF
|
|
0x55551555, // U+30C0 - U+30C7
|
|
0x55555555, // U+30C8 - U+30CF
|
|
0x55555555, // U+30D0 - U+30D7
|
|
0x55555555, // U+30D8 - U+30DF
|
|
0x15151555, // U+30E0 - U+30E7
|
|
0x51555555, // U+30E8 - U+30EF
|
|
0x51155555, // U+30F0 - U+30F7
|
|
0x51111555, // U+30F8 - U+30FF
|
|
};
|
|
|
|
static const uint32_t gLBClass0E[32] = {
|
|
0x88888888, // U+0E00 - U+0E07
|
|
0x88888888, // U+0E08 - U+0E0F
|
|
0x88888888, // U+0E10 - U+0E17
|
|
0x88888888, // U+0E18 - U+0E1F
|
|
0x88888888, // U+0E20 - U+0E27
|
|
0x18888888, // U+0E28 - U+0E2F
|
|
0x88888888, // U+0E30 - U+0E37
|
|
0x08888888, // U+0E38 - U+0E3F
|
|
0x81888888, // U+0E40 - U+0E47
|
|
0x78888888, // U+0E48 - U+0E4F
|
|
0x66666666, // U+0E50 - U+0E57
|
|
0x88881166, // U+0E58 - U+0E5F
|
|
0x88888888, // U+0E60 - U+0E67
|
|
0x88888888, // U+0E68 - U+0E6F
|
|
0x88888888, // U+0E70 - U+0E77
|
|
0x88888888, // U+0E78 - U+0E7F
|
|
0x88888888, // U+0E80 - U+0E87
|
|
0x88888888, // U+0E88 - U+0E8F
|
|
0x88888888, // U+0E90 - U+0E97
|
|
0x88888888, // U+0E98 - U+0E9F
|
|
0x88888888, // U+0EA0 - U+0EA7
|
|
0x18888888, // U+0EA8 - U+0EAF
|
|
0x88888888, // U+0EB0 - U+0EB7
|
|
0x88888888, // U+0EB8 - U+0EBF
|
|
0x81888888, // U+0EC0 - U+0EC7
|
|
0x88888888, // U+0EC8 - U+0ECF
|
|
0x66666666, // U+0ED0 - U+0ED7
|
|
0x88888866, // U+0ED8 - U+0EDF
|
|
0x88888888, // U+0EE0 - U+0EE7
|
|
0x88888888, // U+0EE8 - U+0EEF
|
|
0x88888888, // U+0EF0 - U+0EF7
|
|
0x88888888, // U+0EF8 - U+0EFF
|
|
};
|
|
|
|
static const uint32_t gLBClass17[32] = {
|
|
0x77777777, // U+1700 - U+1707
|
|
0x77777777, // U+1708 - U+170F
|
|
0x77777777, // U+1710 - U+1717
|
|
0x77777777, // U+1718 - U+171F
|
|
0x77777777, // U+1720 - U+1727
|
|
0x77777777, // U+1728 - U+172F
|
|
0x70077777, // U+1730 - U+1737
|
|
0x77777777, // U+1738 - U+173F
|
|
0x77777777, // U+1740 - U+1747
|
|
0x77777777, // U+1748 - U+174F
|
|
0x77777777, // U+1750 - U+1757
|
|
0x77777777, // U+1758 - U+175F
|
|
0x77777777, // U+1760 - U+1767
|
|
0x77777777, // U+1768 - U+176F
|
|
0x77777777, // U+1770 - U+1777
|
|
0x77777777, // U+1778 - U+177F
|
|
0x88888888, // U+1780 - U+1787
|
|
0x88888888, // U+1788 - U+178F
|
|
0x88888888, // U+1790 - U+1797
|
|
0x88888888, // U+1798 - U+179F
|
|
0x88888888, // U+17A0 - U+17A7
|
|
0x88888888, // U+17A8 - U+17AF
|
|
0x88888888, // U+17B0 - U+17B7
|
|
0x88888888, // U+17B8 - U+17BF
|
|
0x88888888, // U+17C0 - U+17C7
|
|
0x88888888, // U+17C8 - U+17CF
|
|
0x88118888, // U+17D0 - U+17D7
|
|
0x77888181, // U+17D8 - U+17DF
|
|
0x88888888, // U+17E0 - U+17E7
|
|
0x77777788, // U+17E8 - U+17EF
|
|
0x88888888, // U+17F0 - U+17F7
|
|
0x77777788, // U+17F8 - U+17FF
|
|
};
|
|
|