Lines Matching refs:junkout
2656 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
2677 junkout[i] = (char)0xF0; in testConvertFromUnicode()
2711 targ = junkout; in testConvertFromUnicode()
2714 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromUnicode()
2715 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
2779 sourceLen, targ-junkout); in testConvertFromUnicode()
2785 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2788 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
2803 if(expectLen != targ-junkout) in testConvertFromUnicode()
2805 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2806 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
2807 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2814 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
2815 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
2818 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
2820 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
2821 log_err("%d,", junokout[p-junkout]); in testConvertFromUnicode()
2824 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
2831 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode()
2842 printSeqErr((const uint8_t *)junkout, expectLen); in testConvertFromUnicode()
2855 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToUnicode() local
2876 junkout[i] = 0xFFFE; in testConvertToUnicode()
2895 targ = junkout; in testConvertToUnicode()
2898 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertToUnicode()
2899 realBufferEnd = junkout + realBufferSize; in testConvertToUnicode()
2977 sourcelen, targ-junkout); in testConvertToUnicode()
2984 for(p = junkout;p<targ;p++) in testConvertToUnicode()
2987 …sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]); in testConvertToUnicode()
3005 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
3009 for(p=junkout;p<targ;p++) in testConvertToUnicode()
3010 log_err(" %2d,", junokout[p-junkout]); in testConvertToUnicode()
3013 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3017 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
3018 log_err("0x%04x,", junkout[i]); in testConvertToUnicode()
3027 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode()
3037 printUSeqErr(junkout, expectlen); in testConvertToUnicode()
3053 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicodeWithContext() local
3074 junkout[i] = (char)0xF0; in testConvertFromUnicodeWithContext()
3108 targ = junkout; in testConvertFromUnicodeWithContext()
3111 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromUnicodeWithContext()
3112 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicodeWithContext()
3156 sourceLen, targ-junkout); in testConvertFromUnicodeWithContext()
3162 for(p = junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3165 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicodeWithContext()
3180 if(expectLen != targ-junkout) in testConvertFromUnicodeWithContext()
3182 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3183 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicodeWithContext()
3184 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3191 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromUnicodeWithContext()
3192 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicodeWithContext()
3195 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicodeWithContext()
3197 for(p=junkout;p<targ;p++) in testConvertFromUnicodeWithContext()
3198 log_err("%d,", junokout[p-junkout]); in testConvertFromUnicodeWithContext()
3201 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicodeWithContext()
3208 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicodeWithContext()
3219 printSeqErr((const uint8_t *)junkout, expectLen); in testConvertFromUnicodeWithContext()
3231 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToUnicodeWithContext() local
3252 junkout[i] = 0xFFFE; in testConvertToUnicodeWithContext()
3271 targ = junkout; in testConvertToUnicodeWithContext()
3274 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertToUnicodeWithContext()
3275 realBufferEnd = junkout + realBufferSize; in testConvertToUnicodeWithContext()
3334 sourcelen, targ-junkout); in testConvertToUnicodeWithContext()
3341 for(p = junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3344 …sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]); in testConvertToUnicodeWithContext()
3362 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicodeWithContext()
3366 for(p=junkout;p<targ;p++) in testConvertToUnicodeWithContext()
3367 log_err(" %2d,", junokout[p-junkout]); in testConvertToUnicodeWithContext()
3370 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()
3374 for(i=0; i<(targ-junkout); i++) in testConvertToUnicodeWithContext()
3375 log_err("0x%04x,", junkout[i]); in testConvertToUnicodeWithContext()
3384 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicodeWithContext()
3394 printUSeqErr(junkout, expectlen); in testConvertToUnicodeWithContext()