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.c138 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()
[all …]
Dnccbtst.c2629 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
2650 junkout[i] = (char)0xF0; in testConvertFromUnicode()
2684 targ = junkout; in testConvertFromUnicode()
2687 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromUnicode()
2688 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
2749 sourceLen, targ-junkout); in testConvertFromUnicode()
2755 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2758 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
2773 if(expectLen != targ-junkout) in testConvertFromUnicode()
2775 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
[all …]
Dncnvtst.c1186 char junkout[MAX_LENGTH]; /* FIX */ in testConvertFromU() local
1205 junkout[i] = (char)0xF0; in testConvertFromU()
1229 targ = junkout; in testConvertFromU()
1232 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
1233 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
1281 sourceLen, targ-junkout); in testConvertFromU()
1290 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1293 …sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[ptr-junkout]); in testConvertFromU()
1308 if(expectLen != targ-junkout) in testConvertFromU()
1310 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]
Dnucnvtst.c367 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromU() local
383 junkout[i] = (char)0xF0; in testConvertFromU()
405 targ = junkout; in testConvertFromU()
408 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
409 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
447 sourceLen, targ-junkout); in testConvertFromU()
457 for(ptr = junkout;ptr<targ;ptr++) { in testConvertFromU()
459 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (int)(0xFF & junokout[ptr-junkout])); in testConvertFromU()
472 if(expectLen != targ-junkout) { in testConvertFromU()
473 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]