Home | History | Annotate | Download | only in unicode

Lines Matching full:code

19  * \brief C API: Code point macros
21 * This file defines macros for checking whether a code point is
24 * The UChar and UChar32 data types for Unicode code units and code points
28 * common definitions. Those files define macros for efficiently getting code points
36 * like regular code points where possible.
37 * (Pairs of surrogate code points are indistinguishable from supplementary
38 * code points encoded as pairs of supplementary code units.)
40 * In fact, almost all Unicode code points in normal text (>99%)
42 * ICU functions handle supplementary code points (U+10000..U+10ffff)
43 * but are optimized for the much more frequently occurring BMP code points.
49 * Unicode code point (Unicode scalar value, 0..0x10ffff).
53 * utf.h also defines a small number of C macros for single Unicode code points.
59 * The macros will detect if a surrogate code unit is unpaired
61 * as the code point.
64 * of Unicode code points.)
68 * code unit. This is usually done with code similar to the following loop:
77 * These do not check for proper code unit sequences or truncated text and may
80 * In practice, U16_..._UNSAFE macros will produce slightly less code but
82 * surrogate code unit is detected, which will be rare.
95 * code point values (0..U+10ffff). They are indicated with negative values instead.
114 /* single-code point definitions -------------------------------------------- */
118 * (take or) return single code points (UChar32).
119 * It is outside of the Unicode code point range 0..0x10ffff.
137 * Is this code point a Unicode noncharacter?
138 * @param c 32-bit code point
148 * Is c a Unicode code point value (0..U+10ffff)
151 * Code points that are not characters include:
152 * - single surrogate code points (U+d800..U+dfff, 2048 code points)
153 * - the last two code points on each plane (U+__fffe and U+__ffff, 34 code points)
154 * - U+fdd0..U+fdef (new with Unicode 3.1, 32 code points)
155 * - the highest Unicode code point value is U+10ffff
157 * This means that all code points below U+d800 are character code points,
160 * @param c 32-bit code point
171 * Is this code point a BMP code point (U+0000..U+ffff)?
172 * @param c 32-bit code point
179 * Is this code point a supplementary code point (U+10000..U+10ffff)?
180 * @param c 32-bit code point
187 * Is this code point a lead surrogate (U+d800..U+dbff)?
188 * @param c 32-bit code point
195 * Is this code point a trail surrogate (U+dc00..U+dfff)?
196 * @param c 32-bit code point
203 * Is this code point a surrogate (U+d800..U+dfff)?
204 * @param c 32-bit code point
211 * Assuming c is a surrogate code point (U_IS_SURROGATE(c)),
213 * @param c 32-bit code point
220 * Assuming c is a surrogate code point (U_IS_SURROGATE(c)),
222 * @param c 32-bit code point