xref: /aosp_15_r20/external/icu/libicu/ndk_headers/unicode/uchar.h (revision 0e209d3975ff4a8c132096b14b0e9364a753506e)
1*0e209d39SAndroid Build Coastguard Worker // © 2016 and later: Unicode, Inc. and others.
2*0e209d39SAndroid Build Coastguard Worker // License & terms of use: http://www.unicode.org/copyright.html
3*0e209d39SAndroid Build Coastguard Worker /*
4*0e209d39SAndroid Build Coastguard Worker **********************************************************************
5*0e209d39SAndroid Build Coastguard Worker *   Copyright (C) 1997-2016, International Business Machines
6*0e209d39SAndroid Build Coastguard Worker *   Corporation and others.  All Rights Reserved.
7*0e209d39SAndroid Build Coastguard Worker **********************************************************************
8*0e209d39SAndroid Build Coastguard Worker *
9*0e209d39SAndroid Build Coastguard Worker * File UCHAR.H
10*0e209d39SAndroid Build Coastguard Worker *
11*0e209d39SAndroid Build Coastguard Worker * Modification History:
12*0e209d39SAndroid Build Coastguard Worker *
13*0e209d39SAndroid Build Coastguard Worker *   Date        Name        Description
14*0e209d39SAndroid Build Coastguard Worker *   04/02/97    aliu        Creation.
15*0e209d39SAndroid Build Coastguard Worker *   03/29/99    helena      Updated for C APIs.
16*0e209d39SAndroid Build Coastguard Worker *   4/15/99     Madhu       Updated for C Implementation and Javadoc
17*0e209d39SAndroid Build Coastguard Worker *   5/20/99     Madhu       Added the function u_getVersion()
18*0e209d39SAndroid Build Coastguard Worker *   8/19/1999   srl         Upgraded scripts to Unicode 3.0
19*0e209d39SAndroid Build Coastguard Worker *   8/27/1999   schererm    UCharDirection constants: U_...
20*0e209d39SAndroid Build Coastguard Worker *   11/11/1999  weiv        added u_isalnum(), cleaned comments
21*0e209d39SAndroid Build Coastguard Worker *   01/11/2000  helena      Renamed u_getVersion to u_getUnicodeVersion().
22*0e209d39SAndroid Build Coastguard Worker ******************************************************************************
23*0e209d39SAndroid Build Coastguard Worker */
24*0e209d39SAndroid Build Coastguard Worker 
25*0e209d39SAndroid Build Coastguard Worker #ifndef UCHAR_H
26*0e209d39SAndroid Build Coastguard Worker #define UCHAR_H
27*0e209d39SAndroid Build Coastguard Worker 
28*0e209d39SAndroid Build Coastguard Worker #include <stdbool.h>
29*0e209d39SAndroid Build Coastguard Worker #include "unicode/utypes.h"
30*0e209d39SAndroid Build Coastguard Worker #include "unicode/stringoptions.h"
31*0e209d39SAndroid Build Coastguard Worker #include "unicode/ucpmap.h"
32*0e209d39SAndroid Build Coastguard Worker 
33*0e209d39SAndroid Build Coastguard Worker #if !defined(USET_DEFINED) && !defined(U_IN_DOXYGEN)
34*0e209d39SAndroid Build Coastguard Worker 
35*0e209d39SAndroid Build Coastguard Worker #define USET_DEFINED
36*0e209d39SAndroid Build Coastguard Worker 
37*0e209d39SAndroid Build Coastguard Worker /**
38*0e209d39SAndroid Build Coastguard Worker  * USet is the C API type corresponding to C++ class UnicodeSet.
39*0e209d39SAndroid Build Coastguard Worker  * It is forward-declared here to avoid including unicode/uset.h file if related
40*0e209d39SAndroid Build Coastguard Worker  * APIs are not used.
41*0e209d39SAndroid Build Coastguard Worker  *
42*0e209d39SAndroid Build Coastguard Worker  * @see ucnv_getUnicodeSet
43*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
44*0e209d39SAndroid Build Coastguard Worker  */
45*0e209d39SAndroid Build Coastguard Worker typedef struct USet USet;
46*0e209d39SAndroid Build Coastguard Worker 
47*0e209d39SAndroid Build Coastguard Worker #endif
48*0e209d39SAndroid Build Coastguard Worker 
49*0e209d39SAndroid Build Coastguard Worker 
50*0e209d39SAndroid Build Coastguard Worker U_CDECL_BEGIN
51*0e209d39SAndroid Build Coastguard Worker 
52*0e209d39SAndroid Build Coastguard Worker /*==========================================================================*/
53*0e209d39SAndroid Build Coastguard Worker /* Unicode version number                                                   */
54*0e209d39SAndroid Build Coastguard Worker /*==========================================================================*/
55*0e209d39SAndroid Build Coastguard Worker /**
56*0e209d39SAndroid Build Coastguard Worker  * Unicode version number, default for the current ICU version.
57*0e209d39SAndroid Build Coastguard Worker  * The actual Unicode Character Database (UCD) data is stored in uprops.dat
58*0e209d39SAndroid Build Coastguard Worker  * and may be generated from UCD files from a different Unicode version.
59*0e209d39SAndroid Build Coastguard Worker  * Call u_getUnicodeVersion to get the actual Unicode version of the data.
60*0e209d39SAndroid Build Coastguard Worker  *
61*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
62*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
63*0e209d39SAndroid Build Coastguard Worker  */
64*0e209d39SAndroid Build Coastguard Worker #define U_UNICODE_VERSION "15.1"
65*0e209d39SAndroid Build Coastguard Worker 
66*0e209d39SAndroid Build Coastguard Worker /**
67*0e209d39SAndroid Build Coastguard Worker  * @addtogroup icu4c ICU4C
68*0e209d39SAndroid Build Coastguard Worker  * @{
69*0e209d39SAndroid Build Coastguard Worker  * \file
70*0e209d39SAndroid Build Coastguard Worker  * \brief C API: Unicode Properties
71*0e209d39SAndroid Build Coastguard Worker  *
72*0e209d39SAndroid Build Coastguard Worker  * This C API provides low-level access to the Unicode Character Database.
73*0e209d39SAndroid Build Coastguard Worker  * In addition to raw property values, some convenience functions calculate
74*0e209d39SAndroid Build Coastguard Worker  * derived properties, for example for Java-style programming.
75*0e209d39SAndroid Build Coastguard Worker  *
76*0e209d39SAndroid Build Coastguard Worker  * Unicode assigns each code point (not just assigned character) values for
77*0e209d39SAndroid Build Coastguard Worker  * many properties.
78*0e209d39SAndroid Build Coastguard Worker  * Most of them are simple boolean flags, or constants from a small enumerated list.
79*0e209d39SAndroid Build Coastguard Worker  * For some properties, values are strings or other relatively more complex types.
80*0e209d39SAndroid Build Coastguard Worker  *
81*0e209d39SAndroid Build Coastguard Worker  * For more information see
82*0e209d39SAndroid Build Coastguard Worker  * "About the Unicode Character Database" (http://www.unicode.org/ucd/)
83*0e209d39SAndroid Build Coastguard Worker  * and the ICU User Guide chapter on Properties (https://unicode-org.github.io/icu/userguide/strings/properties).
84*0e209d39SAndroid Build Coastguard Worker  *
85*0e209d39SAndroid Build Coastguard Worker  * Many properties are accessible via generic functions that take a UProperty selector.
86*0e209d39SAndroid Build Coastguard Worker  * - u_hasBinaryProperty() returns a binary value (true/false) per property and code point.
87*0e209d39SAndroid Build Coastguard Worker  * - u_getIntPropertyValue() returns an integer value per property and code point.
88*0e209d39SAndroid Build Coastguard Worker  *   For each supported enumerated or catalog property, there is
89*0e209d39SAndroid Build Coastguard Worker  *   an enum type for all of the property's values, and
90*0e209d39SAndroid Build Coastguard Worker  *   u_getIntPropertyValue() returns the numeric values of those constants.
91*0e209d39SAndroid Build Coastguard Worker  * - u_getBinaryPropertySet() returns a set for each ICU-supported binary property with
92*0e209d39SAndroid Build Coastguard Worker  *   all code points for which the property is true.
93*0e209d39SAndroid Build Coastguard Worker  * - u_getIntPropertyMap() returns a map for each
94*0e209d39SAndroid Build Coastguard Worker  *   ICU-supported enumerated/catalog/int-valued property which
95*0e209d39SAndroid Build Coastguard Worker  *   maps all Unicode code points to their values for that property.
96*0e209d39SAndroid Build Coastguard Worker  *
97*0e209d39SAndroid Build Coastguard Worker  * Many functions are designed to match java.lang.Character functions.
98*0e209d39SAndroid Build Coastguard Worker  * See the individual function documentation,
99*0e209d39SAndroid Build Coastguard Worker  * and see the JDK 1.4 java.lang.Character documentation
100*0e209d39SAndroid Build Coastguard Worker  * at http://java.sun.com/j2se/1.4/docs/api/java/lang/Character.html
101*0e209d39SAndroid Build Coastguard Worker  *
102*0e209d39SAndroid Build Coastguard Worker  * There are also functions that provide easy migration from C/POSIX functions
103*0e209d39SAndroid Build Coastguard Worker  * like isblank(). Their use is generally discouraged because the C/POSIX
104*0e209d39SAndroid Build Coastguard Worker  * standards do not define their semantics beyond the ASCII range, which means
105*0e209d39SAndroid Build Coastguard Worker  * that different implementations exhibit very different behavior.
106*0e209d39SAndroid Build Coastguard Worker  * Instead, Unicode properties should be used directly.
107*0e209d39SAndroid Build Coastguard Worker  *
108*0e209d39SAndroid Build Coastguard Worker  * There are also only a few, broad C/POSIX character classes, and they tend
109*0e209d39SAndroid Build Coastguard Worker  * to be used for conflicting purposes. For example, the "isalpha()" class
110*0e209d39SAndroid Build Coastguard Worker  * is sometimes used to determine word boundaries, while a more sophisticated
111*0e209d39SAndroid Build Coastguard Worker  * approach would at least distinguish initial letters from continuation
112*0e209d39SAndroid Build Coastguard Worker  * characters (the latter including combining marks).
113*0e209d39SAndroid Build Coastguard Worker  * (In ICU, BreakIterator is the most sophisticated API for word boundaries.)
114*0e209d39SAndroid Build Coastguard Worker  * Another example: There is no "istitle()" class for titlecase characters.
115*0e209d39SAndroid Build Coastguard Worker  *
116*0e209d39SAndroid Build Coastguard Worker  * ICU 3.4 and later provides API access for all twelve C/POSIX character classes.
117*0e209d39SAndroid Build Coastguard Worker  * ICU implements them according to the Standard Recommendations in
118*0e209d39SAndroid Build Coastguard Worker  * Annex C: Compatibility Properties of UTS #18 Unicode Regular Expressions
119*0e209d39SAndroid Build Coastguard Worker  * (http://www.unicode.org/reports/tr18/#Compatibility_Properties).
120*0e209d39SAndroid Build Coastguard Worker  *
121*0e209d39SAndroid Build Coastguard Worker  * API access for C/POSIX character classes is as follows:
122*0e209d39SAndroid Build Coastguard Worker  * - alpha:     u_isUAlphabetic(c) or u_hasBinaryProperty(c, UCHAR_ALPHABETIC)
123*0e209d39SAndroid Build Coastguard Worker  * - lower:     u_isULowercase(c) or u_hasBinaryProperty(c, UCHAR_LOWERCASE)
124*0e209d39SAndroid Build Coastguard Worker  * - upper:     u_isUUppercase(c) or u_hasBinaryProperty(c, UCHAR_UPPERCASE)
125*0e209d39SAndroid Build Coastguard Worker  * - punct:     u_ispunct(c)
126*0e209d39SAndroid Build Coastguard Worker  * - digit:     u_isdigit(c) or u_charType(c)==U_DECIMAL_DIGIT_NUMBER
127*0e209d39SAndroid Build Coastguard Worker  * - xdigit:    u_isxdigit(c) or u_hasBinaryProperty(c, UCHAR_POSIX_XDIGIT)
128*0e209d39SAndroid Build Coastguard Worker  * - alnum:     u_hasBinaryProperty(c, UCHAR_POSIX_ALNUM)
129*0e209d39SAndroid Build Coastguard Worker  * - space:     u_isUWhiteSpace(c) or u_hasBinaryProperty(c, UCHAR_WHITE_SPACE)
130*0e209d39SAndroid Build Coastguard Worker  * - blank:     u_isblank(c) or u_hasBinaryProperty(c, UCHAR_POSIX_BLANK)
131*0e209d39SAndroid Build Coastguard Worker  * - cntrl:     u_charType(c)==U_CONTROL_CHAR
132*0e209d39SAndroid Build Coastguard Worker  * - graph:     u_hasBinaryProperty(c, UCHAR_POSIX_GRAPH)
133*0e209d39SAndroid Build Coastguard Worker  * - print:     u_hasBinaryProperty(c, UCHAR_POSIX_PRINT)
134*0e209d39SAndroid Build Coastguard Worker  *
135*0e209d39SAndroid Build Coastguard Worker  * Note: Some of the u_isxyz() functions in uchar.h predate, and do not match,
136*0e209d39SAndroid Build Coastguard Worker  * the Standard Recommendations in UTS #18. Instead, they match Java
137*0e209d39SAndroid Build Coastguard Worker  * functions according to their API documentation.
138*0e209d39SAndroid Build Coastguard Worker  *
139*0e209d39SAndroid Build Coastguard Worker  * \htmlonly
140*0e209d39SAndroid Build Coastguard Worker  * The C/POSIX character classes are also available in UnicodeSet patterns,
141*0e209d39SAndroid Build Coastguard Worker  * using patterns like [:graph:] or \p{graph}.
142*0e209d39SAndroid Build Coastguard Worker  * \endhtmlonly
143*0e209d39SAndroid Build Coastguard Worker  *
144*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions.
145*0e209d39SAndroid Build Coastguard Worker  * Comparison:
146*0e209d39SAndroid Build Coastguard Worker  * - u_isUWhiteSpace=UCHAR_WHITE_SPACE: Unicode White_Space property;
147*0e209d39SAndroid Build Coastguard Worker  *       most of general categories "Z" (separators) + most whitespace ISO controls
148*0e209d39SAndroid Build Coastguard Worker  *       (including no-break spaces, but excluding IS1..IS4)
149*0e209d39SAndroid Build Coastguard Worker  * - u_isWhitespace: Java isWhitespace; Z + whitespace ISO controls but excluding no-break spaces
150*0e209d39SAndroid Build Coastguard Worker  * - u_isJavaSpaceChar: Java isSpaceChar; just Z (including no-break spaces)
151*0e209d39SAndroid Build Coastguard Worker  * - u_isspace: Z + whitespace ISO controls (including no-break spaces)
152*0e209d39SAndroid Build Coastguard Worker  * - u_isblank: "horizontal spaces" = TAB + Zs
153*0e209d39SAndroid Build Coastguard Worker  */
154*0e209d39SAndroid Build Coastguard Worker 
155*0e209d39SAndroid Build Coastguard Worker /**
156*0e209d39SAndroid Build Coastguard Worker  * Constants.
157*0e209d39SAndroid Build Coastguard Worker  */
158*0e209d39SAndroid Build Coastguard Worker 
159*0e209d39SAndroid Build Coastguard Worker /** The lowest Unicode code point value. Code points are non-negative. \xrefitem stable "Stable" "Stable List" ICU 2.0 */
160*0e209d39SAndroid Build Coastguard Worker #define UCHAR_MIN_VALUE 0
161*0e209d39SAndroid Build Coastguard Worker 
162*0e209d39SAndroid Build Coastguard Worker /**
163*0e209d39SAndroid Build Coastguard Worker  * The highest Unicode code point value (scalar value) according to
164*0e209d39SAndroid Build Coastguard Worker  * The Unicode Standard. This is a 21-bit value (20.1 bits, rounded up).
165*0e209d39SAndroid Build Coastguard Worker  * For a single character, UChar32 is a simple type that can hold any code point value.
166*0e209d39SAndroid Build Coastguard Worker  *
167*0e209d39SAndroid Build Coastguard Worker  * @see UChar32
168*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
169*0e209d39SAndroid Build Coastguard Worker  */
170*0e209d39SAndroid Build Coastguard Worker #define UCHAR_MAX_VALUE 0x10ffff
171*0e209d39SAndroid Build Coastguard Worker 
172*0e209d39SAndroid Build Coastguard Worker /**
173*0e209d39SAndroid Build Coastguard Worker  * Get a single-bit bit set (a flag) from a bit number 0..31.
174*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
175*0e209d39SAndroid Build Coastguard Worker  */
176*0e209d39SAndroid Build Coastguard Worker #define U_MASK(x) ((uint32_t)1<<(x))
177*0e209d39SAndroid Build Coastguard Worker 
178*0e209d39SAndroid Build Coastguard Worker /**
179*0e209d39SAndroid Build Coastguard Worker  * Selection constants for Unicode properties.
180*0e209d39SAndroid Build Coastguard Worker  * These constants are used in functions like u_hasBinaryProperty to select
181*0e209d39SAndroid Build Coastguard Worker  * one of the Unicode properties.
182*0e209d39SAndroid Build Coastguard Worker  *
183*0e209d39SAndroid Build Coastguard Worker  * The properties APIs are intended to reflect Unicode properties as defined
184*0e209d39SAndroid Build Coastguard Worker  * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
185*0e209d39SAndroid Build Coastguard Worker  *
186*0e209d39SAndroid Build Coastguard Worker  * For details about the properties see
187*0e209d39SAndroid Build Coastguard Worker  * UAX #44: Unicode Character Database (http://www.unicode.org/reports/tr44/).
188*0e209d39SAndroid Build Coastguard Worker  *
189*0e209d39SAndroid Build Coastguard Worker  * Important: If ICU is built with UCD files from Unicode versions below, e.g., 3.2,
190*0e209d39SAndroid Build Coastguard Worker  * then properties marked with "new in Unicode 3.2" are not or not fully available.
191*0e209d39SAndroid Build Coastguard Worker  * Check u_getUnicodeVersion to be sure.
192*0e209d39SAndroid Build Coastguard Worker  *
193*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
194*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyValue
195*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
196*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
197*0e209d39SAndroid Build Coastguard Worker  */
198*0e209d39SAndroid Build Coastguard Worker typedef enum UProperty {
199*0e209d39SAndroid Build Coastguard Worker     /*
200*0e209d39SAndroid Build Coastguard Worker      * Note: UProperty constants are parsed by preparseucd.py.
201*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
202*0e209d39SAndroid Build Coastguard Worker      *     UCHAR_<Unicode property name>=<integer>,
203*0e209d39SAndroid Build Coastguard Worker      */
204*0e209d39SAndroid Build Coastguard Worker 
205*0e209d39SAndroid Build Coastguard Worker     /*  Note: Place UCHAR_ALPHABETIC before UCHAR_BINARY_START so that
206*0e209d39SAndroid Build Coastguard Worker     debuggers display UCHAR_ALPHABETIC as the symbolic name for 0,
207*0e209d39SAndroid Build Coastguard Worker     rather than UCHAR_BINARY_START.  Likewise for other *_START
208*0e209d39SAndroid Build Coastguard Worker     identifiers. */
209*0e209d39SAndroid Build Coastguard Worker 
210*0e209d39SAndroid Build Coastguard Worker     /** Binary property Alphabetic. Same as u_isUAlphabetic, different from u_isalpha.
211*0e209d39SAndroid Build Coastguard Worker         Lu+Ll+Lt+Lm+Lo+Nl+Other_Alphabetic \xrefitem stable "Stable" "Stable List" ICU 2.1 */
212*0e209d39SAndroid Build Coastguard Worker     UCHAR_ALPHABETIC=0,
213*0e209d39SAndroid Build Coastguard Worker     /** First constant for binary Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
214*0e209d39SAndroid Build Coastguard Worker     UCHAR_BINARY_START=UCHAR_ALPHABETIC,
215*0e209d39SAndroid Build Coastguard Worker     /** Binary property ASCII_Hex_Digit. 0-9 A-F a-f \xrefitem stable "Stable" "Stable List" ICU 2.1 */
216*0e209d39SAndroid Build Coastguard Worker     UCHAR_ASCII_HEX_DIGIT=1,
217*0e209d39SAndroid Build Coastguard Worker     /** Binary property Bidi_Control.
218*0e209d39SAndroid Build Coastguard Worker         Format controls which have specific functions
219*0e209d39SAndroid Build Coastguard Worker         in the Bidi Algorithm. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
220*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_CONTROL=2,
221*0e209d39SAndroid Build Coastguard Worker     /** Binary property Bidi_Mirrored.
222*0e209d39SAndroid Build Coastguard Worker         Characters that may change display in RTL text.
223*0e209d39SAndroid Build Coastguard Worker         Same as u_isMirrored.
224*0e209d39SAndroid Build Coastguard Worker         See Bidi Algorithm, UTR 9. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
225*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_MIRRORED=3,
226*0e209d39SAndroid Build Coastguard Worker     /** Binary property Dash. Variations of dashes. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
227*0e209d39SAndroid Build Coastguard Worker     UCHAR_DASH=4,
228*0e209d39SAndroid Build Coastguard Worker     /** Binary property Default_Ignorable_Code_Point (new in Unicode 3.2).
229*0e209d39SAndroid Build Coastguard Worker         Ignorable in most processing.
230*0e209d39SAndroid Build Coastguard Worker         <2060..206F, FFF0..FFFB, E0000..E0FFF>+Other_Default_Ignorable_Code_Point+(Cf+Cc+Cs-White_Space) \xrefitem stable "Stable" "Stable List" ICU 2.1 */
231*0e209d39SAndroid Build Coastguard Worker     UCHAR_DEFAULT_IGNORABLE_CODE_POINT=5,
232*0e209d39SAndroid Build Coastguard Worker     /** Binary property Deprecated (new in Unicode 3.2).
233*0e209d39SAndroid Build Coastguard Worker         The usage of deprecated characters is strongly discouraged. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
234*0e209d39SAndroid Build Coastguard Worker     UCHAR_DEPRECATED=6,
235*0e209d39SAndroid Build Coastguard Worker     /** Binary property Diacritic. Characters that linguistically modify
236*0e209d39SAndroid Build Coastguard Worker         the meaning of another character to which they apply. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
237*0e209d39SAndroid Build Coastguard Worker     UCHAR_DIACRITIC=7,
238*0e209d39SAndroid Build Coastguard Worker     /** Binary property Extender.
239*0e209d39SAndroid Build Coastguard Worker         Extend the value or shape of a preceding alphabetic character,
240*0e209d39SAndroid Build Coastguard Worker         e.g., length and iteration marks. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
241*0e209d39SAndroid Build Coastguard Worker     UCHAR_EXTENDER=8,
242*0e209d39SAndroid Build Coastguard Worker     /** Binary property Full_Composition_Exclusion.
243*0e209d39SAndroid Build Coastguard Worker         CompositionExclusions.txt+Singleton Decompositions+
244*0e209d39SAndroid Build Coastguard Worker         Non-Starter Decompositions. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
245*0e209d39SAndroid Build Coastguard Worker     UCHAR_FULL_COMPOSITION_EXCLUSION=9,
246*0e209d39SAndroid Build Coastguard Worker     /** Binary property Grapheme_Base (new in Unicode 3.2).
247*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of grapheme cluster boundaries.
248*0e209d39SAndroid Build Coastguard Worker         [0..10FFFF]-Cc-Cf-Cs-Co-Cn-Zl-Zp-Grapheme_Link-Grapheme_Extend-CGJ \xrefitem stable "Stable" "Stable List" ICU 2.1 */
249*0e209d39SAndroid Build Coastguard Worker     UCHAR_GRAPHEME_BASE=10,
250*0e209d39SAndroid Build Coastguard Worker     /** Binary property Grapheme_Extend (new in Unicode 3.2).
251*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of grapheme cluster boundaries.
252*0e209d39SAndroid Build Coastguard Worker         Me+Mn+Mc+Other_Grapheme_Extend-Grapheme_Link-CGJ \xrefitem stable "Stable" "Stable List" ICU 2.1 */
253*0e209d39SAndroid Build Coastguard Worker     UCHAR_GRAPHEME_EXTEND=11,
254*0e209d39SAndroid Build Coastguard Worker     /** Binary property Grapheme_Link (new in Unicode 3.2).
255*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of grapheme cluster boundaries. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
256*0e209d39SAndroid Build Coastguard Worker     UCHAR_GRAPHEME_LINK=12,
257*0e209d39SAndroid Build Coastguard Worker     /** Binary property Hex_Digit.
258*0e209d39SAndroid Build Coastguard Worker         Characters commonly used for hexadecimal numbers. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
259*0e209d39SAndroid Build Coastguard Worker     UCHAR_HEX_DIGIT=13,
260*0e209d39SAndroid Build Coastguard Worker     /** Binary property Hyphen. Dashes used to mark connections
261*0e209d39SAndroid Build Coastguard Worker         between pieces of words, plus the Katakana middle dot. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
262*0e209d39SAndroid Build Coastguard Worker     UCHAR_HYPHEN=14,
263*0e209d39SAndroid Build Coastguard Worker     /** Binary property ID_Continue.
264*0e209d39SAndroid Build Coastguard Worker         Characters that can continue an identifier.
265*0e209d39SAndroid Build Coastguard Worker         DerivedCoreProperties.txt also says "NOTE: Cf characters should be filtered out."
266*0e209d39SAndroid Build Coastguard Worker         ID_Start+Mn+Mc+Nd+Pc \xrefitem stable "Stable" "Stable List" ICU 2.1 */
267*0e209d39SAndroid Build Coastguard Worker     UCHAR_ID_CONTINUE=15,
268*0e209d39SAndroid Build Coastguard Worker     /** Binary property ID_Start.
269*0e209d39SAndroid Build Coastguard Worker         Characters that can start an identifier.
270*0e209d39SAndroid Build Coastguard Worker         Lu+Ll+Lt+Lm+Lo+Nl \xrefitem stable "Stable" "Stable List" ICU 2.1 */
271*0e209d39SAndroid Build Coastguard Worker     UCHAR_ID_START=16,
272*0e209d39SAndroid Build Coastguard Worker     /** Binary property Ideographic.
273*0e209d39SAndroid Build Coastguard Worker         CJKV ideographs. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
274*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDEOGRAPHIC=17,
275*0e209d39SAndroid Build Coastguard Worker     /** Binary property IDS_Binary_Operator (new in Unicode 3.2).
276*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of
277*0e209d39SAndroid Build Coastguard Worker         Ideographic Description Sequences. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
278*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDS_BINARY_OPERATOR=18,
279*0e209d39SAndroid Build Coastguard Worker     /** Binary property IDS_Trinary_Operator (new in Unicode 3.2).
280*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of
281*0e209d39SAndroid Build Coastguard Worker         Ideographic Description Sequences. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
282*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDS_TRINARY_OPERATOR=19,
283*0e209d39SAndroid Build Coastguard Worker     /** Binary property Join_Control.
284*0e209d39SAndroid Build Coastguard Worker         Format controls for cursive joining and ligation. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
285*0e209d39SAndroid Build Coastguard Worker     UCHAR_JOIN_CONTROL=20,
286*0e209d39SAndroid Build Coastguard Worker     /** Binary property Logical_Order_Exception (new in Unicode 3.2).
287*0e209d39SAndroid Build Coastguard Worker         Characters that do not use logical order and
288*0e209d39SAndroid Build Coastguard Worker         require special handling in most processing. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
289*0e209d39SAndroid Build Coastguard Worker     UCHAR_LOGICAL_ORDER_EXCEPTION=21,
290*0e209d39SAndroid Build Coastguard Worker     /** Binary property Lowercase. Same as u_isULowercase, different from u_islower.
291*0e209d39SAndroid Build Coastguard Worker         Ll+Other_Lowercase \xrefitem stable "Stable" "Stable List" ICU 2.1 */
292*0e209d39SAndroid Build Coastguard Worker     UCHAR_LOWERCASE=22,
293*0e209d39SAndroid Build Coastguard Worker     /** Binary property Math. Sm+Other_Math \xrefitem stable "Stable" "Stable List" ICU 2.1 */
294*0e209d39SAndroid Build Coastguard Worker     UCHAR_MATH=23,
295*0e209d39SAndroid Build Coastguard Worker     /** Binary property Noncharacter_Code_Point.
296*0e209d39SAndroid Build Coastguard Worker         Code points that are explicitly defined as illegal
297*0e209d39SAndroid Build Coastguard Worker         for the encoding of characters. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
298*0e209d39SAndroid Build Coastguard Worker     UCHAR_NONCHARACTER_CODE_POINT=24,
299*0e209d39SAndroid Build Coastguard Worker     /** Binary property Quotation_Mark. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
300*0e209d39SAndroid Build Coastguard Worker     UCHAR_QUOTATION_MARK=25,
301*0e209d39SAndroid Build Coastguard Worker     /** Binary property Radical (new in Unicode 3.2).
302*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of
303*0e209d39SAndroid Build Coastguard Worker         Ideographic Description Sequences. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
304*0e209d39SAndroid Build Coastguard Worker     UCHAR_RADICAL=26,
305*0e209d39SAndroid Build Coastguard Worker     /** Binary property Soft_Dotted (new in Unicode 3.2).
306*0e209d39SAndroid Build Coastguard Worker         Characters with a "soft dot", like i or j.
307*0e209d39SAndroid Build Coastguard Worker         An accent placed on these characters causes
308*0e209d39SAndroid Build Coastguard Worker         the dot to disappear. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
309*0e209d39SAndroid Build Coastguard Worker     UCHAR_SOFT_DOTTED=27,
310*0e209d39SAndroid Build Coastguard Worker     /** Binary property Terminal_Punctuation.
311*0e209d39SAndroid Build Coastguard Worker         Punctuation characters that generally mark
312*0e209d39SAndroid Build Coastguard Worker         the end of textual units. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
313*0e209d39SAndroid Build Coastguard Worker     UCHAR_TERMINAL_PUNCTUATION=28,
314*0e209d39SAndroid Build Coastguard Worker     /** Binary property Unified_Ideograph (new in Unicode 3.2).
315*0e209d39SAndroid Build Coastguard Worker         For programmatic determination of
316*0e209d39SAndroid Build Coastguard Worker         Ideographic Description Sequences. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
317*0e209d39SAndroid Build Coastguard Worker     UCHAR_UNIFIED_IDEOGRAPH=29,
318*0e209d39SAndroid Build Coastguard Worker     /** Binary property Uppercase. Same as u_isUUppercase, different from u_isupper.
319*0e209d39SAndroid Build Coastguard Worker         Lu+Other_Uppercase \xrefitem stable "Stable" "Stable List" ICU 2.1 */
320*0e209d39SAndroid Build Coastguard Worker     UCHAR_UPPERCASE=30,
321*0e209d39SAndroid Build Coastguard Worker     /** Binary property White_Space.
322*0e209d39SAndroid Build Coastguard Worker         Same as u_isUWhiteSpace, different from u_isspace and u_isWhitespace.
323*0e209d39SAndroid Build Coastguard Worker         Space characters+TAB+CR+LF-ZWSP-ZWNBSP \xrefitem stable "Stable" "Stable List" ICU 2.1 */
324*0e209d39SAndroid Build Coastguard Worker     UCHAR_WHITE_SPACE=31,
325*0e209d39SAndroid Build Coastguard Worker     /** Binary property XID_Continue.
326*0e209d39SAndroid Build Coastguard Worker         ID_Continue modified to allow closure under
327*0e209d39SAndroid Build Coastguard Worker         normalization forms NFKC and NFKD. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
328*0e209d39SAndroid Build Coastguard Worker     UCHAR_XID_CONTINUE=32,
329*0e209d39SAndroid Build Coastguard Worker     /** Binary property XID_Start. ID_Start modified to allow
330*0e209d39SAndroid Build Coastguard Worker         closure under normalization forms NFKC and NFKD. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
331*0e209d39SAndroid Build Coastguard Worker     UCHAR_XID_START=33,
332*0e209d39SAndroid Build Coastguard Worker     /** Binary property Case_Sensitive. Either the source of a case
333*0e209d39SAndroid Build Coastguard Worker         mapping or _in_ the target of a case mapping. Not the same as
334*0e209d39SAndroid Build Coastguard Worker         the general category Cased_Letter. \xrefitem stable "Stable" "Stable List" ICU 2.6 */
335*0e209d39SAndroid Build Coastguard Worker    UCHAR_CASE_SENSITIVE=34,
336*0e209d39SAndroid Build Coastguard Worker     /** Binary property STerm (new in Unicode 4.0.1).
337*0e209d39SAndroid Build Coastguard Worker         Sentence Terminal. Used in UAX #29: Text Boundaries
338*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr29/)
339*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
340*0e209d39SAndroid Build Coastguard Worker     UCHAR_S_TERM=35,
341*0e209d39SAndroid Build Coastguard Worker     /** Binary property Variation_Selector (new in Unicode 4.0.1).
342*0e209d39SAndroid Build Coastguard Worker         Indicates all those characters that qualify as Variation Selectors.
343*0e209d39SAndroid Build Coastguard Worker         For details on the behavior of these characters,
344*0e209d39SAndroid Build Coastguard Worker         see StandardizedVariants.html and 15.6 Variation Selectors.
345*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
346*0e209d39SAndroid Build Coastguard Worker     UCHAR_VARIATION_SELECTOR=36,
347*0e209d39SAndroid Build Coastguard Worker     /** Binary property NFD_Inert.
348*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for characters that are inert under NFD,
349*0e209d39SAndroid Build Coastguard Worker         i.e., they do not interact with adjacent characters.
350*0e209d39SAndroid Build Coastguard Worker         See the documentation for the Normalizer2 class and the
351*0e209d39SAndroid Build Coastguard Worker         Normalizer2::isInert() method.
352*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
353*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFD_INERT=37,
354*0e209d39SAndroid Build Coastguard Worker     /** Binary property NFKD_Inert.
355*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for characters that are inert under NFKD,
356*0e209d39SAndroid Build Coastguard Worker         i.e., they do not interact with adjacent characters.
357*0e209d39SAndroid Build Coastguard Worker         See the documentation for the Normalizer2 class and the
358*0e209d39SAndroid Build Coastguard Worker         Normalizer2::isInert() method.
359*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
360*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFKD_INERT=38,
361*0e209d39SAndroid Build Coastguard Worker     /** Binary property NFC_Inert.
362*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for characters that are inert under NFC,
363*0e209d39SAndroid Build Coastguard Worker         i.e., they do not interact with adjacent characters.
364*0e209d39SAndroid Build Coastguard Worker         See the documentation for the Normalizer2 class and the
365*0e209d39SAndroid Build Coastguard Worker         Normalizer2::isInert() method.
366*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
367*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFC_INERT=39,
368*0e209d39SAndroid Build Coastguard Worker     /** Binary property NFKC_Inert.
369*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for characters that are inert under NFKC,
370*0e209d39SAndroid Build Coastguard Worker         i.e., they do not interact with adjacent characters.
371*0e209d39SAndroid Build Coastguard Worker         See the documentation for the Normalizer2 class and the
372*0e209d39SAndroid Build Coastguard Worker         Normalizer2::isInert() method.
373*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
374*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFKC_INERT=40,
375*0e209d39SAndroid Build Coastguard Worker     /** Binary Property Segment_Starter.
376*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for characters that are starters in terms of
377*0e209d39SAndroid Build Coastguard Worker         Unicode normalization and combining character sequences.
378*0e209d39SAndroid Build Coastguard Worker         They have ccc=0 and do not occur in non-initial position of the
379*0e209d39SAndroid Build Coastguard Worker         canonical decomposition of any character
380*0e209d39SAndroid Build Coastguard Worker         (like a-umlaut in NFD and a Jamo T in an NFD(Hangul LVT)).
381*0e209d39SAndroid Build Coastguard Worker         ICU uses this property for segmenting a string for generating a set of
382*0e209d39SAndroid Build Coastguard Worker         canonically equivalent strings, e.g. for canonical closure while
383*0e209d39SAndroid Build Coastguard Worker         processing collation tailoring rules.
384*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.0 */
385*0e209d39SAndroid Build Coastguard Worker     UCHAR_SEGMENT_STARTER=41,
386*0e209d39SAndroid Build Coastguard Worker     /** Binary property Pattern_Syntax (new in Unicode 4.1).
387*0e209d39SAndroid Build Coastguard Worker         See UAX #31 Identifier and Pattern Syntax
388*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr31/)
389*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
390*0e209d39SAndroid Build Coastguard Worker     UCHAR_PATTERN_SYNTAX=42,
391*0e209d39SAndroid Build Coastguard Worker     /** Binary property Pattern_White_Space (new in Unicode 4.1).
392*0e209d39SAndroid Build Coastguard Worker         See UAX #31 Identifier and Pattern Syntax
393*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr31/)
394*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
395*0e209d39SAndroid Build Coastguard Worker     UCHAR_PATTERN_WHITE_SPACE=43,
396*0e209d39SAndroid Build Coastguard Worker     /** Binary property alnum (a C/POSIX character class).
397*0e209d39SAndroid Build Coastguard Worker         Implemented according to the UTS #18 Annex C Standard Recommendation.
398*0e209d39SAndroid Build Coastguard Worker         See the uchar.h file documentation.
399*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
400*0e209d39SAndroid Build Coastguard Worker     UCHAR_POSIX_ALNUM=44,
401*0e209d39SAndroid Build Coastguard Worker     /** Binary property blank (a C/POSIX character class).
402*0e209d39SAndroid Build Coastguard Worker         Implemented according to the UTS #18 Annex C Standard Recommendation.
403*0e209d39SAndroid Build Coastguard Worker         See the uchar.h file documentation.
404*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
405*0e209d39SAndroid Build Coastguard Worker     UCHAR_POSIX_BLANK=45,
406*0e209d39SAndroid Build Coastguard Worker     /** Binary property graph (a C/POSIX character class).
407*0e209d39SAndroid Build Coastguard Worker         Implemented according to the UTS #18 Annex C Standard Recommendation.
408*0e209d39SAndroid Build Coastguard Worker         See the uchar.h file documentation.
409*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
410*0e209d39SAndroid Build Coastguard Worker     UCHAR_POSIX_GRAPH=46,
411*0e209d39SAndroid Build Coastguard Worker     /** Binary property print (a C/POSIX character class).
412*0e209d39SAndroid Build Coastguard Worker         Implemented according to the UTS #18 Annex C Standard Recommendation.
413*0e209d39SAndroid Build Coastguard Worker         See the uchar.h file documentation.
414*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
415*0e209d39SAndroid Build Coastguard Worker     UCHAR_POSIX_PRINT=47,
416*0e209d39SAndroid Build Coastguard Worker     /** Binary property xdigit (a C/POSIX character class).
417*0e209d39SAndroid Build Coastguard Worker         Implemented according to the UTS #18 Annex C Standard Recommendation.
418*0e209d39SAndroid Build Coastguard Worker         See the uchar.h file documentation.
419*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 3.4 */
420*0e209d39SAndroid Build Coastguard Worker     UCHAR_POSIX_XDIGIT=48,
421*0e209d39SAndroid Build Coastguard Worker     /** Binary property Cased. For Lowercase, Uppercase and Titlecase characters. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
422*0e209d39SAndroid Build Coastguard Worker     UCHAR_CASED=49,
423*0e209d39SAndroid Build Coastguard Worker     /** Binary property Case_Ignorable. Used in context-sensitive case mappings. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
424*0e209d39SAndroid Build Coastguard Worker     UCHAR_CASE_IGNORABLE=50,
425*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_Lowercased. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
426*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_LOWERCASED=51,
427*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_Uppercased. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
428*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_UPPERCASED=52,
429*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_Titlecased. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
430*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_TITLECASED=53,
431*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_Casefolded. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
432*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_CASEFOLDED=54,
433*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_Casemapped. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
434*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_CASEMAPPED=55,
435*0e209d39SAndroid Build Coastguard Worker     /** Binary property Changes_When_NFKC_Casefolded. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
436*0e209d39SAndroid Build Coastguard Worker     UCHAR_CHANGES_WHEN_NFKC_CASEFOLDED=56,
437*0e209d39SAndroid Build Coastguard Worker     /**
438*0e209d39SAndroid Build Coastguard Worker      * Binary property Emoji.
439*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
440*0e209d39SAndroid Build Coastguard Worker      *
441*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 57
442*0e209d39SAndroid Build Coastguard Worker      */
443*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI=57,
444*0e209d39SAndroid Build Coastguard Worker     /**
445*0e209d39SAndroid Build Coastguard Worker      * Binary property Emoji_Presentation.
446*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
447*0e209d39SAndroid Build Coastguard Worker      *
448*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 57
449*0e209d39SAndroid Build Coastguard Worker      */
450*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI_PRESENTATION=58,
451*0e209d39SAndroid Build Coastguard Worker     /**
452*0e209d39SAndroid Build Coastguard Worker      * Binary property Emoji_Modifier.
453*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
454*0e209d39SAndroid Build Coastguard Worker      *
455*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 57
456*0e209d39SAndroid Build Coastguard Worker      */
457*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI_MODIFIER=59,
458*0e209d39SAndroid Build Coastguard Worker     /**
459*0e209d39SAndroid Build Coastguard Worker      * Binary property Emoji_Modifier_Base.
460*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
461*0e209d39SAndroid Build Coastguard Worker      *
462*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 57
463*0e209d39SAndroid Build Coastguard Worker      */
464*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI_MODIFIER_BASE=60,
465*0e209d39SAndroid Build Coastguard Worker     /**
466*0e209d39SAndroid Build Coastguard Worker      * Binary property Emoji_Component.
467*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
468*0e209d39SAndroid Build Coastguard Worker      *
469*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 60
470*0e209d39SAndroid Build Coastguard Worker      */
471*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI_COMPONENT=61,
472*0e209d39SAndroid Build Coastguard Worker     /**
473*0e209d39SAndroid Build Coastguard Worker      * Binary property Regional_Indicator.
474*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 60
475*0e209d39SAndroid Build Coastguard Worker      */
476*0e209d39SAndroid Build Coastguard Worker     UCHAR_REGIONAL_INDICATOR=62,
477*0e209d39SAndroid Build Coastguard Worker     /**
478*0e209d39SAndroid Build Coastguard Worker      * Binary property Prepended_Concatenation_Mark.
479*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 60
480*0e209d39SAndroid Build Coastguard Worker      */
481*0e209d39SAndroid Build Coastguard Worker     UCHAR_PREPENDED_CONCATENATION_MARK=63,
482*0e209d39SAndroid Build Coastguard Worker     /**
483*0e209d39SAndroid Build Coastguard Worker      * Binary property Extended_Pictographic.
484*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr51/#Emoji_Properties
485*0e209d39SAndroid Build Coastguard Worker      *
486*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 62
487*0e209d39SAndroid Build Coastguard Worker      */
488*0e209d39SAndroid Build Coastguard Worker     UCHAR_EXTENDED_PICTOGRAPHIC=64,
489*0e209d39SAndroid Build Coastguard Worker     /**
490*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings Basic_Emoji.
491*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
492*0e209d39SAndroid Build Coastguard Worker      *
493*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
494*0e209d39SAndroid Build Coastguard Worker      */
495*0e209d39SAndroid Build Coastguard Worker     UCHAR_BASIC_EMOJI=65,
496*0e209d39SAndroid Build Coastguard Worker     /**
497*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings Emoji_Keycap_Sequence.
498*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
499*0e209d39SAndroid Build Coastguard Worker      *
500*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
501*0e209d39SAndroid Build Coastguard Worker      */
502*0e209d39SAndroid Build Coastguard Worker     UCHAR_EMOJI_KEYCAP_SEQUENCE=66,
503*0e209d39SAndroid Build Coastguard Worker     /**
504*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings RGI_Emoji_Modifier_Sequence.
505*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
506*0e209d39SAndroid Build Coastguard Worker      *
507*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
508*0e209d39SAndroid Build Coastguard Worker      */
509*0e209d39SAndroid Build Coastguard Worker     UCHAR_RGI_EMOJI_MODIFIER_SEQUENCE=67,
510*0e209d39SAndroid Build Coastguard Worker     /**
511*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings RGI_Emoji_Flag_Sequence.
512*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
513*0e209d39SAndroid Build Coastguard Worker      *
514*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
515*0e209d39SAndroid Build Coastguard Worker      */
516*0e209d39SAndroid Build Coastguard Worker     UCHAR_RGI_EMOJI_FLAG_SEQUENCE=68,
517*0e209d39SAndroid Build Coastguard Worker     /**
518*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings RGI_Emoji_Tag_Sequence.
519*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
520*0e209d39SAndroid Build Coastguard Worker      *
521*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
522*0e209d39SAndroid Build Coastguard Worker      */
523*0e209d39SAndroid Build Coastguard Worker     UCHAR_RGI_EMOJI_TAG_SEQUENCE=69,
524*0e209d39SAndroid Build Coastguard Worker     /**
525*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings RGI_Emoji_ZWJ_Sequence.
526*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
527*0e209d39SAndroid Build Coastguard Worker      *
528*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
529*0e209d39SAndroid Build Coastguard Worker      */
530*0e209d39SAndroid Build Coastguard Worker     UCHAR_RGI_EMOJI_ZWJ_SEQUENCE=70,
531*0e209d39SAndroid Build Coastguard Worker     /**
532*0e209d39SAndroid Build Coastguard Worker      * Binary property of strings RGI_Emoji.
533*0e209d39SAndroid Build Coastguard Worker      * See https://www.unicode.org/reports/tr51/#Emoji_Sets
534*0e209d39SAndroid Build Coastguard Worker      *
535*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 70
536*0e209d39SAndroid Build Coastguard Worker      */
537*0e209d39SAndroid Build Coastguard Worker     UCHAR_RGI_EMOJI=71,
538*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DRAFT_API
539*0e209d39SAndroid Build Coastguard Worker     /**
540*0e209d39SAndroid Build Coastguard Worker      * Binary property IDS_Unary_Operator.
541*0e209d39SAndroid Build Coastguard Worker      * For programmatic determination of Ideographic Description Sequences.
542*0e209d39SAndroid Build Coastguard Worker      *
543*0e209d39SAndroid Build Coastguard Worker      * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 74
544*0e209d39SAndroid Build Coastguard Worker      */
545*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDS_UNARY_OPERATOR=72,
546*0e209d39SAndroid Build Coastguard Worker     /**
547*0e209d39SAndroid Build Coastguard Worker      * Binary property ID_Compat_Math_Start.
548*0e209d39SAndroid Build Coastguard Worker      * Used in mathematical identifier profile in UAX #31.
549*0e209d39SAndroid Build Coastguard Worker      * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 74
550*0e209d39SAndroid Build Coastguard Worker      */
551*0e209d39SAndroid Build Coastguard Worker     UCHAR_ID_COMPAT_MATH_START=73,
552*0e209d39SAndroid Build Coastguard Worker     /**
553*0e209d39SAndroid Build Coastguard Worker      * Binary property ID_Compat_Math_Continue.
554*0e209d39SAndroid Build Coastguard Worker      * Used in mathematical identifier profile in UAX #31.
555*0e209d39SAndroid Build Coastguard Worker      * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 74
556*0e209d39SAndroid Build Coastguard Worker      */
557*0e209d39SAndroid Build Coastguard Worker     UCHAR_ID_COMPAT_MATH_CONTINUE=74,
558*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DRAFT_API
559*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
560*0e209d39SAndroid Build Coastguard Worker     /**
561*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for binary Unicode properties.
562*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
563*0e209d39SAndroid Build Coastguard Worker      */
564*0e209d39SAndroid Build Coastguard Worker     UCHAR_BINARY_LIMIT=75,
565*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
566*0e209d39SAndroid Build Coastguard Worker 
567*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Bidi_Class.
568*0e209d39SAndroid Build Coastguard Worker         Same as u_charDirection, returns UCharDirection values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
569*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_CLASS=0x1000,
570*0e209d39SAndroid Build Coastguard Worker     /** First constant for enumerated/integer Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
571*0e209d39SAndroid Build Coastguard Worker     UCHAR_INT_START=UCHAR_BIDI_CLASS,
572*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Block.
573*0e209d39SAndroid Build Coastguard Worker         Same as ublock_getCode, returns UBlockCode values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
574*0e209d39SAndroid Build Coastguard Worker     UCHAR_BLOCK=0x1001,
575*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Canonical_Combining_Class.
576*0e209d39SAndroid Build Coastguard Worker         Same as u_getCombiningClass, returns 8-bit numeric values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
577*0e209d39SAndroid Build Coastguard Worker     UCHAR_CANONICAL_COMBINING_CLASS=0x1002,
578*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Decomposition_Type.
579*0e209d39SAndroid Build Coastguard Worker         Returns UDecompositionType values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
580*0e209d39SAndroid Build Coastguard Worker     UCHAR_DECOMPOSITION_TYPE=0x1003,
581*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property East_Asian_Width.
582*0e209d39SAndroid Build Coastguard Worker         See http://www.unicode.org/reports/tr11/
583*0e209d39SAndroid Build Coastguard Worker         Returns UEastAsianWidth values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
584*0e209d39SAndroid Build Coastguard Worker     UCHAR_EAST_ASIAN_WIDTH=0x1004,
585*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property General_Category.
586*0e209d39SAndroid Build Coastguard Worker         Same as u_charType, returns UCharCategory values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
587*0e209d39SAndroid Build Coastguard Worker     UCHAR_GENERAL_CATEGORY=0x1005,
588*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Joining_Group.
589*0e209d39SAndroid Build Coastguard Worker         Returns UJoiningGroup values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
590*0e209d39SAndroid Build Coastguard Worker     UCHAR_JOINING_GROUP=0x1006,
591*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Joining_Type.
592*0e209d39SAndroid Build Coastguard Worker         Returns UJoiningType values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
593*0e209d39SAndroid Build Coastguard Worker     UCHAR_JOINING_TYPE=0x1007,
594*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Line_Break.
595*0e209d39SAndroid Build Coastguard Worker         Returns ULineBreak values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
596*0e209d39SAndroid Build Coastguard Worker     UCHAR_LINE_BREAK=0x1008,
597*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Numeric_Type.
598*0e209d39SAndroid Build Coastguard Worker         Returns UNumericType values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
599*0e209d39SAndroid Build Coastguard Worker     UCHAR_NUMERIC_TYPE=0x1009,
600*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Script.
601*0e209d39SAndroid Build Coastguard Worker         Same as uscript_getScript, returns UScriptCode values. \xrefitem stable "Stable" "Stable List" ICU 2.2 */
602*0e209d39SAndroid Build Coastguard Worker     UCHAR_SCRIPT=0x100A,
603*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Hangul_Syllable_Type, new in Unicode 4.
604*0e209d39SAndroid Build Coastguard Worker         Returns UHangulSyllableType values. \xrefitem stable "Stable" "Stable List" ICU 2.6 */
605*0e209d39SAndroid Build Coastguard Worker     UCHAR_HANGUL_SYLLABLE_TYPE=0x100B,
606*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property NFD_Quick_Check.
607*0e209d39SAndroid Build Coastguard Worker         Returns UNormalizationCheckResult values. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
608*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFD_QUICK_CHECK=0x100C,
609*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property NFKD_Quick_Check.
610*0e209d39SAndroid Build Coastguard Worker         Returns UNormalizationCheckResult values. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
611*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFKD_QUICK_CHECK=0x100D,
612*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property NFC_Quick_Check.
613*0e209d39SAndroid Build Coastguard Worker         Returns UNormalizationCheckResult values. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
614*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFC_QUICK_CHECK=0x100E,
615*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property NFKC_Quick_Check.
616*0e209d39SAndroid Build Coastguard Worker         Returns UNormalizationCheckResult values. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
617*0e209d39SAndroid Build Coastguard Worker     UCHAR_NFKC_QUICK_CHECK=0x100F,
618*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Lead_Canonical_Combining_Class.
619*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for the ccc of the first code point
620*0e209d39SAndroid Build Coastguard Worker         of the decomposition, or lccc(c)=ccc(NFD(c)[0]).
621*0e209d39SAndroid Build Coastguard Worker         Useful for checking for canonically ordered text;
622*0e209d39SAndroid Build Coastguard Worker         see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
623*0e209d39SAndroid Build Coastguard Worker         Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
624*0e209d39SAndroid Build Coastguard Worker     UCHAR_LEAD_CANONICAL_COMBINING_CLASS=0x1010,
625*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Trail_Canonical_Combining_Class.
626*0e209d39SAndroid Build Coastguard Worker         ICU-specific property for the ccc of the last code point
627*0e209d39SAndroid Build Coastguard Worker         of the decomposition, or tccc(c)=ccc(NFD(c)[last]).
628*0e209d39SAndroid Build Coastguard Worker         Useful for checking for canonically ordered text;
629*0e209d39SAndroid Build Coastguard Worker         see UNORM_FCD and http://www.unicode.org/notes/tn5/#FCD .
630*0e209d39SAndroid Build Coastguard Worker         Returns 8-bit numeric values like UCHAR_CANONICAL_COMBINING_CLASS. \xrefitem stable "Stable" "Stable List" ICU 3.0 */
631*0e209d39SAndroid Build Coastguard Worker     UCHAR_TRAIL_CANONICAL_COMBINING_CLASS=0x1011,
632*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Grapheme_Cluster_Break (new in Unicode 4.1).
633*0e209d39SAndroid Build Coastguard Worker         Used in UAX #29: Text Boundaries
634*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr29/)
635*0e209d39SAndroid Build Coastguard Worker         Returns UGraphemeClusterBreak values. \xrefitem stable "Stable" "Stable List" ICU 3.4 */
636*0e209d39SAndroid Build Coastguard Worker     UCHAR_GRAPHEME_CLUSTER_BREAK=0x1012,
637*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Sentence_Break (new in Unicode 4.1).
638*0e209d39SAndroid Build Coastguard Worker         Used in UAX #29: Text Boundaries
639*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr29/)
640*0e209d39SAndroid Build Coastguard Worker         Returns USentenceBreak values. \xrefitem stable "Stable" "Stable List" ICU 3.4 */
641*0e209d39SAndroid Build Coastguard Worker     UCHAR_SENTENCE_BREAK=0x1013,
642*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Word_Break (new in Unicode 4.1).
643*0e209d39SAndroid Build Coastguard Worker         Used in UAX #29: Text Boundaries
644*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr29/)
645*0e209d39SAndroid Build Coastguard Worker         Returns UWordBreakValues values. \xrefitem stable "Stable" "Stable List" ICU 3.4 */
646*0e209d39SAndroid Build Coastguard Worker     UCHAR_WORD_BREAK=0x1014,
647*0e209d39SAndroid Build Coastguard Worker     /** Enumerated property Bidi_Paired_Bracket_Type (new in Unicode 6.3).
648*0e209d39SAndroid Build Coastguard Worker         Used in UAX #9: Unicode Bidirectional Algorithm
649*0e209d39SAndroid Build Coastguard Worker         (http://www.unicode.org/reports/tr9/)
650*0e209d39SAndroid Build Coastguard Worker         Returns UBidiPairedBracketType values. \xrefitem stable "Stable" "Stable List" ICU 52 */
651*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_PAIRED_BRACKET_TYPE=0x1015,
652*0e209d39SAndroid Build Coastguard Worker     /**
653*0e209d39SAndroid Build Coastguard Worker      * Enumerated property Indic_Positional_Category.
654*0e209d39SAndroid Build Coastguard Worker      * New in Unicode 6.0 as provisional property Indic_Matra_Category;
655*0e209d39SAndroid Build Coastguard Worker      * renamed and changed to informative in Unicode 8.0.
656*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr44/#IndicPositionalCategory.txt
657*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 63
658*0e209d39SAndroid Build Coastguard Worker      */
659*0e209d39SAndroid Build Coastguard Worker     UCHAR_INDIC_POSITIONAL_CATEGORY=0x1016,
660*0e209d39SAndroid Build Coastguard Worker     /**
661*0e209d39SAndroid Build Coastguard Worker      * Enumerated property Indic_Syllabic_Category.
662*0e209d39SAndroid Build Coastguard Worker      * New in Unicode 6.0 as provisional; informative since Unicode 8.0.
663*0e209d39SAndroid Build Coastguard Worker      * See http://www.unicode.org/reports/tr44/#IndicSyllabicCategory.txt
664*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 63
665*0e209d39SAndroid Build Coastguard Worker      */
666*0e209d39SAndroid Build Coastguard Worker     UCHAR_INDIC_SYLLABIC_CATEGORY=0x1017,
667*0e209d39SAndroid Build Coastguard Worker     /**
668*0e209d39SAndroid Build Coastguard Worker      * Enumerated property Vertical_Orientation.
669*0e209d39SAndroid Build Coastguard Worker      * Used for UAX #50 Unicode Vertical Text Layout (https://www.unicode.org/reports/tr50/).
670*0e209d39SAndroid Build Coastguard Worker      * New as a UCD property in Unicode 10.0.
671*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 63
672*0e209d39SAndroid Build Coastguard Worker      */
673*0e209d39SAndroid Build Coastguard Worker     UCHAR_VERTICAL_ORIENTATION=0x1018,
674*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DRAFT_API
675*0e209d39SAndroid Build Coastguard Worker     /**
676*0e209d39SAndroid Build Coastguard Worker      * Enumerated property Identifier_Status.
677*0e209d39SAndroid Build Coastguard Worker      * Used for UTS #39 General Security Profile for Identifiers
678*0e209d39SAndroid Build Coastguard Worker      * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
679*0e209d39SAndroid Build Coastguard Worker      * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75
680*0e209d39SAndroid Build Coastguard Worker      */
681*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDENTIFIER_STATUS=0x1019,
682*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DRAFT_API
683*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
684*0e209d39SAndroid Build Coastguard Worker     /**
685*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for enumerated/integer Unicode properties.
686*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
687*0e209d39SAndroid Build Coastguard Worker      */
688*0e209d39SAndroid Build Coastguard Worker     UCHAR_INT_LIMIT=0x101A,
689*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
690*0e209d39SAndroid Build Coastguard Worker 
691*0e209d39SAndroid Build Coastguard Worker     /** Bitmask property General_Category_Mask.
692*0e209d39SAndroid Build Coastguard Worker         This is the General_Category property returned as a bit mask.
693*0e209d39SAndroid Build Coastguard Worker         When used in u_getIntPropertyValue(c), same as U_MASK(u_charType(c)),
694*0e209d39SAndroid Build Coastguard Worker         returns bit masks for UCharCategory values where exactly one bit is set.
695*0e209d39SAndroid Build Coastguard Worker         When used with u_getPropertyValueName() and u_getPropertyValueEnum(),
696*0e209d39SAndroid Build Coastguard Worker         a multi-bit mask is used for sets of categories like "Letters".
697*0e209d39SAndroid Build Coastguard Worker         Mask values should be cast to uint32_t.
698*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 2.4 */
699*0e209d39SAndroid Build Coastguard Worker     UCHAR_GENERAL_CATEGORY_MASK=0x2000,
700*0e209d39SAndroid Build Coastguard Worker     /** First constant for bit-mask Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
701*0e209d39SAndroid Build Coastguard Worker     UCHAR_MASK_START=UCHAR_GENERAL_CATEGORY_MASK,
702*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
703*0e209d39SAndroid Build Coastguard Worker     /**
704*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for bit-mask Unicode properties.
705*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
706*0e209d39SAndroid Build Coastguard Worker      */
707*0e209d39SAndroid Build Coastguard Worker     UCHAR_MASK_LIMIT=0x2001,
708*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
709*0e209d39SAndroid Build Coastguard Worker 
710*0e209d39SAndroid Build Coastguard Worker     /** Double property Numeric_Value.
711*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_getNumericValue. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
712*0e209d39SAndroid Build Coastguard Worker     UCHAR_NUMERIC_VALUE=0x3000,
713*0e209d39SAndroid Build Coastguard Worker     /** First constant for double Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
714*0e209d39SAndroid Build Coastguard Worker     UCHAR_DOUBLE_START=UCHAR_NUMERIC_VALUE,
715*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
716*0e209d39SAndroid Build Coastguard Worker     /**
717*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for double Unicode properties.
718*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
719*0e209d39SAndroid Build Coastguard Worker      */
720*0e209d39SAndroid Build Coastguard Worker     UCHAR_DOUBLE_LIMIT=0x3001,
721*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
722*0e209d39SAndroid Build Coastguard Worker 
723*0e209d39SAndroid Build Coastguard Worker     /** String property Age.
724*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_charAge. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
725*0e209d39SAndroid Build Coastguard Worker     UCHAR_AGE=0x4000,
726*0e209d39SAndroid Build Coastguard Worker     /** First constant for string Unicode properties. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
727*0e209d39SAndroid Build Coastguard Worker     UCHAR_STRING_START=UCHAR_AGE,
728*0e209d39SAndroid Build Coastguard Worker     /** String property Bidi_Mirroring_Glyph.
729*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_charMirror. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
730*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_MIRRORING_GLYPH=0x4001,
731*0e209d39SAndroid Build Coastguard Worker     /** String property Case_Folding.
732*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_strFoldCase in ustring.h. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
733*0e209d39SAndroid Build Coastguard Worker     UCHAR_CASE_FOLDING=0x4002,
734*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
735*0e209d39SAndroid Build Coastguard Worker     /** Deprecated string property ISO_Comment.
736*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_getISOComment. \xrefitem deprecated "Deprecated" "Deprecated List" ICU 49 */
737*0e209d39SAndroid Build Coastguard Worker     UCHAR_ISO_COMMENT=0x4003,
738*0e209d39SAndroid Build Coastguard Worker #endif  /* U_HIDE_DEPRECATED_API */
739*0e209d39SAndroid Build Coastguard Worker     /** String property Lowercase_Mapping.
740*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_strToLower in ustring.h. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
741*0e209d39SAndroid Build Coastguard Worker     UCHAR_LOWERCASE_MAPPING=0x4004,
742*0e209d39SAndroid Build Coastguard Worker     /** String property Name.
743*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_charName. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
744*0e209d39SAndroid Build Coastguard Worker     UCHAR_NAME=0x4005,
745*0e209d39SAndroid Build Coastguard Worker     /** String property Simple_Case_Folding.
746*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_foldCase. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
747*0e209d39SAndroid Build Coastguard Worker     UCHAR_SIMPLE_CASE_FOLDING=0x4006,
748*0e209d39SAndroid Build Coastguard Worker     /** String property Simple_Lowercase_Mapping.
749*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_tolower. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
750*0e209d39SAndroid Build Coastguard Worker     UCHAR_SIMPLE_LOWERCASE_MAPPING=0x4007,
751*0e209d39SAndroid Build Coastguard Worker     /** String property Simple_Titlecase_Mapping.
752*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_totitle. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
753*0e209d39SAndroid Build Coastguard Worker     UCHAR_SIMPLE_TITLECASE_MAPPING=0x4008,
754*0e209d39SAndroid Build Coastguard Worker     /** String property Simple_Uppercase_Mapping.
755*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_toupper. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
756*0e209d39SAndroid Build Coastguard Worker     UCHAR_SIMPLE_UPPERCASE_MAPPING=0x4009,
757*0e209d39SAndroid Build Coastguard Worker     /** String property Titlecase_Mapping.
758*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_strToTitle in ustring.h. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
759*0e209d39SAndroid Build Coastguard Worker     UCHAR_TITLECASE_MAPPING=0x400A,
760*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
761*0e209d39SAndroid Build Coastguard Worker     /** String property Unicode_1_Name.
762*0e209d39SAndroid Build Coastguard Worker         This property is of little practical value.
763*0e209d39SAndroid Build Coastguard Worker         Beginning with ICU 49, ICU APIs return an empty string for this property.
764*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_charName(U_UNICODE_10_CHAR_NAME). \xrefitem deprecated "Deprecated" "Deprecated List" ICU 49 */
765*0e209d39SAndroid Build Coastguard Worker     UCHAR_UNICODE_1_NAME=0x400B,
766*0e209d39SAndroid Build Coastguard Worker #endif  /* U_HIDE_DEPRECATED_API */
767*0e209d39SAndroid Build Coastguard Worker     /** String property Uppercase_Mapping.
768*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_strToUpper in ustring.h. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
769*0e209d39SAndroid Build Coastguard Worker     UCHAR_UPPERCASE_MAPPING=0x400C,
770*0e209d39SAndroid Build Coastguard Worker     /** String property Bidi_Paired_Bracket (new in Unicode 6.3).
771*0e209d39SAndroid Build Coastguard Worker         Corresponds to u_getBidiPairedBracket. \xrefitem stable "Stable" "Stable List" ICU 52 */
772*0e209d39SAndroid Build Coastguard Worker     UCHAR_BIDI_PAIRED_BRACKET=0x400D,
773*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
774*0e209d39SAndroid Build Coastguard Worker     /**
775*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for string Unicode properties.
776*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
777*0e209d39SAndroid Build Coastguard Worker      */
778*0e209d39SAndroid Build Coastguard Worker     UCHAR_STRING_LIMIT=0x400E,
779*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
780*0e209d39SAndroid Build Coastguard Worker 
781*0e209d39SAndroid Build Coastguard Worker     /** Miscellaneous property Script_Extensions (new in Unicode 6.0).
782*0e209d39SAndroid Build Coastguard Worker         Some characters are commonly used in multiple scripts.
783*0e209d39SAndroid Build Coastguard Worker         For more information, see UAX #24: http://www.unicode.org/reports/tr24/.
784*0e209d39SAndroid Build Coastguard Worker         Corresponds to uscript_hasScript and uscript_getScriptExtensions in uscript.h.
785*0e209d39SAndroid Build Coastguard Worker         \xrefitem stable "Stable" "Stable List" ICU 4.6 */
786*0e209d39SAndroid Build Coastguard Worker     UCHAR_SCRIPT_EXTENSIONS=0x7000,
787*0e209d39SAndroid Build Coastguard Worker     /** First constant for Unicode properties with unusual value types. \xrefitem stable "Stable" "Stable List" ICU 4.6 */
788*0e209d39SAndroid Build Coastguard Worker     UCHAR_OTHER_PROPERTY_START=UCHAR_SCRIPT_EXTENSIONS,
789*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DRAFT_API
790*0e209d39SAndroid Build Coastguard Worker     /**
791*0e209d39SAndroid Build Coastguard Worker      * Miscellaneous property Identifier_Type.
792*0e209d39SAndroid Build Coastguard Worker      * Used for UTS #39 General Security Profile for Identifiers
793*0e209d39SAndroid Build Coastguard Worker      * (https://www.unicode.org/reports/tr39/#General_Security_Profile).
794*0e209d39SAndroid Build Coastguard Worker      *
795*0e209d39SAndroid Build Coastguard Worker      * Corresponds to u_hasIDType() and u_getIDTypes().
796*0e209d39SAndroid Build Coastguard Worker      *
797*0e209d39SAndroid Build Coastguard Worker      * Each code point maps to a <i>set</i> of UIdentifierType values.
798*0e209d39SAndroid Build Coastguard Worker      *
799*0e209d39SAndroid Build Coastguard Worker      * @see u_hasIDType
800*0e209d39SAndroid Build Coastguard Worker      * @see u_getIDTypes
801*0e209d39SAndroid Build Coastguard Worker      * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75
802*0e209d39SAndroid Build Coastguard Worker      */
803*0e209d39SAndroid Build Coastguard Worker     UCHAR_IDENTIFIER_TYPE=0x7001,
804*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DRAFT_API
805*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
806*0e209d39SAndroid Build Coastguard Worker     /**
807*0e209d39SAndroid Build Coastguard Worker      * One more than the last constant for Unicode properties with unusual value types.
808*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
809*0e209d39SAndroid Build Coastguard Worker      */
810*0e209d39SAndroid Build Coastguard Worker     UCHAR_OTHER_PROPERTY_LIMIT=0x7002,
811*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
812*0e209d39SAndroid Build Coastguard Worker 
813*0e209d39SAndroid Build Coastguard Worker     /** Represents a nonexistent or invalid property or property value. \xrefitem stable "Stable" "Stable List" ICU 2.4 */
814*0e209d39SAndroid Build Coastguard Worker     UCHAR_INVALID_CODE = -1
815*0e209d39SAndroid Build Coastguard Worker } UProperty;
816*0e209d39SAndroid Build Coastguard Worker 
817*0e209d39SAndroid Build Coastguard Worker /**
818*0e209d39SAndroid Build Coastguard Worker  * Data for enumerated Unicode general category types.
819*0e209d39SAndroid Build Coastguard Worker  * See http://www.unicode.org/Public/UNIDATA/UnicodeData.html .
820*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
821*0e209d39SAndroid Build Coastguard Worker  */
822*0e209d39SAndroid Build Coastguard Worker typedef enum UCharCategory
823*0e209d39SAndroid Build Coastguard Worker {
824*0e209d39SAndroid Build Coastguard Worker     /*
825*0e209d39SAndroid Build Coastguard Worker      * Note: UCharCategory constants and their API comments are parsed by preparseucd.py.
826*0e209d39SAndroid Build Coastguard Worker      * It matches pairs of lines like
827*0e209d39SAndroid Build Coastguard Worker      *     / ** <Unicode 2-letter General_Category value> comment... * /
828*0e209d39SAndroid Build Coastguard Worker      *     U_<[A-Z_]+> = <integer>,
829*0e209d39SAndroid Build Coastguard Worker      */
830*0e209d39SAndroid Build Coastguard Worker 
831*0e209d39SAndroid Build Coastguard Worker     /** Non-category for unassigned and non-character code points. \xrefitem stable "Stable" "Stable List" ICU 2.0 */
832*0e209d39SAndroid Build Coastguard Worker     U_UNASSIGNED              = 0,
833*0e209d39SAndroid Build Coastguard Worker     /** Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNED!) \xrefitem stable "Stable" "Stable List" ICU 2.0 */
834*0e209d39SAndroid Build Coastguard Worker     U_GENERAL_OTHER_TYPES     = 0,
835*0e209d39SAndroid Build Coastguard Worker     /** Lu \xrefitem stable "Stable" "Stable List" ICU 2.0 */
836*0e209d39SAndroid Build Coastguard Worker     U_UPPERCASE_LETTER        = 1,
837*0e209d39SAndroid Build Coastguard Worker     /** Ll \xrefitem stable "Stable" "Stable List" ICU 2.0 */
838*0e209d39SAndroid Build Coastguard Worker     U_LOWERCASE_LETTER        = 2,
839*0e209d39SAndroid Build Coastguard Worker     /** Lt \xrefitem stable "Stable" "Stable List" ICU 2.0 */
840*0e209d39SAndroid Build Coastguard Worker     U_TITLECASE_LETTER        = 3,
841*0e209d39SAndroid Build Coastguard Worker     /** Lm \xrefitem stable "Stable" "Stable List" ICU 2.0 */
842*0e209d39SAndroid Build Coastguard Worker     U_MODIFIER_LETTER         = 4,
843*0e209d39SAndroid Build Coastguard Worker     /** Lo \xrefitem stable "Stable" "Stable List" ICU 2.0 */
844*0e209d39SAndroid Build Coastguard Worker     U_OTHER_LETTER            = 5,
845*0e209d39SAndroid Build Coastguard Worker     /** Mn \xrefitem stable "Stable" "Stable List" ICU 2.0 */
846*0e209d39SAndroid Build Coastguard Worker     U_NON_SPACING_MARK        = 6,
847*0e209d39SAndroid Build Coastguard Worker     /** Me \xrefitem stable "Stable" "Stable List" ICU 2.0 */
848*0e209d39SAndroid Build Coastguard Worker     U_ENCLOSING_MARK          = 7,
849*0e209d39SAndroid Build Coastguard Worker     /** Mc \xrefitem stable "Stable" "Stable List" ICU 2.0 */
850*0e209d39SAndroid Build Coastguard Worker     U_COMBINING_SPACING_MARK  = 8,
851*0e209d39SAndroid Build Coastguard Worker     /** Nd \xrefitem stable "Stable" "Stable List" ICU 2.0 */
852*0e209d39SAndroid Build Coastguard Worker     U_DECIMAL_DIGIT_NUMBER    = 9,
853*0e209d39SAndroid Build Coastguard Worker     /** Nl \xrefitem stable "Stable" "Stable List" ICU 2.0 */
854*0e209d39SAndroid Build Coastguard Worker     U_LETTER_NUMBER           = 10,
855*0e209d39SAndroid Build Coastguard Worker     /** No \xrefitem stable "Stable" "Stable List" ICU 2.0 */
856*0e209d39SAndroid Build Coastguard Worker     U_OTHER_NUMBER            = 11,
857*0e209d39SAndroid Build Coastguard Worker     /** Zs \xrefitem stable "Stable" "Stable List" ICU 2.0 */
858*0e209d39SAndroid Build Coastguard Worker     U_SPACE_SEPARATOR         = 12,
859*0e209d39SAndroid Build Coastguard Worker     /** Zl \xrefitem stable "Stable" "Stable List" ICU 2.0 */
860*0e209d39SAndroid Build Coastguard Worker     U_LINE_SEPARATOR          = 13,
861*0e209d39SAndroid Build Coastguard Worker     /** Zp \xrefitem stable "Stable" "Stable List" ICU 2.0 */
862*0e209d39SAndroid Build Coastguard Worker     U_PARAGRAPH_SEPARATOR     = 14,
863*0e209d39SAndroid Build Coastguard Worker     /** Cc \xrefitem stable "Stable" "Stable List" ICU 2.0 */
864*0e209d39SAndroid Build Coastguard Worker     U_CONTROL_CHAR            = 15,
865*0e209d39SAndroid Build Coastguard Worker     /** Cf \xrefitem stable "Stable" "Stable List" ICU 2.0 */
866*0e209d39SAndroid Build Coastguard Worker     U_FORMAT_CHAR             = 16,
867*0e209d39SAndroid Build Coastguard Worker     /** Co \xrefitem stable "Stable" "Stable List" ICU 2.0 */
868*0e209d39SAndroid Build Coastguard Worker     U_PRIVATE_USE_CHAR        = 17,
869*0e209d39SAndroid Build Coastguard Worker     /** Cs \xrefitem stable "Stable" "Stable List" ICU 2.0 */
870*0e209d39SAndroid Build Coastguard Worker     U_SURROGATE               = 18,
871*0e209d39SAndroid Build Coastguard Worker     /** Pd \xrefitem stable "Stable" "Stable List" ICU 2.0 */
872*0e209d39SAndroid Build Coastguard Worker     U_DASH_PUNCTUATION        = 19,
873*0e209d39SAndroid Build Coastguard Worker     /** Ps \xrefitem stable "Stable" "Stable List" ICU 2.0 */
874*0e209d39SAndroid Build Coastguard Worker     U_START_PUNCTUATION       = 20,
875*0e209d39SAndroid Build Coastguard Worker     /** Pe \xrefitem stable "Stable" "Stable List" ICU 2.0 */
876*0e209d39SAndroid Build Coastguard Worker     U_END_PUNCTUATION         = 21,
877*0e209d39SAndroid Build Coastguard Worker     /** Pc \xrefitem stable "Stable" "Stable List" ICU 2.0 */
878*0e209d39SAndroid Build Coastguard Worker     U_CONNECTOR_PUNCTUATION   = 22,
879*0e209d39SAndroid Build Coastguard Worker     /** Po \xrefitem stable "Stable" "Stable List" ICU 2.0 */
880*0e209d39SAndroid Build Coastguard Worker     U_OTHER_PUNCTUATION       = 23,
881*0e209d39SAndroid Build Coastguard Worker     /** Sm \xrefitem stable "Stable" "Stable List" ICU 2.0 */
882*0e209d39SAndroid Build Coastguard Worker     U_MATH_SYMBOL             = 24,
883*0e209d39SAndroid Build Coastguard Worker     /** Sc \xrefitem stable "Stable" "Stable List" ICU 2.0 */
884*0e209d39SAndroid Build Coastguard Worker     U_CURRENCY_SYMBOL         = 25,
885*0e209d39SAndroid Build Coastguard Worker     /** Sk \xrefitem stable "Stable" "Stable List" ICU 2.0 */
886*0e209d39SAndroid Build Coastguard Worker     U_MODIFIER_SYMBOL         = 26,
887*0e209d39SAndroid Build Coastguard Worker     /** So \xrefitem stable "Stable" "Stable List" ICU 2.0 */
888*0e209d39SAndroid Build Coastguard Worker     U_OTHER_SYMBOL            = 27,
889*0e209d39SAndroid Build Coastguard Worker     /** Pi \xrefitem stable "Stable" "Stable List" ICU 2.0 */
890*0e209d39SAndroid Build Coastguard Worker     U_INITIAL_PUNCTUATION     = 28,
891*0e209d39SAndroid Build Coastguard Worker     /** Pf \xrefitem stable "Stable" "Stable List" ICU 2.0 */
892*0e209d39SAndroid Build Coastguard Worker     U_FINAL_PUNCTUATION       = 29,
893*0e209d39SAndroid Build Coastguard Worker     /**
894*0e209d39SAndroid Build Coastguard Worker      * One higher than the last enum UCharCategory constant.
895*0e209d39SAndroid Build Coastguard Worker      * This numeric value is stable (will not change), see
896*0e209d39SAndroid Build Coastguard Worker      * http://www.unicode.org/policies/stability_policy.html#Property_Value
897*0e209d39SAndroid Build Coastguard Worker      *
898*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.0
899*0e209d39SAndroid Build Coastguard Worker      */
900*0e209d39SAndroid Build Coastguard Worker     U_CHAR_CATEGORY_COUNT
901*0e209d39SAndroid Build Coastguard Worker } UCharCategory;
902*0e209d39SAndroid Build Coastguard Worker 
903*0e209d39SAndroid Build Coastguard Worker /**
904*0e209d39SAndroid Build Coastguard Worker  * U_GC_XX_MASK constants are bit flags corresponding to Unicode
905*0e209d39SAndroid Build Coastguard Worker  * general category values.
906*0e209d39SAndroid Build Coastguard Worker  * For each category, the nth bit is set if the numeric value of the
907*0e209d39SAndroid Build Coastguard Worker  * corresponding UCharCategory constant is n.
908*0e209d39SAndroid Build Coastguard Worker  *
909*0e209d39SAndroid Build Coastguard Worker  * There are also some U_GC_Y_MASK constants for groups of general categories
910*0e209d39SAndroid Build Coastguard Worker  * like L for all letter categories.
911*0e209d39SAndroid Build Coastguard Worker  *
912*0e209d39SAndroid Build Coastguard Worker  * @see u_charType
913*0e209d39SAndroid Build Coastguard Worker  * @see U_GET_GC_MASK
914*0e209d39SAndroid Build Coastguard Worker  * @see UCharCategory
915*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
916*0e209d39SAndroid Build Coastguard Worker  */
917*0e209d39SAndroid Build Coastguard Worker #define U_GC_CN_MASK    U_MASK(U_GENERAL_OTHER_TYPES)
918*0e209d39SAndroid Build Coastguard Worker 
919*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
920*0e209d39SAndroid Build Coastguard Worker #define U_GC_LU_MASK    U_MASK(U_UPPERCASE_LETTER)
921*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
922*0e209d39SAndroid Build Coastguard Worker #define U_GC_LL_MASK    U_MASK(U_LOWERCASE_LETTER)
923*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
924*0e209d39SAndroid Build Coastguard Worker #define U_GC_LT_MASK    U_MASK(U_TITLECASE_LETTER)
925*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
926*0e209d39SAndroid Build Coastguard Worker #define U_GC_LM_MASK    U_MASK(U_MODIFIER_LETTER)
927*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
928*0e209d39SAndroid Build Coastguard Worker #define U_GC_LO_MASK    U_MASK(U_OTHER_LETTER)
929*0e209d39SAndroid Build Coastguard Worker 
930*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
931*0e209d39SAndroid Build Coastguard Worker #define U_GC_MN_MASK    U_MASK(U_NON_SPACING_MARK)
932*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
933*0e209d39SAndroid Build Coastguard Worker #define U_GC_ME_MASK    U_MASK(U_ENCLOSING_MARK)
934*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
935*0e209d39SAndroid Build Coastguard Worker #define U_GC_MC_MASK    U_MASK(U_COMBINING_SPACING_MARK)
936*0e209d39SAndroid Build Coastguard Worker 
937*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
938*0e209d39SAndroid Build Coastguard Worker #define U_GC_ND_MASK    U_MASK(U_DECIMAL_DIGIT_NUMBER)
939*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
940*0e209d39SAndroid Build Coastguard Worker #define U_GC_NL_MASK    U_MASK(U_LETTER_NUMBER)
941*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
942*0e209d39SAndroid Build Coastguard Worker #define U_GC_NO_MASK    U_MASK(U_OTHER_NUMBER)
943*0e209d39SAndroid Build Coastguard Worker 
944*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
945*0e209d39SAndroid Build Coastguard Worker #define U_GC_ZS_MASK    U_MASK(U_SPACE_SEPARATOR)
946*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
947*0e209d39SAndroid Build Coastguard Worker #define U_GC_ZL_MASK    U_MASK(U_LINE_SEPARATOR)
948*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
949*0e209d39SAndroid Build Coastguard Worker #define U_GC_ZP_MASK    U_MASK(U_PARAGRAPH_SEPARATOR)
950*0e209d39SAndroid Build Coastguard Worker 
951*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
952*0e209d39SAndroid Build Coastguard Worker #define U_GC_CC_MASK    U_MASK(U_CONTROL_CHAR)
953*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
954*0e209d39SAndroid Build Coastguard Worker #define U_GC_CF_MASK    U_MASK(U_FORMAT_CHAR)
955*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
956*0e209d39SAndroid Build Coastguard Worker #define U_GC_CO_MASK    U_MASK(U_PRIVATE_USE_CHAR)
957*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
958*0e209d39SAndroid Build Coastguard Worker #define U_GC_CS_MASK    U_MASK(U_SURROGATE)
959*0e209d39SAndroid Build Coastguard Worker 
960*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
961*0e209d39SAndroid Build Coastguard Worker #define U_GC_PD_MASK    U_MASK(U_DASH_PUNCTUATION)
962*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
963*0e209d39SAndroid Build Coastguard Worker #define U_GC_PS_MASK    U_MASK(U_START_PUNCTUATION)
964*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
965*0e209d39SAndroid Build Coastguard Worker #define U_GC_PE_MASK    U_MASK(U_END_PUNCTUATION)
966*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
967*0e209d39SAndroid Build Coastguard Worker #define U_GC_PC_MASK    U_MASK(U_CONNECTOR_PUNCTUATION)
968*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
969*0e209d39SAndroid Build Coastguard Worker #define U_GC_PO_MASK    U_MASK(U_OTHER_PUNCTUATION)
970*0e209d39SAndroid Build Coastguard Worker 
971*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
972*0e209d39SAndroid Build Coastguard Worker #define U_GC_SM_MASK    U_MASK(U_MATH_SYMBOL)
973*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
974*0e209d39SAndroid Build Coastguard Worker #define U_GC_SC_MASK    U_MASK(U_CURRENCY_SYMBOL)
975*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
976*0e209d39SAndroid Build Coastguard Worker #define U_GC_SK_MASK    U_MASK(U_MODIFIER_SYMBOL)
977*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
978*0e209d39SAndroid Build Coastguard Worker #define U_GC_SO_MASK    U_MASK(U_OTHER_SYMBOL)
979*0e209d39SAndroid Build Coastguard Worker 
980*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
981*0e209d39SAndroid Build Coastguard Worker #define U_GC_PI_MASK    U_MASK(U_INITIAL_PUNCTUATION)
982*0e209d39SAndroid Build Coastguard Worker /** Mask constant for a UCharCategory. \xrefitem stable "Stable" "Stable List" ICU 2.1 */
983*0e209d39SAndroid Build Coastguard Worker #define U_GC_PF_MASK    U_MASK(U_FINAL_PUNCTUATION)
984*0e209d39SAndroid Build Coastguard Worker 
985*0e209d39SAndroid Build Coastguard Worker 
986*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (L Letters). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
987*0e209d39SAndroid Build Coastguard Worker #define U_GC_L_MASK \
988*0e209d39SAndroid Build Coastguard Worker             (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK|U_GC_LM_MASK|U_GC_LO_MASK)
989*0e209d39SAndroid Build Coastguard Worker 
990*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (LC Cased Letters). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
991*0e209d39SAndroid Build Coastguard Worker #define U_GC_LC_MASK \
992*0e209d39SAndroid Build Coastguard Worker             (U_GC_LU_MASK|U_GC_LL_MASK|U_GC_LT_MASK)
993*0e209d39SAndroid Build Coastguard Worker 
994*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (M Marks). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
995*0e209d39SAndroid Build Coastguard Worker #define U_GC_M_MASK (U_GC_MN_MASK|U_GC_ME_MASK|U_GC_MC_MASK)
996*0e209d39SAndroid Build Coastguard Worker 
997*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (N Numbers). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
998*0e209d39SAndroid Build Coastguard Worker #define U_GC_N_MASK (U_GC_ND_MASK|U_GC_NL_MASK|U_GC_NO_MASK)
999*0e209d39SAndroid Build Coastguard Worker 
1000*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (Z Separators). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
1001*0e209d39SAndroid Build Coastguard Worker #define U_GC_Z_MASK (U_GC_ZS_MASK|U_GC_ZL_MASK|U_GC_ZP_MASK)
1002*0e209d39SAndroid Build Coastguard Worker 
1003*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (C Others). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
1004*0e209d39SAndroid Build Coastguard Worker #define U_GC_C_MASK \
1005*0e209d39SAndroid Build Coastguard Worker             (U_GC_CN_MASK|U_GC_CC_MASK|U_GC_CF_MASK|U_GC_CO_MASK|U_GC_CS_MASK)
1006*0e209d39SAndroid Build Coastguard Worker 
1007*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (P Punctuation). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
1008*0e209d39SAndroid Build Coastguard Worker #define U_GC_P_MASK \
1009*0e209d39SAndroid Build Coastguard Worker             (U_GC_PD_MASK|U_GC_PS_MASK|U_GC_PE_MASK|U_GC_PC_MASK|U_GC_PO_MASK| \
1010*0e209d39SAndroid Build Coastguard Worker              U_GC_PI_MASK|U_GC_PF_MASK)
1011*0e209d39SAndroid Build Coastguard Worker 
1012*0e209d39SAndroid Build Coastguard Worker /** Mask constant for multiple UCharCategory bits (S Symbols). \xrefitem stable "Stable" "Stable List" ICU 2.1 */
1013*0e209d39SAndroid Build Coastguard Worker #define U_GC_S_MASK (U_GC_SM_MASK|U_GC_SC_MASK|U_GC_SK_MASK|U_GC_SO_MASK)
1014*0e209d39SAndroid Build Coastguard Worker 
1015*0e209d39SAndroid Build Coastguard Worker /**
1016*0e209d39SAndroid Build Coastguard Worker  * This specifies the language directional property of a character set.
1017*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
1018*0e209d39SAndroid Build Coastguard Worker  */
1019*0e209d39SAndroid Build Coastguard Worker typedef enum UCharDirection {
1020*0e209d39SAndroid Build Coastguard Worker     /*
1021*0e209d39SAndroid Build Coastguard Worker      * Note: UCharDirection constants and their API comments are parsed by preparseucd.py.
1022*0e209d39SAndroid Build Coastguard Worker      * It matches pairs of lines like
1023*0e209d39SAndroid Build Coastguard Worker      *     / ** <Unicode 1..3-letter Bidi_Class value> comment... * /
1024*0e209d39SAndroid Build Coastguard Worker      *     U_<[A-Z_]+> = <integer>,
1025*0e209d39SAndroid Build Coastguard Worker      */
1026*0e209d39SAndroid Build Coastguard Worker 
1027*0e209d39SAndroid Build Coastguard Worker     /** L \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1028*0e209d39SAndroid Build Coastguard Worker     U_LEFT_TO_RIGHT               = 0,
1029*0e209d39SAndroid Build Coastguard Worker     /** R \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1030*0e209d39SAndroid Build Coastguard Worker     U_RIGHT_TO_LEFT               = 1,
1031*0e209d39SAndroid Build Coastguard Worker     /** EN \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1032*0e209d39SAndroid Build Coastguard Worker     U_EUROPEAN_NUMBER             = 2,
1033*0e209d39SAndroid Build Coastguard Worker     /** ES \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1034*0e209d39SAndroid Build Coastguard Worker     U_EUROPEAN_NUMBER_SEPARATOR   = 3,
1035*0e209d39SAndroid Build Coastguard Worker     /** ET \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1036*0e209d39SAndroid Build Coastguard Worker     U_EUROPEAN_NUMBER_TERMINATOR  = 4,
1037*0e209d39SAndroid Build Coastguard Worker     /** AN \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1038*0e209d39SAndroid Build Coastguard Worker     U_ARABIC_NUMBER               = 5,
1039*0e209d39SAndroid Build Coastguard Worker     /** CS \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1040*0e209d39SAndroid Build Coastguard Worker     U_COMMON_NUMBER_SEPARATOR     = 6,
1041*0e209d39SAndroid Build Coastguard Worker     /** B \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1042*0e209d39SAndroid Build Coastguard Worker     U_BLOCK_SEPARATOR             = 7,
1043*0e209d39SAndroid Build Coastguard Worker     /** S \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1044*0e209d39SAndroid Build Coastguard Worker     U_SEGMENT_SEPARATOR           = 8,
1045*0e209d39SAndroid Build Coastguard Worker     /** WS \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1046*0e209d39SAndroid Build Coastguard Worker     U_WHITE_SPACE_NEUTRAL         = 9,
1047*0e209d39SAndroid Build Coastguard Worker     /** ON \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1048*0e209d39SAndroid Build Coastguard Worker     U_OTHER_NEUTRAL               = 10,
1049*0e209d39SAndroid Build Coastguard Worker     /** LRE \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1050*0e209d39SAndroid Build Coastguard Worker     U_LEFT_TO_RIGHT_EMBEDDING     = 11,
1051*0e209d39SAndroid Build Coastguard Worker     /** LRO \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1052*0e209d39SAndroid Build Coastguard Worker     U_LEFT_TO_RIGHT_OVERRIDE      = 12,
1053*0e209d39SAndroid Build Coastguard Worker     /** AL \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1054*0e209d39SAndroid Build Coastguard Worker     U_RIGHT_TO_LEFT_ARABIC        = 13,
1055*0e209d39SAndroid Build Coastguard Worker     /** RLE \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1056*0e209d39SAndroid Build Coastguard Worker     U_RIGHT_TO_LEFT_EMBEDDING     = 14,
1057*0e209d39SAndroid Build Coastguard Worker     /** RLO \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1058*0e209d39SAndroid Build Coastguard Worker     U_RIGHT_TO_LEFT_OVERRIDE      = 15,
1059*0e209d39SAndroid Build Coastguard Worker     /** PDF \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1060*0e209d39SAndroid Build Coastguard Worker     U_POP_DIRECTIONAL_FORMAT      = 16,
1061*0e209d39SAndroid Build Coastguard Worker     /** NSM \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1062*0e209d39SAndroid Build Coastguard Worker     U_DIR_NON_SPACING_MARK        = 17,
1063*0e209d39SAndroid Build Coastguard Worker     /** BN \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1064*0e209d39SAndroid Build Coastguard Worker     U_BOUNDARY_NEUTRAL            = 18,
1065*0e209d39SAndroid Build Coastguard Worker     /** FSI \xrefitem stable "Stable" "Stable List" ICU 52 */
1066*0e209d39SAndroid Build Coastguard Worker     U_FIRST_STRONG_ISOLATE        = 19,
1067*0e209d39SAndroid Build Coastguard Worker     /** LRI \xrefitem stable "Stable" "Stable List" ICU 52 */
1068*0e209d39SAndroid Build Coastguard Worker     U_LEFT_TO_RIGHT_ISOLATE       = 20,
1069*0e209d39SAndroid Build Coastguard Worker     /** RLI \xrefitem stable "Stable" "Stable List" ICU 52 */
1070*0e209d39SAndroid Build Coastguard Worker     U_RIGHT_TO_LEFT_ISOLATE       = 21,
1071*0e209d39SAndroid Build Coastguard Worker     /** PDI \xrefitem stable "Stable" "Stable List" ICU 52 */
1072*0e209d39SAndroid Build Coastguard Worker     U_POP_DIRECTIONAL_ISOLATE     = 22,
1073*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
1074*0e209d39SAndroid Build Coastguard Worker     /**
1075*0e209d39SAndroid Build Coastguard Worker      * One more than the highest UCharDirection value.
1076*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BIDI_CLASS).
1077*0e209d39SAndroid Build Coastguard Worker      *
1078*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
1079*0e209d39SAndroid Build Coastguard Worker      */
1080*0e209d39SAndroid Build Coastguard Worker     U_CHAR_DIRECTION_COUNT
1081*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
1082*0e209d39SAndroid Build Coastguard Worker } UCharDirection;
1083*0e209d39SAndroid Build Coastguard Worker 
1084*0e209d39SAndroid Build Coastguard Worker /**
1085*0e209d39SAndroid Build Coastguard Worker  * Bidi Paired Bracket Type constants.
1086*0e209d39SAndroid Build Coastguard Worker  *
1087*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_BIDI_PAIRED_BRACKET_TYPE
1088*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 52
1089*0e209d39SAndroid Build Coastguard Worker  */
1090*0e209d39SAndroid Build Coastguard Worker typedef enum UBidiPairedBracketType {
1091*0e209d39SAndroid Build Coastguard Worker     /*
1092*0e209d39SAndroid Build Coastguard Worker      * Note: UBidiPairedBracketType constants are parsed by preparseucd.py.
1093*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
1094*0e209d39SAndroid Build Coastguard Worker      *     U_BPT_<Unicode Bidi_Paired_Bracket_Type value name>
1095*0e209d39SAndroid Build Coastguard Worker      */
1096*0e209d39SAndroid Build Coastguard Worker 
1097*0e209d39SAndroid Build Coastguard Worker     /** Not a paired bracket. \xrefitem stable "Stable" "Stable List" ICU 52 */
1098*0e209d39SAndroid Build Coastguard Worker     U_BPT_NONE,
1099*0e209d39SAndroid Build Coastguard Worker     /** Open paired bracket. \xrefitem stable "Stable" "Stable List" ICU 52 */
1100*0e209d39SAndroid Build Coastguard Worker     U_BPT_OPEN,
1101*0e209d39SAndroid Build Coastguard Worker     /** Close paired bracket. \xrefitem stable "Stable" "Stable List" ICU 52 */
1102*0e209d39SAndroid Build Coastguard Worker     U_BPT_CLOSE,
1103*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
1104*0e209d39SAndroid Build Coastguard Worker     /**
1105*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UBidiPairedBracketType value.
1106*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BIDI_PAIRED_BRACKET_TYPE).
1107*0e209d39SAndroid Build Coastguard Worker      *
1108*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
1109*0e209d39SAndroid Build Coastguard Worker      */
1110*0e209d39SAndroid Build Coastguard Worker     U_BPT_COUNT /* 3 */
1111*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
1112*0e209d39SAndroid Build Coastguard Worker } UBidiPairedBracketType;
1113*0e209d39SAndroid Build Coastguard Worker 
1114*0e209d39SAndroid Build Coastguard Worker /**
1115*0e209d39SAndroid Build Coastguard Worker  * Constants for Unicode blocks, see the Unicode Data file Blocks.txt
1116*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
1117*0e209d39SAndroid Build Coastguard Worker  */
1118*0e209d39SAndroid Build Coastguard Worker enum UBlockCode {
1119*0e209d39SAndroid Build Coastguard Worker     /*
1120*0e209d39SAndroid Build Coastguard Worker      * Note: UBlockCode constants are parsed by preparseucd.py.
1121*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
1122*0e209d39SAndroid Build Coastguard Worker      *     UBLOCK_<Unicode Block value name> = <integer>,
1123*0e209d39SAndroid Build Coastguard Worker      */
1124*0e209d39SAndroid Build Coastguard Worker 
1125*0e209d39SAndroid Build Coastguard Worker     /** New No_Block value in Unicode 4. \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1126*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NO_BLOCK = 0, /*[none]*/ /* Special range indicating No_Block */
1127*0e209d39SAndroid Build Coastguard Worker 
1128*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1129*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BASIC_LATIN = 1, /*[0000]*/
1130*0e209d39SAndroid Build Coastguard Worker 
1131*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1132*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_1_SUPPLEMENT=2, /*[0080]*/
1133*0e209d39SAndroid Build Coastguard Worker 
1134*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1135*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_A =3, /*[0100]*/
1136*0e209d39SAndroid Build Coastguard Worker 
1137*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1138*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_B =4, /*[0180]*/
1139*0e209d39SAndroid Build Coastguard Worker 
1140*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1141*0e209d39SAndroid Build Coastguard Worker     UBLOCK_IPA_EXTENSIONS =5, /*[0250]*/
1142*0e209d39SAndroid Build Coastguard Worker 
1143*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1144*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SPACING_MODIFIER_LETTERS =6, /*[02B0]*/
1145*0e209d39SAndroid Build Coastguard Worker 
1146*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1147*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMBINING_DIACRITICAL_MARKS =7, /*[0300]*/
1148*0e209d39SAndroid Build Coastguard Worker 
1149*0e209d39SAndroid Build Coastguard Worker     /**
1150*0e209d39SAndroid Build Coastguard Worker      * Unicode 3.2 renames this block to "Greek and Coptic".
1151*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.0
1152*0e209d39SAndroid Build Coastguard Worker      */
1153*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GREEK =8, /*[0370]*/
1154*0e209d39SAndroid Build Coastguard Worker 
1155*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1156*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC =9, /*[0400]*/
1157*0e209d39SAndroid Build Coastguard Worker 
1158*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1159*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARMENIAN =10, /*[0530]*/
1160*0e209d39SAndroid Build Coastguard Worker 
1161*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1162*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HEBREW =11, /*[0590]*/
1163*0e209d39SAndroid Build Coastguard Worker 
1164*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1165*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC =12, /*[0600]*/
1166*0e209d39SAndroid Build Coastguard Worker 
1167*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1168*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SYRIAC =13, /*[0700]*/
1169*0e209d39SAndroid Build Coastguard Worker 
1170*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1171*0e209d39SAndroid Build Coastguard Worker     UBLOCK_THAANA =14, /*[0780]*/
1172*0e209d39SAndroid Build Coastguard Worker 
1173*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1174*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DEVANAGARI =15, /*[0900]*/
1175*0e209d39SAndroid Build Coastguard Worker 
1176*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1177*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BENGALI =16, /*[0980]*/
1178*0e209d39SAndroid Build Coastguard Worker 
1179*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1180*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GURMUKHI =17, /*[0A00]*/
1181*0e209d39SAndroid Build Coastguard Worker 
1182*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1183*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GUJARATI =18, /*[0A80]*/
1184*0e209d39SAndroid Build Coastguard Worker 
1185*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1186*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ORIYA =19, /*[0B00]*/
1187*0e209d39SAndroid Build Coastguard Worker 
1188*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1189*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAMIL =20, /*[0B80]*/
1190*0e209d39SAndroid Build Coastguard Worker 
1191*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1192*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TELUGU =21, /*[0C00]*/
1193*0e209d39SAndroid Build Coastguard Worker 
1194*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1195*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANNADA =22, /*[0C80]*/
1196*0e209d39SAndroid Build Coastguard Worker 
1197*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1198*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MALAYALAM =23, /*[0D00]*/
1199*0e209d39SAndroid Build Coastguard Worker 
1200*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1201*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SINHALA =24, /*[0D80]*/
1202*0e209d39SAndroid Build Coastguard Worker 
1203*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1204*0e209d39SAndroid Build Coastguard Worker     UBLOCK_THAI =25, /*[0E00]*/
1205*0e209d39SAndroid Build Coastguard Worker 
1206*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1207*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LAO =26, /*[0E80]*/
1208*0e209d39SAndroid Build Coastguard Worker 
1209*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1210*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TIBETAN =27, /*[0F00]*/
1211*0e209d39SAndroid Build Coastguard Worker 
1212*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1213*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MYANMAR =28, /*[1000]*/
1214*0e209d39SAndroid Build Coastguard Worker 
1215*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1216*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GEORGIAN =29, /*[10A0]*/
1217*0e209d39SAndroid Build Coastguard Worker 
1218*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1219*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANGUL_JAMO =30, /*[1100]*/
1220*0e209d39SAndroid Build Coastguard Worker 
1221*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1222*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ETHIOPIC =31, /*[1200]*/
1223*0e209d39SAndroid Build Coastguard Worker 
1224*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1225*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHEROKEE =32, /*[13A0]*/
1226*0e209d39SAndroid Build Coastguard Worker 
1227*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1228*0e209d39SAndroid Build Coastguard Worker     UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS =33, /*[1400]*/
1229*0e209d39SAndroid Build Coastguard Worker 
1230*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1231*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OGHAM =34, /*[1680]*/
1232*0e209d39SAndroid Build Coastguard Worker 
1233*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1234*0e209d39SAndroid Build Coastguard Worker     UBLOCK_RUNIC =35, /*[16A0]*/
1235*0e209d39SAndroid Build Coastguard Worker 
1236*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1237*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHMER =36, /*[1780]*/
1238*0e209d39SAndroid Build Coastguard Worker 
1239*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1240*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MONGOLIAN =37, /*[1800]*/
1241*0e209d39SAndroid Build Coastguard Worker 
1242*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1243*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_ADDITIONAL =38, /*[1E00]*/
1244*0e209d39SAndroid Build Coastguard Worker 
1245*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1246*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GREEK_EXTENDED =39, /*[1F00]*/
1247*0e209d39SAndroid Build Coastguard Worker 
1248*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1249*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GENERAL_PUNCTUATION =40, /*[2000]*/
1250*0e209d39SAndroid Build Coastguard Worker 
1251*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1252*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPERSCRIPTS_AND_SUBSCRIPTS =41, /*[2070]*/
1253*0e209d39SAndroid Build Coastguard Worker 
1254*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1255*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CURRENCY_SYMBOLS =42, /*[20A0]*/
1256*0e209d39SAndroid Build Coastguard Worker 
1257*0e209d39SAndroid Build Coastguard Worker     /**
1258*0e209d39SAndroid Build Coastguard Worker      * Unicode 3.2 renames this block to "Combining Diacritical Marks for Symbols".
1259*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.0
1260*0e209d39SAndroid Build Coastguard Worker      */
1261*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMBINING_MARKS_FOR_SYMBOLS =43, /*[20D0]*/
1262*0e209d39SAndroid Build Coastguard Worker 
1263*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1264*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LETTERLIKE_SYMBOLS =44, /*[2100]*/
1265*0e209d39SAndroid Build Coastguard Worker 
1266*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1267*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NUMBER_FORMS =45, /*[2150]*/
1268*0e209d39SAndroid Build Coastguard Worker 
1269*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1270*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARROWS =46, /*[2190]*/
1271*0e209d39SAndroid Build Coastguard Worker 
1272*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1273*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MATHEMATICAL_OPERATORS =47, /*[2200]*/
1274*0e209d39SAndroid Build Coastguard Worker 
1275*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1276*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_TECHNICAL =48, /*[2300]*/
1277*0e209d39SAndroid Build Coastguard Worker 
1278*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1279*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CONTROL_PICTURES =49, /*[2400]*/
1280*0e209d39SAndroid Build Coastguard Worker 
1281*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1282*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OPTICAL_CHARACTER_RECOGNITION =50, /*[2440]*/
1283*0e209d39SAndroid Build Coastguard Worker 
1284*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1285*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ENCLOSED_ALPHANUMERICS =51, /*[2460]*/
1286*0e209d39SAndroid Build Coastguard Worker 
1287*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1288*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BOX_DRAWING =52, /*[2500]*/
1289*0e209d39SAndroid Build Coastguard Worker 
1290*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1291*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BLOCK_ELEMENTS =53, /*[2580]*/
1292*0e209d39SAndroid Build Coastguard Worker 
1293*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1294*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GEOMETRIC_SHAPES =54, /*[25A0]*/
1295*0e209d39SAndroid Build Coastguard Worker 
1296*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1297*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_SYMBOLS =55, /*[2600]*/
1298*0e209d39SAndroid Build Coastguard Worker 
1299*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1300*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DINGBATS =56, /*[2700]*/
1301*0e209d39SAndroid Build Coastguard Worker 
1302*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1303*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BRAILLE_PATTERNS =57, /*[2800]*/
1304*0e209d39SAndroid Build Coastguard Worker 
1305*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1306*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_RADICALS_SUPPLEMENT =58, /*[2E80]*/
1307*0e209d39SAndroid Build Coastguard Worker 
1308*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1309*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANGXI_RADICALS =59, /*[2F00]*/
1310*0e209d39SAndroid Build Coastguard Worker 
1311*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1312*0e209d39SAndroid Build Coastguard Worker     UBLOCK_IDEOGRAPHIC_DESCRIPTION_CHARACTERS =60, /*[2FF0]*/
1313*0e209d39SAndroid Build Coastguard Worker 
1314*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1315*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_SYMBOLS_AND_PUNCTUATION =61, /*[3000]*/
1316*0e209d39SAndroid Build Coastguard Worker 
1317*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1318*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HIRAGANA =62, /*[3040]*/
1319*0e209d39SAndroid Build Coastguard Worker 
1320*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1321*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KATAKANA =63, /*[30A0]*/
1322*0e209d39SAndroid Build Coastguard Worker 
1323*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1324*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BOPOMOFO =64, /*[3100]*/
1325*0e209d39SAndroid Build Coastguard Worker 
1326*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1327*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANGUL_COMPATIBILITY_JAMO =65, /*[3130]*/
1328*0e209d39SAndroid Build Coastguard Worker 
1329*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1330*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANBUN =66, /*[3190]*/
1331*0e209d39SAndroid Build Coastguard Worker 
1332*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1333*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BOPOMOFO_EXTENDED =67, /*[31A0]*/
1334*0e209d39SAndroid Build Coastguard Worker 
1335*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1336*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ENCLOSED_CJK_LETTERS_AND_MONTHS =68, /*[3200]*/
1337*0e209d39SAndroid Build Coastguard Worker 
1338*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1339*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_COMPATIBILITY =69, /*[3300]*/
1340*0e209d39SAndroid Build Coastguard Worker 
1341*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1342*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A =70, /*[3400]*/
1343*0e209d39SAndroid Build Coastguard Worker 
1344*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1345*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS =71, /*[4E00]*/
1346*0e209d39SAndroid Build Coastguard Worker 
1347*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1348*0e209d39SAndroid Build Coastguard Worker     UBLOCK_YI_SYLLABLES =72, /*[A000]*/
1349*0e209d39SAndroid Build Coastguard Worker 
1350*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1351*0e209d39SAndroid Build Coastguard Worker     UBLOCK_YI_RADICALS =73, /*[A490]*/
1352*0e209d39SAndroid Build Coastguard Worker 
1353*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1354*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANGUL_SYLLABLES =74, /*[AC00]*/
1355*0e209d39SAndroid Build Coastguard Worker 
1356*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1357*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HIGH_SURROGATES =75, /*[D800]*/
1358*0e209d39SAndroid Build Coastguard Worker 
1359*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1360*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HIGH_PRIVATE_USE_SURROGATES =76, /*[DB80]*/
1361*0e209d39SAndroid Build Coastguard Worker 
1362*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1363*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LOW_SURROGATES =77, /*[DC00]*/
1364*0e209d39SAndroid Build Coastguard Worker 
1365*0e209d39SAndroid Build Coastguard Worker     /**
1366*0e209d39SAndroid Build Coastguard Worker      * Same as UBLOCK_PRIVATE_USE.
1367*0e209d39SAndroid Build Coastguard Worker      * Until Unicode 3.1.1, the corresponding block name was "Private Use",
1368*0e209d39SAndroid Build Coastguard Worker      * and multiple code point ranges had this block.
1369*0e209d39SAndroid Build Coastguard Worker      * Unicode 3.2 renames the block for the BMP PUA to "Private Use Area" and
1370*0e209d39SAndroid Build Coastguard Worker      * adds separate blocks for the supplementary PUAs.
1371*0e209d39SAndroid Build Coastguard Worker      *
1372*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.0
1373*0e209d39SAndroid Build Coastguard Worker      */
1374*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PRIVATE_USE_AREA =78, /*[E000]*/
1375*0e209d39SAndroid Build Coastguard Worker     /**
1376*0e209d39SAndroid Build Coastguard Worker      * Same as UBLOCK_PRIVATE_USE_AREA.
1377*0e209d39SAndroid Build Coastguard Worker      * Until Unicode 3.1.1, the corresponding block name was "Private Use",
1378*0e209d39SAndroid Build Coastguard Worker      * and multiple code point ranges had this block.
1379*0e209d39SAndroid Build Coastguard Worker      * Unicode 3.2 renames the block for the BMP PUA to "Private Use Area" and
1380*0e209d39SAndroid Build Coastguard Worker      * adds separate blocks for the supplementary PUAs.
1381*0e209d39SAndroid Build Coastguard Worker      *
1382*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.0
1383*0e209d39SAndroid Build Coastguard Worker      */
1384*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PRIVATE_USE = UBLOCK_PRIVATE_USE_AREA,
1385*0e209d39SAndroid Build Coastguard Worker 
1386*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1387*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS =79, /*[F900]*/
1388*0e209d39SAndroid Build Coastguard Worker 
1389*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1390*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ALPHABETIC_PRESENTATION_FORMS =80, /*[FB00]*/
1391*0e209d39SAndroid Build Coastguard Worker 
1392*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1393*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_PRESENTATION_FORMS_A =81, /*[FB50]*/
1394*0e209d39SAndroid Build Coastguard Worker 
1395*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1396*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMBINING_HALF_MARKS =82, /*[FE20]*/
1397*0e209d39SAndroid Build Coastguard Worker 
1398*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1399*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_COMPATIBILITY_FORMS =83, /*[FE30]*/
1400*0e209d39SAndroid Build Coastguard Worker 
1401*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1402*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SMALL_FORM_VARIANTS =84, /*[FE50]*/
1403*0e209d39SAndroid Build Coastguard Worker 
1404*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1405*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_PRESENTATION_FORMS_B =85, /*[FE70]*/
1406*0e209d39SAndroid Build Coastguard Worker 
1407*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1408*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SPECIALS =86, /*[FFF0]*/
1409*0e209d39SAndroid Build Coastguard Worker 
1410*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1411*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HALFWIDTH_AND_FULLWIDTH_FORMS =87, /*[FF00]*/
1412*0e209d39SAndroid Build Coastguard Worker 
1413*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 3.1 */
1414*0e209d39SAndroid Build Coastguard Worker 
1415*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1416*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_ITALIC = 88, /*[10300]*/
1417*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1418*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GOTHIC = 89, /*[10330]*/
1419*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1420*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DESERET = 90, /*[10400]*/
1421*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1422*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BYZANTINE_MUSICAL_SYMBOLS = 91, /*[1D000]*/
1423*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1424*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MUSICAL_SYMBOLS = 92, /*[1D100]*/
1425*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1426*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MATHEMATICAL_ALPHANUMERIC_SYMBOLS = 93, /*[1D400]*/
1427*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1428*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B  = 94, /*[20000]*/
1429*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1430*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT = 95, /*[2F800]*/
1431*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1432*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAGS = 96, /*[E0000]*/
1433*0e209d39SAndroid Build Coastguard Worker 
1434*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 3.2 */
1435*0e209d39SAndroid Build Coastguard Worker 
1436*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.0  */
1437*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_SUPPLEMENT = 97, /*[0500]*/
1438*0e209d39SAndroid Build Coastguard Worker     /**
1439*0e209d39SAndroid Build Coastguard Worker      * Unicode 4.0.1 renames the "Cyrillic Supplementary" block to "Cyrillic Supplement".
1440*0e209d39SAndroid Build Coastguard Worker      * \xrefitem stable "Stable" "Stable List" ICU 2.2
1441*0e209d39SAndroid Build Coastguard Worker      */
1442*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_SUPPLEMENTARY = UBLOCK_CYRILLIC_SUPPLEMENT,
1443*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1444*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAGALOG = 98, /*[1700]*/
1445*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1446*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANUNOO = 99, /*[1720]*/
1447*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1448*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BUHID = 100, /*[1740]*/
1449*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1450*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAGBANWA = 101, /*[1760]*/
1451*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1452*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A = 102, /*[27C0]*/
1453*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1454*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_ARROWS_A = 103, /*[27F0]*/
1455*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1456*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_ARROWS_B = 104, /*[2900]*/
1457*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1458*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B = 105, /*[2980]*/
1459*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1460*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_MATHEMATICAL_OPERATORS = 106, /*[2A00]*/
1461*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1462*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KATAKANA_PHONETIC_EXTENSIONS = 107, /*[31F0]*/
1463*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1464*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VARIATION_SELECTORS = 108, /*[FE00]*/
1465*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1466*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_A = 109, /*[F0000]*/
1467*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.2 */
1468*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_B = 110, /*[100000]*/
1469*0e209d39SAndroid Build Coastguard Worker 
1470*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 4 */
1471*0e209d39SAndroid Build Coastguard Worker 
1472*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1473*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LIMBU = 111, /*[1900]*/
1474*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1475*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAI_LE = 112, /*[1950]*/
1476*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1477*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHMER_SYMBOLS = 113, /*[19E0]*/
1478*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1479*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PHONETIC_EXTENSIONS = 114, /*[1D00]*/
1480*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1481*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_SYMBOLS_AND_ARROWS = 115, /*[2B00]*/
1482*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1483*0e209d39SAndroid Build Coastguard Worker     UBLOCK_YIJING_HEXAGRAM_SYMBOLS = 116, /*[4DC0]*/
1484*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1485*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LINEAR_B_SYLLABARY = 117, /*[10000]*/
1486*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1487*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LINEAR_B_IDEOGRAMS = 118, /*[10080]*/
1488*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1489*0e209d39SAndroid Build Coastguard Worker     UBLOCK_AEGEAN_NUMBERS = 119, /*[10100]*/
1490*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1491*0e209d39SAndroid Build Coastguard Worker     UBLOCK_UGARITIC = 120, /*[10380]*/
1492*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1493*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SHAVIAN = 121, /*[10450]*/
1494*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1495*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OSMANYA = 122, /*[10480]*/
1496*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1497*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYPRIOT_SYLLABARY = 123, /*[10800]*/
1498*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1499*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAI_XUAN_JING_SYMBOLS = 124, /*[1D300]*/
1500*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
1501*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VARIATION_SELECTORS_SUPPLEMENT = 125, /*[E0100]*/
1502*0e209d39SAndroid Build Coastguard Worker 
1503*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 4.1 */
1504*0e209d39SAndroid Build Coastguard Worker 
1505*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1506*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ANCIENT_GREEK_MUSICAL_NOTATION = 126, /*[1D200]*/
1507*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1508*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ANCIENT_GREEK_NUMBERS = 127, /*[10140]*/
1509*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1510*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_SUPPLEMENT = 128, /*[0750]*/
1511*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1512*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BUGINESE = 129, /*[1A00]*/
1513*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1514*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_STROKES = 130, /*[31C0]*/
1515*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1516*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT = 131, /*[1DC0]*/
1517*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1518*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COPTIC = 132, /*[2C80]*/
1519*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1520*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ETHIOPIC_EXTENDED = 133, /*[2D80]*/
1521*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1522*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ETHIOPIC_SUPPLEMENT = 134, /*[1380]*/
1523*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1524*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GEORGIAN_SUPPLEMENT = 135, /*[2D00]*/
1525*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1526*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GLAGOLITIC = 136, /*[2C00]*/
1527*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1528*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHAROSHTHI = 137, /*[10A00]*/
1529*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1530*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MODIFIER_TONE_LETTERS = 138, /*[A700]*/
1531*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1532*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NEW_TAI_LUE = 139, /*[1980]*/
1533*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1534*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_PERSIAN = 140, /*[103A0]*/
1535*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1536*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PHONETIC_EXTENSIONS_SUPPLEMENT = 141, /*[1D80]*/
1537*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1538*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_PUNCTUATION = 142, /*[2E00]*/
1539*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1540*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SYLOTI_NAGRI = 143, /*[A800]*/
1541*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1542*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TIFINAGH = 144, /*[2D30]*/
1543*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
1544*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VERTICAL_FORMS = 145, /*[FE10]*/
1545*0e209d39SAndroid Build Coastguard Worker 
1546*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 5.0 */
1547*0e209d39SAndroid Build Coastguard Worker 
1548*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1549*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NKO = 146, /*[07C0]*/
1550*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1551*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BALINESE = 147, /*[1B00]*/
1552*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1553*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_C = 148, /*[2C60]*/
1554*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1555*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_D = 149, /*[A720]*/
1556*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1557*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PHAGS_PA = 150, /*[A840]*/
1558*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1559*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PHOENICIAN = 151, /*[10900]*/
1560*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1561*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CUNEIFORM = 152, /*[12000]*/
1562*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1563*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CUNEIFORM_NUMBERS_AND_PUNCTUATION = 153, /*[12400]*/
1564*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.6 */
1565*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COUNTING_ROD_NUMERALS = 154, /*[1D360]*/
1566*0e209d39SAndroid Build Coastguard Worker 
1567*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 5.1 */
1568*0e209d39SAndroid Build Coastguard Worker 
1569*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1570*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUNDANESE = 155, /*[1B80]*/
1571*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1572*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LEPCHA = 156, /*[1C00]*/
1573*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1574*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OL_CHIKI = 157, /*[1C50]*/
1575*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1576*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_EXTENDED_A = 158, /*[2DE0]*/
1577*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1578*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VAI = 159, /*[A500]*/
1579*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1580*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_EXTENDED_B = 160, /*[A640]*/
1581*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1582*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SAURASHTRA = 161, /*[A880]*/
1583*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1584*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KAYAH_LI = 162, /*[A900]*/
1585*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1586*0e209d39SAndroid Build Coastguard Worker     UBLOCK_REJANG = 163, /*[A930]*/
1587*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1588*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHAM = 164, /*[AA00]*/
1589*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1590*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ANCIENT_SYMBOLS = 165, /*[10190]*/
1591*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1592*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PHAISTOS_DISC = 166, /*[101D0]*/
1593*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1594*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LYCIAN = 167, /*[10280]*/
1595*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1596*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CARIAN = 168, /*[102A0]*/
1597*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1598*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LYDIAN = 169, /*[10920]*/
1599*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1600*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MAHJONG_TILES = 170, /*[1F000]*/
1601*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
1602*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DOMINO_TILES = 171, /*[1F030]*/
1603*0e209d39SAndroid Build Coastguard Worker 
1604*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 5.2 */
1605*0e209d39SAndroid Build Coastguard Worker 
1606*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1607*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SAMARITAN = 172, /*[0800]*/
1608*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1609*0e209d39SAndroid Build Coastguard Worker     UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED = 173, /*[18B0]*/
1610*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1611*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAI_THAM = 174, /*[1A20]*/
1612*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1613*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VEDIC_EXTENSIONS = 175, /*[1CD0]*/
1614*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1615*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LISU = 176, /*[A4D0]*/
1616*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1617*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BAMUM = 177, /*[A6A0]*/
1618*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1619*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMMON_INDIC_NUMBER_FORMS = 178, /*[A830]*/
1620*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1621*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DEVANAGARI_EXTENDED = 179, /*[A8E0]*/
1622*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1623*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANGUL_JAMO_EXTENDED_A = 180, /*[A960]*/
1624*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1625*0e209d39SAndroid Build Coastguard Worker     UBLOCK_JAVANESE = 181, /*[A980]*/
1626*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1627*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MYANMAR_EXTENDED_A = 182, /*[AA60]*/
1628*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1629*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAI_VIET = 183, /*[AA80]*/
1630*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1631*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MEETEI_MAYEK = 184, /*[ABC0]*/
1632*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1633*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANGUL_JAMO_EXTENDED_B = 185, /*[D7B0]*/
1634*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1635*0e209d39SAndroid Build Coastguard Worker     UBLOCK_IMPERIAL_ARAMAIC = 186, /*[10840]*/
1636*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1637*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_SOUTH_ARABIAN = 187, /*[10A60]*/
1638*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1639*0e209d39SAndroid Build Coastguard Worker     UBLOCK_AVESTAN = 188, /*[10B00]*/
1640*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1641*0e209d39SAndroid Build Coastguard Worker     UBLOCK_INSCRIPTIONAL_PARTHIAN = 189, /*[10B40]*/
1642*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1643*0e209d39SAndroid Build Coastguard Worker     UBLOCK_INSCRIPTIONAL_PAHLAVI = 190, /*[10B60]*/
1644*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1645*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_TURKIC = 191, /*[10C00]*/
1646*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1647*0e209d39SAndroid Build Coastguard Worker     UBLOCK_RUMI_NUMERAL_SYMBOLS = 192, /*[10E60]*/
1648*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1649*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KAITHI = 193, /*[11080]*/
1650*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1651*0e209d39SAndroid Build Coastguard Worker     UBLOCK_EGYPTIAN_HIEROGLYPHS = 194, /*[13000]*/
1652*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1653*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT = 195, /*[1F100]*/
1654*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1655*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT = 196, /*[1F200]*/
1656*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
1657*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C = 197, /*[2A700]*/
1658*0e209d39SAndroid Build Coastguard Worker 
1659*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 6.0 */
1660*0e209d39SAndroid Build Coastguard Worker 
1661*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1662*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MANDAIC = 198, /*[0840]*/
1663*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1664*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BATAK = 199, /*[1BC0]*/
1665*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1666*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ETHIOPIC_EXTENDED_A = 200, /*[AB00]*/
1667*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1668*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BRAHMI = 201, /*[11000]*/
1669*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1670*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BAMUM_SUPPLEMENT = 202, /*[16800]*/
1671*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1672*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANA_SUPPLEMENT = 203, /*[1B000]*/
1673*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1674*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PLAYING_CARDS = 204, /*[1F0A0]*/
1675*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1676*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS = 205, /*[1F300]*/
1677*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1678*0e209d39SAndroid Build Coastguard Worker     UBLOCK_EMOTICONS = 206, /*[1F600]*/
1679*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1680*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TRANSPORT_AND_MAP_SYMBOLS = 207, /*[1F680]*/
1681*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1682*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ALCHEMICAL_SYMBOLS = 208, /*[1F700]*/
1683*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.6 */
1684*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D = 209, /*[2B740]*/
1685*0e209d39SAndroid Build Coastguard Worker 
1686*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 6.1 */
1687*0e209d39SAndroid Build Coastguard Worker 
1688*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1689*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_EXTENDED_A = 210, /*[08A0]*/
1690*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1691*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS = 211, /*[1EE00]*/
1692*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1693*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHAKMA = 212, /*[11100]*/
1694*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1695*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MEETEI_MAYEK_EXTENSIONS = 213, /*[AAE0]*/
1696*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1697*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MEROITIC_CURSIVE = 214, /*[109A0]*/
1698*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1699*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MEROITIC_HIEROGLYPHS = 215, /*[10980]*/
1700*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1701*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MIAO = 216, /*[16F00]*/
1702*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1703*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SHARADA = 217, /*[11180]*/
1704*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1705*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SORA_SOMPENG = 218, /*[110D0]*/
1706*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1707*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUNDANESE_SUPPLEMENT = 219, /*[1CC0]*/
1708*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
1709*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAKRI = 220, /*[11680]*/
1710*0e209d39SAndroid Build Coastguard Worker 
1711*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 7.0 */
1712*0e209d39SAndroid Build Coastguard Worker 
1713*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1714*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BASSA_VAH = 221, /*[16AD0]*/
1715*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1716*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CAUCASIAN_ALBANIAN = 222, /*[10530]*/
1717*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1718*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COPTIC_EPACT_NUMBERS = 223, /*[102E0]*/
1719*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1720*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COMBINING_DIACRITICAL_MARKS_EXTENDED = 224, /*[1AB0]*/
1721*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1722*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DUPLOYAN = 225, /*[1BC00]*/
1723*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1724*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ELBASAN = 226, /*[10500]*/
1725*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1726*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GEOMETRIC_SHAPES_EXTENDED = 227, /*[1F780]*/
1727*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1728*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GRANTHA = 228, /*[11300]*/
1729*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1730*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHOJKI = 229, /*[11200]*/
1731*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1732*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHUDAWADI = 230, /*[112B0]*/
1733*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1734*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_E = 231, /*[AB30]*/
1735*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1736*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LINEAR_A = 232, /*[10600]*/
1737*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1738*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MAHAJANI = 233, /*[11150]*/
1739*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1740*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MANICHAEAN = 234, /*[10AC0]*/
1741*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1742*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MENDE_KIKAKUI = 235, /*[1E800]*/
1743*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1744*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MODI = 236, /*[11600]*/
1745*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1746*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MRO = 237, /*[16A40]*/
1747*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1748*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MYANMAR_EXTENDED_B = 238, /*[A9E0]*/
1749*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1750*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NABATAEAN = 239, /*[10880]*/
1751*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1752*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_NORTH_ARABIAN = 240, /*[10A80]*/
1753*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1754*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_PERMIC = 241, /*[10350]*/
1755*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1756*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ORNAMENTAL_DINGBATS = 242, /*[1F650]*/
1757*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1758*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PAHAWH_HMONG = 243, /*[16B00]*/
1759*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1760*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PALMYRENE = 244, /*[10860]*/
1761*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1762*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PAU_CIN_HAU = 245, /*[11AC0]*/
1763*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1764*0e209d39SAndroid Build Coastguard Worker     UBLOCK_PSALTER_PAHLAVI = 246, /*[10B80]*/
1765*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1766*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SHORTHAND_FORMAT_CONTROLS = 247, /*[1BCA0]*/
1767*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1768*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SIDDHAM = 248, /*[11580]*/
1769*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1770*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SINHALA_ARCHAIC_NUMBERS = 249, /*[111E0]*/
1771*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1772*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_ARROWS_C = 250, /*[1F800]*/
1773*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1774*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TIRHUTA = 251, /*[11480]*/
1775*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 54 */
1776*0e209d39SAndroid Build Coastguard Worker     UBLOCK_WARANG_CITI = 252, /*[118A0]*/
1777*0e209d39SAndroid Build Coastguard Worker 
1778*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 8.0 */
1779*0e209d39SAndroid Build Coastguard Worker 
1780*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1781*0e209d39SAndroid Build Coastguard Worker     UBLOCK_AHOM = 253, /*[11700]*/
1782*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1783*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ANATOLIAN_HIEROGLYPHS = 254, /*[14400]*/
1784*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1785*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHEROKEE_SUPPLEMENT = 255, /*[AB70]*/
1786*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1787*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E = 256, /*[2B820]*/
1788*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1789*0e209d39SAndroid Build Coastguard Worker     UBLOCK_EARLY_DYNASTIC_CUNEIFORM = 257, /*[12480]*/
1790*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1791*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HATRAN = 258, /*[108E0]*/
1792*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1793*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MULTANI = 259, /*[11280]*/
1794*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1795*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_HUNGARIAN = 260, /*[10C80]*/
1796*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1797*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS = 261, /*[1F900]*/
1798*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 56 */
1799*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SUTTON_SIGNWRITING = 262, /*[1D800]*/
1800*0e209d39SAndroid Build Coastguard Worker 
1801*0e209d39SAndroid Build Coastguard Worker     /* New blocks in Unicode 9.0 */
1802*0e209d39SAndroid Build Coastguard Worker 
1803*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1804*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ADLAM = 263, /*[1E900]*/
1805*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1806*0e209d39SAndroid Build Coastguard Worker     UBLOCK_BHAIKSUKI = 264, /*[11C00]*/
1807*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1808*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_EXTENDED_C = 265, /*[1C80]*/
1809*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1810*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GLAGOLITIC_SUPPLEMENT = 266, /*[1E000]*/
1811*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1812*0e209d39SAndroid Build Coastguard Worker     UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /*[16FE0]*/
1813*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1814*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MARCHEN = 268, /*[11C70]*/
1815*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1816*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MONGOLIAN_SUPPLEMENT = 269, /*[11660]*/
1817*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1818*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NEWA = 270, /*[11400]*/
1819*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1820*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OSAGE = 271, /*[104B0]*/
1821*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1822*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TANGUT = 272, /*[17000]*/
1823*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
1824*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TANGUT_COMPONENTS = 273, /*[18800]*/
1825*0e209d39SAndroid Build Coastguard Worker 
1826*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 10.0
1827*0e209d39SAndroid Build Coastguard Worker 
1828*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1829*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F = 274, /*[2CEB0]*/
1830*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1831*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANA_EXTENDED_A = 275, /*[1B100]*/
1832*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1833*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MASARAM_GONDI = 276, /*[11D00]*/
1834*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1835*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NUSHU = 277, /*[1B170]*/
1836*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1837*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SOYOMBO = 278, /*[11A50]*/
1838*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1839*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SYRIAC_SUPPLEMENT = 279, /*[0860]*/
1840*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 60 */
1841*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ZANABAZAR_SQUARE = 280, /*[11A00]*/
1842*0e209d39SAndroid Build Coastguard Worker 
1843*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 11.0
1844*0e209d39SAndroid Build Coastguard Worker 
1845*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1846*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHESS_SYMBOLS = 281, /*[1FA00]*/
1847*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1848*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DOGRA = 282, /*[11800]*/
1849*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1850*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GEORGIAN_EXTENDED = 283, /*[1C90]*/
1851*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1852*0e209d39SAndroid Build Coastguard Worker     UBLOCK_GUNJALA_GONDI = 284, /*[11D60]*/
1853*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1854*0e209d39SAndroid Build Coastguard Worker     UBLOCK_HANIFI_ROHINGYA = 285, /*[10D00]*/
1855*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1856*0e209d39SAndroid Build Coastguard Worker     UBLOCK_INDIC_SIYAQ_NUMBERS = 286, /*[1EC70]*/
1857*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1858*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MAKASAR = 287, /*[11EE0]*/
1859*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1860*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MAYAN_NUMERALS = 288, /*[1D2E0]*/
1861*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1862*0e209d39SAndroid Build Coastguard Worker     UBLOCK_MEDEFAIDRIN = 289, /*[16E40]*/
1863*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1864*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_SOGDIAN = 290, /*[10F00]*/
1865*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
1866*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SOGDIAN = 291, /*[10F30]*/
1867*0e209d39SAndroid Build Coastguard Worker 
1868*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 12.0
1869*0e209d39SAndroid Build Coastguard Worker 
1870*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1871*0e209d39SAndroid Build Coastguard Worker     UBLOCK_EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS = 292, /*[13430]*/
1872*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1873*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ELYMAIC = 293, /*[10FE0]*/
1874*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1875*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NANDINAGARI = 294, /*[119A0]*/
1876*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1877*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NYIAKENG_PUACHUE_HMONG = 295, /*[1E100]*/
1878*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1879*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OTTOMAN_SIYAQ_NUMBERS = 296, /*[1ED00]*/
1880*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1881*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SMALL_KANA_EXTENSION = 297, /*[1B130]*/
1882*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1883*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A = 298, /*[1FA70]*/
1884*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1885*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TAMIL_SUPPLEMENT = 299, /*[11FC0]*/
1886*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 64 */
1887*0e209d39SAndroid Build Coastguard Worker     UBLOCK_WANCHO = 300, /*[1E2C0]*/
1888*0e209d39SAndroid Build Coastguard Worker 
1889*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 13.0
1890*0e209d39SAndroid Build Coastguard Worker 
1891*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1892*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CHORASMIAN = 301, /*[10FB0]*/
1893*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1894*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G = 302, /*[30000]*/
1895*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1896*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DIVES_AKURU = 303, /*[11900]*/
1897*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1898*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KHITAN_SMALL_SCRIPT = 304, /*[18B00]*/
1899*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1900*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LISU_SUPPLEMENT = 305, /*[11FB0]*/
1901*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1902*0e209d39SAndroid Build Coastguard Worker     UBLOCK_SYMBOLS_FOR_LEGACY_COMPUTING = 306, /*[1FB00]*/
1903*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1904*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TANGUT_SUPPLEMENT = 307, /*[18D00]*/
1905*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
1906*0e209d39SAndroid Build Coastguard Worker     UBLOCK_YEZIDI = 308, /*[10E80]*/
1907*0e209d39SAndroid Build Coastguard Worker 
1908*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 14.0
1909*0e209d39SAndroid Build Coastguard Worker 
1910*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1911*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_EXTENDED_B = 309, /*[0870]*/
1912*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1913*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYPRO_MINOAN = 310, /*[12F90]*/
1914*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1915*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ETHIOPIC_EXTENDED_B = 311, /*[1E7E0]*/
1916*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1917*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KANA_EXTENDED_B = 312, /*[1AFF0]*/
1918*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1919*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_F = 313, /*[10780]*/
1920*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1921*0e209d39SAndroid Build Coastguard Worker     UBLOCK_LATIN_EXTENDED_G = 314, /*[1DF00]*/
1922*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1923*0e209d39SAndroid Build Coastguard Worker     UBLOCK_OLD_UYGHUR = 315, /*[10F70]*/
1924*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1925*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TANGSA = 316, /*[16A70]*/
1926*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1927*0e209d39SAndroid Build Coastguard Worker     UBLOCK_TOTO = 317, /*[1E290]*/
1928*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1929*0e209d39SAndroid Build Coastguard Worker     UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED_A = 318, /*[11AB0]*/
1930*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1931*0e209d39SAndroid Build Coastguard Worker     UBLOCK_VITHKUQI = 319, /*[10570]*/
1932*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 70 */
1933*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ZNAMENNY_MUSICAL_NOTATION = 320, /*[1CF00]*/
1934*0e209d39SAndroid Build Coastguard Worker 
1935*0e209d39SAndroid Build Coastguard Worker     // New blocks in Unicode 15.0
1936*0e209d39SAndroid Build Coastguard Worker 
1937*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1938*0e209d39SAndroid Build Coastguard Worker     UBLOCK_ARABIC_EXTENDED_C = 321, /*[10EC0]*/
1939*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1940*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H = 322, /*[31350]*/
1941*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1942*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CYRILLIC_EXTENDED_D = 323, /*[1E030]*/
1943*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1944*0e209d39SAndroid Build Coastguard Worker     UBLOCK_DEVANAGARI_EXTENDED_A = 324, /*[11B00]*/
1945*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1946*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KAKTOVIK_NUMERALS = 325, /*[1D2C0]*/
1947*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1948*0e209d39SAndroid Build Coastguard Worker     UBLOCK_KAWI = 326, /*[11F00]*/
1949*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 72 */
1950*0e209d39SAndroid Build Coastguard Worker     UBLOCK_NAG_MUNDARI = 327, /*[1E4D0]*/
1951*0e209d39SAndroid Build Coastguard Worker 
1952*0e209d39SAndroid Build Coastguard Worker     // New block in Unicode 15.1
1953*0e209d39SAndroid Build Coastguard Worker 
1954*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
1955*0e209d39SAndroid Build Coastguard Worker     UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_I = 328, /*[2EBF0]*/
1956*0e209d39SAndroid Build Coastguard Worker 
1957*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
1958*0e209d39SAndroid Build Coastguard Worker     /**
1959*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UBlockCode value.
1960*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_BLOCK).
1961*0e209d39SAndroid Build Coastguard Worker      *
1962*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
1963*0e209d39SAndroid Build Coastguard Worker      */
1964*0e209d39SAndroid Build Coastguard Worker     UBLOCK_COUNT = 329,
1965*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
1966*0e209d39SAndroid Build Coastguard Worker 
1967*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1968*0e209d39SAndroid Build Coastguard Worker     UBLOCK_INVALID_CODE=-1
1969*0e209d39SAndroid Build Coastguard Worker };
1970*0e209d39SAndroid Build Coastguard Worker 
1971*0e209d39SAndroid Build Coastguard Worker /** \xrefitem stable "Stable" "Stable List" ICU 2.0 */
1972*0e209d39SAndroid Build Coastguard Worker typedef enum UBlockCode UBlockCode;
1973*0e209d39SAndroid Build Coastguard Worker 
1974*0e209d39SAndroid Build Coastguard Worker /**
1975*0e209d39SAndroid Build Coastguard Worker  * East Asian Width constants.
1976*0e209d39SAndroid Build Coastguard Worker  *
1977*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_EAST_ASIAN_WIDTH
1978*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyValue
1979*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
1980*0e209d39SAndroid Build Coastguard Worker  */
1981*0e209d39SAndroid Build Coastguard Worker typedef enum UEastAsianWidth {
1982*0e209d39SAndroid Build Coastguard Worker     /*
1983*0e209d39SAndroid Build Coastguard Worker      * Note: UEastAsianWidth constants are parsed by preparseucd.py.
1984*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
1985*0e209d39SAndroid Build Coastguard Worker      *     U_EA_<Unicode East_Asian_Width value name>
1986*0e209d39SAndroid Build Coastguard Worker      */
1987*0e209d39SAndroid Build Coastguard Worker 
1988*0e209d39SAndroid Build Coastguard Worker     U_EA_NEUTRAL,   /*[N]*/
1989*0e209d39SAndroid Build Coastguard Worker     U_EA_AMBIGUOUS, /*[A]*/
1990*0e209d39SAndroid Build Coastguard Worker     U_EA_HALFWIDTH, /*[H]*/
1991*0e209d39SAndroid Build Coastguard Worker     U_EA_FULLWIDTH, /*[F]*/
1992*0e209d39SAndroid Build Coastguard Worker     U_EA_NARROW,    /*[Na]*/
1993*0e209d39SAndroid Build Coastguard Worker     U_EA_WIDE,      /*[W]*/
1994*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
1995*0e209d39SAndroid Build Coastguard Worker     /**
1996*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UEastAsianWidth value.
1997*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_EAST_ASIAN_WIDTH).
1998*0e209d39SAndroid Build Coastguard Worker      *
1999*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2000*0e209d39SAndroid Build Coastguard Worker      */
2001*0e209d39SAndroid Build Coastguard Worker     U_EA_COUNT
2002*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2003*0e209d39SAndroid Build Coastguard Worker } UEastAsianWidth;
2004*0e209d39SAndroid Build Coastguard Worker 
2005*0e209d39SAndroid Build Coastguard Worker /**
2006*0e209d39SAndroid Build Coastguard Worker  * Selector constants for u_charName().
2007*0e209d39SAndroid Build Coastguard Worker  * u_charName() returns the "modern" name of a
2008*0e209d39SAndroid Build Coastguard Worker  * Unicode character; or the name that was defined in
2009*0e209d39SAndroid Build Coastguard Worker  * Unicode version 1.0, before the Unicode standard merged
2010*0e209d39SAndroid Build Coastguard Worker  * with ISO-10646; or an "extended" name that gives each
2011*0e209d39SAndroid Build Coastguard Worker  * Unicode code point a unique name.
2012*0e209d39SAndroid Build Coastguard Worker  *
2013*0e209d39SAndroid Build Coastguard Worker  * @see u_charName
2014*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
2015*0e209d39SAndroid Build Coastguard Worker  */
2016*0e209d39SAndroid Build Coastguard Worker typedef enum UCharNameChoice {
2017*0e209d39SAndroid Build Coastguard Worker     /** Unicode character name (Name property). \xrefitem stable "Stable" "Stable List" ICU 2.0 */
2018*0e209d39SAndroid Build Coastguard Worker     U_UNICODE_CHAR_NAME,
2019*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2020*0e209d39SAndroid Build Coastguard Worker     /**
2021*0e209d39SAndroid Build Coastguard Worker      * The Unicode_1_Name property value which is of little practical value.
2022*0e209d39SAndroid Build Coastguard Worker      * Beginning with ICU 49, ICU APIs return an empty string for this name choice.
2023*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 49
2024*0e209d39SAndroid Build Coastguard Worker      */
2025*0e209d39SAndroid Build Coastguard Worker     U_UNICODE_10_CHAR_NAME,
2026*0e209d39SAndroid Build Coastguard Worker #endif  /* U_HIDE_DEPRECATED_API */
2027*0e209d39SAndroid Build Coastguard Worker     /** Standard or synthetic character name. \xrefitem stable "Stable" "Stable List" ICU 2.0 */
2028*0e209d39SAndroid Build Coastguard Worker     U_EXTENDED_CHAR_NAME = U_UNICODE_CHAR_NAME+2,
2029*0e209d39SAndroid Build Coastguard Worker     /** Corrected name from NameAliases.txt. \xrefitem stable "Stable" "Stable List" ICU 4.4 */
2030*0e209d39SAndroid Build Coastguard Worker     U_CHAR_NAME_ALIAS,
2031*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2032*0e209d39SAndroid Build Coastguard Worker     /**
2033*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UCharNameChoice value.
2034*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2035*0e209d39SAndroid Build Coastguard Worker      */
2036*0e209d39SAndroid Build Coastguard Worker     U_CHAR_NAME_CHOICE_COUNT
2037*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2038*0e209d39SAndroid Build Coastguard Worker } UCharNameChoice;
2039*0e209d39SAndroid Build Coastguard Worker 
2040*0e209d39SAndroid Build Coastguard Worker /**
2041*0e209d39SAndroid Build Coastguard Worker  * Selector constants for u_getPropertyName() and
2042*0e209d39SAndroid Build Coastguard Worker  * u_getPropertyValueName().  These selectors are used to choose which
2043*0e209d39SAndroid Build Coastguard Worker  * name is returned for a given property or value.  All properties and
2044*0e209d39SAndroid Build Coastguard Worker  * values have a long name.  Most have a short name, but some do not.
2045*0e209d39SAndroid Build Coastguard Worker  * Unicode allows for additional names, beyond the long and short
2046*0e209d39SAndroid Build Coastguard Worker  * name, which would be indicated by U_LONG_PROPERTY_NAME + i, where
2047*0e209d39SAndroid Build Coastguard Worker  * i=1, 2,...
2048*0e209d39SAndroid Build Coastguard Worker  *
2049*0e209d39SAndroid Build Coastguard Worker  * @see u_getPropertyName()
2050*0e209d39SAndroid Build Coastguard Worker  * @see u_getPropertyValueName()
2051*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
2052*0e209d39SAndroid Build Coastguard Worker  */
2053*0e209d39SAndroid Build Coastguard Worker typedef enum UPropertyNameChoice {
2054*0e209d39SAndroid Build Coastguard Worker     U_SHORT_PROPERTY_NAME,
2055*0e209d39SAndroid Build Coastguard Worker     U_LONG_PROPERTY_NAME,
2056*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2057*0e209d39SAndroid Build Coastguard Worker     /**
2058*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UPropertyNameChoice value.
2059*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2060*0e209d39SAndroid Build Coastguard Worker      */
2061*0e209d39SAndroid Build Coastguard Worker     U_PROPERTY_NAME_CHOICE_COUNT
2062*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2063*0e209d39SAndroid Build Coastguard Worker } UPropertyNameChoice;
2064*0e209d39SAndroid Build Coastguard Worker 
2065*0e209d39SAndroid Build Coastguard Worker /**
2066*0e209d39SAndroid Build Coastguard Worker  * Decomposition Type constants.
2067*0e209d39SAndroid Build Coastguard Worker  *
2068*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_DECOMPOSITION_TYPE
2069*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2070*0e209d39SAndroid Build Coastguard Worker  */
2071*0e209d39SAndroid Build Coastguard Worker typedef enum UDecompositionType {
2072*0e209d39SAndroid Build Coastguard Worker     /*
2073*0e209d39SAndroid Build Coastguard Worker      * Note: UDecompositionType constants are parsed by preparseucd.py.
2074*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2075*0e209d39SAndroid Build Coastguard Worker      *     U_DT_<Unicode Decomposition_Type value name>
2076*0e209d39SAndroid Build Coastguard Worker      */
2077*0e209d39SAndroid Build Coastguard Worker 
2078*0e209d39SAndroid Build Coastguard Worker     U_DT_NONE,              /*[none]*/
2079*0e209d39SAndroid Build Coastguard Worker     U_DT_CANONICAL,         /*[can]*/
2080*0e209d39SAndroid Build Coastguard Worker     U_DT_COMPAT,            /*[com]*/
2081*0e209d39SAndroid Build Coastguard Worker     U_DT_CIRCLE,            /*[enc]*/
2082*0e209d39SAndroid Build Coastguard Worker     U_DT_FINAL,             /*[fin]*/
2083*0e209d39SAndroid Build Coastguard Worker     U_DT_FONT,              /*[font]*/
2084*0e209d39SAndroid Build Coastguard Worker     U_DT_FRACTION,          /*[fra]*/
2085*0e209d39SAndroid Build Coastguard Worker     U_DT_INITIAL,           /*[init]*/
2086*0e209d39SAndroid Build Coastguard Worker     U_DT_ISOLATED,          /*[iso]*/
2087*0e209d39SAndroid Build Coastguard Worker     U_DT_MEDIAL,            /*[med]*/
2088*0e209d39SAndroid Build Coastguard Worker     U_DT_NARROW,            /*[nar]*/
2089*0e209d39SAndroid Build Coastguard Worker     U_DT_NOBREAK,           /*[nb]*/
2090*0e209d39SAndroid Build Coastguard Worker     U_DT_SMALL,             /*[sml]*/
2091*0e209d39SAndroid Build Coastguard Worker     U_DT_SQUARE,            /*[sqr]*/
2092*0e209d39SAndroid Build Coastguard Worker     U_DT_SUB,               /*[sub]*/
2093*0e209d39SAndroid Build Coastguard Worker     U_DT_SUPER,             /*[sup]*/
2094*0e209d39SAndroid Build Coastguard Worker     U_DT_VERTICAL,          /*[vert]*/
2095*0e209d39SAndroid Build Coastguard Worker     U_DT_WIDE,              /*[wide]*/
2096*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2097*0e209d39SAndroid Build Coastguard Worker     /**
2098*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UDecompositionType value.
2099*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_DECOMPOSITION_TYPE).
2100*0e209d39SAndroid Build Coastguard Worker      *
2101*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2102*0e209d39SAndroid Build Coastguard Worker      */
2103*0e209d39SAndroid Build Coastguard Worker     U_DT_COUNT /* 18 */
2104*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2105*0e209d39SAndroid Build Coastguard Worker } UDecompositionType;
2106*0e209d39SAndroid Build Coastguard Worker 
2107*0e209d39SAndroid Build Coastguard Worker /**
2108*0e209d39SAndroid Build Coastguard Worker  * Joining Type constants.
2109*0e209d39SAndroid Build Coastguard Worker  *
2110*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_JOINING_TYPE
2111*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2112*0e209d39SAndroid Build Coastguard Worker  */
2113*0e209d39SAndroid Build Coastguard Worker typedef enum UJoiningType {
2114*0e209d39SAndroid Build Coastguard Worker     /*
2115*0e209d39SAndroid Build Coastguard Worker      * Note: UJoiningType constants are parsed by preparseucd.py.
2116*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2117*0e209d39SAndroid Build Coastguard Worker      *     U_JT_<Unicode Joining_Type value name>
2118*0e209d39SAndroid Build Coastguard Worker      */
2119*0e209d39SAndroid Build Coastguard Worker 
2120*0e209d39SAndroid Build Coastguard Worker     U_JT_NON_JOINING,       /*[U]*/
2121*0e209d39SAndroid Build Coastguard Worker     U_JT_JOIN_CAUSING,      /*[C]*/
2122*0e209d39SAndroid Build Coastguard Worker     U_JT_DUAL_JOINING,      /*[D]*/
2123*0e209d39SAndroid Build Coastguard Worker     U_JT_LEFT_JOINING,      /*[L]*/
2124*0e209d39SAndroid Build Coastguard Worker     U_JT_RIGHT_JOINING,     /*[R]*/
2125*0e209d39SAndroid Build Coastguard Worker     U_JT_TRANSPARENT,       /*[T]*/
2126*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2127*0e209d39SAndroid Build Coastguard Worker     /**
2128*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UJoiningType value.
2129*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_JOINING_TYPE).
2130*0e209d39SAndroid Build Coastguard Worker      *
2131*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2132*0e209d39SAndroid Build Coastguard Worker      */
2133*0e209d39SAndroid Build Coastguard Worker     U_JT_COUNT /* 6 */
2134*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2135*0e209d39SAndroid Build Coastguard Worker } UJoiningType;
2136*0e209d39SAndroid Build Coastguard Worker 
2137*0e209d39SAndroid Build Coastguard Worker /**
2138*0e209d39SAndroid Build Coastguard Worker  * Joining Group constants.
2139*0e209d39SAndroid Build Coastguard Worker  *
2140*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_JOINING_GROUP
2141*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2142*0e209d39SAndroid Build Coastguard Worker  */
2143*0e209d39SAndroid Build Coastguard Worker typedef enum UJoiningGroup {
2144*0e209d39SAndroid Build Coastguard Worker     /*
2145*0e209d39SAndroid Build Coastguard Worker      * Note: UJoiningGroup constants are parsed by preparseucd.py.
2146*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2147*0e209d39SAndroid Build Coastguard Worker      *     U_JG_<Unicode Joining_Group value name>
2148*0e209d39SAndroid Build Coastguard Worker      */
2149*0e209d39SAndroid Build Coastguard Worker 
2150*0e209d39SAndroid Build Coastguard Worker     U_JG_NO_JOINING_GROUP,
2151*0e209d39SAndroid Build Coastguard Worker     U_JG_AIN,
2152*0e209d39SAndroid Build Coastguard Worker     U_JG_ALAPH,
2153*0e209d39SAndroid Build Coastguard Worker     U_JG_ALEF,
2154*0e209d39SAndroid Build Coastguard Worker     U_JG_BEH,
2155*0e209d39SAndroid Build Coastguard Worker     U_JG_BETH,
2156*0e209d39SAndroid Build Coastguard Worker     U_JG_DAL,
2157*0e209d39SAndroid Build Coastguard Worker     U_JG_DALATH_RISH,
2158*0e209d39SAndroid Build Coastguard Worker     U_JG_E,
2159*0e209d39SAndroid Build Coastguard Worker     U_JG_FEH,
2160*0e209d39SAndroid Build Coastguard Worker     U_JG_FINAL_SEMKATH,
2161*0e209d39SAndroid Build Coastguard Worker     U_JG_GAF,
2162*0e209d39SAndroid Build Coastguard Worker     U_JG_GAMAL,
2163*0e209d39SAndroid Build Coastguard Worker     U_JG_HAH,
2164*0e209d39SAndroid Build Coastguard Worker     U_JG_TEH_MARBUTA_GOAL,  /**< \xrefitem stable "Stable" "Stable List" ICU 4.6 */
2165*0e209d39SAndroid Build Coastguard Worker     U_JG_HAMZA_ON_HEH_GOAL=U_JG_TEH_MARBUTA_GOAL,
2166*0e209d39SAndroid Build Coastguard Worker     U_JG_HE,
2167*0e209d39SAndroid Build Coastguard Worker     U_JG_HEH,
2168*0e209d39SAndroid Build Coastguard Worker     U_JG_HEH_GOAL,
2169*0e209d39SAndroid Build Coastguard Worker     U_JG_HETH,
2170*0e209d39SAndroid Build Coastguard Worker     U_JG_KAF,
2171*0e209d39SAndroid Build Coastguard Worker     U_JG_KAPH,
2172*0e209d39SAndroid Build Coastguard Worker     U_JG_KNOTTED_HEH,
2173*0e209d39SAndroid Build Coastguard Worker     U_JG_LAM,
2174*0e209d39SAndroid Build Coastguard Worker     U_JG_LAMADH,
2175*0e209d39SAndroid Build Coastguard Worker     U_JG_MEEM,
2176*0e209d39SAndroid Build Coastguard Worker     U_JG_MIM,
2177*0e209d39SAndroid Build Coastguard Worker     U_JG_NOON,
2178*0e209d39SAndroid Build Coastguard Worker     U_JG_NUN,
2179*0e209d39SAndroid Build Coastguard Worker     U_JG_PE,
2180*0e209d39SAndroid Build Coastguard Worker     U_JG_QAF,
2181*0e209d39SAndroid Build Coastguard Worker     U_JG_QAPH,
2182*0e209d39SAndroid Build Coastguard Worker     U_JG_REH,
2183*0e209d39SAndroid Build Coastguard Worker     U_JG_REVERSED_PE,
2184*0e209d39SAndroid Build Coastguard Worker     U_JG_SAD,
2185*0e209d39SAndroid Build Coastguard Worker     U_JG_SADHE,
2186*0e209d39SAndroid Build Coastguard Worker     U_JG_SEEN,
2187*0e209d39SAndroid Build Coastguard Worker     U_JG_SEMKATH,
2188*0e209d39SAndroid Build Coastguard Worker     U_JG_SHIN,
2189*0e209d39SAndroid Build Coastguard Worker     U_JG_SWASH_KAF,
2190*0e209d39SAndroid Build Coastguard Worker     U_JG_SYRIAC_WAW,
2191*0e209d39SAndroid Build Coastguard Worker     U_JG_TAH,
2192*0e209d39SAndroid Build Coastguard Worker     U_JG_TAW,
2193*0e209d39SAndroid Build Coastguard Worker     U_JG_TEH_MARBUTA,
2194*0e209d39SAndroid Build Coastguard Worker     U_JG_TETH,
2195*0e209d39SAndroid Build Coastguard Worker     U_JG_WAW,
2196*0e209d39SAndroid Build Coastguard Worker     U_JG_YEH,
2197*0e209d39SAndroid Build Coastguard Worker     U_JG_YEH_BARREE,
2198*0e209d39SAndroid Build Coastguard Worker     U_JG_YEH_WITH_TAIL,
2199*0e209d39SAndroid Build Coastguard Worker     U_JG_YUDH,
2200*0e209d39SAndroid Build Coastguard Worker     U_JG_YUDH_HE,
2201*0e209d39SAndroid Build Coastguard Worker     U_JG_ZAIN,
2202*0e209d39SAndroid Build Coastguard Worker     U_JG_FE,        /**< \xrefitem stable "Stable" "Stable List" ICU 2.6 */
2203*0e209d39SAndroid Build Coastguard Worker     U_JG_KHAPH,     /**< \xrefitem stable "Stable" "Stable List" ICU 2.6 */
2204*0e209d39SAndroid Build Coastguard Worker     U_JG_ZHAIN,     /**< \xrefitem stable "Stable" "Stable List" ICU 2.6 */
2205*0e209d39SAndroid Build Coastguard Worker     U_JG_BURUSHASKI_YEH_BARREE, /**< \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2206*0e209d39SAndroid Build Coastguard Worker     U_JG_FARSI_YEH, /**< \xrefitem stable "Stable" "Stable List" ICU 4.4 */
2207*0e209d39SAndroid Build Coastguard Worker     U_JG_NYA,       /**< \xrefitem stable "Stable" "Stable List" ICU 4.4 */
2208*0e209d39SAndroid Build Coastguard Worker     U_JG_ROHINGYA_YEH,  /**< \xrefitem stable "Stable" "Stable List" ICU 49 */
2209*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_ALEPH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2210*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_AYIN,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2211*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_BETH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2212*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_DALETH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2213*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_DHAMEDH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2214*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_FIVE,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2215*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_GIMEL,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2216*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_HETH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2217*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_HUNDRED,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2218*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_KAPH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2219*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_LAMEDH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2220*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_MEM,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2221*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_NUN,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2222*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_ONE,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2223*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_PE,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2224*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_QOPH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2225*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_RESH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2226*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_SADHE,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2227*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_SAMEKH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2228*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_TAW,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2229*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_TEN,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2230*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_TETH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2231*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_THAMEDH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2232*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_TWENTY,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2233*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_WAW,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2234*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_YODH,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2235*0e209d39SAndroid Build Coastguard Worker     U_JG_MANICHAEAN_ZAYIN,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2236*0e209d39SAndroid Build Coastguard Worker     U_JG_STRAIGHT_WAW,  /**< \xrefitem stable "Stable" "Stable List" ICU 54 */
2237*0e209d39SAndroid Build Coastguard Worker     U_JG_AFRICAN_FEH,  /**< \xrefitem stable "Stable" "Stable List" ICU 58 */
2238*0e209d39SAndroid Build Coastguard Worker     U_JG_AFRICAN_NOON,  /**< \xrefitem stable "Stable" "Stable List" ICU 58 */
2239*0e209d39SAndroid Build Coastguard Worker     U_JG_AFRICAN_QAF,  /**< \xrefitem stable "Stable" "Stable List" ICU 58 */
2240*0e209d39SAndroid Build Coastguard Worker 
2241*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_BHA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2242*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_JA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2243*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_LLA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2244*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_LLLA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2245*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_NGA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2246*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_NNA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2247*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_NNNA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2248*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_NYA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2249*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_RA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2250*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_SSA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2251*0e209d39SAndroid Build Coastguard Worker     U_JG_MALAYALAM_TTA,  /**< \xrefitem stable "Stable" "Stable List" ICU 60 */
2252*0e209d39SAndroid Build Coastguard Worker 
2253*0e209d39SAndroid Build Coastguard Worker     U_JG_HANIFI_ROHINGYA_KINNA_YA,  /**< \xrefitem stable "Stable" "Stable List" ICU 62 */
2254*0e209d39SAndroid Build Coastguard Worker     U_JG_HANIFI_ROHINGYA_PA,  /**< \xrefitem stable "Stable" "Stable List" ICU 62 */
2255*0e209d39SAndroid Build Coastguard Worker 
2256*0e209d39SAndroid Build Coastguard Worker     U_JG_THIN_YEH,  /**< \xrefitem stable "Stable" "Stable List" ICU 70 */
2257*0e209d39SAndroid Build Coastguard Worker     U_JG_VERTICAL_TAIL,  /**< \xrefitem stable "Stable" "Stable List" ICU 70 */
2258*0e209d39SAndroid Build Coastguard Worker 
2259*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2260*0e209d39SAndroid Build Coastguard Worker     /**
2261*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UJoiningGroup value.
2262*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_JOINING_GROUP).
2263*0e209d39SAndroid Build Coastguard Worker      *
2264*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2265*0e209d39SAndroid Build Coastguard Worker      */
2266*0e209d39SAndroid Build Coastguard Worker     U_JG_COUNT
2267*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2268*0e209d39SAndroid Build Coastguard Worker } UJoiningGroup;
2269*0e209d39SAndroid Build Coastguard Worker 
2270*0e209d39SAndroid Build Coastguard Worker /**
2271*0e209d39SAndroid Build Coastguard Worker  * Grapheme Cluster Break constants.
2272*0e209d39SAndroid Build Coastguard Worker  *
2273*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_GRAPHEME_CLUSTER_BREAK
2274*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 3.4
2275*0e209d39SAndroid Build Coastguard Worker  */
2276*0e209d39SAndroid Build Coastguard Worker typedef enum UGraphemeClusterBreak {
2277*0e209d39SAndroid Build Coastguard Worker     /*
2278*0e209d39SAndroid Build Coastguard Worker      * Note: UGraphemeClusterBreak constants are parsed by preparseucd.py.
2279*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2280*0e209d39SAndroid Build Coastguard Worker      *     U_GCB_<Unicode Grapheme_Cluster_Break value name>
2281*0e209d39SAndroid Build Coastguard Worker      */
2282*0e209d39SAndroid Build Coastguard Worker 
2283*0e209d39SAndroid Build Coastguard Worker     U_GCB_OTHER = 0,            /*[XX]*/
2284*0e209d39SAndroid Build Coastguard Worker     U_GCB_CONTROL = 1,          /*[CN]*/
2285*0e209d39SAndroid Build Coastguard Worker     U_GCB_CR = 2,               /*[CR]*/
2286*0e209d39SAndroid Build Coastguard Worker     U_GCB_EXTEND = 3,           /*[EX]*/
2287*0e209d39SAndroid Build Coastguard Worker     U_GCB_L = 4,                /*[L]*/
2288*0e209d39SAndroid Build Coastguard Worker     U_GCB_LF = 5,               /*[LF]*/
2289*0e209d39SAndroid Build Coastguard Worker     U_GCB_LV = 6,               /*[LV]*/
2290*0e209d39SAndroid Build Coastguard Worker     U_GCB_LVT = 7,              /*[LVT]*/
2291*0e209d39SAndroid Build Coastguard Worker     U_GCB_T = 8,                /*[T]*/
2292*0e209d39SAndroid Build Coastguard Worker     U_GCB_V = 9,                /*[V]*/
2293*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2294*0e209d39SAndroid Build Coastguard Worker     U_GCB_SPACING_MARK = 10,    /*[SM]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2295*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2296*0e209d39SAndroid Build Coastguard Worker     U_GCB_PREPEND = 11,         /*[PP]*/
2297*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 50 */
2298*0e209d39SAndroid Build Coastguard Worker     U_GCB_REGIONAL_INDICATOR = 12,  /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2299*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2300*0e209d39SAndroid Build Coastguard Worker     U_GCB_E_BASE = 13,          /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2301*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2302*0e209d39SAndroid Build Coastguard Worker     U_GCB_E_BASE_GAZ = 14,      /*[EBG]*/
2303*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2304*0e209d39SAndroid Build Coastguard Worker     U_GCB_E_MODIFIER = 15,      /*[EM]*/
2305*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2306*0e209d39SAndroid Build Coastguard Worker     U_GCB_GLUE_AFTER_ZWJ = 16,  /*[GAZ]*/
2307*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2308*0e209d39SAndroid Build Coastguard Worker     U_GCB_ZWJ = 17,             /*[ZWJ]*/
2309*0e209d39SAndroid Build Coastguard Worker 
2310*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2311*0e209d39SAndroid Build Coastguard Worker     /**
2312*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UGraphemeClusterBreak value.
2313*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_GRAPHEME_CLUSTER_BREAK).
2314*0e209d39SAndroid Build Coastguard Worker      *
2315*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2316*0e209d39SAndroid Build Coastguard Worker      */
2317*0e209d39SAndroid Build Coastguard Worker     U_GCB_COUNT = 18
2318*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2319*0e209d39SAndroid Build Coastguard Worker } UGraphemeClusterBreak;
2320*0e209d39SAndroid Build Coastguard Worker 
2321*0e209d39SAndroid Build Coastguard Worker /**
2322*0e209d39SAndroid Build Coastguard Worker  * Word Break constants.
2323*0e209d39SAndroid Build Coastguard Worker  * (UWordBreak is a pre-existing enum type in ubrk.h for word break status tags.)
2324*0e209d39SAndroid Build Coastguard Worker  *
2325*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_WORD_BREAK
2326*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 3.4
2327*0e209d39SAndroid Build Coastguard Worker  */
2328*0e209d39SAndroid Build Coastguard Worker typedef enum UWordBreakValues {
2329*0e209d39SAndroid Build Coastguard Worker     /*
2330*0e209d39SAndroid Build Coastguard Worker      * Note: UWordBreakValues constants are parsed by preparseucd.py.
2331*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2332*0e209d39SAndroid Build Coastguard Worker      *     U_WB_<Unicode Word_Break value name>
2333*0e209d39SAndroid Build Coastguard Worker      */
2334*0e209d39SAndroid Build Coastguard Worker 
2335*0e209d39SAndroid Build Coastguard Worker     U_WB_OTHER = 0,             /*[XX]*/
2336*0e209d39SAndroid Build Coastguard Worker     U_WB_ALETTER = 1,           /*[LE]*/
2337*0e209d39SAndroid Build Coastguard Worker     U_WB_FORMAT = 2,            /*[FO]*/
2338*0e209d39SAndroid Build Coastguard Worker     U_WB_KATAKANA = 3,          /*[KA]*/
2339*0e209d39SAndroid Build Coastguard Worker     U_WB_MIDLETTER = 4,         /*[ML]*/
2340*0e209d39SAndroid Build Coastguard Worker     U_WB_MIDNUM = 5,            /*[MN]*/
2341*0e209d39SAndroid Build Coastguard Worker     U_WB_NUMERIC = 6,           /*[NU]*/
2342*0e209d39SAndroid Build Coastguard Worker     U_WB_EXTENDNUMLET = 7,      /*[EX]*/
2343*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2344*0e209d39SAndroid Build Coastguard Worker     U_WB_CR = 8,                /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2345*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2346*0e209d39SAndroid Build Coastguard Worker     U_WB_EXTEND = 9,            /*[Extend]*/
2347*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2348*0e209d39SAndroid Build Coastguard Worker     U_WB_LF = 10,               /*[LF]*/
2349*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2350*0e209d39SAndroid Build Coastguard Worker     U_WB_MIDNUMLET =11,         /*[MB]*/
2351*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.0 */
2352*0e209d39SAndroid Build Coastguard Worker     U_WB_NEWLINE =12,           /*[NL]*/
2353*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 50 */
2354*0e209d39SAndroid Build Coastguard Worker     U_WB_REGIONAL_INDICATOR = 13,   /*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2355*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 52 */
2356*0e209d39SAndroid Build Coastguard Worker     U_WB_HEBREW_LETTER = 14,    /*[HL]*/ /* from here on: new in Unicode 6.3/ICU 52 */
2357*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 52 */
2358*0e209d39SAndroid Build Coastguard Worker     U_WB_SINGLE_QUOTE = 15,     /*[SQ]*/
2359*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 52 */
2360*0e209d39SAndroid Build Coastguard Worker     U_WB_DOUBLE_QUOTE = 16,     /*[DQ]*/
2361*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2362*0e209d39SAndroid Build Coastguard Worker     U_WB_E_BASE = 17,           /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2363*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2364*0e209d39SAndroid Build Coastguard Worker     U_WB_E_BASE_GAZ = 18,       /*[EBG]*/
2365*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2366*0e209d39SAndroid Build Coastguard Worker     U_WB_E_MODIFIER = 19,       /*[EM]*/
2367*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2368*0e209d39SAndroid Build Coastguard Worker     U_WB_GLUE_AFTER_ZWJ = 20,   /*[GAZ]*/
2369*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2370*0e209d39SAndroid Build Coastguard Worker     U_WB_ZWJ = 21,              /*[ZWJ]*/
2371*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 62 */
2372*0e209d39SAndroid Build Coastguard Worker     U_WB_WSEGSPACE = 22,        /*[WSEGSPACE]*/
2373*0e209d39SAndroid Build Coastguard Worker 
2374*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2375*0e209d39SAndroid Build Coastguard Worker     /**
2376*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UWordBreakValues value.
2377*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_WORD_BREAK).
2378*0e209d39SAndroid Build Coastguard Worker      *
2379*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2380*0e209d39SAndroid Build Coastguard Worker      */
2381*0e209d39SAndroid Build Coastguard Worker     U_WB_COUNT = 23
2382*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2383*0e209d39SAndroid Build Coastguard Worker } UWordBreakValues;
2384*0e209d39SAndroid Build Coastguard Worker 
2385*0e209d39SAndroid Build Coastguard Worker /**
2386*0e209d39SAndroid Build Coastguard Worker  * Sentence Break constants.
2387*0e209d39SAndroid Build Coastguard Worker  *
2388*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_SENTENCE_BREAK
2389*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 3.4
2390*0e209d39SAndroid Build Coastguard Worker  */
2391*0e209d39SAndroid Build Coastguard Worker typedef enum USentenceBreak {
2392*0e209d39SAndroid Build Coastguard Worker     /*
2393*0e209d39SAndroid Build Coastguard Worker      * Note: USentenceBreak constants are parsed by preparseucd.py.
2394*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2395*0e209d39SAndroid Build Coastguard Worker      *     U_SB_<Unicode Sentence_Break value name>
2396*0e209d39SAndroid Build Coastguard Worker      */
2397*0e209d39SAndroid Build Coastguard Worker 
2398*0e209d39SAndroid Build Coastguard Worker     U_SB_OTHER = 0,             /*[XX]*/
2399*0e209d39SAndroid Build Coastguard Worker     U_SB_ATERM = 1,             /*[AT]*/
2400*0e209d39SAndroid Build Coastguard Worker     U_SB_CLOSE = 2,             /*[CL]*/
2401*0e209d39SAndroid Build Coastguard Worker     U_SB_FORMAT = 3,            /*[FO]*/
2402*0e209d39SAndroid Build Coastguard Worker     U_SB_LOWER = 4,             /*[LO]*/
2403*0e209d39SAndroid Build Coastguard Worker     U_SB_NUMERIC = 5,           /*[NU]*/
2404*0e209d39SAndroid Build Coastguard Worker     U_SB_OLETTER = 6,           /*[LE]*/
2405*0e209d39SAndroid Build Coastguard Worker     U_SB_SEP = 7,               /*[SE]*/
2406*0e209d39SAndroid Build Coastguard Worker     U_SB_SP = 8,                /*[SP]*/
2407*0e209d39SAndroid Build Coastguard Worker     U_SB_STERM = 9,             /*[ST]*/
2408*0e209d39SAndroid Build Coastguard Worker     U_SB_UPPER = 10,            /*[UP]*/
2409*0e209d39SAndroid Build Coastguard Worker     U_SB_CR = 11,               /*[CR]*/ /* from here on: new in Unicode 5.1/ICU 4.0 */
2410*0e209d39SAndroid Build Coastguard Worker     U_SB_EXTEND = 12,           /*[EX]*/
2411*0e209d39SAndroid Build Coastguard Worker     U_SB_LF = 13,               /*[LF]*/
2412*0e209d39SAndroid Build Coastguard Worker     U_SB_SCONTINUE = 14,        /*[SC]*/
2413*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2414*0e209d39SAndroid Build Coastguard Worker     /**
2415*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal USentenceBreak value.
2416*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_SENTENCE_BREAK).
2417*0e209d39SAndroid Build Coastguard Worker      *
2418*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2419*0e209d39SAndroid Build Coastguard Worker      */
2420*0e209d39SAndroid Build Coastguard Worker     U_SB_COUNT = 15
2421*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2422*0e209d39SAndroid Build Coastguard Worker } USentenceBreak;
2423*0e209d39SAndroid Build Coastguard Worker 
2424*0e209d39SAndroid Build Coastguard Worker /**
2425*0e209d39SAndroid Build Coastguard Worker  * Line Break constants.
2426*0e209d39SAndroid Build Coastguard Worker  *
2427*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_LINE_BREAK
2428*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2429*0e209d39SAndroid Build Coastguard Worker  */
2430*0e209d39SAndroid Build Coastguard Worker typedef enum ULineBreak {
2431*0e209d39SAndroid Build Coastguard Worker     /*
2432*0e209d39SAndroid Build Coastguard Worker      * Note: ULineBreak constants are parsed by preparseucd.py.
2433*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2434*0e209d39SAndroid Build Coastguard Worker      *     U_LB_<Unicode Line_Break value name>
2435*0e209d39SAndroid Build Coastguard Worker      */
2436*0e209d39SAndroid Build Coastguard Worker 
2437*0e209d39SAndroid Build Coastguard Worker     U_LB_UNKNOWN = 0,           /*[XX]*/
2438*0e209d39SAndroid Build Coastguard Worker     U_LB_AMBIGUOUS = 1,         /*[AI]*/
2439*0e209d39SAndroid Build Coastguard Worker     U_LB_ALPHABETIC = 2,        /*[AL]*/
2440*0e209d39SAndroid Build Coastguard Worker     U_LB_BREAK_BOTH = 3,        /*[B2]*/
2441*0e209d39SAndroid Build Coastguard Worker     U_LB_BREAK_AFTER = 4,       /*[BA]*/
2442*0e209d39SAndroid Build Coastguard Worker     U_LB_BREAK_BEFORE = 5,      /*[BB]*/
2443*0e209d39SAndroid Build Coastguard Worker     U_LB_MANDATORY_BREAK = 6,   /*[BK]*/
2444*0e209d39SAndroid Build Coastguard Worker     U_LB_CONTINGENT_BREAK = 7,  /*[CB]*/
2445*0e209d39SAndroid Build Coastguard Worker     U_LB_CLOSE_PUNCTUATION = 8, /*[CL]*/
2446*0e209d39SAndroid Build Coastguard Worker     U_LB_COMBINING_MARK = 9,    /*[CM]*/
2447*0e209d39SAndroid Build Coastguard Worker     U_LB_CARRIAGE_RETURN = 10,   /*[CR]*/
2448*0e209d39SAndroid Build Coastguard Worker     U_LB_EXCLAMATION = 11,       /*[EX]*/
2449*0e209d39SAndroid Build Coastguard Worker     U_LB_GLUE = 12,              /*[GL]*/
2450*0e209d39SAndroid Build Coastguard Worker     U_LB_HYPHEN = 13,            /*[HY]*/
2451*0e209d39SAndroid Build Coastguard Worker     U_LB_IDEOGRAPHIC = 14,       /*[ID]*/
2452*0e209d39SAndroid Build Coastguard Worker     /** Renamed from the misspelled "inseperable" in Unicode 4.0.1/ICU 3.0 \xrefitem stable "Stable" "Stable List" ICU 3.0 */
2453*0e209d39SAndroid Build Coastguard Worker     U_LB_INSEPARABLE = 15,       /*[IN]*/
2454*0e209d39SAndroid Build Coastguard Worker     U_LB_INSEPERABLE = U_LB_INSEPARABLE,
2455*0e209d39SAndroid Build Coastguard Worker     U_LB_INFIX_NUMERIC = 16,     /*[IS]*/
2456*0e209d39SAndroid Build Coastguard Worker     U_LB_LINE_FEED = 17,         /*[LF]*/
2457*0e209d39SAndroid Build Coastguard Worker     U_LB_NONSTARTER = 18,        /*[NS]*/
2458*0e209d39SAndroid Build Coastguard Worker     U_LB_NUMERIC = 19,           /*[NU]*/
2459*0e209d39SAndroid Build Coastguard Worker     U_LB_OPEN_PUNCTUATION = 20,  /*[OP]*/
2460*0e209d39SAndroid Build Coastguard Worker     U_LB_POSTFIX_NUMERIC = 21,   /*[PO]*/
2461*0e209d39SAndroid Build Coastguard Worker     U_LB_PREFIX_NUMERIC = 22,    /*[PR]*/
2462*0e209d39SAndroid Build Coastguard Worker     U_LB_QUOTATION = 23,         /*[QU]*/
2463*0e209d39SAndroid Build Coastguard Worker     U_LB_COMPLEX_CONTEXT = 24,   /*[SA]*/
2464*0e209d39SAndroid Build Coastguard Worker     U_LB_SURROGATE = 25,         /*[SG]*/
2465*0e209d39SAndroid Build Coastguard Worker     U_LB_SPACE = 26,             /*[SP]*/
2466*0e209d39SAndroid Build Coastguard Worker     U_LB_BREAK_SYMBOLS = 27,     /*[SY]*/
2467*0e209d39SAndroid Build Coastguard Worker     U_LB_ZWSPACE = 28,           /*[ZW]*/
2468*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
2469*0e209d39SAndroid Build Coastguard Worker     U_LB_NEXT_LINE = 29,         /*[NL]*/ /* from here on: new in Unicode 4/ICU 2.6 */
2470*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 2.6 */
2471*0e209d39SAndroid Build Coastguard Worker     U_LB_WORD_JOINER = 30,       /*[WJ]*/
2472*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
2473*0e209d39SAndroid Build Coastguard Worker     U_LB_H2 = 31,                /*[H2]*/ /* from here on: new in Unicode 4.1/ICU 3.4 */
2474*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
2475*0e209d39SAndroid Build Coastguard Worker     U_LB_H3 = 32,                /*[H3]*/
2476*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
2477*0e209d39SAndroid Build Coastguard Worker     U_LB_JL = 33,                /*[JL]*/
2478*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
2479*0e209d39SAndroid Build Coastguard Worker     U_LB_JT = 34,                /*[JT]*/
2480*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 3.4 */
2481*0e209d39SAndroid Build Coastguard Worker     U_LB_JV = 35,                /*[JV]*/
2482*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 4.4 */
2483*0e209d39SAndroid Build Coastguard Worker     U_LB_CLOSE_PARENTHESIS = 36, /*[CP]*/ /* new in Unicode 5.2/ICU 4.4 */
2484*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
2485*0e209d39SAndroid Build Coastguard Worker     U_LB_CONDITIONAL_JAPANESE_STARTER = 37,/*[CJ]*/ /* new in Unicode 6.1/ICU 49 */
2486*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 49 */
2487*0e209d39SAndroid Build Coastguard Worker     U_LB_HEBREW_LETTER = 38,     /*[HL]*/ /* new in Unicode 6.1/ICU 49 */
2488*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 50 */
2489*0e209d39SAndroid Build Coastguard Worker     U_LB_REGIONAL_INDICATOR = 39,/*[RI]*/ /* new in Unicode 6.2/ICU 50 */
2490*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2491*0e209d39SAndroid Build Coastguard Worker     U_LB_E_BASE = 40,            /*[EB]*/ /* from here on: new in Unicode 9.0/ICU 58 */
2492*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2493*0e209d39SAndroid Build Coastguard Worker     U_LB_E_MODIFIER = 41,        /*[EM]*/
2494*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 58 */
2495*0e209d39SAndroid Build Coastguard Worker     U_LB_ZWJ = 42,               /*[ZWJ]*/
2496*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
2497*0e209d39SAndroid Build Coastguard Worker     U_LB_AKSARA = 43,            /*[AK]*/
2498*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
2499*0e209d39SAndroid Build Coastguard Worker     U_LB_AKSARA_PREBASE = 44,    /*[AP]*/
2500*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
2501*0e209d39SAndroid Build Coastguard Worker     U_LB_AKSARA_START = 45,      /*[AS]*/
2502*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
2503*0e209d39SAndroid Build Coastguard Worker     U_LB_VIRAMA_FINAL = 46,      /*[VF]*/
2504*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 74 */
2505*0e209d39SAndroid Build Coastguard Worker     U_LB_VIRAMA = 47,            /*[VI]*/
2506*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2507*0e209d39SAndroid Build Coastguard Worker     /**
2508*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal ULineBreak value.
2509*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_LINE_BREAK).
2510*0e209d39SAndroid Build Coastguard Worker      *
2511*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2512*0e209d39SAndroid Build Coastguard Worker      */
2513*0e209d39SAndroid Build Coastguard Worker     U_LB_COUNT = 48
2514*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2515*0e209d39SAndroid Build Coastguard Worker } ULineBreak;
2516*0e209d39SAndroid Build Coastguard Worker 
2517*0e209d39SAndroid Build Coastguard Worker /**
2518*0e209d39SAndroid Build Coastguard Worker  * Numeric Type constants.
2519*0e209d39SAndroid Build Coastguard Worker  *
2520*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_NUMERIC_TYPE
2521*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2522*0e209d39SAndroid Build Coastguard Worker  */
2523*0e209d39SAndroid Build Coastguard Worker typedef enum UNumericType {
2524*0e209d39SAndroid Build Coastguard Worker     /*
2525*0e209d39SAndroid Build Coastguard Worker      * Note: UNumericType constants are parsed by preparseucd.py.
2526*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2527*0e209d39SAndroid Build Coastguard Worker      *     U_NT_<Unicode Numeric_Type value name>
2528*0e209d39SAndroid Build Coastguard Worker      */
2529*0e209d39SAndroid Build Coastguard Worker 
2530*0e209d39SAndroid Build Coastguard Worker     U_NT_NONE,              /*[None]*/
2531*0e209d39SAndroid Build Coastguard Worker     U_NT_DECIMAL,           /*[de]*/
2532*0e209d39SAndroid Build Coastguard Worker     U_NT_DIGIT,             /*[di]*/
2533*0e209d39SAndroid Build Coastguard Worker     U_NT_NUMERIC,           /*[nu]*/
2534*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2535*0e209d39SAndroid Build Coastguard Worker     /**
2536*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UNumericType value.
2537*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_NUMERIC_TYPE).
2538*0e209d39SAndroid Build Coastguard Worker      *
2539*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2540*0e209d39SAndroid Build Coastguard Worker      */
2541*0e209d39SAndroid Build Coastguard Worker     U_NT_COUNT
2542*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2543*0e209d39SAndroid Build Coastguard Worker } UNumericType;
2544*0e209d39SAndroid Build Coastguard Worker 
2545*0e209d39SAndroid Build Coastguard Worker /**
2546*0e209d39SAndroid Build Coastguard Worker  * Hangul Syllable Type constants.
2547*0e209d39SAndroid Build Coastguard Worker  *
2548*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_HANGUL_SYLLABLE_TYPE
2549*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
2550*0e209d39SAndroid Build Coastguard Worker  */
2551*0e209d39SAndroid Build Coastguard Worker typedef enum UHangulSyllableType {
2552*0e209d39SAndroid Build Coastguard Worker     /*
2553*0e209d39SAndroid Build Coastguard Worker      * Note: UHangulSyllableType constants are parsed by preparseucd.py.
2554*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2555*0e209d39SAndroid Build Coastguard Worker      *     U_HST_<Unicode Hangul_Syllable_Type value name>
2556*0e209d39SAndroid Build Coastguard Worker      */
2557*0e209d39SAndroid Build Coastguard Worker 
2558*0e209d39SAndroid Build Coastguard Worker     U_HST_NOT_APPLICABLE,   /*[NA]*/
2559*0e209d39SAndroid Build Coastguard Worker     U_HST_LEADING_JAMO,     /*[L]*/
2560*0e209d39SAndroid Build Coastguard Worker     U_HST_VOWEL_JAMO,       /*[V]*/
2561*0e209d39SAndroid Build Coastguard Worker     U_HST_TRAILING_JAMO,    /*[T]*/
2562*0e209d39SAndroid Build Coastguard Worker     U_HST_LV_SYLLABLE,      /*[LV]*/
2563*0e209d39SAndroid Build Coastguard Worker     U_HST_LVT_SYLLABLE,     /*[LVT]*/
2564*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
2565*0e209d39SAndroid Build Coastguard Worker     /**
2566*0e209d39SAndroid Build Coastguard Worker      * One more than the highest normal UHangulSyllableType value.
2567*0e209d39SAndroid Build Coastguard Worker      * The highest value is available via u_getIntPropertyMaxValue(UCHAR_HANGUL_SYLLABLE_TYPE).
2568*0e209d39SAndroid Build Coastguard Worker      *
2569*0e209d39SAndroid Build Coastguard Worker      * \xrefitem deprecated "Deprecated" "Deprecated List" ICU 58 The numeric value may change over time, see ICU ticket #12420.
2570*0e209d39SAndroid Build Coastguard Worker      */
2571*0e209d39SAndroid Build Coastguard Worker     U_HST_COUNT
2572*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DEPRECATED_API
2573*0e209d39SAndroid Build Coastguard Worker } UHangulSyllableType;
2574*0e209d39SAndroid Build Coastguard Worker 
2575*0e209d39SAndroid Build Coastguard Worker /**
2576*0e209d39SAndroid Build Coastguard Worker  * Indic Positional Category constants.
2577*0e209d39SAndroid Build Coastguard Worker  *
2578*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_INDIC_POSITIONAL_CATEGORY
2579*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 63
2580*0e209d39SAndroid Build Coastguard Worker  */
2581*0e209d39SAndroid Build Coastguard Worker typedef enum UIndicPositionalCategory {
2582*0e209d39SAndroid Build Coastguard Worker     /*
2583*0e209d39SAndroid Build Coastguard Worker      * Note: UIndicPositionalCategory constants are parsed by preparseucd.py.
2584*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2585*0e209d39SAndroid Build Coastguard Worker      *     U_INPC_<Unicode Indic_Positional_Category value name>
2586*0e209d39SAndroid Build Coastguard Worker      */
2587*0e209d39SAndroid Build Coastguard Worker 
2588*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2589*0e209d39SAndroid Build Coastguard Worker     U_INPC_NA,
2590*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2591*0e209d39SAndroid Build Coastguard Worker     U_INPC_BOTTOM,
2592*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2593*0e209d39SAndroid Build Coastguard Worker     U_INPC_BOTTOM_AND_LEFT,
2594*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2595*0e209d39SAndroid Build Coastguard Worker     U_INPC_BOTTOM_AND_RIGHT,
2596*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2597*0e209d39SAndroid Build Coastguard Worker     U_INPC_LEFT,
2598*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2599*0e209d39SAndroid Build Coastguard Worker     U_INPC_LEFT_AND_RIGHT,
2600*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2601*0e209d39SAndroid Build Coastguard Worker     U_INPC_OVERSTRUCK,
2602*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2603*0e209d39SAndroid Build Coastguard Worker     U_INPC_RIGHT,
2604*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2605*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP,
2606*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2607*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_BOTTOM,
2608*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2609*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_BOTTOM_AND_RIGHT,
2610*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2611*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_LEFT,
2612*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2613*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_LEFT_AND_RIGHT,
2614*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2615*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_RIGHT,
2616*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2617*0e209d39SAndroid Build Coastguard Worker     U_INPC_VISUAL_ORDER_LEFT,
2618*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 66 */
2619*0e209d39SAndroid Build Coastguard Worker     U_INPC_TOP_AND_BOTTOM_AND_LEFT,
2620*0e209d39SAndroid Build Coastguard Worker } UIndicPositionalCategory;
2621*0e209d39SAndroid Build Coastguard Worker 
2622*0e209d39SAndroid Build Coastguard Worker /**
2623*0e209d39SAndroid Build Coastguard Worker  * Indic Syllabic Category constants.
2624*0e209d39SAndroid Build Coastguard Worker  *
2625*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_INDIC_SYLLABIC_CATEGORY
2626*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 63
2627*0e209d39SAndroid Build Coastguard Worker  */
2628*0e209d39SAndroid Build Coastguard Worker typedef enum UIndicSyllabicCategory {
2629*0e209d39SAndroid Build Coastguard Worker     /*
2630*0e209d39SAndroid Build Coastguard Worker      * Note: UIndicSyllabicCategory constants are parsed by preparseucd.py.
2631*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2632*0e209d39SAndroid Build Coastguard Worker      *     U_INSC_<Unicode Indic_Syllabic_Category value name>
2633*0e209d39SAndroid Build Coastguard Worker      */
2634*0e209d39SAndroid Build Coastguard Worker 
2635*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2636*0e209d39SAndroid Build Coastguard Worker     U_INSC_OTHER,
2637*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2638*0e209d39SAndroid Build Coastguard Worker     U_INSC_AVAGRAHA,
2639*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2640*0e209d39SAndroid Build Coastguard Worker     U_INSC_BINDU,
2641*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2642*0e209d39SAndroid Build Coastguard Worker     U_INSC_BRAHMI_JOINING_NUMBER,
2643*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2644*0e209d39SAndroid Build Coastguard Worker     U_INSC_CANTILLATION_MARK,
2645*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2646*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT,
2647*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2648*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_DEAD,
2649*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2650*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_FINAL,
2651*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2652*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_HEAD_LETTER,
2653*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2654*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_INITIAL_POSTFIXED,
2655*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2656*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_KILLER,
2657*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2658*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_MEDIAL,
2659*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2660*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_PLACEHOLDER,
2661*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2662*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_PRECEDING_REPHA,
2663*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2664*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_PREFIXED,
2665*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2666*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_SUBJOINED,
2667*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2668*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_SUCCEEDING_REPHA,
2669*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2670*0e209d39SAndroid Build Coastguard Worker     U_INSC_CONSONANT_WITH_STACKER,
2671*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2672*0e209d39SAndroid Build Coastguard Worker     U_INSC_GEMINATION_MARK,
2673*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2674*0e209d39SAndroid Build Coastguard Worker     U_INSC_INVISIBLE_STACKER,
2675*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2676*0e209d39SAndroid Build Coastguard Worker     U_INSC_JOINER,
2677*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2678*0e209d39SAndroid Build Coastguard Worker     U_INSC_MODIFYING_LETTER,
2679*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2680*0e209d39SAndroid Build Coastguard Worker     U_INSC_NON_JOINER,
2681*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2682*0e209d39SAndroid Build Coastguard Worker     U_INSC_NUKTA,
2683*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2684*0e209d39SAndroid Build Coastguard Worker     U_INSC_NUMBER,
2685*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2686*0e209d39SAndroid Build Coastguard Worker     U_INSC_NUMBER_JOINER,
2687*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2688*0e209d39SAndroid Build Coastguard Worker     U_INSC_PURE_KILLER,
2689*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2690*0e209d39SAndroid Build Coastguard Worker     U_INSC_REGISTER_SHIFTER,
2691*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2692*0e209d39SAndroid Build Coastguard Worker     U_INSC_SYLLABLE_MODIFIER,
2693*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2694*0e209d39SAndroid Build Coastguard Worker     U_INSC_TONE_LETTER,
2695*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2696*0e209d39SAndroid Build Coastguard Worker     U_INSC_TONE_MARK,
2697*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2698*0e209d39SAndroid Build Coastguard Worker     U_INSC_VIRAMA,
2699*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2700*0e209d39SAndroid Build Coastguard Worker     U_INSC_VISARGA,
2701*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2702*0e209d39SAndroid Build Coastguard Worker     U_INSC_VOWEL,
2703*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2704*0e209d39SAndroid Build Coastguard Worker     U_INSC_VOWEL_DEPENDENT,
2705*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2706*0e209d39SAndroid Build Coastguard Worker     U_INSC_VOWEL_INDEPENDENT,
2707*0e209d39SAndroid Build Coastguard Worker } UIndicSyllabicCategory;
2708*0e209d39SAndroid Build Coastguard Worker 
2709*0e209d39SAndroid Build Coastguard Worker /**
2710*0e209d39SAndroid Build Coastguard Worker  * Vertical Orientation constants.
2711*0e209d39SAndroid Build Coastguard Worker  *
2712*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_VERTICAL_ORIENTATION
2713*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 63
2714*0e209d39SAndroid Build Coastguard Worker  */
2715*0e209d39SAndroid Build Coastguard Worker typedef enum UVerticalOrientation {
2716*0e209d39SAndroid Build Coastguard Worker     /*
2717*0e209d39SAndroid Build Coastguard Worker      * Note: UVerticalOrientation constants are parsed by preparseucd.py.
2718*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2719*0e209d39SAndroid Build Coastguard Worker      *     U_VO_<Unicode Vertical_Orientation value name>
2720*0e209d39SAndroid Build Coastguard Worker      */
2721*0e209d39SAndroid Build Coastguard Worker 
2722*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2723*0e209d39SAndroid Build Coastguard Worker     U_VO_ROTATED,
2724*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2725*0e209d39SAndroid Build Coastguard Worker     U_VO_TRANSFORMED_ROTATED,
2726*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2727*0e209d39SAndroid Build Coastguard Worker     U_VO_TRANSFORMED_UPRIGHT,
2728*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem stable "Stable" "Stable List" ICU 63 */
2729*0e209d39SAndroid Build Coastguard Worker     U_VO_UPRIGHT,
2730*0e209d39SAndroid Build Coastguard Worker } UVerticalOrientation;
2731*0e209d39SAndroid Build Coastguard Worker 
2732*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DRAFT_API
2733*0e209d39SAndroid Build Coastguard Worker /**
2734*0e209d39SAndroid Build Coastguard Worker  * Identifier Status constants.
2735*0e209d39SAndroid Build Coastguard Worker  * See https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type.
2736*0e209d39SAndroid Build Coastguard Worker  *
2737*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_IDENTIFIER_STATUS
2738*0e209d39SAndroid Build Coastguard Worker  * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75
2739*0e209d39SAndroid Build Coastguard Worker  */
2740*0e209d39SAndroid Build Coastguard Worker typedef enum UIdentifierStatus {
2741*0e209d39SAndroid Build Coastguard Worker     /*
2742*0e209d39SAndroid Build Coastguard Worker      * Note: UIdentifierStatus constants are parsed by preparseucd.py.
2743*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2744*0e209d39SAndroid Build Coastguard Worker      *     U_ID_STATUS_<Unicode Identifier_Status value name>
2745*0e209d39SAndroid Build Coastguard Worker      */
2746*0e209d39SAndroid Build Coastguard Worker 
2747*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2748*0e209d39SAndroid Build Coastguard Worker     U_ID_STATUS_RESTRICTED,
2749*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2750*0e209d39SAndroid Build Coastguard Worker     U_ID_STATUS_ALLOWED,
2751*0e209d39SAndroid Build Coastguard Worker } UIdentifierStatus;
2752*0e209d39SAndroid Build Coastguard Worker 
2753*0e209d39SAndroid Build Coastguard Worker /**
2754*0e209d39SAndroid Build Coastguard Worker  * Identifier Type constants.
2755*0e209d39SAndroid Build Coastguard Worker  * See https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type.
2756*0e209d39SAndroid Build Coastguard Worker  *
2757*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_IDENTIFIER_TYPE
2758*0e209d39SAndroid Build Coastguard Worker  * \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75
2759*0e209d39SAndroid Build Coastguard Worker  */
2760*0e209d39SAndroid Build Coastguard Worker typedef enum UIdentifierType {
2761*0e209d39SAndroid Build Coastguard Worker     /*
2762*0e209d39SAndroid Build Coastguard Worker      * Note: UIdentifierType constants are parsed by preparseucd.py.
2763*0e209d39SAndroid Build Coastguard Worker      * It matches lines like
2764*0e209d39SAndroid Build Coastguard Worker      *     U_ID_TYPE_<Unicode Identifier_Type value name>
2765*0e209d39SAndroid Build Coastguard Worker      */
2766*0e209d39SAndroid Build Coastguard Worker 
2767*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2768*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_NOT_CHARACTER,
2769*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2770*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_DEPRECATED,
2771*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2772*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_DEFAULT_IGNORABLE,
2773*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2774*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_NOT_NFKC,
2775*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2776*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_NOT_XID,
2777*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2778*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_EXCLUSION,
2779*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2780*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_OBSOLETE,
2781*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2782*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_TECHNICAL,
2783*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2784*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_UNCOMMON_USE,
2785*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2786*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_LIMITED_USE,
2787*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2788*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_INCLUSION,
2789*0e209d39SAndroid Build Coastguard Worker     /** \xrefitem draft "Draft" "Draft List" This API may be changed in the future versions and was introduced in ICU 75 */
2790*0e209d39SAndroid Build Coastguard Worker     U_ID_TYPE_RECOMMENDED,
2791*0e209d39SAndroid Build Coastguard Worker } UIdentifierType;
2792*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DRAFT_API
2793*0e209d39SAndroid Build Coastguard Worker 
2794*0e209d39SAndroid Build Coastguard Worker /**
2795*0e209d39SAndroid Build Coastguard Worker  * Check a binary Unicode property for a code point.
2796*0e209d39SAndroid Build Coastguard Worker  *
2797*0e209d39SAndroid Build Coastguard Worker  * Unicode, especially in version 3.2, defines many more properties than the
2798*0e209d39SAndroid Build Coastguard Worker  * original set in UnicodeData.txt.
2799*0e209d39SAndroid Build Coastguard Worker  *
2800*0e209d39SAndroid Build Coastguard Worker  * The properties APIs are intended to reflect Unicode properties as defined
2801*0e209d39SAndroid Build Coastguard Worker  * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
2802*0e209d39SAndroid Build Coastguard Worker  * For details about the properties see http://www.unicode.org/ucd/ .
2803*0e209d39SAndroid Build Coastguard Worker  * For names of Unicode properties see the UCD file PropertyAliases.txt.
2804*0e209d39SAndroid Build Coastguard Worker  *
2805*0e209d39SAndroid Build Coastguard Worker  * Important: If ICU is built with UCD files from Unicode versions below 3.2,
2806*0e209d39SAndroid Build Coastguard Worker  * then properties marked with "new in Unicode 3.2" are not or not fully available.
2807*0e209d39SAndroid Build Coastguard Worker  *
2808*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test.
2809*0e209d39SAndroid Build Coastguard Worker  * @param which UProperty selector constant, identifies which binary property to check.
2810*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START&lt;=which&lt;UCHAR_BINARY_LIMIT.
2811*0e209d39SAndroid Build Coastguard Worker  * @return true or false according to the binary Unicode property value for c.
2812*0e209d39SAndroid Build Coastguard Worker  *         Also false if 'which' is out of bounds or if the Unicode version
2813*0e209d39SAndroid Build Coastguard Worker  *         does not have data for the property at all.
2814*0e209d39SAndroid Build Coastguard Worker  *
2815*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
2816*0e209d39SAndroid Build Coastguard Worker  * @see u_getBinaryPropertySet
2817*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyValue
2818*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
2819*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
2820*0e209d39SAndroid Build Coastguard Worker  */
2821*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
2822*0e209d39SAndroid Build Coastguard Worker u_hasBinaryProperty(UChar32 c, UProperty which) __INTRODUCED_IN(31);
2823*0e209d39SAndroid Build Coastguard Worker 
2824*0e209d39SAndroid Build Coastguard Worker 
2825*0e209d39SAndroid Build Coastguard Worker 
2826*0e209d39SAndroid Build Coastguard Worker 
2827*0e209d39SAndroid Build Coastguard Worker 
2828*0e209d39SAndroid Build Coastguard Worker 
2829*0e209d39SAndroid Build Coastguard Worker 
2830*0e209d39SAndroid Build Coastguard Worker /**
2831*0e209d39SAndroid Build Coastguard Worker  * Check if a code point has the Alphabetic Unicode property.
2832*0e209d39SAndroid Build Coastguard Worker  * Same as u_hasBinaryProperty(c, UCHAR_ALPHABETIC).
2833*0e209d39SAndroid Build Coastguard Worker  * This is different from u_isalpha!
2834*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test
2835*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point has the Alphabetic Unicode property, false otherwise
2836*0e209d39SAndroid Build Coastguard Worker  *
2837*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_ALPHABETIC
2838*0e209d39SAndroid Build Coastguard Worker  * @see u_isalpha
2839*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2840*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
2841*0e209d39SAndroid Build Coastguard Worker  */
2842*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
2843*0e209d39SAndroid Build Coastguard Worker u_isUAlphabetic(UChar32 c) __INTRODUCED_IN(31);
2844*0e209d39SAndroid Build Coastguard Worker 
2845*0e209d39SAndroid Build Coastguard Worker 
2846*0e209d39SAndroid Build Coastguard Worker 
2847*0e209d39SAndroid Build Coastguard Worker /**
2848*0e209d39SAndroid Build Coastguard Worker  * Check if a code point has the Lowercase Unicode property.
2849*0e209d39SAndroid Build Coastguard Worker  * Same as u_hasBinaryProperty(c, UCHAR_LOWERCASE).
2850*0e209d39SAndroid Build Coastguard Worker  * This is different from u_islower!
2851*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test
2852*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point has the Lowercase Unicode property, false otherwise
2853*0e209d39SAndroid Build Coastguard Worker  *
2854*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_LOWERCASE
2855*0e209d39SAndroid Build Coastguard Worker  * @see u_islower
2856*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2857*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
2858*0e209d39SAndroid Build Coastguard Worker  */
2859*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
2860*0e209d39SAndroid Build Coastguard Worker u_isULowercase(UChar32 c) __INTRODUCED_IN(31);
2861*0e209d39SAndroid Build Coastguard Worker 
2862*0e209d39SAndroid Build Coastguard Worker 
2863*0e209d39SAndroid Build Coastguard Worker 
2864*0e209d39SAndroid Build Coastguard Worker /**
2865*0e209d39SAndroid Build Coastguard Worker  * Check if a code point has the Uppercase Unicode property.
2866*0e209d39SAndroid Build Coastguard Worker  * Same as u_hasBinaryProperty(c, UCHAR_UPPERCASE).
2867*0e209d39SAndroid Build Coastguard Worker  * This is different from u_isupper!
2868*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test
2869*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point has the Uppercase Unicode property, false otherwise
2870*0e209d39SAndroid Build Coastguard Worker  *
2871*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_UPPERCASE
2872*0e209d39SAndroid Build Coastguard Worker  * @see u_isupper
2873*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2874*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
2875*0e209d39SAndroid Build Coastguard Worker  */
2876*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
2877*0e209d39SAndroid Build Coastguard Worker u_isUUppercase(UChar32 c) __INTRODUCED_IN(31);
2878*0e209d39SAndroid Build Coastguard Worker 
2879*0e209d39SAndroid Build Coastguard Worker 
2880*0e209d39SAndroid Build Coastguard Worker 
2881*0e209d39SAndroid Build Coastguard Worker /**
2882*0e209d39SAndroid Build Coastguard Worker  * Check if a code point has the White_Space Unicode property.
2883*0e209d39SAndroid Build Coastguard Worker  * Same as u_hasBinaryProperty(c, UCHAR_WHITE_SPACE).
2884*0e209d39SAndroid Build Coastguard Worker  * This is different from both u_isspace and u_isWhitespace!
2885*0e209d39SAndroid Build Coastguard Worker  *
2886*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions; please see the uchar.h
2887*0e209d39SAndroid Build Coastguard Worker  * file documentation for a detailed comparison.
2888*0e209d39SAndroid Build Coastguard Worker  *
2889*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test
2890*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point has the White_Space Unicode property, false otherwise.
2891*0e209d39SAndroid Build Coastguard Worker  *
2892*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_WHITE_SPACE
2893*0e209d39SAndroid Build Coastguard Worker  * @see u_isWhitespace
2894*0e209d39SAndroid Build Coastguard Worker  * @see u_isspace
2895*0e209d39SAndroid Build Coastguard Worker  * @see u_isJavaSpaceChar
2896*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2897*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
2898*0e209d39SAndroid Build Coastguard Worker  */
2899*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
2900*0e209d39SAndroid Build Coastguard Worker u_isUWhiteSpace(UChar32 c) __INTRODUCED_IN(31);
2901*0e209d39SAndroid Build Coastguard Worker 
2902*0e209d39SAndroid Build Coastguard Worker 
2903*0e209d39SAndroid Build Coastguard Worker 
2904*0e209d39SAndroid Build Coastguard Worker /**
2905*0e209d39SAndroid Build Coastguard Worker  * Get the property value for an enumerated or integer Unicode property for a code point.
2906*0e209d39SAndroid Build Coastguard Worker  * Also returns binary and mask property values.
2907*0e209d39SAndroid Build Coastguard Worker  *
2908*0e209d39SAndroid Build Coastguard Worker  * Unicode, especially in version 3.2, defines many more properties than the
2909*0e209d39SAndroid Build Coastguard Worker  * original set in UnicodeData.txt.
2910*0e209d39SAndroid Build Coastguard Worker  *
2911*0e209d39SAndroid Build Coastguard Worker  * The properties APIs are intended to reflect Unicode properties as defined
2912*0e209d39SAndroid Build Coastguard Worker  * in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR).
2913*0e209d39SAndroid Build Coastguard Worker  * For details about the properties see http://www.unicode.org/ .
2914*0e209d39SAndroid Build Coastguard Worker  * For names of Unicode properties see the UCD file PropertyAliases.txt.
2915*0e209d39SAndroid Build Coastguard Worker  *
2916*0e209d39SAndroid Build Coastguard Worker  * Sample usage:
2917*0e209d39SAndroid Build Coastguard Worker  * UEastAsianWidth ea=(UEastAsianWidth)u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH);
2918*0e209d39SAndroid Build Coastguard Worker  * UBool b=(UBool)u_getIntPropertyValue(c, UCHAR_IDEOGRAPHIC);
2919*0e209d39SAndroid Build Coastguard Worker  *
2920*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to test.
2921*0e209d39SAndroid Build Coastguard Worker  * @param which UProperty selector constant, identifies which property to check.
2922*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
2923*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
2924*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
2925*0e209d39SAndroid Build Coastguard Worker  * @return Numeric value that is directly the property value or,
2926*0e209d39SAndroid Build Coastguard Worker  *         for enumerated properties, corresponds to the numeric value of the enumerated
2927*0e209d39SAndroid Build Coastguard Worker  *         constant of the respective property value enumeration type
2928*0e209d39SAndroid Build Coastguard Worker  *         (cast to enum type if necessary).
2929*0e209d39SAndroid Build Coastguard Worker  *         Returns 0 or 1 (for false/true) for binary Unicode properties.
2930*0e209d39SAndroid Build Coastguard Worker  *         Returns a bit-mask for mask properties.
2931*0e209d39SAndroid Build Coastguard Worker  *         Returns 0 if 'which' is out of bounds or if the Unicode version
2932*0e209d39SAndroid Build Coastguard Worker  *         does not have data for the property at all, or not for this code point.
2933*0e209d39SAndroid Build Coastguard Worker  *
2934*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
2935*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2936*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyMinValue
2937*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyMaxValue
2938*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyMap
2939*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
2940*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2941*0e209d39SAndroid Build Coastguard Worker  */
2942*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
2943*0e209d39SAndroid Build Coastguard Worker u_getIntPropertyValue(UChar32 c, UProperty which) __INTRODUCED_IN(31);
2944*0e209d39SAndroid Build Coastguard Worker 
2945*0e209d39SAndroid Build Coastguard Worker 
2946*0e209d39SAndroid Build Coastguard Worker 
2947*0e209d39SAndroid Build Coastguard Worker /**
2948*0e209d39SAndroid Build Coastguard Worker  * Get the minimum value for an enumerated/integer/binary Unicode property.
2949*0e209d39SAndroid Build Coastguard Worker  * Can be used together with u_getIntPropertyMaxValue
2950*0e209d39SAndroid Build Coastguard Worker  * to allocate arrays of UnicodeSet or similar.
2951*0e209d39SAndroid Build Coastguard Worker  *
2952*0e209d39SAndroid Build Coastguard Worker  * @param which UProperty selector constant, identifies which binary property to check.
2953*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
2954*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_INT_START<=which<UCHAR_INT_LIMIT.
2955*0e209d39SAndroid Build Coastguard Worker  * @return Minimum value returned by u_getIntPropertyValue for a Unicode property.
2956*0e209d39SAndroid Build Coastguard Worker  *         0 if the property selector is out of range.
2957*0e209d39SAndroid Build Coastguard Worker  *
2958*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
2959*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2960*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
2961*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyMaxValue
2962*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyValue
2963*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2964*0e209d39SAndroid Build Coastguard Worker  */
2965*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
2966*0e209d39SAndroid Build Coastguard Worker u_getIntPropertyMinValue(UProperty which) __INTRODUCED_IN(31);
2967*0e209d39SAndroid Build Coastguard Worker 
2968*0e209d39SAndroid Build Coastguard Worker 
2969*0e209d39SAndroid Build Coastguard Worker 
2970*0e209d39SAndroid Build Coastguard Worker /**
2971*0e209d39SAndroid Build Coastguard Worker  * Get the maximum value for an enumerated/integer/binary Unicode property.
2972*0e209d39SAndroid Build Coastguard Worker  * Can be used together with u_getIntPropertyMinValue
2973*0e209d39SAndroid Build Coastguard Worker  * to allocate arrays of UnicodeSet or similar.
2974*0e209d39SAndroid Build Coastguard Worker  *
2975*0e209d39SAndroid Build Coastguard Worker  * Examples for min/max values (for Unicode 3.2):
2976*0e209d39SAndroid Build Coastguard Worker  *
2977*0e209d39SAndroid Build Coastguard Worker  * - UCHAR_BIDI_CLASS:    0/18 (U_LEFT_TO_RIGHT/U_BOUNDARY_NEUTRAL)
2978*0e209d39SAndroid Build Coastguard Worker  * - UCHAR_SCRIPT:        0/45 (USCRIPT_COMMON/USCRIPT_TAGBANWA)
2979*0e209d39SAndroid Build Coastguard Worker  * - UCHAR_IDEOGRAPHIC:   0/1  (false/true)
2980*0e209d39SAndroid Build Coastguard Worker  *
2981*0e209d39SAndroid Build Coastguard Worker  * For undefined UProperty constant values, min/max values will be 0/-1.
2982*0e209d39SAndroid Build Coastguard Worker  *
2983*0e209d39SAndroid Build Coastguard Worker  * @param which UProperty selector constant, identifies which binary property to check.
2984*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
2985*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_INT_START<=which<UCHAR_INT_LIMIT.
2986*0e209d39SAndroid Build Coastguard Worker  * @return Maximum value returned by u_getIntPropertyValue for a Unicode property.
2987*0e209d39SAndroid Build Coastguard Worker  *         <=0 if the property selector is out of range.
2988*0e209d39SAndroid Build Coastguard Worker  *
2989*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
2990*0e209d39SAndroid Build Coastguard Worker  * @see u_hasBinaryProperty
2991*0e209d39SAndroid Build Coastguard Worker  * @see u_getUnicodeVersion
2992*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyMaxValue
2993*0e209d39SAndroid Build Coastguard Worker  * @see u_getIntPropertyValue
2994*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
2995*0e209d39SAndroid Build Coastguard Worker  */
2996*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
2997*0e209d39SAndroid Build Coastguard Worker u_getIntPropertyMaxValue(UProperty which) __INTRODUCED_IN(31);
2998*0e209d39SAndroid Build Coastguard Worker 
2999*0e209d39SAndroid Build Coastguard Worker 
3000*0e209d39SAndroid Build Coastguard Worker 
3001*0e209d39SAndroid Build Coastguard Worker 
3002*0e209d39SAndroid Build Coastguard Worker 
3003*0e209d39SAndroid Build Coastguard Worker /**
3004*0e209d39SAndroid Build Coastguard Worker  * Get the numeric value for a Unicode code point as defined in the
3005*0e209d39SAndroid Build Coastguard Worker  * Unicode Character Database.
3006*0e209d39SAndroid Build Coastguard Worker  *
3007*0e209d39SAndroid Build Coastguard Worker  * A "double" return type is necessary because
3008*0e209d39SAndroid Build Coastguard Worker  * some numeric values are fractions, negative, or too large for int32_t.
3009*0e209d39SAndroid Build Coastguard Worker  *
3010*0e209d39SAndroid Build Coastguard Worker  * For characters without any numeric values in the Unicode Character Database,
3011*0e209d39SAndroid Build Coastguard Worker  * this function will return U_NO_NUMERIC_VALUE.
3012*0e209d39SAndroid Build Coastguard Worker  * Note: This is different from the Unicode Standard which specifies NaN as the default value.
3013*0e209d39SAndroid Build Coastguard Worker  * (NaN is not available on all platforms.)
3014*0e209d39SAndroid Build Coastguard Worker  *
3015*0e209d39SAndroid Build Coastguard Worker  * Similar to java.lang.Character.getNumericValue(), but u_getNumericValue()
3016*0e209d39SAndroid Build Coastguard Worker  * also supports negative values, large values, and fractions,
3017*0e209d39SAndroid Build Coastguard Worker  * while Java's getNumericValue() returns values 10..35 for ASCII letters.
3018*0e209d39SAndroid Build Coastguard Worker  *
3019*0e209d39SAndroid Build Coastguard Worker  * @param c Code point to get the numeric value for.
3020*0e209d39SAndroid Build Coastguard Worker  * @return Numeric value of c, or U_NO_NUMERIC_VALUE if none is defined.
3021*0e209d39SAndroid Build Coastguard Worker  *
3022*0e209d39SAndroid Build Coastguard Worker  * @see U_NO_NUMERIC_VALUE
3023*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
3024*0e209d39SAndroid Build Coastguard Worker  */
3025*0e209d39SAndroid Build Coastguard Worker U_CAPI double U_EXPORT2
3026*0e209d39SAndroid Build Coastguard Worker u_getNumericValue(UChar32 c) __INTRODUCED_IN(31);
3027*0e209d39SAndroid Build Coastguard Worker 
3028*0e209d39SAndroid Build Coastguard Worker 
3029*0e209d39SAndroid Build Coastguard Worker 
3030*0e209d39SAndroid Build Coastguard Worker /**
3031*0e209d39SAndroid Build Coastguard Worker  * Special value that is returned by u_getNumericValue when
3032*0e209d39SAndroid Build Coastguard Worker  * no numeric value is defined for a code point.
3033*0e209d39SAndroid Build Coastguard Worker  *
3034*0e209d39SAndroid Build Coastguard Worker  * @see u_getNumericValue
3035*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.2
3036*0e209d39SAndroid Build Coastguard Worker  */
3037*0e209d39SAndroid Build Coastguard Worker #define U_NO_NUMERIC_VALUE ((double)-123456789.)
3038*0e209d39SAndroid Build Coastguard Worker 
3039*0e209d39SAndroid Build Coastguard Worker /**
3040*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point has the general category "Ll"
3041*0e209d39SAndroid Build Coastguard Worker  * (lowercase letter).
3042*0e209d39SAndroid Build Coastguard Worker  *
3043*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isLowerCase().
3044*0e209d39SAndroid Build Coastguard Worker  *
3045*0e209d39SAndroid Build Coastguard Worker  * This misses some characters that are also lowercase but
3046*0e209d39SAndroid Build Coastguard Worker  * have a different general category value.
3047*0e209d39SAndroid Build Coastguard Worker  * In order to include those, use UCHAR_LOWERCASE.
3048*0e209d39SAndroid Build Coastguard Worker  *
3049*0e209d39SAndroid Build Coastguard Worker  * In addition to being equivalent to a Java function, this also serves
3050*0e209d39SAndroid Build Coastguard Worker  * as a C/POSIX migration function.
3051*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3052*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3053*0e209d39SAndroid Build Coastguard Worker  *
3054*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3055*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is an Ll lowercase letter
3056*0e209d39SAndroid Build Coastguard Worker  *
3057*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_LOWERCASE
3058*0e209d39SAndroid Build Coastguard Worker  * @see u_isupper
3059*0e209d39SAndroid Build Coastguard Worker  * @see u_istitle
3060*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3061*0e209d39SAndroid Build Coastguard Worker  */
3062*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3063*0e209d39SAndroid Build Coastguard Worker u_islower(UChar32 c) __INTRODUCED_IN(31);
3064*0e209d39SAndroid Build Coastguard Worker 
3065*0e209d39SAndroid Build Coastguard Worker 
3066*0e209d39SAndroid Build Coastguard Worker 
3067*0e209d39SAndroid Build Coastguard Worker /**
3068*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point has the general category "Lu"
3069*0e209d39SAndroid Build Coastguard Worker  * (uppercase letter).
3070*0e209d39SAndroid Build Coastguard Worker  *
3071*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isUpperCase().
3072*0e209d39SAndroid Build Coastguard Worker  *
3073*0e209d39SAndroid Build Coastguard Worker  * This misses some characters that are also uppercase but
3074*0e209d39SAndroid Build Coastguard Worker  * have a different general category value.
3075*0e209d39SAndroid Build Coastguard Worker  * In order to include those, use UCHAR_UPPERCASE.
3076*0e209d39SAndroid Build Coastguard Worker  *
3077*0e209d39SAndroid Build Coastguard Worker  * In addition to being equivalent to a Java function, this also serves
3078*0e209d39SAndroid Build Coastguard Worker  * as a C/POSIX migration function.
3079*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3080*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3081*0e209d39SAndroid Build Coastguard Worker  *
3082*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3083*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is an Lu uppercase letter
3084*0e209d39SAndroid Build Coastguard Worker  *
3085*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_UPPERCASE
3086*0e209d39SAndroid Build Coastguard Worker  * @see u_islower
3087*0e209d39SAndroid Build Coastguard Worker  * @see u_istitle
3088*0e209d39SAndroid Build Coastguard Worker  * @see u_tolower
3089*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3090*0e209d39SAndroid Build Coastguard Worker  */
3091*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3092*0e209d39SAndroid Build Coastguard Worker u_isupper(UChar32 c) __INTRODUCED_IN(31);
3093*0e209d39SAndroid Build Coastguard Worker 
3094*0e209d39SAndroid Build Coastguard Worker 
3095*0e209d39SAndroid Build Coastguard Worker 
3096*0e209d39SAndroid Build Coastguard Worker /**
3097*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a titlecase letter.
3098*0e209d39SAndroid Build Coastguard Worker  * True for general category "Lt" (titlecase letter).
3099*0e209d39SAndroid Build Coastguard Worker  *
3100*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isTitleCase().
3101*0e209d39SAndroid Build Coastguard Worker  *
3102*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3103*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is an Lt titlecase letter
3104*0e209d39SAndroid Build Coastguard Worker  *
3105*0e209d39SAndroid Build Coastguard Worker  * @see u_isupper
3106*0e209d39SAndroid Build Coastguard Worker  * @see u_islower
3107*0e209d39SAndroid Build Coastguard Worker  * @see u_totitle
3108*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3109*0e209d39SAndroid Build Coastguard Worker  */
3110*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3111*0e209d39SAndroid Build Coastguard Worker u_istitle(UChar32 c) __INTRODUCED_IN(31);
3112*0e209d39SAndroid Build Coastguard Worker 
3113*0e209d39SAndroid Build Coastguard Worker 
3114*0e209d39SAndroid Build Coastguard Worker 
3115*0e209d39SAndroid Build Coastguard Worker /**
3116*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a digit character according to Java.
3117*0e209d39SAndroid Build Coastguard Worker  * True for characters with general category "Nd" (decimal digit numbers).
3118*0e209d39SAndroid Build Coastguard Worker  * Beginning with Unicode 4, this is the same as
3119*0e209d39SAndroid Build Coastguard Worker  * testing for the Numeric_Type of Decimal.
3120*0e209d39SAndroid Build Coastguard Worker  *
3121*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isDigit().
3122*0e209d39SAndroid Build Coastguard Worker  *
3123*0e209d39SAndroid Build Coastguard Worker  * In addition to being equivalent to a Java function, this also serves
3124*0e209d39SAndroid Build Coastguard Worker  * as a C/POSIX migration function.
3125*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3126*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3127*0e209d39SAndroid Build Coastguard Worker  *
3128*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3129*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a digit character according to Character.isDigit()
3130*0e209d39SAndroid Build Coastguard Worker  *
3131*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3132*0e209d39SAndroid Build Coastguard Worker  */
3133*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3134*0e209d39SAndroid Build Coastguard Worker u_isdigit(UChar32 c) __INTRODUCED_IN(31);
3135*0e209d39SAndroid Build Coastguard Worker 
3136*0e209d39SAndroid Build Coastguard Worker 
3137*0e209d39SAndroid Build Coastguard Worker 
3138*0e209d39SAndroid Build Coastguard Worker /**
3139*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a letter character.
3140*0e209d39SAndroid Build Coastguard Worker  * True for general categories "L" (letters).
3141*0e209d39SAndroid Build Coastguard Worker  *
3142*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isLetter().
3143*0e209d39SAndroid Build Coastguard Worker  *
3144*0e209d39SAndroid Build Coastguard Worker  * In addition to being equivalent to a Java function, this also serves
3145*0e209d39SAndroid Build Coastguard Worker  * as a C/POSIX migration function.
3146*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3147*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3148*0e209d39SAndroid Build Coastguard Worker  *
3149*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3150*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a letter character
3151*0e209d39SAndroid Build Coastguard Worker  *
3152*0e209d39SAndroid Build Coastguard Worker  * @see u_isdigit
3153*0e209d39SAndroid Build Coastguard Worker  * @see u_isalnum
3154*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3155*0e209d39SAndroid Build Coastguard Worker  */
3156*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3157*0e209d39SAndroid Build Coastguard Worker u_isalpha(UChar32 c) __INTRODUCED_IN(31);
3158*0e209d39SAndroid Build Coastguard Worker 
3159*0e209d39SAndroid Build Coastguard Worker 
3160*0e209d39SAndroid Build Coastguard Worker 
3161*0e209d39SAndroid Build Coastguard Worker /**
3162*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is an alphanumeric character
3163*0e209d39SAndroid Build Coastguard Worker  * (letter or digit) according to Java.
3164*0e209d39SAndroid Build Coastguard Worker  * True for characters with general categories
3165*0e209d39SAndroid Build Coastguard Worker  * "L" (letters) and "Nd" (decimal digit numbers).
3166*0e209d39SAndroid Build Coastguard Worker  *
3167*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isLetterOrDigit().
3168*0e209d39SAndroid Build Coastguard Worker  *
3169*0e209d39SAndroid Build Coastguard Worker  * In addition to being equivalent to a Java function, this also serves
3170*0e209d39SAndroid Build Coastguard Worker  * as a C/POSIX migration function.
3171*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3172*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3173*0e209d39SAndroid Build Coastguard Worker  *
3174*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3175*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is an alphanumeric character according to Character.isLetterOrDigit()
3176*0e209d39SAndroid Build Coastguard Worker  *
3177*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3178*0e209d39SAndroid Build Coastguard Worker  */
3179*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3180*0e209d39SAndroid Build Coastguard Worker u_isalnum(UChar32 c) __INTRODUCED_IN(31);
3181*0e209d39SAndroid Build Coastguard Worker 
3182*0e209d39SAndroid Build Coastguard Worker 
3183*0e209d39SAndroid Build Coastguard Worker 
3184*0e209d39SAndroid Build Coastguard Worker /**
3185*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a hexadecimal digit.
3186*0e209d39SAndroid Build Coastguard Worker  * This is equivalent to u_digit(c, 16)>=0.
3187*0e209d39SAndroid Build Coastguard Worker  * True for characters with general category "Nd" (decimal digit numbers)
3188*0e209d39SAndroid Build Coastguard Worker  * as well as Latin letters a-f and A-F in both ASCII and Fullwidth ASCII.
3189*0e209d39SAndroid Build Coastguard Worker  * (That is, for letters with code points
3190*0e209d39SAndroid Build Coastguard Worker  * 0041..0046, 0061..0066, FF21..FF26, FF41..FF46.)
3191*0e209d39SAndroid Build Coastguard Worker  *
3192*0e209d39SAndroid Build Coastguard Worker  * In order to narrow the definition of hexadecimal digits to only ASCII
3193*0e209d39SAndroid Build Coastguard Worker  * characters, use (c<=0x7f && u_isxdigit(c)).
3194*0e209d39SAndroid Build Coastguard Worker  *
3195*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3196*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3197*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3198*0e209d39SAndroid Build Coastguard Worker  *
3199*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3200*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a hexadecimal digit
3201*0e209d39SAndroid Build Coastguard Worker  *
3202*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3203*0e209d39SAndroid Build Coastguard Worker  */
3204*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3205*0e209d39SAndroid Build Coastguard Worker u_isxdigit(UChar32 c) __INTRODUCED_IN(31);
3206*0e209d39SAndroid Build Coastguard Worker 
3207*0e209d39SAndroid Build Coastguard Worker 
3208*0e209d39SAndroid Build Coastguard Worker 
3209*0e209d39SAndroid Build Coastguard Worker /**
3210*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a punctuation character.
3211*0e209d39SAndroid Build Coastguard Worker  * True for characters with general categories "P" (punctuation).
3212*0e209d39SAndroid Build Coastguard Worker  *
3213*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3214*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3215*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3216*0e209d39SAndroid Build Coastguard Worker  *
3217*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3218*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a punctuation character
3219*0e209d39SAndroid Build Coastguard Worker  *
3220*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3221*0e209d39SAndroid Build Coastguard Worker  */
3222*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3223*0e209d39SAndroid Build Coastguard Worker u_ispunct(UChar32 c) __INTRODUCED_IN(31);
3224*0e209d39SAndroid Build Coastguard Worker 
3225*0e209d39SAndroid Build Coastguard Worker 
3226*0e209d39SAndroid Build Coastguard Worker 
3227*0e209d39SAndroid Build Coastguard Worker /**
3228*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a "graphic" character
3229*0e209d39SAndroid Build Coastguard Worker  * (printable, excluding spaces).
3230*0e209d39SAndroid Build Coastguard Worker  * true for all characters except those with general categories
3231*0e209d39SAndroid Build Coastguard Worker  * "Cc" (control codes), "Cf" (format controls), "Cs" (surrogates),
3232*0e209d39SAndroid Build Coastguard Worker  * "Cn" (unassigned), and "Z" (separators).
3233*0e209d39SAndroid Build Coastguard Worker  *
3234*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3235*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3236*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3237*0e209d39SAndroid Build Coastguard Worker  *
3238*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3239*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a "graphic" character
3240*0e209d39SAndroid Build Coastguard Worker  *
3241*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3242*0e209d39SAndroid Build Coastguard Worker  */
3243*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3244*0e209d39SAndroid Build Coastguard Worker u_isgraph(UChar32 c) __INTRODUCED_IN(31);
3245*0e209d39SAndroid Build Coastguard Worker 
3246*0e209d39SAndroid Build Coastguard Worker 
3247*0e209d39SAndroid Build Coastguard Worker 
3248*0e209d39SAndroid Build Coastguard Worker /**
3249*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a "blank" or "horizontal space",
3250*0e209d39SAndroid Build Coastguard Worker  * a character that visibly separates words on a line.
3251*0e209d39SAndroid Build Coastguard Worker  * The following are equivalent definitions:
3252*0e209d39SAndroid Build Coastguard Worker  *
3253*0e209d39SAndroid Build Coastguard Worker  * true for Unicode White_Space characters except for "vertical space controls"
3254*0e209d39SAndroid Build Coastguard Worker  * where "vertical space controls" are the following characters:
3255*0e209d39SAndroid Build Coastguard Worker  * U+000A (LF) U+000B (VT) U+000C (FF) U+000D (CR) U+0085 (NEL) U+2028 (LS) U+2029 (PS)
3256*0e209d39SAndroid Build Coastguard Worker  *
3257*0e209d39SAndroid Build Coastguard Worker  * same as
3258*0e209d39SAndroid Build Coastguard Worker  *
3259*0e209d39SAndroid Build Coastguard Worker  * true for U+0009 (TAB) and characters with general category "Zs" (space separators).
3260*0e209d39SAndroid Build Coastguard Worker  *
3261*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions; please see the uchar.h
3262*0e209d39SAndroid Build Coastguard Worker  * file documentation for a detailed comparison.
3263*0e209d39SAndroid Build Coastguard Worker  *
3264*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3265*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3266*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3267*0e209d39SAndroid Build Coastguard Worker  *
3268*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3269*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a "blank"
3270*0e209d39SAndroid Build Coastguard Worker  *
3271*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3272*0e209d39SAndroid Build Coastguard Worker  */
3273*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3274*0e209d39SAndroid Build Coastguard Worker u_isblank(UChar32 c) __INTRODUCED_IN(31);
3275*0e209d39SAndroid Build Coastguard Worker 
3276*0e209d39SAndroid Build Coastguard Worker 
3277*0e209d39SAndroid Build Coastguard Worker 
3278*0e209d39SAndroid Build Coastguard Worker /**
3279*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is "defined",
3280*0e209d39SAndroid Build Coastguard Worker  * which usually means that it is assigned a character.
3281*0e209d39SAndroid Build Coastguard Worker  * True for general categories other than "Cn" (other, not assigned),
3282*0e209d39SAndroid Build Coastguard Worker  * i.e., true for all code points mentioned in UnicodeData.txt.
3283*0e209d39SAndroid Build Coastguard Worker  *
3284*0e209d39SAndroid Build Coastguard Worker  * Note that non-character code points (e.g., U+FDD0) are not "defined"
3285*0e209d39SAndroid Build Coastguard Worker  * (they are Cn), but surrogate code points are "defined" (Cs).
3286*0e209d39SAndroid Build Coastguard Worker  *
3287*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isDefined().
3288*0e209d39SAndroid Build Coastguard Worker  *
3289*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3290*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is assigned a character
3291*0e209d39SAndroid Build Coastguard Worker  *
3292*0e209d39SAndroid Build Coastguard Worker  * @see u_isdigit
3293*0e209d39SAndroid Build Coastguard Worker  * @see u_isalpha
3294*0e209d39SAndroid Build Coastguard Worker  * @see u_isalnum
3295*0e209d39SAndroid Build Coastguard Worker  * @see u_isupper
3296*0e209d39SAndroid Build Coastguard Worker  * @see u_islower
3297*0e209d39SAndroid Build Coastguard Worker  * @see u_istitle
3298*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3299*0e209d39SAndroid Build Coastguard Worker  */
3300*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3301*0e209d39SAndroid Build Coastguard Worker u_isdefined(UChar32 c) __INTRODUCED_IN(31);
3302*0e209d39SAndroid Build Coastguard Worker 
3303*0e209d39SAndroid Build Coastguard Worker 
3304*0e209d39SAndroid Build Coastguard Worker 
3305*0e209d39SAndroid Build Coastguard Worker /**
3306*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character is a space character or not.
3307*0e209d39SAndroid Build Coastguard Worker  *
3308*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions; please see the uchar.h
3309*0e209d39SAndroid Build Coastguard Worker  * file documentation for a detailed comparison.
3310*0e209d39SAndroid Build Coastguard Worker  *
3311*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3312*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3313*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3314*0e209d39SAndroid Build Coastguard Worker  *
3315*0e209d39SAndroid Build Coastguard Worker  * @param c    the character to be tested
3316*0e209d39SAndroid Build Coastguard Worker  * @return  true if the character is a space character; false otherwise.
3317*0e209d39SAndroid Build Coastguard Worker  *
3318*0e209d39SAndroid Build Coastguard Worker  * @see u_isJavaSpaceChar
3319*0e209d39SAndroid Build Coastguard Worker  * @see u_isWhitespace
3320*0e209d39SAndroid Build Coastguard Worker  * @see u_isUWhiteSpace
3321*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3322*0e209d39SAndroid Build Coastguard Worker  */
3323*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3324*0e209d39SAndroid Build Coastguard Worker u_isspace(UChar32 c) __INTRODUCED_IN(31);
3325*0e209d39SAndroid Build Coastguard Worker 
3326*0e209d39SAndroid Build Coastguard Worker 
3327*0e209d39SAndroid Build Coastguard Worker 
3328*0e209d39SAndroid Build Coastguard Worker /**
3329*0e209d39SAndroid Build Coastguard Worker  * Determine if the specified code point is a space character according to Java.
3330*0e209d39SAndroid Build Coastguard Worker  * True for characters with general categories "Z" (separators),
3331*0e209d39SAndroid Build Coastguard Worker  * which does not include control codes (e.g., TAB or Line Feed).
3332*0e209d39SAndroid Build Coastguard Worker  *
3333*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isSpaceChar().
3334*0e209d39SAndroid Build Coastguard Worker  *
3335*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions; please see the uchar.h
3336*0e209d39SAndroid Build Coastguard Worker  * file documentation for a detailed comparison.
3337*0e209d39SAndroid Build Coastguard Worker  *
3338*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3339*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a space character according to Character.isSpaceChar()
3340*0e209d39SAndroid Build Coastguard Worker  *
3341*0e209d39SAndroid Build Coastguard Worker  * @see u_isspace
3342*0e209d39SAndroid Build Coastguard Worker  * @see u_isWhitespace
3343*0e209d39SAndroid Build Coastguard Worker  * @see u_isUWhiteSpace
3344*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3345*0e209d39SAndroid Build Coastguard Worker  */
3346*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3347*0e209d39SAndroid Build Coastguard Worker u_isJavaSpaceChar(UChar32 c) __INTRODUCED_IN(31);
3348*0e209d39SAndroid Build Coastguard Worker 
3349*0e209d39SAndroid Build Coastguard Worker 
3350*0e209d39SAndroid Build Coastguard Worker 
3351*0e209d39SAndroid Build Coastguard Worker /**
3352*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified code point is a whitespace character according to Java/ICU.
3353*0e209d39SAndroid Build Coastguard Worker  * A character is considered to be a Java whitespace character if and only
3354*0e209d39SAndroid Build Coastguard Worker  * if it satisfies one of the following criteria:
3355*0e209d39SAndroid Build Coastguard Worker  *
3356*0e209d39SAndroid Build Coastguard Worker  * - It is a Unicode Separator character (categories "Z" = "Zs" or "Zl" or "Zp"), but is not
3357*0e209d39SAndroid Build Coastguard Worker  *      also a non-breaking space (U+00A0 NBSP or U+2007 Figure Space or U+202F Narrow NBSP).
3358*0e209d39SAndroid Build Coastguard Worker  * - It is U+0009 HORIZONTAL TABULATION.
3359*0e209d39SAndroid Build Coastguard Worker  * - It is U+000A LINE FEED.
3360*0e209d39SAndroid Build Coastguard Worker  * - It is U+000B VERTICAL TABULATION.
3361*0e209d39SAndroid Build Coastguard Worker  * - It is U+000C FORM FEED.
3362*0e209d39SAndroid Build Coastguard Worker  * - It is U+000D CARRIAGE RETURN.
3363*0e209d39SAndroid Build Coastguard Worker  * - It is U+001C FILE SEPARATOR.
3364*0e209d39SAndroid Build Coastguard Worker  * - It is U+001D GROUP SEPARATOR.
3365*0e209d39SAndroid Build Coastguard Worker  * - It is U+001E RECORD SEPARATOR.
3366*0e209d39SAndroid Build Coastguard Worker  * - It is U+001F UNIT SEPARATOR.
3367*0e209d39SAndroid Build Coastguard Worker  *
3368*0e209d39SAndroid Build Coastguard Worker  * This API tries to sync with the semantics of Java's
3369*0e209d39SAndroid Build Coastguard Worker  * java.lang.Character.isWhitespace(), but it may not return
3370*0e209d39SAndroid Build Coastguard Worker  * the exact same results because of the Unicode version
3371*0e209d39SAndroid Build Coastguard Worker  * difference.
3372*0e209d39SAndroid Build Coastguard Worker  *
3373*0e209d39SAndroid Build Coastguard Worker  * Note: Unicode 4.0.1 changed U+200B ZERO WIDTH SPACE from a Space Separator (Zs)
3374*0e209d39SAndroid Build Coastguard Worker  * to a Format Control (Cf). Since then, isWhitespace(0x200b) returns false.
3375*0e209d39SAndroid Build Coastguard Worker  * See http://www.unicode.org/versions/Unicode4.0.1/
3376*0e209d39SAndroid Build Coastguard Worker  *
3377*0e209d39SAndroid Build Coastguard Worker  * Note: There are several ICU whitespace functions; please see the uchar.h
3378*0e209d39SAndroid Build Coastguard Worker  * file documentation for a detailed comparison.
3379*0e209d39SAndroid Build Coastguard Worker  *
3380*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3381*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a whitespace character according to Java/ICU
3382*0e209d39SAndroid Build Coastguard Worker  *
3383*0e209d39SAndroid Build Coastguard Worker  * @see u_isspace
3384*0e209d39SAndroid Build Coastguard Worker  * @see u_isJavaSpaceChar
3385*0e209d39SAndroid Build Coastguard Worker  * @see u_isUWhiteSpace
3386*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3387*0e209d39SAndroid Build Coastguard Worker  */
3388*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3389*0e209d39SAndroid Build Coastguard Worker u_isWhitespace(UChar32 c) __INTRODUCED_IN(31);
3390*0e209d39SAndroid Build Coastguard Worker 
3391*0e209d39SAndroid Build Coastguard Worker 
3392*0e209d39SAndroid Build Coastguard Worker 
3393*0e209d39SAndroid Build Coastguard Worker /**
3394*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a control character
3395*0e209d39SAndroid Build Coastguard Worker  * (as defined by this function).
3396*0e209d39SAndroid Build Coastguard Worker  * A control character is one of the following:
3397*0e209d39SAndroid Build Coastguard Worker  * - ISO 8-bit control character (U+0000..U+001f and U+007f..U+009f)
3398*0e209d39SAndroid Build Coastguard Worker  * - U_CONTROL_CHAR (Cc)
3399*0e209d39SAndroid Build Coastguard Worker  * - U_FORMAT_CHAR (Cf)
3400*0e209d39SAndroid Build Coastguard Worker  * - U_LINE_SEPARATOR (Zl)
3401*0e209d39SAndroid Build Coastguard Worker  * - U_PARAGRAPH_SEPARATOR (Zp)
3402*0e209d39SAndroid Build Coastguard Worker  *
3403*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3404*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3405*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3406*0e209d39SAndroid Build Coastguard Worker  *
3407*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3408*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a control character
3409*0e209d39SAndroid Build Coastguard Worker  *
3410*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
3411*0e209d39SAndroid Build Coastguard Worker  * @see u_isprint
3412*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3413*0e209d39SAndroid Build Coastguard Worker  */
3414*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3415*0e209d39SAndroid Build Coastguard Worker u_iscntrl(UChar32 c) __INTRODUCED_IN(31);
3416*0e209d39SAndroid Build Coastguard Worker 
3417*0e209d39SAndroid Build Coastguard Worker 
3418*0e209d39SAndroid Build Coastguard Worker 
3419*0e209d39SAndroid Build Coastguard Worker /**
3420*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is an ISO control code.
3421*0e209d39SAndroid Build Coastguard Worker  * True for U+0000..U+001f and U+007f..U+009f (general category "Cc").
3422*0e209d39SAndroid Build Coastguard Worker  *
3423*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isISOControl().
3424*0e209d39SAndroid Build Coastguard Worker  *
3425*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3426*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is an ISO control code
3427*0e209d39SAndroid Build Coastguard Worker  *
3428*0e209d39SAndroid Build Coastguard Worker  * @see u_iscntrl
3429*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.6
3430*0e209d39SAndroid Build Coastguard Worker  */
3431*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3432*0e209d39SAndroid Build Coastguard Worker u_isISOControl(UChar32 c) __INTRODUCED_IN(31);
3433*0e209d39SAndroid Build Coastguard Worker 
3434*0e209d39SAndroid Build Coastguard Worker 
3435*0e209d39SAndroid Build Coastguard Worker 
3436*0e209d39SAndroid Build Coastguard Worker /**
3437*0e209d39SAndroid Build Coastguard Worker  * Determines whether the specified code point is a printable character.
3438*0e209d39SAndroid Build Coastguard Worker  * True for general categories <em>other</em> than "C" (controls).
3439*0e209d39SAndroid Build Coastguard Worker  *
3440*0e209d39SAndroid Build Coastguard Worker  * This is a C/POSIX migration function.
3441*0e209d39SAndroid Build Coastguard Worker  * See the comments about C/POSIX character classification functions in the
3442*0e209d39SAndroid Build Coastguard Worker  * documentation at the top of this header file.
3443*0e209d39SAndroid Build Coastguard Worker  *
3444*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3445*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a printable character
3446*0e209d39SAndroid Build Coastguard Worker  *
3447*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
3448*0e209d39SAndroid Build Coastguard Worker  * @see u_iscntrl
3449*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3450*0e209d39SAndroid Build Coastguard Worker  */
3451*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3452*0e209d39SAndroid Build Coastguard Worker u_isprint(UChar32 c) __INTRODUCED_IN(31);
3453*0e209d39SAndroid Build Coastguard Worker 
3454*0e209d39SAndroid Build Coastguard Worker 
3455*0e209d39SAndroid Build Coastguard Worker 
3456*0e209d39SAndroid Build Coastguard Worker /**
3457*0e209d39SAndroid Build Coastguard Worker  * Non-standard: Determines whether the specified code point is a base character.
3458*0e209d39SAndroid Build Coastguard Worker  * True for general categories "L" (letters), "N" (numbers),
3459*0e209d39SAndroid Build Coastguard Worker  * "Mc" (spacing combining marks), and "Me" (enclosing marks).
3460*0e209d39SAndroid Build Coastguard Worker  *
3461*0e209d39SAndroid Build Coastguard Worker  * Note that this is different from the Unicode Standard definition in
3462*0e209d39SAndroid Build Coastguard Worker  * chapter 3.6, conformance clause D51 “Base character”,
3463*0e209d39SAndroid Build Coastguard Worker  * which defines base characters as the code points with general categories
3464*0e209d39SAndroid Build Coastguard Worker  * Letter (L), Number (N), Punctuation (P), Symbol (S), or Space Separator (Zs).
3465*0e209d39SAndroid Build Coastguard Worker  *
3466*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3467*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is a base character according to this function
3468*0e209d39SAndroid Build Coastguard Worker  *
3469*0e209d39SAndroid Build Coastguard Worker  * @see u_isalpha
3470*0e209d39SAndroid Build Coastguard Worker  * @see u_isdigit
3471*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3472*0e209d39SAndroid Build Coastguard Worker  */
3473*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3474*0e209d39SAndroid Build Coastguard Worker u_isbase(UChar32 c) __INTRODUCED_IN(31);
3475*0e209d39SAndroid Build Coastguard Worker 
3476*0e209d39SAndroid Build Coastguard Worker 
3477*0e209d39SAndroid Build Coastguard Worker 
3478*0e209d39SAndroid Build Coastguard Worker /**
3479*0e209d39SAndroid Build Coastguard Worker  * Returns the bidirectional category value for the code point,
3480*0e209d39SAndroid Build Coastguard Worker  * which is used in the Unicode bidirectional algorithm
3481*0e209d39SAndroid Build Coastguard Worker  * (UAX #9 http://www.unicode.org/reports/tr9/).
3482*0e209d39SAndroid Build Coastguard Worker  * Note that some <em>unassigned</em> code points have bidi values
3483*0e209d39SAndroid Build Coastguard Worker  * of R or AL because they are in blocks that are reserved
3484*0e209d39SAndroid Build Coastguard Worker  * for Right-To-Left scripts.
3485*0e209d39SAndroid Build Coastguard Worker  *
3486*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.getDirectionality()
3487*0e209d39SAndroid Build Coastguard Worker  *
3488*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3489*0e209d39SAndroid Build Coastguard Worker  * @return the bidirectional category (UCharDirection) value
3490*0e209d39SAndroid Build Coastguard Worker  *
3491*0e209d39SAndroid Build Coastguard Worker  * @see UCharDirection
3492*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3493*0e209d39SAndroid Build Coastguard Worker  */
3494*0e209d39SAndroid Build Coastguard Worker U_CAPI UCharDirection U_EXPORT2
3495*0e209d39SAndroid Build Coastguard Worker u_charDirection(UChar32 c) __INTRODUCED_IN(31);
3496*0e209d39SAndroid Build Coastguard Worker 
3497*0e209d39SAndroid Build Coastguard Worker 
3498*0e209d39SAndroid Build Coastguard Worker 
3499*0e209d39SAndroid Build Coastguard Worker /**
3500*0e209d39SAndroid Build Coastguard Worker  * Determines whether the code point has the Bidi_Mirrored property.
3501*0e209d39SAndroid Build Coastguard Worker  * This property is set for characters that are commonly used in
3502*0e209d39SAndroid Build Coastguard Worker  * Right-To-Left contexts and need to be displayed with a "mirrored"
3503*0e209d39SAndroid Build Coastguard Worker  * glyph.
3504*0e209d39SAndroid Build Coastguard Worker  *
3505*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isMirrored().
3506*0e209d39SAndroid Build Coastguard Worker  * Same as UCHAR_BIDI_MIRRORED
3507*0e209d39SAndroid Build Coastguard Worker  *
3508*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3509*0e209d39SAndroid Build Coastguard Worker  * @return true if the character has the Bidi_Mirrored property
3510*0e209d39SAndroid Build Coastguard Worker  *
3511*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_BIDI_MIRRORED
3512*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3513*0e209d39SAndroid Build Coastguard Worker  */
3514*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3515*0e209d39SAndroid Build Coastguard Worker u_isMirrored(UChar32 c) __INTRODUCED_IN(31);
3516*0e209d39SAndroid Build Coastguard Worker 
3517*0e209d39SAndroid Build Coastguard Worker 
3518*0e209d39SAndroid Build Coastguard Worker 
3519*0e209d39SAndroid Build Coastguard Worker /**
3520*0e209d39SAndroid Build Coastguard Worker  * Maps the specified character to a "mirror-image" character.
3521*0e209d39SAndroid Build Coastguard Worker  * For characters with the Bidi_Mirrored property, implementations
3522*0e209d39SAndroid Build Coastguard Worker  * sometimes need a "poor man's" mapping to another Unicode
3523*0e209d39SAndroid Build Coastguard Worker  * character (code point) such that the default glyph may serve
3524*0e209d39SAndroid Build Coastguard Worker  * as the mirror-image of the default glyph of the specified
3525*0e209d39SAndroid Build Coastguard Worker  * character. This is useful for text conversion to and from
3526*0e209d39SAndroid Build Coastguard Worker  * codepages with visual order, and for displays without glyph
3527*0e209d39SAndroid Build Coastguard Worker  * selection capabilities.
3528*0e209d39SAndroid Build Coastguard Worker  *
3529*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
3530*0e209d39SAndroid Build Coastguard Worker  * @return another Unicode code point that may serve as a mirror-image
3531*0e209d39SAndroid Build Coastguard Worker  *         substitute, or c itself if there is no such mapping or c
3532*0e209d39SAndroid Build Coastguard Worker  *         does not have the Bidi_Mirrored property
3533*0e209d39SAndroid Build Coastguard Worker  *
3534*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_BIDI_MIRRORED
3535*0e209d39SAndroid Build Coastguard Worker  * @see u_isMirrored
3536*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3537*0e209d39SAndroid Build Coastguard Worker  */
3538*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
3539*0e209d39SAndroid Build Coastguard Worker u_charMirror(UChar32 c) __INTRODUCED_IN(31);
3540*0e209d39SAndroid Build Coastguard Worker 
3541*0e209d39SAndroid Build Coastguard Worker 
3542*0e209d39SAndroid Build Coastguard Worker 
3543*0e209d39SAndroid Build Coastguard Worker /**
3544*0e209d39SAndroid Build Coastguard Worker  * Maps the specified character to its paired bracket character.
3545*0e209d39SAndroid Build Coastguard Worker  * For Bidi_Paired_Bracket_Type!=None, this is the same as u_charMirror().
3546*0e209d39SAndroid Build Coastguard Worker  * Otherwise c itself is returned.
3547*0e209d39SAndroid Build Coastguard Worker  * See http://www.unicode.org/reports/tr9/
3548*0e209d39SAndroid Build Coastguard Worker  *
3549*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
3550*0e209d39SAndroid Build Coastguard Worker  * @return the paired bracket code point,
3551*0e209d39SAndroid Build Coastguard Worker  *         or c itself if there is no such mapping
3552*0e209d39SAndroid Build Coastguard Worker  *         (Bidi_Paired_Bracket_Type=None)
3553*0e209d39SAndroid Build Coastguard Worker  *
3554*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_BIDI_PAIRED_BRACKET
3555*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_BIDI_PAIRED_BRACKET_TYPE
3556*0e209d39SAndroid Build Coastguard Worker  * @see u_charMirror
3557*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 52
3558*0e209d39SAndroid Build Coastguard Worker  */
3559*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
3560*0e209d39SAndroid Build Coastguard Worker u_getBidiPairedBracket(UChar32 c) __INTRODUCED_IN(31);
3561*0e209d39SAndroid Build Coastguard Worker 
3562*0e209d39SAndroid Build Coastguard Worker 
3563*0e209d39SAndroid Build Coastguard Worker 
3564*0e209d39SAndroid Build Coastguard Worker /**
3565*0e209d39SAndroid Build Coastguard Worker  * Returns the general category value for the code point.
3566*0e209d39SAndroid Build Coastguard Worker  *
3567*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.getType().
3568*0e209d39SAndroid Build Coastguard Worker  *
3569*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3570*0e209d39SAndroid Build Coastguard Worker  * @return the general category (UCharCategory) value
3571*0e209d39SAndroid Build Coastguard Worker  *
3572*0e209d39SAndroid Build Coastguard Worker  * @see UCharCategory
3573*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3574*0e209d39SAndroid Build Coastguard Worker  */
3575*0e209d39SAndroid Build Coastguard Worker U_CAPI int8_t U_EXPORT2
3576*0e209d39SAndroid Build Coastguard Worker u_charType(UChar32 c) __INTRODUCED_IN(31);
3577*0e209d39SAndroid Build Coastguard Worker 
3578*0e209d39SAndroid Build Coastguard Worker 
3579*0e209d39SAndroid Build Coastguard Worker 
3580*0e209d39SAndroid Build Coastguard Worker /**
3581*0e209d39SAndroid Build Coastguard Worker  * Get a single-bit bit set for the general category of a character.
3582*0e209d39SAndroid Build Coastguard Worker  * This bit set can be compared bitwise with U_GC_SM_MASK, U_GC_L_MASK, etc.
3583*0e209d39SAndroid Build Coastguard Worker  * Same as U_MASK(u_charType(c)).
3584*0e209d39SAndroid Build Coastguard Worker  *
3585*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3586*0e209d39SAndroid Build Coastguard Worker  * @return a single-bit mask corresponding to the general category (UCharCategory) value
3587*0e209d39SAndroid Build Coastguard Worker  *
3588*0e209d39SAndroid Build Coastguard Worker  * @see u_charType
3589*0e209d39SAndroid Build Coastguard Worker  * @see UCharCategory
3590*0e209d39SAndroid Build Coastguard Worker  * @see U_GC_CN_MASK
3591*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
3592*0e209d39SAndroid Build Coastguard Worker  */
3593*0e209d39SAndroid Build Coastguard Worker #define U_GET_GC_MASK(c) U_MASK(u_charType(c))
3594*0e209d39SAndroid Build Coastguard Worker 
3595*0e209d39SAndroid Build Coastguard Worker /**
3596*0e209d39SAndroid Build Coastguard Worker  * Callback from u_enumCharTypes(), is called for each contiguous range
3597*0e209d39SAndroid Build Coastguard Worker  * of code points c (where start<=c<limit)
3598*0e209d39SAndroid Build Coastguard Worker  * with the same Unicode general category ("character type").
3599*0e209d39SAndroid Build Coastguard Worker  *
3600*0e209d39SAndroid Build Coastguard Worker  * The callback function can stop the enumeration by returning false.
3601*0e209d39SAndroid Build Coastguard Worker  *
3602*0e209d39SAndroid Build Coastguard Worker  * @param context an opaque pointer, as passed into utrie_enum()
3603*0e209d39SAndroid Build Coastguard Worker  * @param start the first code point in a contiguous range with value
3604*0e209d39SAndroid Build Coastguard Worker  * @param limit one past the last code point in a contiguous range with value
3605*0e209d39SAndroid Build Coastguard Worker  * @param type the general category for all code points in [start..limit[
3606*0e209d39SAndroid Build Coastguard Worker  * @return false to stop the enumeration
3607*0e209d39SAndroid Build Coastguard Worker  *
3608*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
3609*0e209d39SAndroid Build Coastguard Worker  * @see UCharCategory
3610*0e209d39SAndroid Build Coastguard Worker  * @see u_enumCharTypes
3611*0e209d39SAndroid Build Coastguard Worker  */
3612*0e209d39SAndroid Build Coastguard Worker typedef UBool U_CALLCONV
3613*0e209d39SAndroid Build Coastguard Worker UCharEnumTypeRange(const void *context, UChar32 start, UChar32 limit, UCharCategory type);
3614*0e209d39SAndroid Build Coastguard Worker 
3615*0e209d39SAndroid Build Coastguard Worker /**
3616*0e209d39SAndroid Build Coastguard Worker  * Enumerate efficiently all code points with their Unicode general categories.
3617*0e209d39SAndroid Build Coastguard Worker  *
3618*0e209d39SAndroid Build Coastguard Worker  * This is useful for building data structures (e.g., UnicodeSet's),
3619*0e209d39SAndroid Build Coastguard Worker  * for enumerating all assigned code points (type!=U_UNASSIGNED), etc.
3620*0e209d39SAndroid Build Coastguard Worker  *
3621*0e209d39SAndroid Build Coastguard Worker  * For each contiguous range of code points with a given general category ("character type"),
3622*0e209d39SAndroid Build Coastguard Worker  * the UCharEnumTypeRange function is called.
3623*0e209d39SAndroid Build Coastguard Worker  * Adjacent ranges have different types.
3624*0e209d39SAndroid Build Coastguard Worker  * The Unicode Standard guarantees that the numeric value of the type is 0..31.
3625*0e209d39SAndroid Build Coastguard Worker  *
3626*0e209d39SAndroid Build Coastguard Worker  * @param enumRange a pointer to a function that is called for each contiguous range
3627*0e209d39SAndroid Build Coastguard Worker  *                  of code points with the same general category
3628*0e209d39SAndroid Build Coastguard Worker  * @param context an opaque pointer that is passed on to the callback function
3629*0e209d39SAndroid Build Coastguard Worker  *
3630*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
3631*0e209d39SAndroid Build Coastguard Worker  * @see UCharCategory
3632*0e209d39SAndroid Build Coastguard Worker  * @see UCharEnumTypeRange
3633*0e209d39SAndroid Build Coastguard Worker  */
3634*0e209d39SAndroid Build Coastguard Worker U_CAPI void U_EXPORT2
3635*0e209d39SAndroid Build Coastguard Worker u_enumCharTypes(UCharEnumTypeRange *enumRange, const void *context) __INTRODUCED_IN(31);
3636*0e209d39SAndroid Build Coastguard Worker 
3637*0e209d39SAndroid Build Coastguard Worker 
3638*0e209d39SAndroid Build Coastguard Worker 
3639*0e209d39SAndroid Build Coastguard Worker #if !UCONFIG_NO_NORMALIZATION
3640*0e209d39SAndroid Build Coastguard Worker 
3641*0e209d39SAndroid Build Coastguard Worker /**
3642*0e209d39SAndroid Build Coastguard Worker  * Returns the combining class of the code point as specified in UnicodeData.txt.
3643*0e209d39SAndroid Build Coastguard Worker  *
3644*0e209d39SAndroid Build Coastguard Worker  * @param c the code point of the character
3645*0e209d39SAndroid Build Coastguard Worker  * @return the combining class of the character
3646*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3647*0e209d39SAndroid Build Coastguard Worker  */
3648*0e209d39SAndroid Build Coastguard Worker U_CAPI uint8_t U_EXPORT2
3649*0e209d39SAndroid Build Coastguard Worker u_getCombiningClass(UChar32 c) __INTRODUCED_IN(31);
3650*0e209d39SAndroid Build Coastguard Worker 
3651*0e209d39SAndroid Build Coastguard Worker 
3652*0e209d39SAndroid Build Coastguard Worker 
3653*0e209d39SAndroid Build Coastguard Worker #endif
3654*0e209d39SAndroid Build Coastguard Worker 
3655*0e209d39SAndroid Build Coastguard Worker /**
3656*0e209d39SAndroid Build Coastguard Worker  * Returns the decimal digit value of a decimal digit character.
3657*0e209d39SAndroid Build Coastguard Worker  * Such characters have the general category "Nd" (decimal digit numbers)
3658*0e209d39SAndroid Build Coastguard Worker  * and a Numeric_Type of Decimal.
3659*0e209d39SAndroid Build Coastguard Worker  *
3660*0e209d39SAndroid Build Coastguard Worker  * Unlike ICU releases before 2.6, no digit values are returned for any
3661*0e209d39SAndroid Build Coastguard Worker  * Han characters because Han number characters are often used with a special
3662*0e209d39SAndroid Build Coastguard Worker  * Chinese-style number format (with characters for powers of 10 in between)
3663*0e209d39SAndroid Build Coastguard Worker  * instead of in decimal-positional notation.
3664*0e209d39SAndroid Build Coastguard Worker  * Unicode 4 explicitly assigns Han number characters the Numeric_Type
3665*0e209d39SAndroid Build Coastguard Worker  * Numeric instead of Decimal.
3666*0e209d39SAndroid Build Coastguard Worker  * See Jitterbug 1483 for more details.
3667*0e209d39SAndroid Build Coastguard Worker  *
3668*0e209d39SAndroid Build Coastguard Worker  * Use u_getIntPropertyValue(c, UCHAR_NUMERIC_TYPE) and u_getNumericValue()
3669*0e209d39SAndroid Build Coastguard Worker  * for complete numeric Unicode properties.
3670*0e209d39SAndroid Build Coastguard Worker  *
3671*0e209d39SAndroid Build Coastguard Worker  * @param c the code point for which to get the decimal digit value
3672*0e209d39SAndroid Build Coastguard Worker  * @return the decimal digit value of c,
3673*0e209d39SAndroid Build Coastguard Worker  *         or -1 if c is not a decimal digit character
3674*0e209d39SAndroid Build Coastguard Worker  *
3675*0e209d39SAndroid Build Coastguard Worker  * @see u_getNumericValue
3676*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3677*0e209d39SAndroid Build Coastguard Worker  */
3678*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
3679*0e209d39SAndroid Build Coastguard Worker u_charDigitValue(UChar32 c) __INTRODUCED_IN(31);
3680*0e209d39SAndroid Build Coastguard Worker 
3681*0e209d39SAndroid Build Coastguard Worker 
3682*0e209d39SAndroid Build Coastguard Worker 
3683*0e209d39SAndroid Build Coastguard Worker 
3684*0e209d39SAndroid Build Coastguard Worker 
3685*0e209d39SAndroid Build Coastguard Worker /**
3686*0e209d39SAndroid Build Coastguard Worker  * Retrieve the name of a Unicode character.
3687*0e209d39SAndroid Build Coastguard Worker  * Depending on <code>nameChoice</code>, the character name written
3688*0e209d39SAndroid Build Coastguard Worker  * into the buffer is the "modern" name or the name that was defined
3689*0e209d39SAndroid Build Coastguard Worker  * in Unicode version 1.0.
3690*0e209d39SAndroid Build Coastguard Worker  * The name contains only "invariant" characters
3691*0e209d39SAndroid Build Coastguard Worker  * like A-Z, 0-9, space, and '-'.
3692*0e209d39SAndroid Build Coastguard Worker  * Unicode 1.0 names are only retrieved if they are different from the modern
3693*0e209d39SAndroid Build Coastguard Worker  * names and if the data file contains the data for them. gennames may or may
3694*0e209d39SAndroid Build Coastguard Worker  * not be called with a command line option to include 1.0 names in unames.dat.
3695*0e209d39SAndroid Build Coastguard Worker  *
3696*0e209d39SAndroid Build Coastguard Worker  * @param code The character (code point) for which to get the name.
3697*0e209d39SAndroid Build Coastguard Worker  *             It must be <code>0<=code<=0x10ffff</code>.
3698*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice Selector for which name to get.
3699*0e209d39SAndroid Build Coastguard Worker  * @param buffer Destination address for copying the name.
3700*0e209d39SAndroid Build Coastguard Worker  *               The name will always be zero-terminated.
3701*0e209d39SAndroid Build Coastguard Worker  *               If there is no name, then the buffer will be set to the empty string.
3702*0e209d39SAndroid Build Coastguard Worker  * @param bufferLength <code>==sizeof(buffer)</code>
3703*0e209d39SAndroid Build Coastguard Worker  * @param pErrorCode Pointer to a UErrorCode variable;
3704*0e209d39SAndroid Build Coastguard Worker  *        check for <code>U_SUCCESS()</code> after <code>u_charName()</code>
3705*0e209d39SAndroid Build Coastguard Worker  *        returns.
3706*0e209d39SAndroid Build Coastguard Worker  * @return The length of the name, or 0 if there is no name for this character.
3707*0e209d39SAndroid Build Coastguard Worker  *         If the bufferLength is less than or equal to the length, then the buffer
3708*0e209d39SAndroid Build Coastguard Worker  *         contains the truncated name and the returned length indicates the full
3709*0e209d39SAndroid Build Coastguard Worker  *         length of the name.
3710*0e209d39SAndroid Build Coastguard Worker  *         The length does not include the zero-termination.
3711*0e209d39SAndroid Build Coastguard Worker  *
3712*0e209d39SAndroid Build Coastguard Worker  * @see UCharNameChoice
3713*0e209d39SAndroid Build Coastguard Worker  * @see u_charFromName
3714*0e209d39SAndroid Build Coastguard Worker  * @see u_enumCharNames
3715*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3716*0e209d39SAndroid Build Coastguard Worker  */
3717*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
3718*0e209d39SAndroid Build Coastguard Worker u_charName(UChar32 code, UCharNameChoice nameChoice,
3719*0e209d39SAndroid Build Coastguard Worker            char *buffer, int32_t bufferLength,
3720*0e209d39SAndroid Build Coastguard Worker            UErrorCode *pErrorCode) __INTRODUCED_IN(31);
3721*0e209d39SAndroid Build Coastguard Worker 
3722*0e209d39SAndroid Build Coastguard Worker 
3723*0e209d39SAndroid Build Coastguard Worker 
3724*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DEPRECATED_API
3725*0e209d39SAndroid Build Coastguard Worker 
3726*0e209d39SAndroid Build Coastguard Worker #endif  /* U_HIDE_DEPRECATED_API */
3727*0e209d39SAndroid Build Coastguard Worker 
3728*0e209d39SAndroid Build Coastguard Worker /**
3729*0e209d39SAndroid Build Coastguard Worker  * Find a Unicode character by its name and return its code point value.
3730*0e209d39SAndroid Build Coastguard Worker  * The name is matched exactly and completely.
3731*0e209d39SAndroid Build Coastguard Worker  * If the name does not correspond to a code point, <i>pErrorCode</i>
3732*0e209d39SAndroid Build Coastguard Worker  * is set to <code>U_INVALID_CHAR_FOUND</code>.
3733*0e209d39SAndroid Build Coastguard Worker  * A Unicode 1.0 name is matched only if it differs from the modern name.
3734*0e209d39SAndroid Build Coastguard Worker  * Unicode names are all uppercase. Extended names are lowercase followed
3735*0e209d39SAndroid Build Coastguard Worker  * by an uppercase hexadecimal number, and within angle brackets.
3736*0e209d39SAndroid Build Coastguard Worker  *
3737*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice Selector for which name to match.
3738*0e209d39SAndroid Build Coastguard Worker  * @param name The name to match.
3739*0e209d39SAndroid Build Coastguard Worker  * @param pErrorCode Pointer to a UErrorCode variable
3740*0e209d39SAndroid Build Coastguard Worker  * @return The Unicode value of the code point with the given name,
3741*0e209d39SAndroid Build Coastguard Worker  *         or an undefined value if there is no such code point.
3742*0e209d39SAndroid Build Coastguard Worker  *
3743*0e209d39SAndroid Build Coastguard Worker  * @see UCharNameChoice
3744*0e209d39SAndroid Build Coastguard Worker  * @see u_charName
3745*0e209d39SAndroid Build Coastguard Worker  * @see u_enumCharNames
3746*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 1.7
3747*0e209d39SAndroid Build Coastguard Worker  */
3748*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
3749*0e209d39SAndroid Build Coastguard Worker u_charFromName(UCharNameChoice nameChoice,
3750*0e209d39SAndroid Build Coastguard Worker                const char *name,
3751*0e209d39SAndroid Build Coastguard Worker                UErrorCode *pErrorCode) __INTRODUCED_IN(31);
3752*0e209d39SAndroid Build Coastguard Worker 
3753*0e209d39SAndroid Build Coastguard Worker 
3754*0e209d39SAndroid Build Coastguard Worker 
3755*0e209d39SAndroid Build Coastguard Worker /**
3756*0e209d39SAndroid Build Coastguard Worker  * Type of a callback function for u_enumCharNames() that gets called
3757*0e209d39SAndroid Build Coastguard Worker  * for each Unicode character with the code point value and
3758*0e209d39SAndroid Build Coastguard Worker  * the character name.
3759*0e209d39SAndroid Build Coastguard Worker  * If such a function returns false, then the enumeration is stopped.
3760*0e209d39SAndroid Build Coastguard Worker  *
3761*0e209d39SAndroid Build Coastguard Worker  * @param context The context pointer that was passed to u_enumCharNames().
3762*0e209d39SAndroid Build Coastguard Worker  * @param code The Unicode code point for the character with this name.
3763*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice Selector for which kind of names is enumerated.
3764*0e209d39SAndroid Build Coastguard Worker  * @param name The character's name, zero-terminated.
3765*0e209d39SAndroid Build Coastguard Worker  * @param length The length of the name.
3766*0e209d39SAndroid Build Coastguard Worker  * @return true if the enumeration should continue, false to stop it.
3767*0e209d39SAndroid Build Coastguard Worker  *
3768*0e209d39SAndroid Build Coastguard Worker  * @see UCharNameChoice
3769*0e209d39SAndroid Build Coastguard Worker  * @see u_enumCharNames
3770*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 1.7
3771*0e209d39SAndroid Build Coastguard Worker  */
3772*0e209d39SAndroid Build Coastguard Worker typedef UBool U_CALLCONV UEnumCharNamesFn(void *context,
3773*0e209d39SAndroid Build Coastguard Worker                                UChar32 code,
3774*0e209d39SAndroid Build Coastguard Worker                                UCharNameChoice nameChoice,
3775*0e209d39SAndroid Build Coastguard Worker                                const char *name,
3776*0e209d39SAndroid Build Coastguard Worker                                int32_t length);
3777*0e209d39SAndroid Build Coastguard Worker 
3778*0e209d39SAndroid Build Coastguard Worker /**
3779*0e209d39SAndroid Build Coastguard Worker  * Enumerate all assigned Unicode characters between the start and limit
3780*0e209d39SAndroid Build Coastguard Worker  * code points (start inclusive, limit exclusive) and call a function
3781*0e209d39SAndroid Build Coastguard Worker  * for each, passing the code point value and the character name.
3782*0e209d39SAndroid Build Coastguard Worker  * For Unicode 1.0 names, only those are enumerated that differ from the
3783*0e209d39SAndroid Build Coastguard Worker  * modern names.
3784*0e209d39SAndroid Build Coastguard Worker  *
3785*0e209d39SAndroid Build Coastguard Worker  * @param start The first code point in the enumeration range.
3786*0e209d39SAndroid Build Coastguard Worker  * @param limit One more than the last code point in the enumeration range
3787*0e209d39SAndroid Build Coastguard Worker  *              (the first one after the range).
3788*0e209d39SAndroid Build Coastguard Worker  * @param fn The function that is to be called for each character name.
3789*0e209d39SAndroid Build Coastguard Worker  * @param context An arbitrary pointer that is passed to the function.
3790*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice Selector for which kind of names to enumerate.
3791*0e209d39SAndroid Build Coastguard Worker  * @param pErrorCode Pointer to a UErrorCode variable
3792*0e209d39SAndroid Build Coastguard Worker  *
3793*0e209d39SAndroid Build Coastguard Worker  * @see UCharNameChoice
3794*0e209d39SAndroid Build Coastguard Worker  * @see UEnumCharNamesFn
3795*0e209d39SAndroid Build Coastguard Worker  * @see u_charName
3796*0e209d39SAndroid Build Coastguard Worker  * @see u_charFromName
3797*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 1.7
3798*0e209d39SAndroid Build Coastguard Worker  */
3799*0e209d39SAndroid Build Coastguard Worker U_CAPI void U_EXPORT2
3800*0e209d39SAndroid Build Coastguard Worker u_enumCharNames(UChar32 start, UChar32 limit,
3801*0e209d39SAndroid Build Coastguard Worker                 UEnumCharNamesFn *fn,
3802*0e209d39SAndroid Build Coastguard Worker                 void *context,
3803*0e209d39SAndroid Build Coastguard Worker                 UCharNameChoice nameChoice,
3804*0e209d39SAndroid Build Coastguard Worker                 UErrorCode *pErrorCode) __INTRODUCED_IN(31);
3805*0e209d39SAndroid Build Coastguard Worker 
3806*0e209d39SAndroid Build Coastguard Worker 
3807*0e209d39SAndroid Build Coastguard Worker 
3808*0e209d39SAndroid Build Coastguard Worker /**
3809*0e209d39SAndroid Build Coastguard Worker  * Return the Unicode name for a given property, as given in the
3810*0e209d39SAndroid Build Coastguard Worker  * Unicode database file PropertyAliases.txt.
3811*0e209d39SAndroid Build Coastguard Worker  *
3812*0e209d39SAndroid Build Coastguard Worker  * In addition, this function maps the property
3813*0e209d39SAndroid Build Coastguard Worker  * UCHAR_GENERAL_CATEGORY_MASK to the synthetic names "gcm" /
3814*0e209d39SAndroid Build Coastguard Worker  * "General_Category_Mask".  These names are not in
3815*0e209d39SAndroid Build Coastguard Worker  * PropertyAliases.txt.
3816*0e209d39SAndroid Build Coastguard Worker  *
3817*0e209d39SAndroid Build Coastguard Worker  * @param property UProperty selector other than UCHAR_INVALID_CODE.
3818*0e209d39SAndroid Build Coastguard Worker  *         If out of range, NULL is returned.
3819*0e209d39SAndroid Build Coastguard Worker  *
3820*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice selector for which name to get.  If out of range,
3821*0e209d39SAndroid Build Coastguard Worker  *         NULL is returned.  All properties have a long name.  Most
3822*0e209d39SAndroid Build Coastguard Worker  *         have a short name, but some do not.  Unicode allows for
3823*0e209d39SAndroid Build Coastguard Worker  *         additional names; if present these will be returned by
3824*0e209d39SAndroid Build Coastguard Worker  *         U_LONG_PROPERTY_NAME + i, where i=1, 2,...
3825*0e209d39SAndroid Build Coastguard Worker  *
3826*0e209d39SAndroid Build Coastguard Worker  * @return a pointer to the name, or NULL if either the
3827*0e209d39SAndroid Build Coastguard Worker  *         property or the nameChoice is out of range.  If a given
3828*0e209d39SAndroid Build Coastguard Worker  *         nameChoice returns NULL, then all larger values of
3829*0e209d39SAndroid Build Coastguard Worker  *         nameChoice will return NULL, with one exception: if NULL is
3830*0e209d39SAndroid Build Coastguard Worker  *         returned for U_SHORT_PROPERTY_NAME, then
3831*0e209d39SAndroid Build Coastguard Worker  *         U_LONG_PROPERTY_NAME (and higher) may still return a
3832*0e209d39SAndroid Build Coastguard Worker  *         non-NULL value.  The returned pointer is valid until
3833*0e209d39SAndroid Build Coastguard Worker  *         u_cleanup() is called.
3834*0e209d39SAndroid Build Coastguard Worker  *
3835*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
3836*0e209d39SAndroid Build Coastguard Worker  * @see UPropertyNameChoice
3837*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
3838*0e209d39SAndroid Build Coastguard Worker  */
3839*0e209d39SAndroid Build Coastguard Worker U_CAPI const char* U_EXPORT2
3840*0e209d39SAndroid Build Coastguard Worker u_getPropertyName(UProperty property,
3841*0e209d39SAndroid Build Coastguard Worker                   UPropertyNameChoice nameChoice) __INTRODUCED_IN(31);
3842*0e209d39SAndroid Build Coastguard Worker 
3843*0e209d39SAndroid Build Coastguard Worker 
3844*0e209d39SAndroid Build Coastguard Worker 
3845*0e209d39SAndroid Build Coastguard Worker /**
3846*0e209d39SAndroid Build Coastguard Worker  * Return the UProperty enum for a given property name, as specified
3847*0e209d39SAndroid Build Coastguard Worker  * in the Unicode database file PropertyAliases.txt.  Short, long, and
3848*0e209d39SAndroid Build Coastguard Worker  * any other variants are recognized.
3849*0e209d39SAndroid Build Coastguard Worker  *
3850*0e209d39SAndroid Build Coastguard Worker  * In addition, this function maps the synthetic names "gcm" /
3851*0e209d39SAndroid Build Coastguard Worker  * "General_Category_Mask" to the property
3852*0e209d39SAndroid Build Coastguard Worker  * UCHAR_GENERAL_CATEGORY_MASK.  These names are not in
3853*0e209d39SAndroid Build Coastguard Worker  * PropertyAliases.txt.
3854*0e209d39SAndroid Build Coastguard Worker  *
3855*0e209d39SAndroid Build Coastguard Worker  * @param alias the property name to be matched.  The name is compared
3856*0e209d39SAndroid Build Coastguard Worker  *         using "loose matching" as described in PropertyAliases.txt.
3857*0e209d39SAndroid Build Coastguard Worker  *
3858*0e209d39SAndroid Build Coastguard Worker  * @return a UProperty enum, or UCHAR_INVALID_CODE if the given name
3859*0e209d39SAndroid Build Coastguard Worker  *         does not match any property.
3860*0e209d39SAndroid Build Coastguard Worker  *
3861*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
3862*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
3863*0e209d39SAndroid Build Coastguard Worker  */
3864*0e209d39SAndroid Build Coastguard Worker U_CAPI UProperty U_EXPORT2
3865*0e209d39SAndroid Build Coastguard Worker u_getPropertyEnum(const char* alias) __INTRODUCED_IN(31);
3866*0e209d39SAndroid Build Coastguard Worker 
3867*0e209d39SAndroid Build Coastguard Worker 
3868*0e209d39SAndroid Build Coastguard Worker 
3869*0e209d39SAndroid Build Coastguard Worker /**
3870*0e209d39SAndroid Build Coastguard Worker  * Return the Unicode name for a given property value, as given in the
3871*0e209d39SAndroid Build Coastguard Worker  * Unicode database file PropertyValueAliases.txt.
3872*0e209d39SAndroid Build Coastguard Worker  *
3873*0e209d39SAndroid Build Coastguard Worker  * Note: Some of the names in PropertyValueAliases.txt can only be
3874*0e209d39SAndroid Build Coastguard Worker  * retrieved using UCHAR_GENERAL_CATEGORY_MASK, not
3875*0e209d39SAndroid Build Coastguard Worker  * UCHAR_GENERAL_CATEGORY.  These include: "C" / "Other", "L" /
3876*0e209d39SAndroid Build Coastguard Worker  * "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P"
3877*0e209d39SAndroid Build Coastguard Worker  * / "Punctuation", "S" / "Symbol", and "Z" / "Separator".
3878*0e209d39SAndroid Build Coastguard Worker  *
3879*0e209d39SAndroid Build Coastguard Worker  * @param property UProperty selector constant.
3880*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3881*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
3882*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
3883*0e209d39SAndroid Build Coastguard Worker  *        If out of range, NULL is returned.
3884*0e209d39SAndroid Build Coastguard Worker  *
3885*0e209d39SAndroid Build Coastguard Worker  * @param value selector for a value for the given property.  If out
3886*0e209d39SAndroid Build Coastguard Worker  *         of range, NULL is returned.  In general, valid values range
3887*0e209d39SAndroid Build Coastguard Worker  *         from 0 up to some maximum.  There are a few exceptions:
3888*0e209d39SAndroid Build Coastguard Worker  *         (1.) UCHAR_BLOCK values begin at the non-zero value
3889*0e209d39SAndroid Build Coastguard Worker  *         UBLOCK_BASIC_LATIN.  (2.)  UCHAR_CANONICAL_COMBINING_CLASS
3890*0e209d39SAndroid Build Coastguard Worker  *         values are not contiguous and range from 0..240.  (3.)
3891*0e209d39SAndroid Build Coastguard Worker  *         UCHAR_GENERAL_CATEGORY_MASK values are not values of
3892*0e209d39SAndroid Build Coastguard Worker  *         UCharCategory, but rather mask values produced by
3893*0e209d39SAndroid Build Coastguard Worker  *         U_GET_GC_MASK().  This allows grouped categories such as
3894*0e209d39SAndroid Build Coastguard Worker  *         [:L:] to be represented.  Mask values range
3895*0e209d39SAndroid Build Coastguard Worker  *         non-contiguously from 1..U_GC_P_MASK.
3896*0e209d39SAndroid Build Coastguard Worker  *
3897*0e209d39SAndroid Build Coastguard Worker  * @param nameChoice selector for which name to get.  If out of range,
3898*0e209d39SAndroid Build Coastguard Worker  *         NULL is returned.  All values have a long name.  Most have
3899*0e209d39SAndroid Build Coastguard Worker  *         a short name, but some do not.  Unicode allows for
3900*0e209d39SAndroid Build Coastguard Worker  *         additional names; if present these will be returned by
3901*0e209d39SAndroid Build Coastguard Worker  *         U_LONG_PROPERTY_NAME + i, where i=1, 2,...
3902*0e209d39SAndroid Build Coastguard Worker 
3903*0e209d39SAndroid Build Coastguard Worker  * @return a pointer to the name, or NULL if either the
3904*0e209d39SAndroid Build Coastguard Worker  *         property or the nameChoice is out of range.  If a given
3905*0e209d39SAndroid Build Coastguard Worker  *         nameChoice returns NULL, then all larger values of
3906*0e209d39SAndroid Build Coastguard Worker  *         nameChoice will return NULL, with one exception: if NULL is
3907*0e209d39SAndroid Build Coastguard Worker  *         returned for U_SHORT_PROPERTY_NAME, then
3908*0e209d39SAndroid Build Coastguard Worker  *         U_LONG_PROPERTY_NAME (and higher) may still return a
3909*0e209d39SAndroid Build Coastguard Worker  *         non-NULL value.  The returned pointer is valid until
3910*0e209d39SAndroid Build Coastguard Worker  *         u_cleanup() is called.
3911*0e209d39SAndroid Build Coastguard Worker  *
3912*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
3913*0e209d39SAndroid Build Coastguard Worker  * @see UPropertyNameChoice
3914*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
3915*0e209d39SAndroid Build Coastguard Worker  */
3916*0e209d39SAndroid Build Coastguard Worker U_CAPI const char* U_EXPORT2
3917*0e209d39SAndroid Build Coastguard Worker u_getPropertyValueName(UProperty property,
3918*0e209d39SAndroid Build Coastguard Worker                        int32_t value,
3919*0e209d39SAndroid Build Coastguard Worker                        UPropertyNameChoice nameChoice) __INTRODUCED_IN(31);
3920*0e209d39SAndroid Build Coastguard Worker 
3921*0e209d39SAndroid Build Coastguard Worker 
3922*0e209d39SAndroid Build Coastguard Worker 
3923*0e209d39SAndroid Build Coastguard Worker /**
3924*0e209d39SAndroid Build Coastguard Worker  * Return the property value integer for a given value name, as
3925*0e209d39SAndroid Build Coastguard Worker  * specified in the Unicode database file PropertyValueAliases.txt.
3926*0e209d39SAndroid Build Coastguard Worker  * Short, long, and any other variants are recognized.
3927*0e209d39SAndroid Build Coastguard Worker  *
3928*0e209d39SAndroid Build Coastguard Worker  * Note: Some of the names in PropertyValueAliases.txt will only be
3929*0e209d39SAndroid Build Coastguard Worker  * recognized with UCHAR_GENERAL_CATEGORY_MASK, not
3930*0e209d39SAndroid Build Coastguard Worker  * UCHAR_GENERAL_CATEGORY.  These include: "C" / "Other", "L" /
3931*0e209d39SAndroid Build Coastguard Worker  * "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P"
3932*0e209d39SAndroid Build Coastguard Worker  * / "Punctuation", "S" / "Symbol", and "Z" / "Separator".
3933*0e209d39SAndroid Build Coastguard Worker  *
3934*0e209d39SAndroid Build Coastguard Worker  * @param property UProperty selector constant.
3935*0e209d39SAndroid Build Coastguard Worker  *        Must be UCHAR_BINARY_START<=which<UCHAR_BINARY_LIMIT
3936*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_INT_START<=which<UCHAR_INT_LIMIT
3937*0e209d39SAndroid Build Coastguard Worker  *        or UCHAR_MASK_START<=which<UCHAR_MASK_LIMIT.
3938*0e209d39SAndroid Build Coastguard Worker  *        If out of range, UCHAR_INVALID_CODE is returned.
3939*0e209d39SAndroid Build Coastguard Worker  *
3940*0e209d39SAndroid Build Coastguard Worker  * @param alias the value name to be matched.  The name is compared
3941*0e209d39SAndroid Build Coastguard Worker  *         using "loose matching" as described in
3942*0e209d39SAndroid Build Coastguard Worker  *         PropertyValueAliases.txt.
3943*0e209d39SAndroid Build Coastguard Worker  *
3944*0e209d39SAndroid Build Coastguard Worker  * @return a value integer or UCHAR_INVALID_CODE if the given name
3945*0e209d39SAndroid Build Coastguard Worker  *         does not match any value of the given property, or if the
3946*0e209d39SAndroid Build Coastguard Worker  *         property is invalid.  Note: UCHAR_GENERAL_CATEGORY_MASK values
3947*0e209d39SAndroid Build Coastguard Worker  *         are not values of UCharCategory, but rather mask values
3948*0e209d39SAndroid Build Coastguard Worker  *         produced by U_GET_GC_MASK().  This allows grouped
3949*0e209d39SAndroid Build Coastguard Worker  *         categories such as [:L:] to be represented.
3950*0e209d39SAndroid Build Coastguard Worker  *
3951*0e209d39SAndroid Build Coastguard Worker  * @see UProperty
3952*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.4
3953*0e209d39SAndroid Build Coastguard Worker  */
3954*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
3955*0e209d39SAndroid Build Coastguard Worker u_getPropertyValueEnum(UProperty property,
3956*0e209d39SAndroid Build Coastguard Worker                        const char* alias) __INTRODUCED_IN(31);
3957*0e209d39SAndroid Build Coastguard Worker 
3958*0e209d39SAndroid Build Coastguard Worker 
3959*0e209d39SAndroid Build Coastguard Worker 
3960*0e209d39SAndroid Build Coastguard Worker /**
3961*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character is permissible as the first character in an identifier
3962*0e209d39SAndroid Build Coastguard Worker  * according to UAX #31 Unicode Identifier and Pattern Syntax.
3963*0e209d39SAndroid Build Coastguard Worker  *
3964*0e209d39SAndroid Build Coastguard Worker  * Same as Unicode ID_Start (UCHAR_ID_START).
3965*0e209d39SAndroid Build Coastguard Worker  *
3966*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3967*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point may start an identifier
3968*0e209d39SAndroid Build Coastguard Worker  *
3969*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_ID_START
3970*0e209d39SAndroid Build Coastguard Worker  * @see u_isalpha
3971*0e209d39SAndroid Build Coastguard Worker  * @see u_isIDPart
3972*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3973*0e209d39SAndroid Build Coastguard Worker  */
3974*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3975*0e209d39SAndroid Build Coastguard Worker u_isIDStart(UChar32 c) __INTRODUCED_IN(31);
3976*0e209d39SAndroid Build Coastguard Worker 
3977*0e209d39SAndroid Build Coastguard Worker 
3978*0e209d39SAndroid Build Coastguard Worker 
3979*0e209d39SAndroid Build Coastguard Worker /**
3980*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character is permissible as a non-initial character of an identifier
3981*0e209d39SAndroid Build Coastguard Worker  * according to UAX #31 Unicode Identifier and Pattern Syntax.
3982*0e209d39SAndroid Build Coastguard Worker  *
3983*0e209d39SAndroid Build Coastguard Worker  * Same as Unicode ID_Continue (UCHAR_ID_CONTINUE).
3984*0e209d39SAndroid Build Coastguard Worker  *
3985*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
3986*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point may occur as a non-initial character of an identifier
3987*0e209d39SAndroid Build Coastguard Worker  *
3988*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_ID_CONTINUE
3989*0e209d39SAndroid Build Coastguard Worker  * @see u_isIDStart
3990*0e209d39SAndroid Build Coastguard Worker  * @see u_isIDIgnorable
3991*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
3992*0e209d39SAndroid Build Coastguard Worker  */
3993*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
3994*0e209d39SAndroid Build Coastguard Worker u_isIDPart(UChar32 c) __INTRODUCED_IN(31);
3995*0e209d39SAndroid Build Coastguard Worker 
3996*0e209d39SAndroid Build Coastguard Worker 
3997*0e209d39SAndroid Build Coastguard Worker 
3998*0e209d39SAndroid Build Coastguard Worker #ifndef U_HIDE_DRAFT_API
3999*0e209d39SAndroid Build Coastguard Worker 
4000*0e209d39SAndroid Build Coastguard Worker 
4001*0e209d39SAndroid Build Coastguard Worker 
4002*0e209d39SAndroid Build Coastguard Worker #endif  // U_HIDE_DRAFT_API
4003*0e209d39SAndroid Build Coastguard Worker 
4004*0e209d39SAndroid Build Coastguard Worker /**
4005*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character should be regarded
4006*0e209d39SAndroid Build Coastguard Worker  * as an ignorable character in an identifier,
4007*0e209d39SAndroid Build Coastguard Worker  * according to Java.
4008*0e209d39SAndroid Build Coastguard Worker  * True for characters with general category "Cf" (format controls) as well as
4009*0e209d39SAndroid Build Coastguard Worker  * non-whitespace ISO controls
4010*0e209d39SAndroid Build Coastguard Worker  * (U+0000..U+0008, U+000E..U+001B, U+007F..U+009F).
4011*0e209d39SAndroid Build Coastguard Worker  *
4012*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isIdentifierIgnorable().
4013*0e209d39SAndroid Build Coastguard Worker  *
4014*0e209d39SAndroid Build Coastguard Worker  * Note that Unicode just recommends to ignore Cf (format controls).
4015*0e209d39SAndroid Build Coastguard Worker  *
4016*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
4017*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point is ignorable in identifiers according to Java
4018*0e209d39SAndroid Build Coastguard Worker  *
4019*0e209d39SAndroid Build Coastguard Worker  * @see UCHAR_DEFAULT_IGNORABLE_CODE_POINT
4020*0e209d39SAndroid Build Coastguard Worker  * @see u_isIDStart
4021*0e209d39SAndroid Build Coastguard Worker  * @see u_isIDPart
4022*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4023*0e209d39SAndroid Build Coastguard Worker  */
4024*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
4025*0e209d39SAndroid Build Coastguard Worker u_isIDIgnorable(UChar32 c) __INTRODUCED_IN(31);
4026*0e209d39SAndroid Build Coastguard Worker 
4027*0e209d39SAndroid Build Coastguard Worker 
4028*0e209d39SAndroid Build Coastguard Worker 
4029*0e209d39SAndroid Build Coastguard Worker /**
4030*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character is permissible as the
4031*0e209d39SAndroid Build Coastguard Worker  * first character in a Java identifier.
4032*0e209d39SAndroid Build Coastguard Worker  * In addition to u_isIDStart(c), true for characters with
4033*0e209d39SAndroid Build Coastguard Worker  * general categories "Sc" (currency symbols) and "Pc" (connecting punctuation).
4034*0e209d39SAndroid Build Coastguard Worker  *
4035*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isJavaIdentifierStart().
4036*0e209d39SAndroid Build Coastguard Worker  *
4037*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
4038*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point may start a Java identifier
4039*0e209d39SAndroid Build Coastguard Worker  *
4040*0e209d39SAndroid Build Coastguard Worker  * @see     u_isJavaIDPart
4041*0e209d39SAndroid Build Coastguard Worker  * @see     u_isalpha
4042*0e209d39SAndroid Build Coastguard Worker  * @see     u_isIDStart
4043*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4044*0e209d39SAndroid Build Coastguard Worker  */
4045*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
4046*0e209d39SAndroid Build Coastguard Worker u_isJavaIDStart(UChar32 c) __INTRODUCED_IN(31);
4047*0e209d39SAndroid Build Coastguard Worker 
4048*0e209d39SAndroid Build Coastguard Worker 
4049*0e209d39SAndroid Build Coastguard Worker 
4050*0e209d39SAndroid Build Coastguard Worker /**
4051*0e209d39SAndroid Build Coastguard Worker  * Determines if the specified character is permissible
4052*0e209d39SAndroid Build Coastguard Worker  * in a Java identifier.
4053*0e209d39SAndroid Build Coastguard Worker  * In addition to u_isIDPart(c), true for characters with
4054*0e209d39SAndroid Build Coastguard Worker  * general category "Sc" (currency symbols).
4055*0e209d39SAndroid Build Coastguard Worker  *
4056*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.isJavaIdentifierPart().
4057*0e209d39SAndroid Build Coastguard Worker  *
4058*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be tested
4059*0e209d39SAndroid Build Coastguard Worker  * @return true if the code point may occur in a Java identifier
4060*0e209d39SAndroid Build Coastguard Worker  *
4061*0e209d39SAndroid Build Coastguard Worker  * @see     u_isIDIgnorable
4062*0e209d39SAndroid Build Coastguard Worker  * @see     u_isJavaIDStart
4063*0e209d39SAndroid Build Coastguard Worker  * @see     u_isalpha
4064*0e209d39SAndroid Build Coastguard Worker  * @see     u_isdigit
4065*0e209d39SAndroid Build Coastguard Worker  * @see     u_isIDPart
4066*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4067*0e209d39SAndroid Build Coastguard Worker  */
4068*0e209d39SAndroid Build Coastguard Worker U_CAPI UBool U_EXPORT2
4069*0e209d39SAndroid Build Coastguard Worker u_isJavaIDPart(UChar32 c) __INTRODUCED_IN(31);
4070*0e209d39SAndroid Build Coastguard Worker 
4071*0e209d39SAndroid Build Coastguard Worker 
4072*0e209d39SAndroid Build Coastguard Worker 
4073*0e209d39SAndroid Build Coastguard Worker /**
4074*0e209d39SAndroid Build Coastguard Worker  * The given character is mapped to its lowercase equivalent according to
4075*0e209d39SAndroid Build Coastguard Worker  * UnicodeData.txt; if the character has no lowercase equivalent, the character
4076*0e209d39SAndroid Build Coastguard Worker  * itself is returned.
4077*0e209d39SAndroid Build Coastguard Worker  *
4078*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.toLowerCase().
4079*0e209d39SAndroid Build Coastguard Worker  *
4080*0e209d39SAndroid Build Coastguard Worker  * This function only returns the simple, single-code point case mapping.
4081*0e209d39SAndroid Build Coastguard Worker  * Full case mappings should be used whenever possible because they produce
4082*0e209d39SAndroid Build Coastguard Worker  * better results by working on whole strings.
4083*0e209d39SAndroid Build Coastguard Worker  * They take into account the string context and the language and can map
4084*0e209d39SAndroid Build Coastguard Worker  * to a result string with a different length as appropriate.
4085*0e209d39SAndroid Build Coastguard Worker  * Full case mappings are applied by the string case mapping functions,
4086*0e209d39SAndroid Build Coastguard Worker  * see ustring.h and the UnicodeString class.
4087*0e209d39SAndroid Build Coastguard Worker  * See also the User Guide chapter on C/POSIX migration:
4088*0e209d39SAndroid Build Coastguard Worker  * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4089*0e209d39SAndroid Build Coastguard Worker  *
4090*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
4091*0e209d39SAndroid Build Coastguard Worker  * @return the Simple_Lowercase_Mapping of the code point, if any;
4092*0e209d39SAndroid Build Coastguard Worker  *         otherwise the code point itself.
4093*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4094*0e209d39SAndroid Build Coastguard Worker  */
4095*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
4096*0e209d39SAndroid Build Coastguard Worker u_tolower(UChar32 c) __INTRODUCED_IN(31);
4097*0e209d39SAndroid Build Coastguard Worker 
4098*0e209d39SAndroid Build Coastguard Worker 
4099*0e209d39SAndroid Build Coastguard Worker 
4100*0e209d39SAndroid Build Coastguard Worker /**
4101*0e209d39SAndroid Build Coastguard Worker  * The given character is mapped to its uppercase equivalent according to UnicodeData.txt;
4102*0e209d39SAndroid Build Coastguard Worker  * if the character has no uppercase equivalent, the character itself is
4103*0e209d39SAndroid Build Coastguard Worker  * returned.
4104*0e209d39SAndroid Build Coastguard Worker  *
4105*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.toUpperCase().
4106*0e209d39SAndroid Build Coastguard Worker  *
4107*0e209d39SAndroid Build Coastguard Worker  * This function only returns the simple, single-code point case mapping.
4108*0e209d39SAndroid Build Coastguard Worker  * Full case mappings should be used whenever possible because they produce
4109*0e209d39SAndroid Build Coastguard Worker  * better results by working on whole strings.
4110*0e209d39SAndroid Build Coastguard Worker  * They take into account the string context and the language and can map
4111*0e209d39SAndroid Build Coastguard Worker  * to a result string with a different length as appropriate.
4112*0e209d39SAndroid Build Coastguard Worker  * Full case mappings are applied by the string case mapping functions,
4113*0e209d39SAndroid Build Coastguard Worker  * see ustring.h and the UnicodeString class.
4114*0e209d39SAndroid Build Coastguard Worker  * See also the User Guide chapter on C/POSIX migration:
4115*0e209d39SAndroid Build Coastguard Worker  * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4116*0e209d39SAndroid Build Coastguard Worker  *
4117*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
4118*0e209d39SAndroid Build Coastguard Worker  * @return the Simple_Uppercase_Mapping of the code point, if any;
4119*0e209d39SAndroid Build Coastguard Worker  *         otherwise the code point itself.
4120*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4121*0e209d39SAndroid Build Coastguard Worker  */
4122*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
4123*0e209d39SAndroid Build Coastguard Worker u_toupper(UChar32 c) __INTRODUCED_IN(31);
4124*0e209d39SAndroid Build Coastguard Worker 
4125*0e209d39SAndroid Build Coastguard Worker 
4126*0e209d39SAndroid Build Coastguard Worker 
4127*0e209d39SAndroid Build Coastguard Worker /**
4128*0e209d39SAndroid Build Coastguard Worker  * The given character is mapped to its titlecase equivalent
4129*0e209d39SAndroid Build Coastguard Worker  * according to UnicodeData.txt;
4130*0e209d39SAndroid Build Coastguard Worker  * if none is defined, the character itself is returned.
4131*0e209d39SAndroid Build Coastguard Worker  *
4132*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.toTitleCase().
4133*0e209d39SAndroid Build Coastguard Worker  *
4134*0e209d39SAndroid Build Coastguard Worker  * This function only returns the simple, single-code point case mapping.
4135*0e209d39SAndroid Build Coastguard Worker  * Full case mappings should be used whenever possible because they produce
4136*0e209d39SAndroid Build Coastguard Worker  * better results by working on whole strings.
4137*0e209d39SAndroid Build Coastguard Worker  * They take into account the string context and the language and can map
4138*0e209d39SAndroid Build Coastguard Worker  * to a result string with a different length as appropriate.
4139*0e209d39SAndroid Build Coastguard Worker  * Full case mappings are applied by the string case mapping functions,
4140*0e209d39SAndroid Build Coastguard Worker  * see ustring.h and the UnicodeString class.
4141*0e209d39SAndroid Build Coastguard Worker  * See also the User Guide chapter on C/POSIX migration:
4142*0e209d39SAndroid Build Coastguard Worker  * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4143*0e209d39SAndroid Build Coastguard Worker  *
4144*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
4145*0e209d39SAndroid Build Coastguard Worker  * @return the Simple_Titlecase_Mapping of the code point, if any;
4146*0e209d39SAndroid Build Coastguard Worker  *         otherwise the code point itself.
4147*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4148*0e209d39SAndroid Build Coastguard Worker  */
4149*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
4150*0e209d39SAndroid Build Coastguard Worker u_totitle(UChar32 c) __INTRODUCED_IN(31);
4151*0e209d39SAndroid Build Coastguard Worker 
4152*0e209d39SAndroid Build Coastguard Worker 
4153*0e209d39SAndroid Build Coastguard Worker 
4154*0e209d39SAndroid Build Coastguard Worker /**
4155*0e209d39SAndroid Build Coastguard Worker  * The given character is mapped to its case folding equivalent according to
4156*0e209d39SAndroid Build Coastguard Worker  * UnicodeData.txt and CaseFolding.txt;
4157*0e209d39SAndroid Build Coastguard Worker  * if the character has no case folding equivalent, the character
4158*0e209d39SAndroid Build Coastguard Worker  * itself is returned.
4159*0e209d39SAndroid Build Coastguard Worker  *
4160*0e209d39SAndroid Build Coastguard Worker  * This function only returns the simple, single-code point case mapping.
4161*0e209d39SAndroid Build Coastguard Worker  * Full case mappings should be used whenever possible because they produce
4162*0e209d39SAndroid Build Coastguard Worker  * better results by working on whole strings.
4163*0e209d39SAndroid Build Coastguard Worker  * They take into account the string context and the language and can map
4164*0e209d39SAndroid Build Coastguard Worker  * to a result string with a different length as appropriate.
4165*0e209d39SAndroid Build Coastguard Worker  * Full case mappings are applied by the string case mapping functions,
4166*0e209d39SAndroid Build Coastguard Worker  * see ustring.h and the UnicodeString class.
4167*0e209d39SAndroid Build Coastguard Worker  * See also the User Guide chapter on C/POSIX migration:
4168*0e209d39SAndroid Build Coastguard Worker  * https://unicode-org.github.io/icu/userguide/icu/posix#case-mappings
4169*0e209d39SAndroid Build Coastguard Worker  *
4170*0e209d39SAndroid Build Coastguard Worker  * @param c the code point to be mapped
4171*0e209d39SAndroid Build Coastguard Worker  * @param options Either U_FOLD_CASE_DEFAULT or U_FOLD_CASE_EXCLUDE_SPECIAL_I
4172*0e209d39SAndroid Build Coastguard Worker  * @return the Simple_Case_Folding of the code point, if any;
4173*0e209d39SAndroid Build Coastguard Worker  *         otherwise the code point itself.
4174*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4175*0e209d39SAndroid Build Coastguard Worker  */
4176*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
4177*0e209d39SAndroid Build Coastguard Worker u_foldCase(UChar32 c, uint32_t options) __INTRODUCED_IN(31);
4178*0e209d39SAndroid Build Coastguard Worker 
4179*0e209d39SAndroid Build Coastguard Worker 
4180*0e209d39SAndroid Build Coastguard Worker 
4181*0e209d39SAndroid Build Coastguard Worker /**
4182*0e209d39SAndroid Build Coastguard Worker  * Returns the decimal digit value of the code point in the
4183*0e209d39SAndroid Build Coastguard Worker  * specified radix.
4184*0e209d39SAndroid Build Coastguard Worker  *
4185*0e209d39SAndroid Build Coastguard Worker  * If the radix is not in the range <code>2<=radix<=36</code> or if the
4186*0e209d39SAndroid Build Coastguard Worker  * value of <code>c</code> is not a valid digit in the specified
4187*0e209d39SAndroid Build Coastguard Worker  * radix, <code>-1</code> is returned. A character is a valid digit
4188*0e209d39SAndroid Build Coastguard Worker  * if at least one of the following is true:
4189*0e209d39SAndroid Build Coastguard Worker  * <ul>
4190*0e209d39SAndroid Build Coastguard Worker  * <li>The character has a decimal digit value.
4191*0e209d39SAndroid Build Coastguard Worker  *     Such characters have the general category "Nd" (decimal digit numbers)
4192*0e209d39SAndroid Build Coastguard Worker  *     and a Numeric_Type of Decimal.
4193*0e209d39SAndroid Build Coastguard Worker  *     In this case the value is the character's decimal digit value.</li>
4194*0e209d39SAndroid Build Coastguard Worker  * <li>The character is one of the uppercase Latin letters
4195*0e209d39SAndroid Build Coastguard Worker  *     <code>'A'</code> through <code>'Z'</code>.
4196*0e209d39SAndroid Build Coastguard Worker  *     In this case the value is <code>c-'A'+10</code>.</li>
4197*0e209d39SAndroid Build Coastguard Worker  * <li>The character is one of the lowercase Latin letters
4198*0e209d39SAndroid Build Coastguard Worker  *     <code>'a'</code> through <code>'z'</code>.
4199*0e209d39SAndroid Build Coastguard Worker  *     In this case the value is <code>ch-'a'+10</code>.</li>
4200*0e209d39SAndroid Build Coastguard Worker  * <li>Latin letters from both the ASCII range (0061..007A, 0041..005A)
4201*0e209d39SAndroid Build Coastguard Worker  *     as well as from the Fullwidth ASCII range (FF41..FF5A, FF21..FF3A)
4202*0e209d39SAndroid Build Coastguard Worker  *     are recognized.</li>
4203*0e209d39SAndroid Build Coastguard Worker  * </ul>
4204*0e209d39SAndroid Build Coastguard Worker  *
4205*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.digit().
4206*0e209d39SAndroid Build Coastguard Worker  *
4207*0e209d39SAndroid Build Coastguard Worker  * @param   ch      the code point to be tested.
4208*0e209d39SAndroid Build Coastguard Worker  * @param   radix   the radix.
4209*0e209d39SAndroid Build Coastguard Worker  * @return  the numeric value represented by the character in the
4210*0e209d39SAndroid Build Coastguard Worker  *          specified radix,
4211*0e209d39SAndroid Build Coastguard Worker  *          or -1 if there is no value or if the value exceeds the radix.
4212*0e209d39SAndroid Build Coastguard Worker  *
4213*0e209d39SAndroid Build Coastguard Worker  * @see     UCHAR_NUMERIC_TYPE
4214*0e209d39SAndroid Build Coastguard Worker  * @see     u_forDigit
4215*0e209d39SAndroid Build Coastguard Worker  * @see     u_charDigitValue
4216*0e209d39SAndroid Build Coastguard Worker  * @see     u_isdigit
4217*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4218*0e209d39SAndroid Build Coastguard Worker  */
4219*0e209d39SAndroid Build Coastguard Worker U_CAPI int32_t U_EXPORT2
4220*0e209d39SAndroid Build Coastguard Worker u_digit(UChar32 ch, int8_t radix) __INTRODUCED_IN(31);
4221*0e209d39SAndroid Build Coastguard Worker 
4222*0e209d39SAndroid Build Coastguard Worker 
4223*0e209d39SAndroid Build Coastguard Worker 
4224*0e209d39SAndroid Build Coastguard Worker /**
4225*0e209d39SAndroid Build Coastguard Worker  * Determines the character representation for a specific digit in
4226*0e209d39SAndroid Build Coastguard Worker  * the specified radix. If the value of <code>radix</code> is not a
4227*0e209d39SAndroid Build Coastguard Worker  * valid radix, or the value of <code>digit</code> is not a valid
4228*0e209d39SAndroid Build Coastguard Worker  * digit in the specified radix, the null character
4229*0e209d39SAndroid Build Coastguard Worker  * (<code>U+0000</code>) is returned.
4230*0e209d39SAndroid Build Coastguard Worker  * <p>
4231*0e209d39SAndroid Build Coastguard Worker  * The <code>radix</code> argument is valid if it is greater than or
4232*0e209d39SAndroid Build Coastguard Worker  * equal to 2 and less than or equal to 36.
4233*0e209d39SAndroid Build Coastguard Worker  * The <code>digit</code> argument is valid if
4234*0e209d39SAndroid Build Coastguard Worker  * <code>0 <= digit < radix</code>.
4235*0e209d39SAndroid Build Coastguard Worker  * <p>
4236*0e209d39SAndroid Build Coastguard Worker  * If the digit is less than 10, then
4237*0e209d39SAndroid Build Coastguard Worker  * <code>'0' + digit</code> is returned. Otherwise, the value
4238*0e209d39SAndroid Build Coastguard Worker  * <code>'a' + digit - 10</code> is returned.
4239*0e209d39SAndroid Build Coastguard Worker  *
4240*0e209d39SAndroid Build Coastguard Worker  * Same as java.lang.Character.forDigit().
4241*0e209d39SAndroid Build Coastguard Worker  *
4242*0e209d39SAndroid Build Coastguard Worker  * @param   digit   the number to convert to a character.
4243*0e209d39SAndroid Build Coastguard Worker  * @param   radix   the radix.
4244*0e209d39SAndroid Build Coastguard Worker  * @return  the <code>char</code> representation of the specified digit
4245*0e209d39SAndroid Build Coastguard Worker  *          in the specified radix.
4246*0e209d39SAndroid Build Coastguard Worker  *
4247*0e209d39SAndroid Build Coastguard Worker  * @see     u_digit
4248*0e209d39SAndroid Build Coastguard Worker  * @see     u_charDigitValue
4249*0e209d39SAndroid Build Coastguard Worker  * @see     u_isdigit
4250*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4251*0e209d39SAndroid Build Coastguard Worker  */
4252*0e209d39SAndroid Build Coastguard Worker U_CAPI UChar32 U_EXPORT2
4253*0e209d39SAndroid Build Coastguard Worker u_forDigit(int32_t digit, int8_t radix) __INTRODUCED_IN(31);
4254*0e209d39SAndroid Build Coastguard Worker 
4255*0e209d39SAndroid Build Coastguard Worker 
4256*0e209d39SAndroid Build Coastguard Worker 
4257*0e209d39SAndroid Build Coastguard Worker /**
4258*0e209d39SAndroid Build Coastguard Worker  * Get the "age" of the code point.
4259*0e209d39SAndroid Build Coastguard Worker  * The "age" is the Unicode version when the code point was first
4260*0e209d39SAndroid Build Coastguard Worker  * designated (as a non-character or for Private Use)
4261*0e209d39SAndroid Build Coastguard Worker  * or assigned a character.
4262*0e209d39SAndroid Build Coastguard Worker  * This can be useful to avoid emitting code points to receiving
4263*0e209d39SAndroid Build Coastguard Worker  * processes that do not accept newer characters.
4264*0e209d39SAndroid Build Coastguard Worker  * The data is from the UCD file DerivedAge.txt.
4265*0e209d39SAndroid Build Coastguard Worker  *
4266*0e209d39SAndroid Build Coastguard Worker  * @param c The code point.
4267*0e209d39SAndroid Build Coastguard Worker  * @param versionArray The Unicode version number array, to be filled in.
4268*0e209d39SAndroid Build Coastguard Worker  *
4269*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.1
4270*0e209d39SAndroid Build Coastguard Worker  */
4271*0e209d39SAndroid Build Coastguard Worker U_CAPI void U_EXPORT2
4272*0e209d39SAndroid Build Coastguard Worker u_charAge(UChar32 c, UVersionInfo versionArray) __INTRODUCED_IN(31);
4273*0e209d39SAndroid Build Coastguard Worker 
4274*0e209d39SAndroid Build Coastguard Worker 
4275*0e209d39SAndroid Build Coastguard Worker 
4276*0e209d39SAndroid Build Coastguard Worker /**
4277*0e209d39SAndroid Build Coastguard Worker  * Gets the Unicode version information.
4278*0e209d39SAndroid Build Coastguard Worker  * The version array is filled in with the version information
4279*0e209d39SAndroid Build Coastguard Worker  * for the Unicode standard that is currently used by ICU.
4280*0e209d39SAndroid Build Coastguard Worker  * For example, Unicode version 3.1.1 is represented as an array with
4281*0e209d39SAndroid Build Coastguard Worker  * the values { 3, 1, 1, 0 }.
4282*0e209d39SAndroid Build Coastguard Worker  *
4283*0e209d39SAndroid Build Coastguard Worker  * @param versionArray an output array that will be filled in with
4284*0e209d39SAndroid Build Coastguard Worker  *                     the Unicode version number
4285*0e209d39SAndroid Build Coastguard Worker  * \xrefitem stable "Stable" "Stable List" ICU 2.0
4286*0e209d39SAndroid Build Coastguard Worker  */
4287*0e209d39SAndroid Build Coastguard Worker U_CAPI void U_EXPORT2
4288*0e209d39SAndroid Build Coastguard Worker u_getUnicodeVersion(UVersionInfo versionArray) __INTRODUCED_IN(31);
4289*0e209d39SAndroid Build Coastguard Worker 
4290*0e209d39SAndroid Build Coastguard Worker 
4291*0e209d39SAndroid Build Coastguard Worker 
4292*0e209d39SAndroid Build Coastguard Worker #if !UCONFIG_NO_NORMALIZATION
4293*0e209d39SAndroid Build Coastguard Worker 
4294*0e209d39SAndroid Build Coastguard Worker 
4295*0e209d39SAndroid Build Coastguard Worker #endif
4296*0e209d39SAndroid Build Coastguard Worker 
4297*0e209d39SAndroid Build Coastguard Worker 
4298*0e209d39SAndroid Build Coastguard Worker U_CDECL_END
4299*0e209d39SAndroid Build Coastguard Worker 
4300*0e209d39SAndroid Build Coastguard Worker #endif /*_UCHAR*/
4301*0e209d39SAndroid Build Coastguard Worker /*eof*/
4302*0e209d39SAndroid Build Coastguard Worker 
4303*0e209d39SAndroid Build Coastguard Worker /** @} */ // addtogroup
4304