Lines Matching defs:targ
1017 char *targ;
1037 targ=buffer;
1038 targetLimit=targ+MAX_LENGTH;
1041 (char **)&targ,
1055 sourceLen, targ-buffer);
1057 if(expectLen != targ-buffer)
1059 log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1060 log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1061 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer));
1079 log_verbose("comparing %d offsets..\n", targ-buffer);
1080 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){
1083 printSeqErr((const unsigned char*)buffer, (int32_t)(targ-buffer));
1084 for(p=buffer;p<targ;p++)
1087 for(i=0; i< (targ-buffer); i++)
1107 UChar *targ;
1130 targ=buffer;
1131 targetLimit=targ+MAX_LENGTH;
1137 &targ,
1151 sourceLen, targ-buffer);
1159 if(memcmp(offsetBuffer, expectOffsets, (targ-buffer) * sizeof(int32_t))){
1163 for(p=buffer;p<targ;p++)
1166 for(i=0; i<(targ-buffer); i++)
1169 for(i=0; i<(targ-buffer); i++)
1203 char *targ;
1241 targ = junkout;
1256 end = nct_min(targ + gOutBufferSize, realBufferEnd);
1261 if(targ == realBufferEnd)
1263 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
1266 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
1273 (char **)&targ,
1293 sourceLen, targ-junkout);
1302 for(ptr = junkout;ptr<targ;ptr++)
1320 if(expectLen != targ-junkout)
1322 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1323 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1325 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1333 log_verbose("comparing %d offsets..\n", targ-junkout);
1334 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
1337 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1338 for(p=junkout;p<targ;p++)
1341 for(i=0; i<(targ-junkout); i++)
1376 UChar *targ;
1415 targ = junkout;
1430 end = nct_min( targ + gOutBufferSize, realBufferEnd);
1433 if(targ == realBufferEnd)
1435 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
1438 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
1440 /* oldTarg = targ; */
1446 &targ,
1457 /* offs += (targ-oldTarg); */
1468 sourcelen, targ-junkout);
1479 for(ptr = junkout;ptr<targ;ptr++)
1500 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){
1503 for(p=junkout;p<targ;p++)
1506 for(i=0; i<(targ-junkout); i++)
1509 for(i=0; i<(targ-junkout); i++)