Home
last modified time | relevance | path

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

/external/icu4c/common/
Dustrtrns.c41 const UChar32 *srcLimit; in u_strFromUTF32WithSub() local
80 srcLimit = src; in u_strFromUTF32WithSub()
83 while(*++srcLimit != 0) {} in u_strFromUTF32WithSub()
86 srcLimit = src + srcLength; in u_strFromUTF32WithSub()
90 while(src < srcLimit) { in u_strFromUTF32WithSub()
155 const UChar *srcLimit; in u_strToUTF32WithSub() local
194 srcLimit = src; in u_strToUTF32WithSub()
197 while(*++srcLimit != 0) {} in u_strToUTF32WithSub()
200 srcLimit = src + srcLength; in u_strToUTF32WithSub()
204 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.c225 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
237 while(srcIndex<srcLimit) { in _caseMap()
239 U8_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
Ducnv_ext.c277 const char **src, const char *srcLimit, in ucnv_extInitialMatchToU() argument
288 *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.c1719 const UChar *srcLimit; in ucnv_fromUChars() local
1743 srcLimit=src+srcLength; in ucnv_fromUChars()
1752 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1763 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1779 const char *srcLimit; in ucnv_toUChars() local
1803 srcLimit=src+srcLength; in ucnv_toUChars()
1812 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
1824 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
Dustrcase.c125 int32_t srcStart, int32_t srcLimit, in _caseMap() argument
137 while(srcIndex<srcLimit) { in _caseMap()
139 U16_NEXT(src, srcIndex, srcLimit, c); in _caseMap()
/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.c2853 const char *srcLimit; in testConvertToUnicode() local
2921 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2938 (const char *)srcLimit, in testConvertToUnicode()
2940 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2942 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicode()
3229 const char *srcLimit; in testConvertToUnicodeWithContext() local
3297 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicodeWithContext()
3314 (const char *)srcLimit, in testConvertToUnicodeWithContext()
3316 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicodeWithContext()
3318 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicodeWithContext()
Dncnvtst.c1375 const char *srcLimit; in testConvertToU() local
1432 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
1444 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU()
1450 (const char *)srcLimit, in testConvertToU()
1460 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
Dccapitst.c2187 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2217 srcLimit=src+chunkSize; in convertExStreaming()
2219 srcLimit=finalSrcLimit; in convertExStreaming()
2223 &src, srcLimit, in convertExStreaming()
Dnucnvtst.c538 const char *srcLimit; in testConvertToU() local
586 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
603 srcLimit, in testConvertToU()
605 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU()
610 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
/external/icu4c/common/unicode/
Dunistr.h399 int32_t srcLimit) const;
566 int32_t srcLimit) const;
745 int32_t srcLimit,
2302 int32_t srcLimit);
3643 int32_t srcLimit) const in compareBetween() argument
3645 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
3704 int32_t srcLimit) const in compareCodePointOrderBetween() argument
3706 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
3777 int32_t srcLimit, in caseCompareBetween() argument
3779 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]