Home | History | Annotate | Download | only in cintltst

Lines Matching refs:targetLimit

414         int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0;
420 targetLimit=0;
422 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
425 targetLimit=targetCapacity+1;
426 target=(char*)malloc(sizeof(char) * targetLimit);
427 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
439 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err);
447 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err);
454 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
461 targetLimit=0;
462 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
464 log_err("FAILURE! ucnv_convert() with targetLimit=0 is expected to throw U_BUFFER_OVERFLOW_ERROR\n");
2149 const char *srcLimit, *finalSrcLimit, *targetLimit;
2167 targetLimit=targetBuffer+chunkSize;
2184 &target, targetLimit,
2189 if(target>targetLimit) {
2190 log_err("ucnv_convertEx(%s) chunk[%d] target %p exceeds targetLimit %p\n",
2191 testName, chunkSize, target, targetLimit);
2198 targetLimit=target+chunkSize;
2200 targetLimit=targetBuffer+sizeof(targetBuffer);
3234 char* targetLimit = target + 10;
3239 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3269 char* targetLimit = target + 2; /* expect overflow from converting \U00101234\U00050005 */
3274 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3285 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3296 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3340 UChar* targetLimit = target + 20;
3345 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3377 UChar* targetLimit = target + 1; /* expect overflow from converting */
3387 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3397 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3408 targetLimit = target;
3409 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);