• Home
  • Raw
  • Download

Lines Matching refs:junkout

136     char junkout[NEW_MAX_BUFFER]; /* FIX */  in testConvertFromUnicode()  local
154 junkout[i] = (char)0xF0; in testConvertFromUnicode()
178 targ = junkout; in testConvertFromUnicode()
181 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromUnicode()
182 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
226 sourceLen, targ-junkout); in testConvertFromUnicode()
234 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
237 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
252 if(expectLen != targ-junkout) in testConvertFromUnicode()
254 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
255 log_verbose("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
256 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
263 log_verbose("\ncomparing %d offsets..\n", targ-junkout); in testConvertFromUnicode()
264 if(uprv_memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){ in testConvertFromUnicode()
267 printSeqErr((const unsigned char*)junkout, (int32_t)(targ-junkout)); in testConvertFromUnicode()
268 for(p=junkout;p<targ;p++) in testConvertFromUnicode()
269 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode()
271 for(i=0; i<(targ-junkout); i++) in testConvertFromUnicode()
277 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode()
286 printSeqErr((const unsigned char*)junkout, expectLen); in testConvertFromUnicode()
297 UChar junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertToUnicode() local
317 junkout[i] = 0xFFFE; in testConvertToUnicode()
336 targ = junkout; in testConvertToUnicode()
339 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertToUnicode()
340 realBufferEnd = junkout + realBufferSize; in testConvertToUnicode()
389 sourcelen, targ-junkout); in testConvertToUnicode()
396 for(p = junkout;p<targ;p++) in testConvertToUnicode()
399 …sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[p-junkout]); in testConvertToUnicode()
417 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))) in testConvertToUnicode()
421 for(p=junkout;p<targ;p++) in testConvertToUnicode()
422 log_err("%d, ", junokout[p-junkout]); in testConvertToUnicode()
424 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
427 for(i=0; i<(targ-junkout); i++) in testConvertToUnicode()
428 log_err("0x%04X,", junkout[i]); in testConvertToUnicode()
435 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode()
444 printUSeqErr(junkout, expectlen); in testConvertToUnicode()