Lines Matching refs:targetLimit
411 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; in TestConvert() local
417 targetLimit=0; in TestConvert()
419 …targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourc… in TestConvert()
422 targetLimit=targetCapacity+1; in TestConvert()
423 target=(char*)malloc(sizeof(char) * targetLimit); in TestConvert()
424 …targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sou… in TestConvert()
436 … i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err); in TestConvert()
444 … i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err); in TestConvert()
451 …i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &er… in TestConvert()
458 targetLimit=0; in TestConvert()
459 …i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &er… in TestConvert()
2146 const char *srcLimit, *finalSrcLimit, *targetLimit; in convertExStreaming() local
2164 targetLimit=targetBuffer+chunkSize; in convertExStreaming()
2181 &target, targetLimit, in convertExStreaming()
2186 if(target>targetLimit) { in convertExStreaming()
2188 testName, chunkSize, target, targetLimit); in convertExStreaming()
2195 targetLimit=target+chunkSize; in convertExStreaming()
2197 targetLimit=targetBuffer+sizeof(targetBuffer); in convertExStreaming()
3211 char* targetLimit = target + 10; in TestFromUCountPending() local
3216 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3246 char* targetLimit = target + 2; /* expect overflow from converting \U00101234\U00050005 */ in TestFromUCountPending() local
3251 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3262 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3273 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestFromUCountPending()
3317 UChar* targetLimit = target + 20; in TestToUCountPending() local
3322 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3354 UChar* targetLimit = target + 1; /* expect overflow from converting */ in TestToUCountPending() local
3364 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3374 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()
3385 targetLimit = target; in TestToUCountPending()
3386 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status); in TestToUCountPending()