Lines Matching refs:targ
1016 char *targ;
1036 targ=buffer;
1037 targetLimit=targ+MAX_LENGTH;
1040 (char **)&targ,
1054 sourceLen, targ-buffer);
1056 if(expectLen != targ-buffer)
1058 log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1059 log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage);
1060 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer));
1078 log_verbose("comparing %d offsets..\n", targ-buffer);
1079 if(memcmp(offsetBuffer,expectOffsets,(targ-buffer) * sizeof(int32_t) )){
1082 printSeqErr((const unsigned char*)buffer, (int32_t)(targ-buffer));
1083 for(p=buffer;p<targ;p++)
1086 for(i=0; i< (targ-buffer); i++)
1106 UChar *targ;
1129 targ=buffer;
1130 targetLimit=targ+MAX_LENGTH;
1136 &targ,
1150 sourceLen, targ-buffer);
1158 if(memcmp(offsetBuffer, expectOffsets, (targ-buffer) * sizeof(int32_t))){
1162 for(p=buffer;p<targ;p++)
1165 for(i=0; i<(targ-buffer); i++)
1168 for(i=0; i<(targ-buffer); i++)
1202 char *targ;
1240 targ = junkout;
1255 end = nct_min(targ + gOutBufferSize, realBufferEnd);
1260 if(targ == realBufferEnd)
1262 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
1265 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
1272 (char **)&targ,
1292 sourceLen, targ-junkout);
1301 for(ptr = junkout;ptr<targ;ptr++)
1319 if(expectLen != targ-junkout)
1321 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1322 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
1324 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1332 log_verbose("comparing %d offsets..\n", targ-junkout);
1333 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
1336 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
1337 for(p=junkout;p<targ;p++)
1340 for(i=0; i<(targ-junkout); i++)
1375 UChar *targ;
1414 targ = junkout;
1429 end = nct_min( targ + gOutBufferSize, realBufferEnd);
1432 if(targ == realBufferEnd)
1434 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
1437 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
1439 /* oldTarg = targ; */
1445 &targ,
1456 /* offs += (targ-oldTarg); */
1467 sourcelen, targ-junkout);
1478 for(ptr = junkout;ptr<targ;ptr++)
1499 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){
1502 for(p=junkout;p<targ;p++)
1505 for(i=0; i<(targ-junkout); i++)
1508 for(i=0; i<(targ-junkout); i++)