Lines Matching refs:junkout
366 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromU() local
382 junkout[i] = (char)0xF0; in testConvertFromU()
404 targ = junkout; in testConvertFromU()
407 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
408 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
446 sourceLen, targ-junkout); in testConvertFromU()
456 for(ptr = junkout;ptr<targ;ptr++) { in testConvertFromU()
458 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (int)(0xFF & junokout[ptr-junkout])); in testConvertFromU()
471 if(expectLen != targ-junkout) { in testConvertFromU()
472 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
473 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
475 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
482 log_verbose("comparing %d offsets..\n", targ-junkout); in testConvertFromU()
483 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromU()
485 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromU()
488 for(p=junkout;p<targ;p++) { in testConvertFromU()
489 log_err("%d,", junokout[p-junkout]); in testConvertFromU()
493 for(i=0; i<(targ-junkout); i++) { in testConvertFromU()
501 if(!memcmp(junkout, expect, expectLen)) { in testConvertFromU()
508 printSeqErr((const unsigned char *)junkout, expectLen); in testConvertFromU()
523 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToU() local
540 junkout[i] = 0xFFFE; in testConvertToU()
562 targ = junkout; in testConvertToU()
565 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertToU()
566 realBufferEnd = junkout + realBufferSize; in testConvertToU()
608 sourcelen, targ-junkout); in testConvertToU()
618 for(ptr = junkout;ptr<targ;ptr++) in testConvertToU()
621 …rintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[ptr-junkout]); in testConvertToU()
639 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){ in testConvertToU()
642 for(p=junkout;p<targ;p++) { in testConvertToU()
643 log_err("%d,", junokout[p-junkout]); in testConvertToU()
647 for(i=0; i<(targ-junkout); i++) { in testConvertToU()
652 for(i=0; i<(targ-junkout); i++) { in testConvertToU()
653 log_err("%X,", junkout[i]); in testConvertToU()
664 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToU()
674 printUSeqErr(junkout, expectlen); in testConvertToU()