• Home
  • Raw
  • Download

Lines Matching refs:UChar

40 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *l…  in isMatchAtCPBoundary()
52 U_CAPI UChar * U_EXPORT2
53 u_strFindFirst(const UChar *s, int32_t length, in u_strFindFirst()
54 const UChar *sub, int32_t subLength) { in u_strFindFirst()
55 const UChar *start, *p, *q, *subLimit; in u_strFindFirst()
56 UChar c, cs, cq; in u_strFindFirst()
59 return (UChar *)s; in u_strFindFirst()
70 return (UChar *)s; in u_strFindFirst()
85 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
110 return (UChar *)s; in u_strFindFirst()
133 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
150 const UChar *limit, *preLimit; in u_strFindFirst()
171 return (UChar *)(s-1); /* well-formed match */ in u_strFindFirst()
190 U_CAPI UChar * U_EXPORT2
191 u_strstr(const UChar *s, const UChar *substring) { in u_strstr()
195 U_CAPI UChar * U_EXPORT2
196 u_strchr(const UChar *s, UChar c) { in u_strchr()
201 UChar cs; in u_strchr()
206 return (UChar *)s; in u_strchr()
216 U_CAPI UChar * U_EXPORT2
217 u_strchr32(const UChar *s, UChar32 c) { in u_strchr32()
220 return u_strchr(s, (UChar)c); in u_strchr32()
223 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strchr32()
227 return (UChar *)(s-1); in u_strchr32()
237 U_CAPI UChar * U_EXPORT2
238 u_memchr(const UChar *s, UChar c, int32_t count) { in u_memchr()
246 const UChar *limit=s+count; in u_memchr()
249 return (UChar *)s; in u_memchr()
256 U_CAPI UChar * U_EXPORT2
257 u_memchr32(const UChar *s, UChar32 c, int32_t count) { in u_memchr32()
260 return u_memchr(s, (UChar)c, count); in u_memchr32()
266 … const UChar *limit=s+count-1; /* -1 so that we do not need a separate check for the trail unit */ in u_memchr32()
267 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memchr32()
271 return (UChar *)s; in u_memchr32()
283 U_CAPI UChar * U_EXPORT2
284 u_strFindLast(const UChar *s, int32_t length, in u_strFindLast()
285 const UChar *sub, int32_t subLength) { in u_strFindLast()
286 const UChar *start, *limit, *p, *q, *subLimit; in u_strFindLast()
287 UChar c, cs; in u_strFindLast()
290 return (UChar *)s; in u_strFindLast()
310 return (UChar *)s; in u_strFindLast()
347 return (UChar *)p; /* well-formed match */ in u_strFindLast()
363 U_CAPI UChar * U_EXPORT2
364 u_strrstr(const UChar *s, const UChar *substring) { in u_strrstr()
368 U_CAPI UChar * U_EXPORT2
369 u_strrchr(const UChar *s, UChar c) { in u_strrchr()
374 const UChar *result=NULL; in u_strrchr()
375 UChar cs; in u_strrchr()
383 return (UChar *)result; in u_strrchr()
390 U_CAPI UChar * U_EXPORT2
391 u_strrchr32(const UChar *s, UChar32 c) { in u_strrchr32()
394 return u_strrchr(s, (UChar)c); in u_strrchr32()
397 const UChar *result=NULL; in u_strrchr32()
398 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_strrchr32()
405 return (UChar *)result; in u_strrchr32()
412 U_CAPI UChar * U_EXPORT2
413 u_memrchr(const UChar *s, UChar c, int32_t count) { in u_memrchr()
421 const UChar *limit=s+count; in u_memrchr()
424 return (UChar *)limit; in u_memrchr()
431 U_CAPI UChar * U_EXPORT2
432 u_memrchr32(const UChar *s, UChar32 c, int32_t count) { in u_memrchr32()
435 return u_memrchr(s, (UChar)c, count); in u_memrchr32()
441 const UChar *limit=s+count-1; in u_memrchr32()
442 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); in u_memrchr32()
446 return (UChar *)(limit-1); in u_memrchr32()
465 _matchFromSet(const UChar *string, const UChar *matchSet, UBool polarity) { in _matchFromSet()
468 UChar c, c2; in _matchFromSet()
537 U_CAPI UChar * U_EXPORT2
538 u_strpbrk(const UChar *string, const UChar *matchSet) in u_strpbrk()
542 return (UChar *)string + idx; in u_strpbrk()
550 u_strcspn(const UChar *string, const UChar *matchSet) in u_strcspn()
562 u_strspn(const UChar *string, const UChar *matchSet) in u_strspn()
574 U_CAPI UChar* U_EXPORT2
575 u_strtok_r(UChar *src, in u_strtok_r()
576 const UChar *delim, in u_strtok_r()
577 UChar **saveState) in u_strtok_r()
579 UChar *tokSource; in u_strtok_r()
580 UChar *nextToken; in u_strtok_r()
624 U_CAPI UChar* U_EXPORT2
625 u_strcat(UChar *dst, in u_strcat()
626 const UChar *src) in u_strcat()
628 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strcat()
639 U_CAPI UChar* U_EXPORT2
640 u_strncat(UChar *dst, in u_strncat()
641 const UChar *src, in u_strncat()
645 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strncat()
668 u_strcmp(const UChar *s1, in u_strcmp()
669 const UChar *s2) in u_strcmp()
671 UChar c1, c2; in u_strcmp()
684 uprv_strCompare(const UChar *s1, int32_t length1, in uprv_strCompare()
685 const UChar *s2, int32_t length2, in uprv_strCompare()
687 const UChar *start1, *start2, *limit1, *limit2; in uprv_strCompare()
688 UChar c1, c2; in uprv_strCompare()
922 u_strCompare(const UChar *s1, int32_t length1, in u_strCompare()
923 const UChar *s2, int32_t length2, in u_strCompare()
934 u_strcmpCodePointOrder(const UChar *s1, const UChar *s2) { in u_strcmpCodePointOrder()
939 u_strncmp(const UChar *s1, in u_strncmp()
940 const UChar *s2, in u_strncmp()
959 u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n) { in u_strncmpCodePointOrder()
963 U_CAPI UChar* U_EXPORT2
964 u_strcpy(UChar *dst, in u_strcpy()
965 const UChar *src) in u_strcpy()
967 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strcpy()
975 U_CAPI UChar* U_EXPORT2
976 u_strncpy(UChar *dst, in u_strncpy()
977 const UChar *src, in u_strncpy()
980 UChar *anchor = dst; /* save a pointer to start of dst */ in u_strncpy()
991 u_strlen(const UChar *s) in u_strlen()
996 const UChar *t = s; in u_strlen()
1005 u_countChar32(const UChar *s, int32_t length) { in u_countChar32()
1025 UChar c; in u_countChar32()
1046 u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number) { in u_strHasMoreChar32Than()
1057 UChar c; in u_strHasMoreChar32Than()
1074 const UChar *limit; in u_strHasMoreChar32Than()
1113 U_CAPI UChar * U_EXPORT2
1114 u_memcpy(UChar *dest, const UChar *src, int32_t count) { in u_memcpy()
1121 U_CAPI UChar * U_EXPORT2
1122 u_memmove(UChar *dest, const UChar *src, int32_t count) { in u_memmove()
1129 U_CAPI UChar * U_EXPORT2
1130 u_memset(UChar *dest, UChar c, int32_t count) { in u_memset()
1132 UChar *ptr = dest; in u_memset()
1133 UChar *limit = dest + count; in u_memset()
1143 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { in u_memcmp()
1145 const UChar *limit = buf1 + count; in u_memcmp()
1161 u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count) { in u_memcmpCodePointOrder()
1168 static const UChar UNESCAPE_MAP[] = {
1185 static int8_t _digit8(UChar c) { in _digit8()
1193 static int8_t _digit16(UChar c) { in _digit16()
1216 UChar c; in u_unescapeAt()
1294 c = (UChar) u_unescapeAt(charAt, &ahead, length, context); in u_unescapeAt()
1317 UChar c2 = charAt(*offset, context); in u_unescapeAt()
1320 c = (UChar) U16_GET_SUPPLEMENTARY(c, c2); /* [sic] */ in u_unescapeAt()
1330 UChar c2 = charAt(*offset, context); in u_unescapeAt()
1345 static UChar U_CALLCONV
1347 UChar c16; in _charPtr_charAt()
1355 static void _appendUChars(UChar *dest, int32_t destCapacity, in _appendUChars()
1368 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape()
1451 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateUChars()
1504 ustr_hashUCharsN(const UChar *str, int32_t length) { in ustr_hashUCharsN()
1505 STRING_HASH(UChar, str, length, *p); in ustr_hashUCharsN()