Lines Matching refs:junkout

138     char junkout[NEW_MAX_BUFFER]; /* FIX */  in testConvertFromUnicode()  local
156 junkout[i] = (char)0xF0; in testConvertFromUnicode()
180 targ = junkout; in testConvertFromUnicode()
183 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromUnicode()
184 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
228 sourceLen, targ-junkout); in testConvertFromUnicode()
236 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
239 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
254 if(expectLen != targ-junkout) in testConvertFromUnicode()
256 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
257 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
258 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
265 log_verbose("\ncomparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
266 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
269 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
270 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
271 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode()
273 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
279 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode()
288 printSeqErr((const unsigned char*)junkout, expectLen); in testConvertFromUnicode()
299 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToUnicode() local
319 junkout[i] = 0xFFFE; in testConvertToUnicode()
338 targ = junkout; in testConvertToUnicode()
341 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertToUnicode()
342 realBufferEnd = junkout + realBufferSize; in testConvertToUnicode()
391 sourcelen, targ-junkout); in testConvertToUnicode()
398 for(p = junkout;p<targ;p++) in testConvertToUnicode()
401 …sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]); in testConvertToUnicode()
419 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
423 for(p=junkout;p<targ;p++) in testConvertToUnicode()
424 log_err("%d, ", junokout[p-junkout]); in testConvertToUnicode()
426 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
429 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
430 log_err("0x%04X,", junkout[i]); in testConvertToUnicode()
437 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode()
446 printUSeqErr(junkout, expectlen); in testConvertToUnicode()