Lines Matching refs:targetLimit
414 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; in TestConvert() local
420 targetLimit=0; in TestConvert()
422 …targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourc… in TestConvert()
425 targetLimit=targetCapacity+1; in TestConvert()
426 target=(char*)malloc(sizeof(char) * targetLimit); in TestConvert()
427 …targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sou… in TestConvert()
439 … i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err); in TestConvert()
447 … i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err); in TestConvert()
454 …i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &er… in TestConvert()
461 targetLimit=0; in TestConvert()
462 …i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &er… in TestConvert()
2149 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2167 targetLimit=targetBuffer+chunkSize; in convertExStreaming()
2184 &target, targetLimit, in convertExStreaming()
2189 if(target>targetLimit) { in convertExStreaming()
2191 testName, chunkSize, target, targetLimit); in convertExStreaming()
2198 targetLimit=target+chunkSize; in convertExStreaming()
2200 targetLimit=targetBuffer+sizeof(targetBuffer); in convertExStreaming()
3234 char* targetLimit = target + 10; in TestFromUCountPending() local
3239 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3269 char* targetLimit = target + 2; /* expect overflow from converting \U00101234\U00050005 */ in TestFromUCountPending() local
3274 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3285 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3296 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3340 UChar* targetLimit = target + 20; in TestToUCountPending() local
3345 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3377 UChar* targetLimit = target + 1; /* expect overflow from converting */ in TestToUCountPending() local
3387 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3397 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3408 targetLimit = target; in TestToUCountPending()
3409 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()