Lines Matching refs:targ
2637 char *targ; in testConvertFromUnicode() local
2688 targ = junkout; in testConvertFromUnicode()
2703 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
2708 if(targ == realBufferEnd) in testConvertFromUnicode()
2710 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
2713 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicode()
2719 (char **)&targ, in testConvertFromUnicode()
2753 sourceLen, targ-junkout); in testConvertFromUnicode()
2759 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2777 if(expectLen != targ-junkout) in testConvertFromUnicode()
2779 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2780 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2781 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2788 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
2789 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
2792 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2794 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
2798 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
2834 UChar *targ; in testConvertToUnicode() local
2869 targ = junkout; in testConvertToUnicode()
2900 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicode()
2903 if(targ == realBufferEnd) in testConvertToUnicode()
2905 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicode()
2908 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicode()
2915 &targ, in testConvertToUnicode()
2948 sourcelen, targ-junkout); in testConvertToUnicode()
2955 for(p = junkout;p<targ;p++) in testConvertToUnicode()
2976 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
2980 for(p=junkout;p<targ;p++) in testConvertToUnicode()
2984 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
2988 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3028 char *targ; in testConvertFromUnicodeWithContext() local
3079 targ = junkout; in testConvertFromUnicodeWithContext()
3094 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicodeWithContext()
3099 if(targ == realBufferEnd) in testConvertFromUnicodeWithContext()
3101 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicodeWithContext()
3104 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicodeWithContext()
3110 (char **)&targ, in testConvertFromUnicodeWithContext()
3127 sourceLen, targ-junkout); in testConvertFromUnicodeWithContext()
3133 for(p = junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3151 if(expectLen != targ-junkout) in testConvertFromUnicodeWithContext()
3153 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3154 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3155 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3162 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicodeWithContext()
3163 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicodeWithContext()
3166 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3168 for(p=junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3172 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicodeWithContext()
3207 UChar *targ; in testConvertToUnicodeWithContext() local
3242 targ = junkout; in testConvertToUnicodeWithContext()
3273 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicodeWithContext()
3276 if(targ == realBufferEnd) in testConvertToUnicodeWithContext()
3278 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicodeWithContext()
3281 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicodeWithContext()
3288 &targ, in testConvertToUnicodeWithContext()
3305 sourcelen, targ-junkout); in testConvertToUnicodeWithContext()
3312 for(p = junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3333 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicodeWithContext()
3337 for(p=junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3341 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()
3345 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()