Lines Matching refs:targ
140 char *targ; in testConvertFromUnicode() local
178 targ = junkout; in testConvertFromUnicode()
193 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
198 if(targ == realBufferEnd) in testConvertFromUnicode()
200 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
203 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicode()
209 (char **)&targ, in testConvertFromUnicode()
226 sourceLen, targ-junkout); in testConvertFromUnicode()
234 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
252 if(expectLen != targ-junkout) in testConvertFromUnicode()
254 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
255 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
256 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
263 log_verbose("\ncomparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
264 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
267 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
268 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
271 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
302 UChar *targ; in testConvertToUnicode() local
336 targ = junkout; in testConvertToUnicode()
357 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicode()
360 if(targ == realBufferEnd) in testConvertToUnicode()
362 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicode()
365 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicode()
372 &targ, in testConvertToUnicode()
389 sourcelen, targ-junkout); in testConvertToUnicode()
396 for(p = junkout;p<targ;p++) in testConvertToUnicode()
417 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
421 for(p=junkout;p<targ;p++) in testConvertToUnicode()
424 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
427 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()