Lines Matching refs:targ
142 char *targ; in testConvertFromUnicode() local
180 targ = junkout; in testConvertFromUnicode()
195 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
200 if(targ == realBufferEnd) in testConvertFromUnicode()
202 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
205 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicode()
211 (char **)&targ, in testConvertFromUnicode()
228 sourceLen, targ-junkout); in testConvertFromUnicode()
236 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
254 if(expectLen != targ-junkout) in testConvertFromUnicode()
256 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
257 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
258 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
265 log_verbose("\ncomparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
266 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
269 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
270 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
273 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
304 UChar *targ; in testConvertToUnicode() local
338 targ = junkout; in testConvertToUnicode()
359 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicode()
362 if(targ == realBufferEnd) in testConvertToUnicode()
364 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicode()
367 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicode()
374 &targ, in testConvertToUnicode()
391 sourcelen, targ-junkout); in testConvertToUnicode()
398 for(p = junkout;p<targ;p++) in testConvertToUnicode()
419 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
423 for(p=junkout;p<targ;p++) in testConvertToUnicode()
426 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
429 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()