Home | History | Annotate | Download | only in cintltst

Lines Matching refs:targ

1019     char *targ;
1039 targ=buffer;
1040 targetLimit=targ+MAX_LENGTH;
1043 (char **)&targ,
1057 sourceLen, targ-buffer);
1059 if(expectLen != targ-buffer)
1061 log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1062 log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1063 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer));
1081 log_verbose("comparing %d offsets..\n", targ-buffer);
1082 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){
1085 printSeqErr((const unsigned char*)buffer, (int32_t)(targ-buffer));
1086 for(p=buffer;p<targ;p++)
1089 for(i=0; i< (targ-buffer); i++)
1109 UChar *targ;
1132 targ=buffer;
1133 targetLimit=targ+MAX_LENGTH;
1139 &targ,
1153 sourceLen, targ-buffer);
1161 if(memcmp(offsetBuffer, expectOffsets, (targ-buffer) * sizeof(int32_t))){
1165 for(p=buffer;p<targ;p++)
1168 for(i=0; i<(targ-buffer); i++)
1171 for(i=0; i<(targ-buffer); i++)
1205 char *targ;
1243 targ = junkout;
1258 end = nct_min(targ + gOutBufferSize, realBufferEnd);
1263 if(targ == realBufferEnd)
1265 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
1268 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
1275 (char **)&targ,
1295 sourceLen, targ-junkout);
1304 for(ptr = junkout;ptr<targ;ptr++)
1322 if(expectLen != targ-junkout)
1324 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1325 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1327 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1335 log_verbose("comparing %d offsets..\n", targ-junkout);
1336 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
1339 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1340 for(p=junkout;p<targ;p++)
1343 for(i=0; i<(targ-junkout); i++)
1378 UChar *targ;
1417 targ = junkout;
1432 end = nct_min( targ + gOutBufferSize, realBufferEnd);
1435 if(targ == realBufferEnd)
1437 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
1440 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
1442 /* oldTarg = targ; */
1448 &targ,
1459 /* offs += (targ-oldTarg); */
1470 sourcelen, targ-junkout);
1481 for(ptr = junkout;ptr<targ;ptr++)
1502 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){
1505 for(p=junkout;p<targ;p++)
1508 for(i=0; i<(targ-junkout); i++)
1511 for(i=0; i<(targ-junkout); i++)