Home
last modified time | relevance | path

Searched refs:realSourceEnd (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dncnvfbts.c147 const UChar *realSourceEnd; in testConvertFromUnicode() local
185 realSourceEnd = source + sourceLen; in testConvertFromUnicode()
196 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromUnicode()
198 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromUnicode()
219 } while ( (status == U_BUFFER_OVERFLOW_ERROR) || (sourceLimit < realSourceEnd) ); in testConvertFromUnicode()
302 const char *realSourceEnd; in testConvertToUnicode() local
343 realSourceEnd = src + sourcelen; in testConvertToUnicode()
360 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); 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()
Dnccbtst.c2638 const UChar *realSourceEnd; in testConvertFromUnicode() local
2689 realSourceEnd = source + sourceLen; in testConvertFromUnicode()
2700 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromUnicode()
2702 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromUnicode()
2722 …le ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (sourceLimit < realSourceEnd)) ); in testConvertFromUnicode()
2828 const char *realSourceEnd; in testConvertToUnicode() local
2870 realSourceEnd = src + sourcelen; in testConvertToUnicode()
2897 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode()
2916 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode()
2918 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToUnicode()
[all …]
Dncnvtst.c1196 const UChar *realSourceEnd; in testConvertFromU() local
1234 realSourceEnd = source + sourceLen; in testConvertFromU()
1245 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromU()
1247 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromU()
1273 …hile ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) ); in testConvertFromU()
1361 const char *realSourceEnd; in testConvertToU() local
1408 realSourceEnd = src + sourcelen; in testConvertToU()
1419 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
1431 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU()
1447 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToU()
Dnucnvtst.c377 const UChar *realSourceEnd; in testConvertFromU() local
410 realSourceEnd = source + sourceLen; in testConvertFromU()
418 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromU()
420 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromU()
439 …hile ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) ); in testConvertFromU()
527 const char *realSourceEnd; in testConvertToU() local
568 realSourceEnd = src + sourcelen; in testConvertToU()
576 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU()
595 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU()
600 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToU()