Lines Matching refs:targ

2626     char *targ;
2677 targ = junkout;
2692 end = nct_min(targ + gOutBufferSize, realBufferEnd);
2697 if(targ == realBufferEnd)
2699 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
2702 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
2708 (char **)&targ,
2745 sourceLen, targ-junkout);
2751 for(p = junkout;p<targ;p++)
2769 if(expectLen != targ-junkout)
2771 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
2772 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
2773 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
2780 log_verbose("comparing %d offsets..\n", targ-junkout);
2781 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
2784 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
2786 for(p=junkout;p<targ;p++)
2790 for(i=0; i<(targ-junkout); i++)
2826 UChar *targ;
2861 targ = junkout;
2892 end = nct_min( targ + gOutBufferSize, realBufferEnd);
2895 if(targ == realBufferEnd)
2897 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
2900 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
2907 &targ,
2943 sourcelen, targ-junkout);
2950 for(p = junkout;p<targ;p++)
2971 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t)))
2975 for(p=junkout;p<targ;p++)
2979 for(i=0; i<(targ-junkout); i++)
2983 for(i=0; i<(targ-junkout); i++)
3023 char *targ;
3074 targ = junkout;
3089 end = nct_min(targ + gOutBufferSize, realBufferEnd);
3094 if(targ == realBufferEnd)
3096 log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName);
3099 log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FALSE");
3105 (char **)&targ,
3122 sourceLen, targ-junkout);
3128 for(p = junkout;p<targ;p++)
3146 if(expectLen != targ-junkout)
3148 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
3149 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
3150 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
3157 log_verbose("comparing %d offsets..\n", targ-junkout);
3158 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
3161 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
3163 for(p=junkout;p<targ;p++)
3167 for(i=0; i<(targ-junkout); i++)
3202 UChar *targ;
3237 targ = junkout;
3268 end = nct_min( targ + gOutBufferSize, realBufferEnd);
3271 if(targ == realBufferEnd)
3273 log_err("Error, the end would overflow the real output buffer while about to call toUnicode! tarjey=%08lx %s",targ,gNuConvTestName);
3276 log_verbose("calling toUnicode @ %08lx to %08lx\n", targ,end);
3283 &targ,
3300 sourcelen, targ-junkout);
3307 for(p = junkout;p<targ;p++)
3328 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t)))
3332 for(p=junkout;p<targ;p++)
3336 for(i=0; i<(targ-junkout); i++)
3340 for(i=0; i<(targ-junkout); i++)