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.)
69 * These do not check for proper code unit sequences or truncated text and may
72 * In practice, U16_..._UNSAFE macros will produce slightly less code but
74 * surrogate code unit is detected, which will be rare.
85 * code point values (0..U+10ffff). They are indicated with negative values instead.
104 /* single-code point definitions -------------------------------------------- */
108 * (take or) return single code points (UChar32).
109 * It is outside of the Unicode code point range 0..0x10ffff.
127 * Is this code point a Unicode noncharacter?
128 * @param c 32-bit code point
138 * Is c a Unicode code point value (0..U+10ffff)
141 * Code points that are not characters include:
142 * - single surrogate code points (U+d800..U+dfff, 2048 code points)
143 * - the last two code points on each plane (U+__fffe and U+__ffff, 34 code points)
144 * - U+fdd0..U+fdef (new with Unicode 3.1, 32 code points)
145 * - the highest Unicode code point value is U+10ffff
147 * This means that all code points below U+d800 are character code points,
150 * @param c 32-bit code point
163 * Is this code point a BMP code point (U+0000..U+ffff)?
164 * @param c 32-bit code point
171 * Is this code point a supplementary code point (U+10000..U+10ffff)?
172 * @param c 32-bit code point
181 * Is this code point a lead surrogate (U+d800..U+dbff)?
182 * @param c 32-bit code point
189 * Is this code point a trail surrogate (U+dc00..U+dfff)?
190 * @param c 32-bit code point
197 * Is this code point a surrogate (U+d800..U+dfff)?
198 * @param c 32-bit code point
205 * Assuming c is a surrogate code point (U_IS_SURROGATE(c)),
207 * @param c 32-bit code point