Lines Matching refs:junkout
2631 char junkout[NEW_MAX_BUFFER]; /* FIX */
2652 junkout[i] = (char)0xF0;
2686 targ = junkout;
2689 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
2690 realBufferEnd = junkout + realBufferSize;
2751 sourceLen, targ-junkout);
2757 for(p = junkout;p<targ;p++)
2760 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]);
2775 if(expectLen != targ-junkout)
2777 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
2778 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
2779 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
2786 log_verbose("comparing %d offsets..\n", targ-junkout);
2787 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
2790 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
2792 for(p=junkout;p<targ;p++)
2793 log_err("%d,", junokout[p-junkout]);
2796 for(i=0; i<(targ-junkout); i++)
2803 if(!memcmp(junkout, expect, expectLen))
2814 printSeqErr((const uint8_t *)junkout, expectLen);
2827 UChar junkout[NEW_MAX_BUFFER]; /* FIX */
2848 junkout[i] = 0xFFFE;
2867 targ = junkout;
2870 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
2871 realBufferEnd = junkout + realBufferSize;
2946 sourcelen, targ-junkout);
2953 for(p = junkout;p<targ;p++)
2956 sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]);
2974 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t)))
2978 for(p=junkout;p<targ;p++)
2979 log_err(" %2d,", junokout[p-junkout]);
2982 for(i=0; i<(targ-junkout); i++)
2986 for(i=0; i<(targ-junkout); i++)
2987 log_err("0x%04x,", junkout[i]);
2996 if(!memcmp(junkout, expect, expectlen*2))
3006 printUSeqErr(junkout, expectlen);
3022 char junkout[NEW_MAX_BUFFER]; /* FIX */
3043 junkout[i] = (char)0xF0;
3077 targ = junkout;
3080 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
3081 realBufferEnd = junkout + realBufferSize;
3125 sourceLen, targ-junkout);
3131 for(p = junkout;p<targ;p++)
3134 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]);
3149 if(expectLen != targ-junkout)
3151 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
3152 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName);
3153 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
3160 log_verbose("comparing %d offsets..\n", targ-junkout);
3161 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
3164 printSeqErr((const uint8_t *)junkout, (int32_t)(targ-junkout));
3166 for(p=junkout;p<targ;p++)
3167 log_err("%d,", junokout[p-junkout]);
3170 for(i=0; i<(targ-junkout); i++)
3177 if(!memcmp(junkout, expect, expectLen))
3188 printSeqErr((const uint8_t *)junkout, expectLen);
3200 UChar junkout[NEW_MAX_BUFFER]; /* FIX */
3221 junkout[i] = 0xFFFE;
3240 targ = junkout;
3243 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
3244 realBufferEnd = junkout + realBufferSize;
3303 sourcelen, targ-junkout);
3310 for(p = junkout;p<targ;p++)
3313 sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]);
3331 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t)))
3335 for(p=junkout;p<targ;p++)
3336 log_err(" %2d,", junokout[p-junkout]);
3339 for(i=0; i<(targ-junkout); i++)
3343 for(i=0; i<(targ-junkout); i++)
3344 log_err("0x%04x,", junkout[i]);
3353 if(!memcmp(junkout, expect, expectlen*2))
3363 printUSeqErr(junkout, expectlen);