Lines Matching refs:status

19     UErrorCode status = U_ZERO_ERROR;
20 ConverterPerformanceTest test(argc, argv, status);
21 if(U_FAILURE(status)){
22 return status;
32 ConverterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status)
33 : UPerfTest(argc,argv,status){
123 UErrorCode status = U_ZERO_ERROR;
124 UPerfFunction* pf = new ICUOpenAllConvertersFunction(TRUE, status);
125 if(U_FAILURE(status)){
132 UErrorCode status = U_ZERO_ERROR;
133 UPerfFunction* pf = new ICUOpenAllConvertersFunction(FALSE, status);
134 if(U_FAILURE(status)){
141 UErrorCode status = U_ZERO_ERROR;
142 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status);
143 if(U_FAILURE(status)){
150 UErrorCode status = U_ZERO_ERROR;
151 UPerfFunction* pf = new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status);
152 if(U_FAILURE(status)){
160 UErrorCode status = U_ZERO_ERROR;
161 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status);
162 if(U_FAILURE(status)){
169 UErrorCode status = U_ZERO_ERROR;
170 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status);
171 if(U_FAILURE(status)){
178 UErrorCode status = U_ZERO_ERROR;
179 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status);
180 if(U_FAILURE(status)){
187 UErrorCode status = U_ZERO_ERROR;
188 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status);
189 if(U_FAILURE(status)){
198 UErrorCode status = U_ZERO_ERROR;
199 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status);
200 if(U_FAILURE(status)){
207 UErrorCode status = U_ZERO_ERROR;
208 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status);
209 if(U_FAILURE(status)){
217 UErrorCode status = U_ZERO_ERROR;
218 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status);
219 if(U_FAILURE(status)){
226 UErrorCode status = U_ZERO_ERROR;
227 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status);
228 if(U_FAILURE(status)){
235 UErrorCode status = U_ZERO_ERROR;
236 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status);
237 if(U_FAILURE(status)){
244 UErrorCode status = U_ZERO_ERROR;
245 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status);
246 if(U_FAILURE(status)){
255 UErrorCode status = U_ZERO_ERROR;
256 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status);
257 if(U_FAILURE(status)){
264 UErrorCode status = U_ZERO_ERROR;
265 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status);
266 if(U_FAILURE(status)){
274 UErrorCode status = U_ZERO_ERROR;
275 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status);
276 if(U_FAILURE(status)){
283 UErrorCode status = U_ZERO_ERROR;
284 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status);
285 if(U_FAILURE(status)){
291 UErrorCode status = U_ZERO_ERROR;
292 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status);
293 if(U_FAILURE(status)){
300 UErrorCode status = U_ZERO_ERROR;
301 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status);
302 if(U_FAILURE(status)){
312 UErrorCode status = U_ZERO_ERROR;
313 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status);
314 if(U_FAILURE(status)){
321 UErrorCode status = U_ZERO_ERROR;
322 UPerfFunction* pf = new ICUToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status);
323 if(U_FAILURE(status)){
331 UErrorCode status = U_ZERO_ERROR;
332 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status);
333 if(U_FAILURE(status)){
340 UErrorCode status = U_ZERO_ERROR;
341 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status);
342 if(U_FAILURE(status)){
349 UErrorCode status = U_ZERO_ERROR;
350 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status);
351 if(U_FAILURE(status)){
358 UErrorCode status = U_ZERO_ERROR;
359 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status);
360 if(U_FAILURE(status)){
369 UErrorCode status = U_ZERO_ERROR;
370 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status);
371 if(U_FAILURE(status)){
378 UErrorCode status = U_ZERO_ERROR;
379 UPerfFunction* pf = new ICUToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status);
380 if(U_FAILURE(status)){
388 UErrorCode status = U_ZERO_ERROR;
389 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status);
390 if(U_FAILURE(status)){
397 UErrorCode status = U_ZERO_ERROR;
398 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status);
399 if(U_FAILURE(status)){
406 UErrorCode status = U_ZERO_ERROR;
407 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status);
408 if(U_FAILURE(status)){
415 UErrorCode status = U_ZERO_ERROR;
416 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status);
417 if(U_FAILURE(status)){
428 UErrorCode status = U_ZERO_ERROR;
429 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status);
430 if(U_FAILURE(status)){
437 UErrorCode status = U_ZERO_ERROR;
438 UPerfFunction* pf = new ICUToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status);
439 if(U_FAILURE(status)){
447 UErrorCode status = U_ZERO_ERROR;
448 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status);
449 if(U_FAILURE(status)){
456 UErrorCode status = U_ZERO_ERROR;
457 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status);
458 if(U_FAILURE(status)){
465 UErrorCode status = U_ZERO_ERROR;
466 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status);
467 if(U_FAILURE(status)){
474 UErrorCode status = U_ZERO_ERROR;
475 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status);
476 if(U_FAILURE(status)){
487 UErrorCode status = U_ZERO_ERROR;
488 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status);
489 if(U_FAILURE(status)){
496 UErrorCode status = U_ZERO_ERROR;
497 UPerfFunction* pf = new ICUToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status);
498 if(U_FAILURE(status)){
506 UErrorCode status = U_ZERO_ERROR;
507 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status);
508 if(U_FAILURE(status)){
515 UErrorCode status = U_ZERO_ERROR;
516 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status);
517 if(U_FAILURE(status)){
524 UErrorCode status = U_ZERO_ERROR;
525 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status);
526 if(U_FAILURE(status)){
533 UErrorCode status = U_ZERO_ERROR;
534 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status);
535 if(U_FAILURE(status)){
545 UErrorCode status = U_ZERO_ERROR;
546 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status);
547 if(U_FAILURE(status)){
554 UErrorCode status = U_ZERO_ERROR;
555 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status);
556 if(U_FAILURE(status)){
564 UErrorCode status = U_ZERO_ERROR;
565 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status);
566 if(U_FAILURE(status)){
573 UErrorCode status = U_ZERO_ERROR;
574 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status);
575 if(U_FAILURE(status)){
582 UErrorCode status = U_ZERO_ERROR;
583 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status);
584 if(U_FAILURE(status)){
591 UErrorCode status = U_ZERO_ERROR;
592 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status);
593 if(U_FAILURE(status)){
602 UErrorCode status = U_ZERO_ERROR;
603 ICUFromUnicodePerfFunction* pf = new ICUFromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status);
604 if(U_FAILURE(status)){
611 UErrorCode status = U_ZERO_ERROR;
612 UPerfFunction* pf = new ICUToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status);
613 if(U_FAILURE(status)){
621 UErrorCode status = U_ZERO_ERROR;
622 UPerfFunction* pf = new WinIMultiLanguage2FromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status);
623 if(U_FAILURE(status)){
630 UErrorCode status = U_ZERO_ERROR;
631 UPerfFunction* pf = new WinIMultiLanguage2ToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status);
632 if(U_FAILURE(status)){
639 UErrorCode status = U_ZERO_ERROR;
640 UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status);
641 if(U_FAILURE(status)){
648 UErrorCode status = U_ZERO_ERROR;
649 UPerfFunction* pf = new WinANSIToUnicodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status);
650 if(U_FAILURE(status)){