Home
last modified time | relevance | path

Searched refs:srcLimit (Results 1 – 24 of 24) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DReplaceableString.java123 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
124 if (srcStart != srcLimit) { in getChars()
125 buf.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
DReplaceable.java102 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
DNormalizer.java753 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
756 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
837 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
840 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
927 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
930 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DReplaceableString.java131 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
132 if (srcStart != srcLimit) { in getChars()
133 buf.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
DReplaceable.java106 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
DNormalizer.java735 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
738 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
815 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
818 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
901 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
904 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
/external/icu/icu4c/source/common/
Dustrtrns.cpp47 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
86 srcLimit = src; in u_strFromUTF32WithSub()
89 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
92 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub()
96 while(src < srcLimit) { in u_strFromUTF32WithSub()
161 const UChar *srcLimit; in u_strToUTF32WithSub() local
200 srcLimit = src; in u_strToUTF32WithSub()
203 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
206 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub()
210 while(src < srcLimit) { in u_strToUTF32WithSub()
[all …]
Dunistr_cnv.cpp262 const UChar *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
278 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
289 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
Ducnv_ext.h355 const char **src, const char *srcLimit,
375 const UChar **src, const UChar *srcLimit,
Ducasemap.cpp205 const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, in toLower() argument
224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower()
248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower()
269 (srcIndex + 2) <= srcLimit && in toLower()
276 U8_NEXT(src, srcIndex, srcLimit, c); in toLower()
Ducnv_ext.cpp281 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU() argument
292 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchToU()
752 const UChar **src, const UChar *srcLimit, in ucnv_extInitialMatchFromU() argument
763 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
Ducnv.cpp1721 const UChar *srcLimit; in ucnv_fromUChars() local
1745 srcLimit=src+srcLength; in ucnv_fromUChars()
1750 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1761 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1777 const char *srcLimit; in ucnv_toUChars() local
1801 srcLimit=src+srcLength; in ucnv_toUChars()
1806 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
1818 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
Dustrcase.cpp204 const UChar *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, in toLower() argument
222 while (srcIndex < srcLimit) { in toLower()
256 if (srcIndex >= srcLimit) { in toLower()
263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower()
/external/icu/icu4c/source/test/cintltst/
Dncnvfbts.c303 const char *srcLimit; in testConvertToUnicode() local
360 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
377 (const char *)srcLimit, in testConvertToUnicode()
379 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToUnicode()
381 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (srcLimit < realSourceEnd) ); /* while we just ne… in testConvertToUnicode()
Ducsdetst.c57 const UChar *srcLimit = src + length; in preflight() local
63 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in preflight()
75 const UChar *srcLimit = src + length; in extractBytes() local
79 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in extractBytes()
Dnccbtst.c2833 const char *srcLimit; in testConvertToUnicode() local
2901 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2918 (const char *)srcLimit, in testConvertToUnicode()
2920 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2922 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicode()
3206 const char *srcLimit; in testConvertToUnicodeWithContext() local
3274 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicodeWithContext()
3291 (const char *)srcLimit, in testConvertToUnicodeWithContext()
3293 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicodeWithContext()
3295 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicodeWithContext()
Dncnvtst.c1374 const char *srcLimit; in testConvertToU() local
1431 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
1443 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU()
1449 (const char *)srcLimit, in testConvertToU()
1459 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
Dccapitst.c2149 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2179 srcLimit=src+chunkSize; in convertExStreaming()
2181 srcLimit=finalSrcLimit; in convertExStreaming()
2185 &src, srcLimit, in convertExStreaming()
Dnucnvtst.c527 const char *srcLimit; in testConvertToU() local
575 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
592 srcLimit, in testConvertToU()
594 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU()
599 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
/external/icu/icu4c/source/common/unicode/
Dunistr.h501 int32_t srcLimit) const;
668 int32_t srcLimit) const;
847 int32_t srcLimit,
2460 int32_t srcLimit);
4041 int32_t srcLimit) const in compareBetween() argument
4043 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
4102 int32_t srcLimit) const in compareCodePointOrderBetween() argument
4104 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
4175 int32_t srcLimit, in caseCompareBetween() argument
4177 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DReplaceableTest.java136 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
137 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DReplaceableTest.java139 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
140 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java435 CharSequence src, int srcStart, int srcLimit, StringContextIterator iter, in internalToLower() argument
453 if (srcIndex >= srcLimit) { in internalToLower()
487 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java430 CharSequence src, int srcStart, int srcLimit, StringContextIterator iter, in internalToLower() argument
448 if (srcIndex >= srcLimit) { in internalToLower()
482 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()