Searched refs:realSourceEnd (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | ncnvfbts.c | 147 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()
|
D | nccbtst.c | 2642 const UChar *realSourceEnd; in testConvertFromUnicode() local 2693 realSourceEnd = source + sourceLen; in testConvertFromUnicode() 2704 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromUnicode() 2706 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromUnicode() 2726 …le ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (sourceLimit < realSourceEnd)) ); in testConvertFromUnicode() 2832 const char *realSourceEnd; in testConvertToUnicode() local 2874 realSourceEnd = src + sourcelen; in testConvertToUnicode() 2901 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToUnicode() 2920 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of the source data */ in testConvertToUnicode() 2922 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToUnicode() [all …]
|
D | ncnvtst.c | 1208 const UChar *realSourceEnd; in testConvertFromU() local 1246 realSourceEnd = source + sourceLen; in testConvertFromU() 1257 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromU() 1259 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromU() 1285 …hile ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) ); in testConvertFromU() 1373 const char *realSourceEnd; in testConvertToU() local 1420 realSourceEnd = src + sourcelen; in testConvertToU() 1431 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU() 1443 … doFlush=(UBool)((gInBufferSize ==999 && gOutBufferSize==999)?(srcLimit == realSourceEnd) : FALSE); in testConvertToU() 1459 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToU()
|
D | nucnvtst.c | 376 const UChar *realSourceEnd; in testConvertFromU() local 409 realSourceEnd = source + sourceLen; in testConvertFromU() 417 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd); in testConvertFromU() 419 doFlush = (UBool)(sourceLimit == realSourceEnd); in testConvertFromU() 438 …hile ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) ); in testConvertFromU() 526 const char *realSourceEnd; in testConvertToU() local 567 realSourceEnd = src + sourcelen; in testConvertToU() 575 srcLimit = nct_min(realSourceEnd, src + gInBufferSize); in testConvertToU() 594 … (UBool)(srcLimit == realSourceEnd), /* flush if we're at the end of hte source data */ in testConvertToU() 599 …atus == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && (srcLimit < realSourceEnd)) ); /* while … in testConvertToU()
|