Home
last modified time | relevance | path

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

/external/icu4c/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.cpp270 const UChar *src=getArrayStart()+start, *srcLimit=src+length; in doExtract() local
286 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
297 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
Ducnv_ext.h349 const char **src, const char *srcLimit,
369 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()
747 const UChar **src, const UChar *srcLimit, in ucnv_extInitialMatchFromU() argument
758 *src, (int32_t)(srcLimit-*src), in ucnv_extInitialMatchFromU()
Dustrcase.cpp131 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
143 while(srcIndex<srcLimit) { in _caseMap()
145 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
Ducnv.c1721 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()
/external/icu4c/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.c2859 const char *srcLimit; in testConvertToUnicode() local
2927 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2944 (const char *)srcLimit, in testConvertToUnicode()
2946 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2948 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicode()
3235 const char *srcLimit; in testConvertToUnicodeWithContext() local
3303 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicodeWithContext()
3320 (const char *)srcLimit, in testConvertToUnicodeWithContext()
3322 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicodeWithContext()
3324 …} 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.c2141 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2171 srcLimit=src+chunkSize; in convertExStreaming()
2173 srcLimit=finalSrcLimit; in convertExStreaming()
2177 &src, srcLimit, in convertExStreaming()
Dnucnvtst.c541 const char *srcLimit; in testConvertToU() local
589 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
606 srcLimit, in testConvertToU()
608 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU()
613 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
/external/icu4c/common/unicode/
Dunistr.h457 int32_t srcLimit) const;
624 int32_t srcLimit) const;
803 int32_t srcLimit,
2363 int32_t srcLimit);
3739 int32_t srcLimit) const in compareBetween() argument
3741 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
3800 int32_t srcLimit) const in compareCodePointOrderBetween() argument
3802 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
3873 int32_t srcLimit, in caseCompareBetween() argument
3875 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]