Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/icu/source/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/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.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()
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.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.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()
/external/chromium_org/third_party/icu/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.c2825 const char *srcLimit; in testConvertToUnicode() local
2893 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2910 (const char *)srcLimit, in testConvertToUnicode()
2912 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2914 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicode()
3201 const char *srcLimit; in testConvertToUnicodeWithContext() local
3269 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicodeWithContext()
3286 (const char *)srcLimit, in testConvertToUnicodeWithContext()
3288 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicodeWithContext()
3290 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToUnicodeWithContext()
Dncnvtst.c1356 const char *srcLimit; in testConvertToU() local
1413 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
1425 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU()
1431 (const char *)srcLimit, in testConvertToU()
1441 …} while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd))… in testConvertToU()
Dccapitst.c2183 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2213 srcLimit=src+chunkSize; in convertExStreaming()
2215 srcLimit=finalSrcLimit; in convertExStreaming()
2219 &src, srcLimit, in convertExStreaming()
/external/chromium_org/third_party/icu/source/common/unicode/
Dunistr.h398 int32_t srcLimit) const;
565 int32_t srcLimit) const;
744 int32_t srcLimit,
2301 int32_t srcLimit);
3619 int32_t srcLimit) const in compareBetween() argument
3621 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
3680 int32_t srcLimit) const in compareCodePointOrderBetween() argument
3682 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
3753 int32_t srcLimit, in caseCompareBetween() argument
3755 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]
/external/icu4c/common/unicode/
Dunistr.h459 int32_t srcLimit) const;
626 int32_t srcLimit) const;
805 int32_t srcLimit,
2365 int32_t srcLimit);
3751 int32_t srcLimit) const in compareBetween() argument
3753 srcText, srcStart, srcLimit - srcStart); } in compareBetween()
3812 int32_t srcLimit) const in compareCodePointOrderBetween() argument
3814 srcText, srcStart, srcLimit - srcStart); } in compareCodePointOrderBetween()
3885 int32_t srcLimit, in caseCompareBetween() argument
3887 return doCaseCompare(start, limit - start, srcText, srcStart, srcLimit - srcStart, options); in caseCompareBetween()
[all …]

12