Lines Matching refs:junkout
139 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
157 junkout[i] = (char)0xF0; in testConvertFromUnicode()
181 targ = junkout; in testConvertFromUnicode()
184 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromUnicode()
185 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
229 sourceLen, targ-junkout); in testConvertFromUnicode()
237 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
240 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
255 if(expectLen != targ-junkout) in testConvertFromUnicode()
257 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
258 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
259 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
266 log_verbose("\ncomparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
267 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
270 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
271 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
272 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode()
274 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
280 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode()
289 printSeqErr((const unsigned char*)junkout, expectLen); in testConvertFromUnicode()
300 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToUnicode() local
320 junkout[i] = 0xFFFE; in testConvertToUnicode()
339 targ = junkout; in testConvertToUnicode()
342 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertToUnicode()
343 realBufferEnd = junkout + realBufferSize; in testConvertToUnicode()
392 sourcelen, targ-junkout); in testConvertToUnicode()
399 for(p = junkout;p<targ;p++) in testConvertToUnicode()
402 …sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]); in testConvertToUnicode()
420 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
424 for(p=junkout;p<targ;p++) in testConvertToUnicode()
425 log_err("%d, ", junokout[p-junkout]); in testConvertToUnicode()
427 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
430 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
431 log_err("0x%04X,", junkout[i]); in testConvertToUnicode()
438 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode()
447 printUSeqErr(junkout, expectlen); in testConvertToUnicode()