Home | History | Annotate | Download | only in utfperf

Lines Matching refs:testcase

122     Command(const UtfPerformanceTest &testcase)
123 : testcase(testcase),
124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()),
126 cnv=ucnv_open(testcase.charset, &errorCode);
128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode));
143 const UtfPerformanceTest &testcase;
153 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {}
155 static UPerfFunction* get(const UtfPerformanceTest &testcase) {
156 Roundtrip * t = new Roundtrip(testcase);
180 pInterLimit=intermediate+testcase.chunkLength;
220 FromUnicode(const UtfPerformanceTest &testcase) : Command(testcase) {}
222 static UPerfFunction* get(const UtfPerformanceTest &testcase) {
223 FromUnicode * t = new FromUnicode(testcase);
241 pInterLimit=intermediate+testcase.chunkLength;
265 FromUTF8(const UtfPerformanceTest &testcase)
266 : Command(testcase),
272 static UPerfFunction* get(const UtfPerformanceTest &testcase) {
273 FromUTF8 * t = new FromUTF8(testcase);
296 pInterLimit=intermediate+testcase.chunkLength;
299 pivotLimit=pivot+testcase.pivotLength;