Lines Matching defs:targ
143 char *targ;
181 targ = junkout;
196 end = nct_min(targ + gOutBufferSize, realBufferEnd);
201 if(targ == realBufferEnd)
203 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
206 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"true":"false");
212 (char **)&targ,
229 sourceLen, targ-junkout);
237 for(p = junkout;p<targ;p++)
255 if(expectLen != targ-junkout)
257 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
258 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
259 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
266 log_verbose("\ncomparing %d offsets..\n", targ-junkout);
267 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
270 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout));
271 for(p=junkout;p<targ;p++)
274 for(i=0; i<(targ-junkout); i++)
305 UChar *targ;
339 targ = junkout;
360 end = nct_min( targ + gOutBufferSize, realBufferEnd);
363 if(targ == realBufferEnd)
365 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
368 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
375 &targ,
392 sourcelen, targ-junkout);
399 for(p = junkout;p<targ;p++)
420 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t)))
424 for(p=junkout;p<targ;p++)
427 for(i=0; i<(targ-junkout); i++)
430 for(i=0; i<(targ-junkout); i++)