• Home
  • Raw
  • Download

Lines Matching refs:UChar

43 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *l…  in isMatchAtCPBoundary()
55 U_CAPI UChar * U_EXPORT2
56 u_strFindFirst(const UChar *s, int32_t length, in u_strFindFirst()
57 const UChar *sub, int32_t subLength) { in u_strFindFirst()
58 const UChar *start, *p, *q, *subLimit; in u_strFindFirst()
59 UChar c, cs, cq; in u_strFindFirst()
62 return (UChar *)s; in u_strFindFirst()
73 return (UChar *)s; in u_strFindFirst()
88 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
113 return (UChar *)s; in u_strFindFirst()
136 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
153 const UChar *limit, *preLimit; in u_strFindFirst()
174 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
193 U_CAPI UChar * U_EXPORT2
194 u_strstr(const UChar *s, const UChar *substring) { in u_strstr()
198 U_CAPI UChar * U_EXPORT2
199 u_strchr(const UChar *s, UChar c) { in u_strchr()
204 UChar cs; in u_strchr()
209 return (UChar *)s; in u_strchr()
219 U_CAPI UChar * U_EXPORT2
220 u_strchr32(const UChar *s, UChar32 c) { in u_strchr32()
223 return u_strchr(s, (UChar)c); in u_strchr32()
226 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strchr32()
230 return (UChar *)(s-1); in u_strchr32()
240 U_CAPI UChar * U_EXPORT2
241 u_memchr(const UChar *s, UChar c, int32_t count) { in u_memchr()
249 const UChar *limit=s+count; in u_memchr()
252 return (UChar *)s; in u_memchr()
259 U_CAPI UChar * U_EXPORT2
260 u_memchr32(const UChar *s, UChar32 c, int32_t count) { in u_memchr32()
263 return u_memchr(s, (UChar)c, count); in u_memchr32()
269 … const UChar *limit=s+count-1; /* -1 so that we do not need a separate check for the trail unit */ in u_memchr32()
270 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memchr32()
274 return (UChar *)s; in u_memchr32()
286 U_CAPI UChar * U_EXPORT2
287 u_strFindLast(const UChar *s, int32_t length, in u_strFindLast()
288 const UChar *sub, int32_t subLength) { in u_strFindLast()
289 const UChar *start, *limit, *p, *q, *subLimit; in u_strFindLast()
290 UChar c, cs; in u_strFindLast()
293 return (UChar *)s; in u_strFindLast()
313 return (UChar *)s; in u_strFindLast()
350 return (UChar *)p; /* well-formed match */ in u_strFindLast()
366 U_CAPI UChar * U_EXPORT2
367 u_strrstr(const UChar *s, const UChar *substring) { in u_strrstr()
371 U_CAPI UChar * U_EXPORT2
372 u_strrchr(const UChar *s, UChar c) { in u_strrchr()
377 const UChar *result=NULL; in u_strrchr()
378 UChar cs; in u_strrchr()
386 return (UChar *)result; in u_strrchr()
393 U_CAPI UChar * U_EXPORT2
394 u_strrchr32(const UChar *s, UChar32 c) { in u_strrchr32()
397 return u_strrchr(s, (UChar)c); in u_strrchr32()
400 const UChar *result=NULL; in u_strrchr32()
401 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strrchr32()
408 return (UChar *)result; in u_strrchr32()
415 U_CAPI UChar * U_EXPORT2
416 u_memrchr(const UChar *s, UChar c, int32_t count) { in u_memrchr()
424 const UChar *limit=s+count; in u_memrchr()
427 return (UChar *)limit; in u_memrchr()
434 U_CAPI UChar * U_EXPORT2
435 u_memrchr32(const UChar *s, UChar32 c, int32_t count) { in u_memrchr32()
438 return u_memrchr(s, (UChar)c, count); in u_memrchr32()
444 const UChar *limit=s+count-1; in u_memrchr32()
445 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memrchr32()
449 return (UChar *)(limit-1); in u_memrchr32()
468 _matchFromSet(const UChar *string, const UChar *matchSet, UBool polarity) { in _matchFromSet()
471 UChar c, c2; in _matchFromSet()
540 U_CAPI UChar * U_EXPORT2
541 u_strpbrk(const UChar *string, const UChar *matchSet) in u_strpbrk()
545 return (UChar *)string + idx; in u_strpbrk()
553 u_strcspn(const UChar *string, const UChar *matchSet) in u_strcspn()
565 u_strspn(const UChar *string, const UChar *matchSet) in u_strspn()
577 U_CAPI UChar* U_EXPORT2
578 u_strtok_r(UChar *src, in u_strtok_r()
579 const UChar *delim, in u_strtok_r()
580 UChar **saveState) in u_strtok_r()
582 UChar *tokSource; in u_strtok_r()
583 UChar *nextToken; in u_strtok_r()
627 U_CAPI UChar* U_EXPORT2
628 u_strcat(UChar *dst, in u_strcat()
629 const UChar *src) in u_strcat()
631 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strcat()
642 U_CAPI UChar* U_EXPORT2
643 u_strncat(UChar *dst, in u_strncat()
644 const UChar *src, in u_strncat()
648 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strncat()
671 u_strcmp(const UChar *s1, in u_strcmp()
672 const UChar *s2) in u_strcmp()
674 UChar c1, c2; in u_strcmp()
687 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare()
688 const UChar *s2, int32_t length2, in uprv_strCompare()
690 const UChar *start1, *start2, *limit1, *limit2; in uprv_strCompare()
691 UChar c1, c2; in uprv_strCompare()
925 u_strCompare(const UChar *s1, int32_t length1, in u_strCompare()
926 const UChar *s2, int32_t length2, in u_strCompare()
937 u_strcmpCodePointOrder(const UChar *s1, const UChar *s2) { in u_strcmpCodePointOrder()
942 u_strncmp(const UChar *s1, in u_strncmp()
943 const UChar *s2, in u_strncmp()
962 u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n) { in u_strncmpCodePointOrder()
966 U_CAPI UChar* U_EXPORT2
967 u_strcpy(UChar *dst, in u_strcpy()
968 const UChar *src) in u_strcpy()
970 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strcpy()
978 U_CAPI UChar* U_EXPORT2
979 u_strncpy(UChar *dst, in u_strncpy()
980 const UChar *src, in u_strncpy()
983 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strncpy()
994 u_strlen(const UChar *s) in u_strlen()
999 const UChar *t = s; in u_strlen()
1008 u_countChar32(const UChar *s, int32_t length) { in u_countChar32()
1028 UChar c; in u_countChar32()
1049 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number) { in u_strHasMoreChar32Than()
1060 UChar c; in u_strHasMoreChar32Than()
1077 const UChar *limit; in u_strHasMoreChar32Than()
1116 U_CAPI UChar * U_EXPORT2
1117 u_memcpy(UChar *dest, const UChar *src, int32_t count) { in u_memcpy()
1124 U_CAPI UChar * U_EXPORT2
1125 u_memmove(UChar *dest, const UChar *src, int32_t count) { in u_memmove()
1132 U_CAPI UChar * U_EXPORT2
1133 u_memset(UChar *dest, UChar c, int32_t count) { in u_memset()
1135 UChar *ptr = dest; in u_memset()
1136 UChar *limit = dest + count; in u_memset()
1146 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { in u_memcmp()
1148 const UChar *limit = buf1 + count; in u_memcmp()
1164 u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count) { in u_memcmpCodePointOrder()
1171 static const UChar UNESCAPE_MAP[] = {
1188 static int8_t _digit8(UChar c) { in _digit8()
1196 static int8_t _digit16(UChar c) { in _digit16()
1219 UChar c; in u_unescapeAt()
1304 c = (UChar) u_unescapeAt(charAt, &ahead, tailLimit, in u_unescapeAt()
1328 UChar c2 = charAt(*offset, context); in u_unescapeAt()
1331 c = (UChar) U16_GET_SUPPLEMENTARY(c, c2); /* [sic] */ in u_unescapeAt()
1341 UChar c2 = charAt(*offset, context); in u_unescapeAt()
1356 static UChar U_CALLCONV
1358 UChar c16; in _charPtr_charAt()
1366 static void _appendUChars(UChar *dest, int32_t destCapacity, in _appendUChars()
1379 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape()
1462 U_CAPI UChar U_EXPORT2
1463 u_asciiToUpper(UChar c) { in u_asciiToUpper()
1471 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateUChars()
1525 ustr_hashUCharsN(const UChar *str, int32_t length) { in ustr_hashUCharsN()
1526 STRING_HASH(UChar, str, length, *p); in ustr_hashUCharsN()