Lines Matching refs:targ
2654 char *targ; in testConvertFromUnicode() local
2705 targ = junkout; in testConvertFromUnicode()
2720 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
2725 if(targ == realBufferEnd) in testConvertFromUnicode()
2727 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
2730 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicode()
2736 (char **)&targ, in testConvertFromUnicode()
2773 sourceLen, targ-junkout); in testConvertFromUnicode()
2779 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2797 if(expectLen != targ-junkout) in testConvertFromUnicode()
2799 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2800 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2801 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2808 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
2809 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
2812 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2814 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
2818 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
2854 UChar *targ; in testConvertToUnicode() local
2889 targ = junkout; in testConvertToUnicode()
2920 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicode()
2923 if(targ == realBufferEnd) in testConvertToUnicode()
2925 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicode()
2928 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicode()
2935 &targ, in testConvertToUnicode()
2971 sourcelen, targ-junkout); in testConvertToUnicode()
2978 for(p = junkout;p<targ;p++) in testConvertToUnicode()
2999 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
3003 for(p=junkout;p<targ;p++) in testConvertToUnicode()
3007 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3011 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3051 char *targ; in testConvertFromUnicodeWithContext() local
3102 targ = junkout; in testConvertFromUnicodeWithContext()
3117 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicodeWithContext()
3122 if(targ == realBufferEnd) in testConvertFromUnicodeWithContext()
3124 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicodeWithContext()
3127 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicodeWithContext()
3133 (char **)&targ, in testConvertFromUnicodeWithContext()
3150 sourceLen, targ-junkout); in testConvertFromUnicodeWithContext()
3156 for(p = junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3174 if(expectLen != targ-junkout) in testConvertFromUnicodeWithContext()
3176 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3177 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3178 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3185 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicodeWithContext()
3186 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicodeWithContext()
3189 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3191 for(p=junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3195 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicodeWithContext()
3230 UChar *targ; in testConvertToUnicodeWithContext() local
3265 targ = junkout; in testConvertToUnicodeWithContext()
3296 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicodeWithContext()
3299 if(targ == realBufferEnd) in testConvertToUnicodeWithContext()
3301 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicodeWithContext()
3304 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicodeWithContext()
3311 &targ, in testConvertToUnicodeWithContext()
3328 sourcelen, targ-junkout); in testConvertToUnicodeWithContext()
3335 for(p = junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3356 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicodeWithContext()
3360 for(p=junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3364 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()
3368 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()