Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DReplaceableString.java126 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
127 if (srcStart != srcLimit) { in getChars()
128 buf.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
DReplaceable.java106 void getChars(int srcStart, int srcLimit, char dst[], int dstStart); in getChars() argument
DNormalizer.java693 public static int compose(char[] src,int srcStart, int srcLimit, in compose() argument
696 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose()
769 public static int decompose(char[] src,int srcStart, int srcLimit, in decompose() argument
772 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose()
852 public static int normalize(char[] src,int srcStart, int srcLimit, in normalize() argument
855 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize()
/external/icu/icu4c/source/common/
Dustrtrns.cpp45 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
84 srcLimit = src; in u_strFromUTF32WithSub()
87 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
90 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub()
94 while(src < srcLimit) { in u_strFromUTF32WithSub()
159 const UChar *srcLimit; in u_strToUTF32WithSub() local
198 srcLimit = src; in u_strToUTF32WithSub()
201 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
204 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub()
208 while(src < srcLimit) { in u_strToUTF32WithSub()
[all …]
Dunistr_cnv.cpp260 const UChar *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
276 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
287 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
Ducnv_ext.h353 const char **src, const char *srcLimit,
373 const UChar **src, const UChar *srcLimit,
Ducasemap.cpp217 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
229 while(srcIndex<srcLimit) { in _caseMap()
231 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
Ducnv_ext.cpp278 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU() argument
289 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchToU()
746 const UChar **src, const UChar *srcLimit, in ucnv_extInitialMatchFromU() argument
757 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
Ducnv.c1729 const UChar *srcLimit; in ucnv_fromUChars() local
1753 srcLimit=src+srcLength; in ucnv_fromUChars()
1762 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1773 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1789 const char *srcLimit; in ucnv_toUChars() local
1813 srcLimit=src+srcLength; in ucnv_toUChars()
1822 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
1834 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
Dustrcase.cpp130 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
142 while(srcIndex<srcLimit) { in _caseMap()
144 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
/external/icu/icu4c/source/test/cintltst/
Dncnvfbts.c301 const char *srcLimit; in testConvertToUnicode() local
358 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
375 (const char *)srcLimit, in testConvertToUnicode()
377 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToUnicode()
379 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (srcLimit < realSourceEnd) ); /* while we just ne… in testConvertToUnicode()
Ducsdetst.c56 const UChar *srcLimit = src + length; in preflight() local
62 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in preflight()
74 const UChar *srcLimit = src + length; in extractBytes() local
78 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in extractBytes()
Dnccbtst.c2831 const char *srcLimit; in testConvertToUnicode() local
2899 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2916 (const char *)srcLimit, in testConvertToUnicode()
2918 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2920 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicode()
3204 const char *srcLimit; in testConvertToUnicodeWithContext() local
3272 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicodeWithContext()
3289 (const char *)srcLimit, in testConvertToUnicodeWithContext()
3291 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicodeWithContext()
3293 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicodeWithContext()
Dncnvtst.c1376 const char *srcLimit; in testConvertToU() local
1433 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
1445 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU()
1451 (const char *)srcLimit, in testConvertToU()
1461 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
Dccapitst.c2146 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2176 srcLimit=src+chunkSize; in convertExStreaming()
2178 srcLimit=finalSrcLimit; in convertExStreaming()
2182 &src, srcLimit, in convertExStreaming()
Dnucnvtst.c525 const char *srcLimit; in testConvertToU() local
573 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
590 srcLimit, in testConvertToU()
592 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU()
597 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DReplaceableTest.java128 public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) { in getChars() argument
129 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars()
/external/icu/icu4c/source/common/unicode/
Dunistr.h457 int32_t srcLimit) const;
624 int32_t srcLimit) const;
803 int32_t srcLimit,
2363 int32_t srcLimit);
3785 int32_t srcLimit) const in compareBetween() argument
3787 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
3846 int32_t srcLimit) const in compareCodePointOrderBetween() argument
3848 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
3919 int32_t srcLimit, in caseCompareBetween() argument
3921 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]