Lines Matching full:sourcelimit
389 const UChar *sourceLimit;
429 sourceLimit = nct_min(src + gInBufferSize, realSourceEnd);
431 doFlush = (UBool)(sourceLimit == realSourceEnd);
437 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
446 sourceLimit,
450 } while ( (status == U_BUFFER_OVERFLOW_ERROR) || (U_SUCCESS(status) && sourceLimit < realSourceEnd) );
1855 /* Test the condition when source >= sourceLimit */
1856 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
1898 /* Test the condition when source >= sourceLimit */
1899 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
1960 /* Test the condition when source >= sourceLimit */
1961 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2031 /* Test the condition when source >= sourceLimit */
2032 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2094 /* Test the condition when source >= sourceLimit */
2096 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2131 /* Test the condition when source >= sourceLimit */
2132 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2185 /* Test the condition when source >= sourceLimit */
2186 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2262 /* Test the condition when source >= sourceLimit */
2264 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2328 /* Test the condition when source >= sourceLimit */
2329 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2399 /* Test the condition when source >= sourceLimit */
2400 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2531 /* Test the condition when source >= sourceLimit */
2532 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2562 /* Test the condition when source >= sourceLimit */
2563 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2605 /* Test the condition when source >= sourceLimit */
2606 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2656 /* Test the condition when source >= sourceLimit */
2657 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2768 /* Test the condition when source >= sourceLimit */
2769 TestNextUCharError(cnv, source, source-1, U_ILLEGAL_ARGUMENT_ERROR, "sourceLimit < source");
2770 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
2788 TestSmallTargetBuffer(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv){
2808 uSourceLimit=(const UChar*)sourceLimit;
2847 for(len=0;len<(int)(source - sourceLimit);len++){
2857 static void TestToAndFromUChars(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv){
2873 uSourceLimit=sourceLimit;
2904 static void TestSmallSourceBuffer(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv){
2918 const UChar *temp = sourceLimit;
2935 if (uSourceLimit < sourceLimit) {
2969 for(;len<(int)(source - sourceLimit);len++){
4691 /* Test the condition when source >= sourceLimit */
4692 TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
4694 /*Test for the condition where source > sourcelimit after consuming the shift chracter */
4927 const char * sourceLimit = (const char *)pszLMBCS + sizeof(pszLMBCS);
4954 sourceLimit,
5096 const char * sourceLimit = (const char *)pszLMBCS + sizeof(pszLMBCS);
5111 while ((pSource < sourceLimit) && U_SUCCESS (errorCode))
5497 const char* sourceLimit = data+strlen(data);
5506 ucnv_toUnicode(conv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &status);
5550 const char* sourceLimit = data+strlen(data);
5552 ucnv_toUnicode(conv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &status);