Home | History | Annotate | Download | only in unicode

Lines Matching full:code

41  * upper/lower-casing and string comparison in code point order.
43 * ICU uses 16-bit Unicode (UTF-16) in the form of arrays of UChar code units.
44 * UTF-16 encodes each Unicode code point with either one or two UChar code units.
49 * Some APIs accept a 32-bit UChar32 value for a single code point.
53 * Code-point-related functions treat unpaired surrogates as surrogate code points,
57 * it is much more efficient even for random access because the code unit values
59 * This means that it is easy to determine character (code point) boundaries from
64 * (which use pairs of lead/trail code units called "surrogates"),
66 * a single UChar code unit (i.e., their code point values are <=0xffff).
77 * @return The number of UChars in <code>chars</code>, minus the terminator.
84 * Count Unicode code points in the length UChar code units of the string.
85 * A code point may occupy either one or two UChar code units.
86 * Counting code points involves reading all code units.
91 * @param length The number of UChar code units to be checked, or -1 to count all
92 * code points before the first NUL (U+0000).
93 * @return The number of code points in the specified code units.
100 * Check if the string contains more Unicode code points than a certain number.
101 * This is more efficient than counting all code points in the entire string
105 * never needs to count more than 'number+1' code points.
107 * A Unicode code point may occupy either one or two UChar code units.
111 * @param number The number of code points in the string is compared against
113 * @return Boolean value for whether the string contains more Unicode code points
121 * Concatenate two ustrings. Appends a copy of <code>src</code>,
122 * including the null terminator, to <code>dst</code>. The initial copied
123 * character from <code>src</code> overwrites the null terminator in <code>dst</code>.
127 * @return A pointer to <code>dst</code>.
136 * Appends at most <code>n</code> characters from <code>src</code> to <code>dst</code>.
138 * If src is too long, then only <code>n-1</code> characters will be copied
140 * If <code>n&lt;=0</code> then dst is not modified.
145 * @return A pointer to <code>dst</code>.
155 * The substring is found at code point boundaries.
164 * @return A pointer to the first occurrence of <code>substring</code> in <code>s</code>,
165 * or <code>s</code> itself if the <code>substring</code> is empty,
166 * or <code>NULL</code> if <code>substring</code> is not in <code>s</code>.
178 * The substring is found at code point boundaries.
189 * @return A pointer to the first occurrence of <code>substring</code> in <code>s</code>,
190 * or <code>s</code> itself if the <code>substring</code> is empty,
191 * or <code>NULL</code> if <code>substring</code> is not in <code>s</code>.
201 * Find the first occurrence of a BMP code point in a string.
202 * A surrogate code point is found only if its match in the text is not
207 * @param c The BMP code point to find.
208 * @return A pointer to the first occurrence of <code>c</code> in <code>s</code>
209 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
221 * Find the first occurrence of a code point in a string.
222 * A surrogate code point is found only if its match in the text is not
227 * @param c The code point to find.
228 * @return A pointer to the first occurrence of <code>c</code> in <code>s</code>
229 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
242 * The substring is found at code point boundaries.
251 * @return A pointer to the last occurrence of <code>substring</code> in <code>s</code>,
252 * or <code>s</code> itself if the <code>substring</code> is empty,
253 * or <code>NULL</code> if <code>substring</code> is not in <code>s</code>.
265 * The substring is found at code point boundaries.
276 * @return A pointer to the last occurrence of <code>substring</code> in <code>s</code>,
277 * or <code>s</code> itself if the <code>substring</code> is empty,
278 * or <code>NULL</code> if <code>substring</code> is not in <code>s</code>.
288 * Find the last occurrence of a BMP code point in a string.
289 * A surrogate code point is found only if its match in the text is not
294 * @param c The BMP code point to find.
295 * @return A pointer to the last occurrence of <code>c</code> in <code>s</code>
296 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
308 * Find the last occurrence of a code point in a string.
309 * A surrogate code point is found only if its match in the text is not
314 * @param c The code point to find.
315 * @return A pointer to the last occurrence of <code>c</code> in <code>s</code>
316 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
328 * Locates the first occurrence in the string <code>string</code> of any of the characters
329 * in the string <code>matchSet</code>.
333 * @param matchSet A NUL-terminated string defining a set of code points
335 * @return A pointer to the character in <code>string</code> that matches one of the
336 * characters in <code>matchSet</code>, or NULL if no such character is found.
343 * Returns the number of consecutive characters in <code>string</code>,
344 * beginning with the first, that do not occur somewhere in <code>matchSet</code>.
348 * @param matchSet A NUL-terminated string defining a set of code points
350 * @return The number of initial characters in <code>string</code> that do not
351 * occur in <code>matchSet</code>.
359 * Returns the number of consecutive characters in <code>string</code>,
360 * beginning with the first, that occur somewhere in <code>matchSet</code>.
364 * @param matchSet A NUL-terminated string defining a set of code points
366 * @return The number of initial characters in <code>string</code> that do
367 * occur in <code>matchSet</code>.
389 * @param delim Set of delimiter characters (Unicode code points).
405 * Compare two Unicode strings for bitwise equality (code unit order).
409 * @return 0 if <code>s1</code> and <code>s2</code> are bitwise equal; a negative
410 * value if <code>s1</code> is bitwise less than <code>s2,</code>; a positive
411 * value if <code>s1</code> is bitwise greater than <codecode>.
419 * Compare two Unicode strings in code point order.
426 * in code point order
435 * The comparison can be done in code unit order or in code point order.
437 * comparing supplementary code points (U+10000..U+10ffff)
438 * to BMP code points near the end of the BMP (i.e., U+e000..U+ffff).
439 * In code unit order, high BMP code points sort after supplementary code points
452 * @param codePointOrder Choose between code unit order (FALSE)
453 * and code point order (TRUE).
475 * @param codePointOrder Choose between code unit order (FALSE)
476 * and code point order (TRUE).
491 * Compare strings in code point order instead of code unit order.
504 * The comparison can be done in UTF-16 code unit order or in code point order.
505 * They differ only when comparing supplementary code points (U+10000..U+10ffff)
506 * to BMP code points near the end of the BMP (i.e., U+e000..U+ffff).
507 * In code unit order, high BMP code points sort after supplementary code points
522 * Comparison in code unit order with default case folding.
525 * Set to choose code point order instead of code unit order
530 * @param pErrorCode Must be a valid pointer to an error code value,
545 * Compares at most <code>n</code> characters.
550 * @return 0 if <code>s1</code> and <code>s2</code> are bitwise equal; a negative
551 * value if <code>s1</code> is bitwise less than <code>s2</code>; a positive
552 * value if <code>s1</code> is bitwise greater than <code>s2</code>.
561 * Compare two Unicode strings in code point order.
570 * in code point order
584 * Comparison in code unit order with default case folding.
587 * Set to choose code point order instead of code unit order
608 * Comparison in code unit order with default case folding.
611 * Set to choose code point order instead of code unit order
632 * Comparison in code unit order with default case folding.
635 * Set to choose code point order instead of code unit order
651 * @return A pointer to <code>dst</code>.
660 * Copies at most <code>n</code> characters. The result will be null terminated
661 * if the length of <code>src</code> is less than <code>n</code>.
666 * @return A pointer to <code>dst</code>.
683 * @return A pointer to <code>dst</code>.
691 * Copies at most <code>n</code> characters. The result will be null terminated
692 * if the length of <code>src</code> is less than <code>n</code>.
698 * @return A pointer to <code>dst</code>.
712 * @return A pointer to <code>dst</code>.
720 * Copies at most <code>n</code> characters. The result will be null terminated
721 * if the length of <code>src</code> is less than <code>n</code>.
727 * @return A pointer to <code>dst</code>.
741 * @return A pointer to <code>dest</code>
752 * @return A pointer to <code>dest</code>
759 * Initialize <code>count</code> characters of <code>dest</code> to <code>c</code>.
764 * @return A pointer to <code>dest</code>.
771 * Compare the first <code>count</code> UChars of each buffer.
785 * Compare two Unicode strings in code point order.
794 * in code point order
801 * Find the first occurrence of a BMP code point in a string.
802 * A surrogate code point is found only if its match in the text is not
806 * @param s The string to search (contains <code>count</code> UChars).
807 * @param c The BMP code point to find.
809 * @return A pointer to the first occurrence of <code>c</code> in <code>s</code>
810 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
821 * Find the first occurrence of a code point in a string.
822 * A surrogate code point is found only if its match in the text is not
826 * @param s The string to search (contains <code>count</code> UChars).
827 * @param c The code point to find.
829 * @return A pointer to the first occurrence of <code>c</code> in <code>s</code>
830 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
841 * Find the last occurrence of a BMP code point in a string.
842 * A surrogate code point is found only if its match in the text is not
846 * @param s The string to search (contains <code>count</code> UChars).
847 * @param c The BMP code point to find.
849 * @return A pointer to the last occurrence of <code>c</code> in <code>s</code>
850 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
861 * Find the last occurrence of a code point in a string.
862 * A surrogate code point is found only if its match in the text is not
866 * @param s The string to search (contains <code>count</code> UChars).
867 * @param c The code point to find.
869 * @return A pointer to the last occurrence of <code>c</code> in <code>s</code>
870 * or <code>NULL</code> if <code>c</code> is not in <code>s</code>.
895 * <code>NUL</code>, must be specified as a constant.
1045 * @param pErrorCode Must be a valid pointer to an error code value,
1071 * @param pErrorCode Must be a valid pointer to an error code value,
1117 * @param pErrorCode Must be a valid pointer to an error code value,
1148 * @param pErrorCode Must be a valid pointer to an error code value,
1174 * @param pErrorCode Must be a valid pointer to an error code value,
1200 * @param pErrorCode Must be a valid pointer to an error code value,
1226 * @param pErrorCode Must be a valid pointer to an error code value,
1253 * @param pErrorCode Must be a valid pointer to an error code value,
1280 * @param pErrorCode Must be a valid pointer to an error code value,
1307 * @param pErrorCode Must be a valid pointer to an error code value,