• Home
  • Raw
  • Download

Lines Matching full:status

19     UErrorCode status = U_ZERO_ERROR;  in main()  local
20 ConverterPerformanceTest test(argc, argv, status); in main()
21 if(U_FAILURE(status)){ in main()
22 return status; in main()
32 …rterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) in ConverterPerformanceTest() argument
33 : UPerfTest(argc,argv,status){ in ConverterPerformanceTest()
123 UErrorCode status = U_ZERO_ERROR; in TestICU_CleanOpenAllConverters() local
124 UPerfFunction* pf = new ICUOpenAllConvertersFunction(TRUE, status); in TestICU_CleanOpenAllConverters()
125 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
132 UErrorCode status = U_ZERO_ERROR; in TestICU_OpenAllConverters() local
133 UPerfFunction* pf = new ICUOpenAllConvertersFunction(FALSE, status); in TestICU_OpenAllConverters()
134 if(U_FAILURE(status)){ in TestICU_OpenAllConverters()
141 UErrorCode status = U_ZERO_ERROR; in TestICU_UTF8_FromUnicode() local
142 …ion* pf = new ICUFromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status); in TestICU_UTF8_FromUnicode()
143 if(U_FAILURE(status)){ in TestICU_UTF8_FromUnicode()
150 UErrorCode status = U_ZERO_ERROR; in TestICU_UTF8_ToUnicode() local
151 …pf = new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status); in TestICU_UTF8_ToUnicode()
152 if(U_FAILURE(status)){ in TestICU_UTF8_ToUnicode()
160 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_UTF8_FromUnicode() local
161 …inIMultiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status); in TestWinIML2_UTF8_FromUnicode()
162 if(U_FAILURE(status)){ in TestWinIML2_UTF8_FromUnicode()
169 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_UTF8_ToUnicode() local
170 …ltiLanguage2ToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status); in TestWinIML2_UTF8_ToUnicode()
171 if(U_FAILURE(status)){ in TestWinIML2_UTF8_ToUnicode()
178 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_UTF8_FromUnicode() local
179 … pf = new WinANSIFromUnicodePerfFunction("utf-8",utf8_uniSource, LENGTHOF(utf8_uniSource), status); in TestWinANSI_UTF8_FromUnicode()
180 if(U_FAILURE(status)){ in TestWinANSI_UTF8_FromUnicode()
187 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_UTF8_ToUnicode() local
188 … new WinANSIToUnicodePerfFunction("utf-8",(char*)utf8_encSource, LENGTHOF(utf8_encSource), status); in TestWinANSI_UTF8_ToUnicode()
189 if(U_FAILURE(status)){ in TestWinANSI_UTF8_ToUnicode()
198 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin1_FromUnicode() local
199 … new ICUFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status); in TestICU_Latin1_FromUnicode()
200 if(U_FAILURE(status)){ in TestICU_Latin1_FromUnicode()
207 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin1_ToUnicode() local
208 …ICUToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status); in TestICU_Latin1_ToUnicode()
209 if(U_FAILURE(status)){ in TestICU_Latin1_ToUnicode()
217 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin1_FromUnicode() local
218 …anguage2FromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status); in TestWinIML2_Latin1_FromUnicode()
219 if(U_FAILURE(status)){ in TestWinIML2_Latin1_FromUnicode()
226 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin1_ToUnicode() local
227 …ge2ToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status); in TestWinIML2_Latin1_ToUnicode()
228 if(U_FAILURE(status)){ in TestWinIML2_Latin1_ToUnicode()
235 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin1_FromUnicode() local
236 … WinANSIFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, LENGTHOF(latin1_uniSource), status); in TestWinANSI_Latin1_FromUnicode()
237 if(U_FAILURE(status)){ in TestWinANSI_Latin1_FromUnicode()
244 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin1_ToUnicode() local
245 …NSIToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, LENGTHOF(latin1_encSource), status); in TestWinANSI_Latin1_ToUnicode()
246 if(U_FAILURE(status)){ in TestWinANSI_Latin1_ToUnicode()
255 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin8_FromUnicode() local
256 … new ICUFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status); in TestICU_Latin8_FromUnicode()
257 if(U_FAILURE(status)){ in TestICU_Latin8_FromUnicode()
264 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin8_ToUnicode() local
265 …ICUToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status); in TestICU_Latin8_ToUnicode()
266 if(U_FAILURE(status)){ in TestICU_Latin8_ToUnicode()
274 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin8_FromUnicode() local
275 …anguage2FromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status); in TestWinIML2_Latin8_FromUnicode()
276 if(U_FAILURE(status)){ in TestWinIML2_Latin8_FromUnicode()
283 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin8_ToUnicode() local
284 …ge2ToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status); in TestWinIML2_Latin8_ToUnicode()
285 if(U_FAILURE(status)){ in TestWinIML2_Latin8_ToUnicode()
291 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin8_FromUnicode() local
292 … WinANSIFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, LENGTHOF(latin8_uniSource), status); in TestWinANSI_Latin8_FromUnicode()
293 if(U_FAILURE(status)){ in TestWinANSI_Latin8_FromUnicode()
300 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin8_ToUnicode() local
301 …NSIToUnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, LENGTHOF(latin8_encSource), status); in TestWinANSI_Latin8_ToUnicode()
302 if(U_FAILURE(status)){ in TestWinANSI_Latin8_ToUnicode()
312 UErrorCode status = U_ZERO_ERROR; in TestICU_EBCDIC_Arabic_FromUnicode() local
313 …PerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status); in TestICU_EBCDIC_Arabic_FromUnicode()
314 if(U_FAILURE(status)){ in TestICU_EBCDIC_Arabic_FromUnicode()
321 UErrorCode status = U_ZERO_ERROR; in TestICU_EBCDIC_Arabic_ToUnicode() local
322 …ction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status); in TestICU_EBCDIC_Arabic_ToUnicode()
323 if(U_FAILURE(status)){ in TestICU_EBCDIC_Arabic_ToUnicode()
331 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EBCDIC_Arabic_FromUnicode() local
332 …PerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status); in TestWinIML2_EBCDIC_Arabic_FromUnicode()
333 if(U_FAILURE(status)){ in TestWinIML2_EBCDIC_Arabic_FromUnicode()
340 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EBCDIC_Arabic_ToUnicode() local
341 …ction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status); in TestWinIML2_EBCDIC_Arabic_ToUnicode()
342 if(U_FAILURE(status)){ in TestWinIML2_EBCDIC_Arabic_ToUnicode()
349 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EBCDIC_Arabic_FromUnicode() local
350 …PerfFunction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, LENGTHOF(ebcdic_arabic_uniSource), status); in TestWinANSI_EBCDIC_Arabic_FromUnicode()
351 if(U_FAILURE(status)){ in TestWinANSI_EBCDIC_Arabic_FromUnicode()
358 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EBCDIC_Arabic_ToUnicode() local
359 …ction("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, LENGTHOF(ebcdic_arabic_encSource), status); in TestWinANSI_EBCDIC_Arabic_ToUnicode()
360 if(U_FAILURE(status)){ in TestWinANSI_EBCDIC_Arabic_ToUnicode()
369 UErrorCode status = U_ZERO_ERROR; in TestICU_SJIS_FromUnicode() local
370 …tion* pf = new ICUFromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status); in TestICU_SJIS_FromUnicode()
371 if(U_FAILURE(status)){ in TestICU_SJIS_FromUnicode()
378 UErrorCode status = U_ZERO_ERROR; in TestICU_SJIS_ToUnicode() local
379 … pf = new ICUToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status); in TestICU_SJIS_ToUnicode()
380 if(U_FAILURE(status)){ in TestICU_SJIS_ToUnicode()
388 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_SJIS_FromUnicode() local
389 …WinIMultiLanguage2FromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status); in TestWinIML2_SJIS_FromUnicode()
390 if(U_FAILURE(status)){ in TestWinIML2_SJIS_FromUnicode()
397 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_SJIS_ToUnicode() local
398 …ultiLanguage2ToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status); in TestWinIML2_SJIS_ToUnicode()
399 if(U_FAILURE(status)){ in TestWinIML2_SJIS_ToUnicode()
406 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_SJIS_FromUnicode() local
407 …* pf = new WinANSIFromUnicodePerfFunction("sjis",sjis_uniSource, LENGTHOF(sjis_uniSource), status); in TestWinANSI_SJIS_FromUnicode()
408 if(U_FAILURE(status)){ in TestWinANSI_SJIS_FromUnicode()
415 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_SJIS_ToUnicode() local
416 …= new WinANSIToUnicodePerfFunction("sjis",(char*)sjis_encSource, LENGTHOF(sjis_encSource), status); in TestWinANSI_SJIS_ToUnicode()
417 if(U_FAILURE(status)){ in TestWinANSI_SJIS_ToUnicode()
428 UErrorCode status = U_ZERO_ERROR; in TestICU_EUCJP_FromUnicode() local
429 …* pf = new ICUFromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status); in TestICU_EUCJP_FromUnicode()
430 if(U_FAILURE(status)){ in TestICU_EUCJP_FromUnicode()
437 UErrorCode status = U_ZERO_ERROR; in TestICU_EUCJP_ToUnicode() local
438 …= new ICUToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status); in TestICU_EUCJP_ToUnicode()
439 if(U_FAILURE(status)){ in TestICU_EUCJP_ToUnicode()
447 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EUCJP_FromUnicode() local
448 …MultiLanguage2FromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status); in TestWinIML2_EUCJP_FromUnicode()
449 if(U_FAILURE(status)){ in TestWinIML2_EUCJP_FromUnicode()
456 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EUCJP_ToUnicode() local
457 …Language2ToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status); in TestWinIML2_EUCJP_ToUnicode()
458 if(U_FAILURE(status)){ in TestWinIML2_EUCJP_ToUnicode()
465 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EUCJP_FromUnicode() local
466 … = new WinANSIFromUnicodePerfFunction("euc-jp",eucjp_uniSource, LENGTHOF(eucjp_uniSource), status); in TestWinANSI_EUCJP_FromUnicode()
467 if(U_FAILURE(status)){ in TestWinANSI_EUCJP_FromUnicode()
474 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EUCJP_ToUnicode() local
475 …w WinANSIToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, LENGTHOF(eucjp_encSource), status); in TestWinANSI_EUCJP_ToUnicode()
476 if(U_FAILURE(status)){ in TestWinANSI_EUCJP_ToUnicode()
487 UErrorCode status = U_ZERO_ERROR; in TestICU_GB2312_FromUnicode() local
488 …pf = new ICUFromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status); in TestICU_GB2312_FromUnicode()
489 if(U_FAILURE(status)){ in TestICU_GB2312_FromUnicode()
496 UErrorCode status = U_ZERO_ERROR; in TestICU_GB2312_ToUnicode() local
497 …new ICUToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status); in TestICU_GB2312_ToUnicode()
498 if(U_FAILURE(status)){ in TestICU_GB2312_ToUnicode()
506 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_GB2312_FromUnicode() local
507 …ltiLanguage2FromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status); in TestWinIML2_GB2312_FromUnicode()
508 if(U_FAILURE(status)){ in TestWinIML2_GB2312_FromUnicode()
515 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_GB2312_ToUnicode() local
516 …nguage2ToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status); in TestWinIML2_GB2312_ToUnicode()
517 if(U_FAILURE(status)){ in TestWinIML2_GB2312_ToUnicode()
524 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_GB2312_FromUnicode() local
525 … new WinANSIFromUnicodePerfFunction("gb2312",gb2312_uniSource, LENGTHOF(gb2312_uniSource), status); in TestWinANSI_GB2312_FromUnicode()
526 if(U_FAILURE(status)){ in TestWinANSI_GB2312_FromUnicode()
533 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_GB2312_ToUnicode() local
534 …WinANSIToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, LENGTHOF(gb2312_encSource), status); in TestWinANSI_GB2312_ToUnicode()
535 if(U_FAILURE(status)){ in TestWinANSI_GB2312_ToUnicode()
545 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022KR_FromUnicode() local
546 …UFromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status); in TestICU_ISO2022KR_FromUnicode()
547 if(U_FAILURE(status)){ in TestICU_ISO2022KR_FromUnicode()
554 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022KR_ToUnicode() local
555 …icodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status); in TestICU_ISO2022KR_ToUnicode()
556 if(U_FAILURE(status)){ in TestICU_ISO2022KR_ToUnicode()
564 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022KR_FromUnicode() local
565 …2FromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status); in TestWinIML2_ISO2022KR_FromUnicode()
566 if(U_FAILURE(status)){ in TestWinIML2_ISO2022KR_FromUnicode()
573 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022KR_ToUnicode() local
574 …icodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status); in TestWinIML2_ISO2022KR_ToUnicode()
575 if(U_FAILURE(status)){ in TestWinIML2_ISO2022KR_ToUnicode()
582 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022KR_FromUnicode() local
583 …IFromUnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, LENGTHOF(iso2022kr_uniSource), status); in TestWinANSI_ISO2022KR_FromUnicode()
584 if(U_FAILURE(status)){ in TestWinANSI_ISO2022KR_FromUnicode()
591 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022KR_ToUnicode() local
592 …icodePerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, LENGTHOF(iso2022kr_encSource), status); in TestWinANSI_ISO2022KR_ToUnicode()
593 if(U_FAILURE(status)){ in TestWinANSI_ISO2022KR_ToUnicode()
602 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022JP_FromUnicode() local
603 …UFromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status); in TestICU_ISO2022JP_FromUnicode()
604 if(U_FAILURE(status)){ in TestICU_ISO2022JP_FromUnicode()
611 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022JP_ToUnicode() local
612 …icodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status); in TestICU_ISO2022JP_ToUnicode()
613 if(U_FAILURE(status)){ in TestICU_ISO2022JP_ToUnicode()
621 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022JP_FromUnicode() local
622 …2FromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status); in TestWinIML2_ISO2022JP_FromUnicode()
623 if(U_FAILURE(status)){ in TestWinIML2_ISO2022JP_FromUnicode()
630 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022JP_ToUnicode() local
631 …icodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status); in TestWinIML2_ISO2022JP_ToUnicode()
632 if(U_FAILURE(status)){ in TestWinIML2_ISO2022JP_ToUnicode()
639 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022JP_FromUnicode() local
640 …IFromUnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, LENGTHOF(iso2022jp_uniSource), status); in TestWinANSI_ISO2022JP_FromUnicode()
641 if(U_FAILURE(status)){ in TestWinANSI_ISO2022JP_FromUnicode()
648 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022JP_ToUnicode() local
649 …icodePerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, LENGTHOF(iso2022jp_encSource), status); in TestWinANSI_ISO2022JP_ToUnicode()
650 if(U_FAILURE(status)){ in TestWinANSI_ISO2022JP_ToUnicode()