Lines Matching refs:srcLength
316 const uint8_t *src, UCaseContext *csc, int32_t srcLength, in toUpper() argument
332 if (U_FAILURE(errorCode) || srcIndex >= srcLength) { in toUpper()
356 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLength && in toUpper()
377 (srcIndex + 2) <= srcLength && in toUpper()
384 U8_NEXT(src, srcIndex, srcLength, c); in toUpper()
426 const uint8_t *src, int32_t srcLength, in ucasemap_internalUTF8ToTitle() argument
436 csc.limit=srcLength; in ucasemap_internalUTF8ToTitle()
441 while(prev<srcLength) { in ucasemap_internalUTF8ToTitle()
450 if(index==UBRK_DONE || index>srcLength) { in ucasemap_internalUTF8ToTitle()
451 index=srcLength; in ucasemap_internalUTF8ToTitle()
571 const uint8_t *src, int32_t srcLength, in toUpper() argument
575 for (int32_t i = 0; i < srcLength;) { in toUpper()
578 U8_NEXT(src, nextIndex, srcLength, c); in toUpper()
607 while (nextIndex < srcLength) { in toUpper()
609 U8_NEXT(src, nextNextIndex, srcLength, c2); in toUpper()
630 !isFollowedByCasedLetter(src, nextIndex, srcLength)) { in toUpper()
723 const uint8_t *src, int32_t srcLength, in ucasemap_internalUTF8ToLower() argument
728 csc.limit=srcLength; in ucasemap_internalUTF8ToLower()
731 src, &csc, 0, srcLength, in ucasemap_internalUTF8ToLower()
737 const uint8_t *src, int32_t srcLength, in ucasemap_internalUTF8ToUpper() argument
741 GreekUpper::toUpper(options, src, srcLength, sink, edits, errorCode); in ucasemap_internalUTF8ToUpper()
745 csc.limit=srcLength; in ucasemap_internalUTF8ToUpper()
748 src, &csc, srcLength, in ucasemap_internalUTF8ToUpper()
755 const uint8_t *src, int32_t srcLength, in ucasemap_internalUTF8Fold() argument
760 src, nullptr, 0, srcLength, in ucasemap_internalUTF8Fold()
766 const char *src, int32_t srcLength, in ucasemap_mapUTF8() argument
774 if ((src == nullptr && srcLength != 0) || srcLength < -1) { in ucasemap_mapUTF8()
780 if (srcLength == -1) { in ucasemap_mapUTF8()
781 srcLength = (int32_t)uprv_strlen((const char *)src); in ucasemap_mapUTF8()
788 (const uint8_t *)src, srcLength, sink, edits, errorCode); in ucasemap_mapUTF8()
800 const char *src, int32_t srcLength, in ucasemap_mapUTF8() argument
810 (src==NULL && srcLength!=0) || srcLength<-1 in ucasemap_mapUTF8()
817 if(srcLength==-1) { in ucasemap_mapUTF8()
818 srcLength=(int32_t)uprv_strlen((const char *)src); in ucasemap_mapUTF8()
824 (dest>=src && dest<(src+srcLength))) in ucasemap_mapUTF8()
835 (const uint8_t *)src, srcLength, sink, edits, errorCode); in ucasemap_mapUTF8()
852 const char *src, int32_t srcLength, in ucasemap_utf8ToLower() argument
857 src, srcLength, in ucasemap_utf8ToLower()
864 const char *src, int32_t srcLength, in ucasemap_utf8ToUpper() argument
869 src, srcLength, in ucasemap_utf8ToUpper()
876 const char *src, int32_t srcLength, in ucasemap_utf8FoldCase() argument
881 src, srcLength, in ucasemap_utf8FoldCase()
919 const char *src, int32_t srcLength, in utf8ToLower() argument
925 src, srcLength, in utf8ToLower()
931 const char *src, int32_t srcLength, in utf8ToUpper() argument
937 src, srcLength, in utf8ToUpper()
943 const char *src, int32_t srcLength, in utf8Fold() argument
949 src, srcLength, in utf8Fold()