Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dncnvfbts.c136 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()
[all …]
Dnccbtst.c2656 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromUnicode() local
2677 junkout[i] = (char)0xF0; in testConvertFromUnicode()
2711 targ = junkout; in testConvertFromUnicode()
2714 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromUnicode()
2715 realBufferEnd = junkout + realBufferSize; in testConvertFromUnicode()
2779 sourceLen, targ-junkout); in testConvertFromUnicode()
2785 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2788 … sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[p-junkout]); in testConvertFromUnicode()
2803 if(expectLen != targ-junkout) in testConvertFromUnicode()
2805 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
[all …]
Dncnvtst.c1198 char junkout[MAX_LENGTH]; /* FIX */ in testConvertFromU() local
1217 junkout[i] = (char)0xF0; in testConvertFromU()
1241 targ = junkout; in testConvertFromU()
1244 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromU()
1245 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
1293 sourceLen, targ-junkout); in testConvertFromU()
1302 for(ptr = junkout;ptr<targ;ptr++) in testConvertFromU()
1305 …sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[ptr-junkout]); in testConvertFromU()
1320 if(expectLen != targ-junkout) in testConvertFromU()
1322 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]
Dnucnvtst.c380 char junkout[NEW_MAX_BUFFER]; /* FIX */ in testConvertFromU() local
396 junkout[i] = (char)0xF0; in testConvertFromU()
418 targ = junkout; in testConvertFromU()
421 realBufferSize = (sizeof(junkout)/sizeof(junkout[0])); in testConvertFromU()
422 realBufferEnd = junkout + realBufferSize; in testConvertFromU()
460 sourceLen, targ-junkout); in testConvertFromU()
470 for(ptr = junkout;ptr<targ;ptr++) { in testConvertFromU()
472 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (int)(0xFF & junokout[ptr-junkout])); in testConvertFromU()
485 if(expectLen != targ-junkout) { in testConvertFromU()
486 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromU()
[all …]