Home
last modified time | relevance | path

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

/external/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.c2633 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
2654 junkout[i] = (char)0xF0; in testConvertFromUnicode()
2688 targ = junkout; in testConvertFromUnicode()
2691 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromUnicode()
2692 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
2753 sourceLen, targ-junkout); in testConvertFromUnicode()
2759 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2762 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
2777 if(expectLen != targ-junkout) in testConvertFromUnicode()
2779 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
[all …]
Dncnvtst.c1196 char junkout[MAX_LENGTH]; /* FIX */ in testConvertFromU() local
1215 junkout[i] = (char)0xF0; in testConvertFromU()
1239 targ = junkout; in testConvertFromU()
1242 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
1243 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
1291 sourceLen, targ-junkout); in testConvertFromU()
1300 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1303 …sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[ptr-junkout]); in testConvertFromU()
1318 if(expectLen != targ-junkout) in testConvertFromU()
1320 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]
Dnucnvtst.c366 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromU() local
382 junkout[i] = (char)0xF0; in testConvertFromU()
404 targ = junkout; in testConvertFromU()
407 realBufferSize = UPRV_LENGTHOF(junkout); in testConvertFromU()
408 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
446 sourceLen, targ-junkout); in testConvertFromU()
456 for(ptr = junkout;ptr<targ;ptr++) { in testConvertFromU()
458 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (int)(0xFF & junokout[ptr-junkout])); in testConvertFromU()
471 if(expectLen != targ-junkout) { in testConvertFromU()
472 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]