Lines Matching refs:targ
2635 char *targ; in testConvertFromUnicode() local
2686 targ = junkout; in testConvertFromUnicode()
2701 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
2706 if(targ == realBufferEnd) in testConvertFromUnicode()
2708 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
2711 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicode()
2717 (char **)&targ, in testConvertFromUnicode()
2751 sourceLen, targ-junkout); in testConvertFromUnicode()
2757 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2775 if(expectLen != targ-junkout) in testConvertFromUnicode()
2777 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2778 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2779 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2786 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
2787 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
2790 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2792 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
2796 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
2832 UChar *targ; in testConvertToUnicode() local
2867 targ = junkout; in testConvertToUnicode()
2898 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicode()
2901 if(targ == realBufferEnd) in testConvertToUnicode()
2903 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicode()
2906 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicode()
2913 &targ, in testConvertToUnicode()
2946 sourcelen, targ-junkout); in testConvertToUnicode()
2953 for(p = junkout;p<targ;p++) in testConvertToUnicode()
2974 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
2978 for(p=junkout;p<targ;p++) in testConvertToUnicode()
2982 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
2986 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3026 char *targ; in testConvertFromUnicodeWithContext() local
3077 targ = junkout; in testConvertFromUnicodeWithContext()
3092 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicodeWithContext()
3097 if(targ == realBufferEnd) in testConvertFromUnicodeWithContext()
3099 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicodeWithContext()
3102 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE"… in testConvertFromUnicodeWithContext()
3108 (char **)&targ, in testConvertFromUnicodeWithContext()
3125 sourceLen, targ-junkout); in testConvertFromUnicodeWithContext()
3131 for(p = junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3149 if(expectLen != targ-junkout) in testConvertFromUnicodeWithContext()
3151 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3152 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3153 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3160 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicodeWithContext()
3161 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicodeWithContext()
3164 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3166 for(p=junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3170 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicodeWithContext()
3205 UChar *targ; in testConvertToUnicodeWithContext() local
3240 targ = junkout; in testConvertToUnicodeWithContext()
3271 end = nct_min( targ + gOutBufferSize, realBufferEnd); in testConvertToUnicodeWithContext()
3274 if(targ == realBufferEnd) in testConvertToUnicodeWithContext()
3276 …rflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName); in testConvertToUnicodeWithContext()
3279 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end); in testConvertToUnicodeWithContext()
3286 &targ, in testConvertToUnicodeWithContext()
3303 sourcelen, targ-junkout); in testConvertToUnicodeWithContext()
3310 for(p = junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3331 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicodeWithContext()
3335 for(p=junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3339 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()
3343 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()