Home
last modified time | relevance | path

Searched refs:junkout (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dncnvfbts.c139 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()
[all …]
Dnccbtst.c2630 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
2651 junkout[i] = (char)0xF0; in testConvertFromUnicode()
2685 targ = junkout; in testConvertFromUnicode()
2688 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromUnicode()
2689 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
2750 sourceLen, targ-junkout); in testConvertFromUnicode()
2756 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2759 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
2774 if(expectLen != targ-junkout) in testConvertFromUnicode()
2776 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
[all …]
Dncnvtst.c1187 char junkout[MAX_LENGTH]; /* FIX */ in testConvertFromU() local
1206 junkout[i] = (char)0xF0; in testConvertFromU()
1230 targ = junkout; in testConvertFromU()
1233 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
1234 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
1282 sourceLen, targ-junkout); in testConvertFromU()
1291 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1294 …sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[ptr-junkout]); in testConvertFromU()
1309 if(expectLen != targ-junkout) in testConvertFromU()
1311 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]
Dnucnvtst.c368 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromU() local
384 junkout[i] = (char)0xF0; in testConvertFromU()
406 targ = junkout; in testConvertFromU()
409 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
410 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
448 sourceLen, targ-junkout); in testConvertFromU()
458 for(ptr = junkout;ptr<targ;ptr++) { in testConvertFromU()
460 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (int)(0xFF & junokout[ptr-junkout])); in testConvertFromU()
473 if(expectLen != targ-junkout) { in testConvertFromU()
474 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]