Home | History | Annotate | Download | only in unicode

Lines Matching refs:UChar

48  * ICU uses 16-bit Unicode (UTF-16) in the form of arrays of UChar code units.
49 * UTF-16 encodes each Unicode code point with either one or two UChar code units.
71 * a single UChar code unit (i.e., their code point values are <=0xffff).
84 * Determine the length of an array of UChar.
91 u_strlen(const UChar *s);
95 * Count Unicode code points in the length UChar code units of the string.
96 * A code point may occupy either one or two UChar code units.
102 * @param length The number of UChar code units to be checked, or -1 to count all
108 u_countChar32(const UChar *s, int32_t length);
118 * A Unicode code point may occupy either one or two UChar code units.
129 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number);
141 U_STABLE UChar* U_EXPORT2
142 u_strcat(UChar *dst,
143 const UChar *src);
159 U_STABLE UChar* U_EXPORT2
160 u_strncat(UChar *dst,
161 const UChar *src,
184 U_STABLE UChar * U_EXPORT2
185 u_strstr(const UChar *s, const UChar *substring);
208 U_STABLE UChar * U_EXPORT2
209 u_strFindFirst(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
228 U_STABLE UChar * U_EXPORT2
229 u_strchr(const UChar *s, UChar c);
248 U_STABLE UChar * U_EXPORT2
249 u_strchr32(const UChar *s, UChar32 c);
271 U_STABLE UChar * U_EXPORT2
272 u_strrstr(const UChar *s, const UChar *substring);
295 U_STABLE UChar * U_EXPORT2
296 u_strFindLast(const UChar *s, int32_t length, const UChar *substring, int32_t subLength);
315 U_STABLE UChar * U_EXPORT2
316 u_strrchr(const UChar *s, UChar c);
335 U_STABLE UChar * U_EXPORT2
336 u_strrchr32(const UChar *s, UChar32 c);
350 U_STABLE UChar * U_EXPORT2
351 u_strpbrk(const UChar *string, const UChar *matchSet);
367 u_strcspn(const UChar *string, const UChar *matchSet);
383 u_strspn(const UChar *string, const UChar *matchSet);
404 * UChar *. (i.e. defined "Uhar *myLocalSaveState" and use
410 U_STABLE UChar * U_EXPORT2
411 u_strtok_r(UChar *src,
412 const UChar *delim,
413 UChar **saveState);
426 u_strcmp(const UChar *s1,
427 const UChar *s2);
441 u_strcmpCodePointOrder(const UChar *s1, const UChar *s2);
471 u_strCompare(const UChar *s1, int32_t length1,
472 const UChar *s2, int32_t length2,
549 u_strCaseCompare(const UChar *s1, int32_t length1,
550 const UChar *s2, int32_t length2,
567 u_strncmp(const UChar *ucs1,
568 const UChar *ucs2,
585 u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n);
607 u_strcasecmp(const UChar *s1, const UChar *s2, uint32_t options);
631 u_strncasecmp(const UChar *s1, const UChar *s2, int32_t n, uint32_t options);
655 u_memcasecmp(const UChar *s1, const UChar *s2, int32_t length, uint32_t options);
665 U_STABLE UChar* U_EXPORT2
666 u_strcpy(UChar *dst,
667 const UChar *src);
680 U_STABLE UChar* U_EXPORT2
681 u_strncpy(UChar *dst,
682 const UChar *src,
690 * Performs a host byte to UChar conversion
697 U_STABLE UChar* U_EXPORT2 u_uastrcpy(UChar *dst,
704 * Performs a host byte to UChar conversion
712 U_STABLE UChar* U_EXPORT2 u_uastrncpy(UChar *dst,
719 * Performs a UChar to host byte conversion
727 const UChar *src );
733 * Performs a UChar to host byte conversion
742 const UChar *src,
755 U_STABLE UChar* U_EXPORT2
756 u_memcpy(UChar *dest, const UChar *src, int32_t count);
766 U_STABLE UChar* U_EXPORT2
767 u_memmove(UChar *dest, const UChar *src, int32_t count);
778 U_STABLE UChar* U_EXPORT2
779 u_memset(UChar *dest, UChar c, int32_t count);
793 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
809 u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count);
828 U_STABLE UChar* U_EXPORT2
829 u_memchr(const UChar *s, UChar c, int32_t count);
848 U_STABLE UChar* U_EXPORT2
849 u_memchr32(const UChar *s, UChar32 c, int32_t count);
868 U_STABLE UChar* U_EXPORT2
869 u_memrchr(const UChar *s, UChar c, int32_t count);
888 U_STABLE UChar* U_EXPORT2
889 u_memrchr32(const UChar *s, UChar32 c, int32_t count);
942 # define U_STRING_DECL(var, cs, length) static const UChar *var=(const UChar *)U_DECLARE_UTF16(cs)
946 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=L ## cs
950 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=cs
954 # define U_STRING_DECL(var, cs, length) static UChar var[(length)+1]
1008 UChar *dest, int32_t destCapacity);
1023 typedef UChar (U_CALLCONV *UNESCAPE_CHAR_AT)(int32_t offset, void *context);
1029 * pointer to a function that returns the UChar at a given offset. By
1037 * @param charAt callback function that returns a UChar of the source
1081 u_strToUpper(UChar *dest, int32_t destCapacity,
1082 const UChar *src, int32_t srcLength,
1107 u_strToLower(UChar *dest, int32_t destCapacity,
1108 const UChar *src, int32_t srcLength,
1153 u_strToTitle(UChar *dest, int32_t destCapacity,
1154 const UChar *src, int32_t srcLength,
1186 u_strFoldCase(UChar *dest, int32_t destCapacity,
1187 const UChar *src, int32_t srcLength,
1218 const UChar *src,
1243 U_STABLE UChar
1244 u_strFromWCS(UChar *dest,
1278 const UChar *src,
1304 U_STABLE UChar* U_EXPORT2
1305 u_strFromUTF8(UChar *dest,
1352 const UChar *src,
1394 U_STABLE UChar* U_EXPORT2
1395 u_strFromUTF8WithSub(UChar *dest,
1454 U_STABLE UChar * U_EXPORT2
1455 u_strFromUTF8Lenient(UChar *dest,
1488 const UChar *src,
1514 U_STABLE UChar* U_EXPORT2
1515 u_strFromUTF32(UChar *dest,
1562 const UChar *src,
1603 U_STABLE UChar* U_EXPORT2
1604 u_strFromUTF32WithSub(UChar *dest,
1649 const UChar *src,
1693 U_STABLE UChar* U_EXPORT2
1695 UChar *dest,