Home
last modified time | relevance | path

Searched refs:srcLimit (Results 1 – 22 of 22) 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()
DNormalizer.java752 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
755 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
836 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
839 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
926 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
929 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
DReplaceable.java102 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
/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()
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()
DReplaceable.java106 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
/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,
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()
1754 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1765 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1781 const char *srcLimit; in ucnv_toUChars() local
1805 srcLimit=src+srcLength; in ucnv_toUChars()
1814 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
1826 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
Ducasemap.cpp209 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
214 while (U_SUCCESS(errorCode) && srcIndex<srcLimit) { in _caseMap()
218 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
Dustrcase.cpp208 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
214 while(srcIndex<srcLimit) { in _caseMap()
218 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
/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.h498 int32_t srcLimit) const;
665 int32_t srcLimit) const;
844 int32_t srcLimit,
2457 int32_t srcLimit);
4074 int32_t srcLimit) const in compareBetween() argument
4076 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
4135 int32_t srcLimit) const in compareCodePointOrderBetween() argument
4137 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
4208 int32_t srcLimit, in caseCompareBetween() argument
4210 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]
/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/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()