Home | History | Annotate | Download | only in cintltst

Lines Matching defs:targetLimit

457         int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0;
463 targetLimit=0;
465 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
468 targetLimit=targetCapacity+1;
469 target=(char*)malloc(sizeof(char) * targetLimit);
470 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
482 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err);
490 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err);
497 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
504 targetLimit=0;
505 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
507 log_err("FAILURE! ucnv_convert() with targetLimit=0 is expected to throw U_BUFFER_OVERFLOW_ERROR\n");
2187 const char *srcLimit, *finalSrcLimit, *targetLimit;
2205 targetLimit=targetBuffer+chunkSize;
2222 &target, targetLimit,
2227 if(target>targetLimit) {
2228 log_err("ucnv_convertEx(%s) chunk[%d] target %p exceeds targetLimit %p\n",
2229 testName, chunkSize, target, targetLimit);
2236 targetLimit=target+chunkSize;
2238 targetLimit=targetBuffer+sizeof(targetBuffer);
3248 char* targetLimit = target + 10;
3253 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3283 char* targetLimit = target + 2; /* expect overflow from converting \U00101234\U00050005 */
3288 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3299 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3310 ucnv_fromUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3354 UChar* targetLimit = target + 20;
3359 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3391 UChar* targetLimit = target + 1; /* expect overflow from converting */
3401 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3411 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);
3422 targetLimit = target;
3423 ucnv_toUnicode(cnv,&target, targetLimit, &source, sourceLimit, NULL, FALSE, &status);