• Home
  • Raw
  • Download

Lines Matching full:status

24     UErrorCode status = U_ZERO_ERROR;  in main()  local
25 ConverterPerformanceTest test(argc, argv, status); in main()
26 if(U_FAILURE(status)){ in main()
27 return status; in main()
37 …rterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) in ConverterPerformanceTest() argument
38 : UPerfTest(argc,argv,status){ in ConverterPerformanceTest()
128 UErrorCode status = U_ZERO_ERROR; in TestICU_CleanOpenAllConverters() local
129 UPerfFunction* pf = new ICUOpenAllConvertersFunction(TRUE, status); in TestICU_CleanOpenAllConverters()
130 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
137 UErrorCode status = U_ZERO_ERROR; in TestICU_OpenAllConverters() local
138 UPerfFunction* pf = new ICUOpenAllConvertersFunction(FALSE, status); in TestICU_OpenAllConverters()
139 if(U_FAILURE(status)){ in TestICU_OpenAllConverters()
146 UErrorCode status = U_ZERO_ERROR; in TestICU_UTF8_FromUnicode() local
147 …pf = new ICUFromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); in TestICU_UTF8_FromUnicode()
148 if(U_FAILURE(status)){ in TestICU_UTF8_FromUnicode()
155 UErrorCode status = U_ZERO_ERROR; in TestICU_UTF8_ToUnicode() local
156 …new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); in TestICU_UTF8_ToUnicode()
157 if(U_FAILURE(status)){ in TestICU_UTF8_ToUnicode()
165 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_UTF8_FromUnicode() local
166 …ltiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); in TestWinIML2_UTF8_FromUnicode()
167 if(U_FAILURE(status)){ in TestWinIML2_UTF8_FromUnicode()
174 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_UTF8_ToUnicode() local
175 …nguage2ToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); in TestWinIML2_UTF8_ToUnicode()
176 if(U_FAILURE(status)){ in TestWinIML2_UTF8_ToUnicode()
183 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_UTF8_FromUnicode() local
184 … new WinANSIFromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource), status); in TestWinANSI_UTF8_FromUnicode()
185 if(U_FAILURE(status)){ in TestWinANSI_UTF8_FromUnicode()
192 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_UTF8_ToUnicode() local
193 …WinANSIToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource), status); in TestWinANSI_UTF8_ToUnicode()
194 if(U_FAILURE(status)){ in TestWinANSI_UTF8_ToUnicode()
203 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin1_FromUnicode() local
204 …ICUFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); in TestICU_Latin1_FromUnicode()
205 if(U_FAILURE(status)){ in TestICU_Latin1_FromUnicode()
212 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin1_ToUnicode() local
213 …UnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); in TestICU_Latin1_ToUnicode()
214 if(U_FAILURE(status)){ in TestICU_Latin1_ToUnicode()
222 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin1_FromUnicode() local
223 …ge2FromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); in TestWinIML2_Latin1_FromUnicode()
224 if(U_FAILURE(status)){ in TestWinIML2_Latin1_FromUnicode()
231 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin1_ToUnicode() local
232 …UnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); in TestWinIML2_Latin1_ToUnicode()
233 if(U_FAILURE(status)){ in TestWinIML2_Latin1_ToUnicode()
240 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin1_FromUnicode() local
241 …NSIFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSource), status); in TestWinANSI_Latin1_FromUnicode()
242 if(U_FAILURE(status)){ in TestWinANSI_Latin1_FromUnicode()
249 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin1_ToUnicode() local
250 …UnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSource), status); in TestWinANSI_Latin1_ToUnicode()
251 if(U_FAILURE(status)){ in TestWinANSI_Latin1_ToUnicode()
260 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin8_FromUnicode() local
261 …ICUFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); in TestICU_Latin8_FromUnicode()
262 if(U_FAILURE(status)){ in TestICU_Latin8_FromUnicode()
269 UErrorCode status = U_ZERO_ERROR; in TestICU_Latin8_ToUnicode() local
270 …UnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); in TestICU_Latin8_ToUnicode()
271 if(U_FAILURE(status)){ in TestICU_Latin8_ToUnicode()
279 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin8_FromUnicode() local
280 …ge2FromUnicodePerfFunction("iso-8859-8",latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); in TestWinIML2_Latin8_FromUnicode()
281 if(U_FAILURE(status)){ in TestWinIML2_Latin8_FromUnicode()
288 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_Latin8_ToUnicode() local
289 …UnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); in TestWinIML2_Latin8_ToUnicode()
290 if(U_FAILURE(status)){ in TestWinIML2_Latin8_ToUnicode()
296 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin8_FromUnicode() local
297 …NSIFromUnicodePerfFunction("iso-8859-8",latin8_uniSource, UPRV_LENGTHOF(latin8_uniSource), status); in TestWinANSI_Latin8_FromUnicode()
298 if(U_FAILURE(status)){ in TestWinANSI_Latin8_FromUnicode()
305 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_Latin8_ToUnicode() local
306 …UnicodePerfFunction("iso-8859-8",(char*)latin8_encSource, UPRV_LENGTHOF(latin8_encSource), status); in TestWinANSI_Latin8_ToUnicode()
307 if(U_FAILURE(status)){ in TestWinANSI_Latin8_ToUnicode()
317 UErrorCode status = U_ZERO_ERROR; in TestICU_EBCDIC_Arabic_FromUnicode() local
318 …unction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); in TestICU_EBCDIC_Arabic_FromUnicode()
319 if(U_FAILURE(status)){ in TestICU_EBCDIC_Arabic_FromUnicode()
326 UErrorCode status = U_ZERO_ERROR; in TestICU_EBCDIC_Arabic_ToUnicode() local
327 …("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); in TestICU_EBCDIC_Arabic_ToUnicode()
328 if(U_FAILURE(status)){ in TestICU_EBCDIC_Arabic_ToUnicode()
336 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EBCDIC_Arabic_FromUnicode() local
337 …unction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); in TestWinIML2_EBCDIC_Arabic_FromUnicode()
338 if(U_FAILURE(status)){ in TestWinIML2_EBCDIC_Arabic_FromUnicode()
345 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EBCDIC_Arabic_ToUnicode() local
346 …("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); in TestWinIML2_EBCDIC_Arabic_ToUnicode()
347 if(U_FAILURE(status)){ in TestWinIML2_EBCDIC_Arabic_ToUnicode()
354 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EBCDIC_Arabic_FromUnicode() local
355 …unction("x-EBCDIC-Arabic",ebcdic_arabic_uniSource, UPRV_LENGTHOF(ebcdic_arabic_uniSource), status); in TestWinANSI_EBCDIC_Arabic_FromUnicode()
356 if(U_FAILURE(status)){ in TestWinANSI_EBCDIC_Arabic_FromUnicode()
363 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EBCDIC_Arabic_ToUnicode() local
364 …("x-EBCDIC-Arabic",(char*)ebcdic_arabic_encSource, UPRV_LENGTHOF(ebcdic_arabic_encSource), status); in TestWinANSI_EBCDIC_Arabic_ToUnicode()
365 if(U_FAILURE(status)){ in TestWinANSI_EBCDIC_Arabic_ToUnicode()
374 UErrorCode status = U_ZERO_ERROR; in TestICU_SJIS_FromUnicode() local
375 … pf = new ICUFromUnicodePerfFunction("sjis",sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); in TestICU_SJIS_FromUnicode()
376 if(U_FAILURE(status)){ in TestICU_SJIS_FromUnicode()
383 UErrorCode status = U_ZERO_ERROR; in TestICU_SJIS_ToUnicode() local
384 … new ICUToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); in TestICU_SJIS_ToUnicode()
385 if(U_FAILURE(status)){ in TestICU_SJIS_ToUnicode()
393 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_SJIS_FromUnicode() local
394 …ultiLanguage2FromUnicodePerfFunction("sjis",sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); in TestWinIML2_SJIS_FromUnicode()
395 if(U_FAILURE(status)){ in TestWinIML2_SJIS_FromUnicode()
402 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_SJIS_ToUnicode() local
403 …anguage2ToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); in TestWinIML2_SJIS_ToUnicode()
404 if(U_FAILURE(status)){ in TestWinIML2_SJIS_ToUnicode()
411 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_SJIS_FromUnicode() local
412 …= new WinANSIFromUnicodePerfFunction("sjis",sjis_uniSource, UPRV_LENGTHOF(sjis_uniSource), status); in TestWinANSI_SJIS_FromUnicode()
413 if(U_FAILURE(status)){ in TestWinANSI_SJIS_FromUnicode()
420 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_SJIS_ToUnicode() local
421 … WinANSIToUnicodePerfFunction("sjis",(char*)sjis_encSource, UPRV_LENGTHOF(sjis_encSource), status); in TestWinANSI_SJIS_ToUnicode()
422 if(U_FAILURE(status)){ in TestWinANSI_SJIS_ToUnicode()
433 UErrorCode status = U_ZERO_ERROR; in TestICU_EUCJP_FromUnicode() local
434 …= new ICUFromUnicodePerfFunction("euc-jp",eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); in TestICU_EUCJP_FromUnicode()
435 if(U_FAILURE(status)){ in TestICU_EUCJP_FromUnicode()
442 UErrorCode status = U_ZERO_ERROR; in TestICU_EUCJP_ToUnicode() local
443 … ICUToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); in TestICU_EUCJP_ToUnicode()
444 if(U_FAILURE(status)){ in TestICU_EUCJP_ToUnicode()
452 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EUCJP_FromUnicode() local
453 …Language2FromUnicodePerfFunction("euc-jp",eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); in TestWinIML2_EUCJP_FromUnicode()
454 if(U_FAILURE(status)){ in TestWinIML2_EUCJP_FromUnicode()
461 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_EUCJP_ToUnicode() local
462 …age2ToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); in TestWinIML2_EUCJP_ToUnicode()
463 if(U_FAILURE(status)){ in TestWinIML2_EUCJP_ToUnicode()
470 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EUCJP_FromUnicode() local
471 …w WinANSIFromUnicodePerfFunction("euc-jp",eucjp_uniSource, UPRV_LENGTHOF(eucjp_uniSource), status); in TestWinANSI_EUCJP_FromUnicode()
472 if(U_FAILURE(status)){ in TestWinANSI_EUCJP_FromUnicode()
479 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_EUCJP_ToUnicode() local
480 …ANSIToUnicodePerfFunction("euc-jp",(char*)eucjp_encSource, UPRV_LENGTHOF(eucjp_encSource), status); in TestWinANSI_EUCJP_ToUnicode()
481 if(U_FAILURE(status)){ in TestWinANSI_EUCJP_ToUnicode()
492 UErrorCode status = U_ZERO_ERROR; in TestICU_GB2312_FromUnicode() local
493 …new ICUFromUnicodePerfFunction("gb2312",gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); in TestICU_GB2312_FromUnicode()
494 if(U_FAILURE(status)){ in TestICU_GB2312_FromUnicode()
501 UErrorCode status = U_ZERO_ERROR; in TestICU_GB2312_ToUnicode() local
502 …CUToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); in TestICU_GB2312_ToUnicode()
503 if(U_FAILURE(status)){ in TestICU_GB2312_ToUnicode()
511 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_GB2312_FromUnicode() local
512 …nguage2FromUnicodePerfFunction("gb2312",gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); in TestWinIML2_GB2312_FromUnicode()
513 if(U_FAILURE(status)){ in TestWinIML2_GB2312_FromUnicode()
520 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_GB2312_ToUnicode() local
521 …e2ToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); in TestWinIML2_GB2312_ToUnicode()
522 if(U_FAILURE(status)){ in TestWinIML2_GB2312_ToUnicode()
529 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_GB2312_FromUnicode() local
530 …WinANSIFromUnicodePerfFunction("gb2312",gb2312_uniSource, UPRV_LENGTHOF(gb2312_uniSource), status); in TestWinANSI_GB2312_FromUnicode()
531 if(U_FAILURE(status)){ in TestWinANSI_GB2312_FromUnicode()
538 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_GB2312_ToUnicode() local
539 …SIToUnicodePerfFunction("gb2312",(char*)gb2312_encSource, UPRV_LENGTHOF(gb2312_encSource), status); in TestWinANSI_GB2312_ToUnicode()
540 if(U_FAILURE(status)){ in TestWinANSI_GB2312_ToUnicode()
550 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022KR_FromUnicode() local
551 …UnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); in TestICU_ISO2022KR_FromUnicode()
552 if(U_FAILURE(status)){ in TestICU_ISO2022KR_FromUnicode()
559 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022KR_ToUnicode() local
560 …PerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); in TestICU_ISO2022KR_ToUnicode()
561 if(U_FAILURE(status)){ in TestICU_ISO2022KR_ToUnicode()
569 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022KR_FromUnicode() local
570 …UnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); in TestWinIML2_ISO2022KR_FromUnicode()
571 if(U_FAILURE(status)){ in TestWinIML2_ISO2022KR_FromUnicode()
578 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022KR_ToUnicode() local
579 …PerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); in TestWinIML2_ISO2022KR_ToUnicode()
580 if(U_FAILURE(status)){ in TestWinIML2_ISO2022KR_ToUnicode()
587 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022KR_FromUnicode() local
588 …UnicodePerfFunction("iso-2022-kr",iso2022kr_uniSource, UPRV_LENGTHOF(iso2022kr_uniSource), status); in TestWinANSI_ISO2022KR_FromUnicode()
589 if(U_FAILURE(status)){ in TestWinANSI_ISO2022KR_FromUnicode()
596 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022KR_ToUnicode() local
597 …PerfFunction("iso-2022-kr",(char*)iso2022kr_encSource, UPRV_LENGTHOF(iso2022kr_encSource), status); in TestWinANSI_ISO2022KR_ToUnicode()
598 if(U_FAILURE(status)){ in TestWinANSI_ISO2022KR_ToUnicode()
607 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022JP_FromUnicode() local
608 …UnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); in TestICU_ISO2022JP_FromUnicode()
609 if(U_FAILURE(status)){ in TestICU_ISO2022JP_FromUnicode()
616 UErrorCode status = U_ZERO_ERROR; in TestICU_ISO2022JP_ToUnicode() local
617 …PerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); in TestICU_ISO2022JP_ToUnicode()
618 if(U_FAILURE(status)){ in TestICU_ISO2022JP_ToUnicode()
626 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022JP_FromUnicode() local
627 …UnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); in TestWinIML2_ISO2022JP_FromUnicode()
628 if(U_FAILURE(status)){ in TestWinIML2_ISO2022JP_FromUnicode()
635 UErrorCode status = U_ZERO_ERROR; in TestWinIML2_ISO2022JP_ToUnicode() local
636 …PerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); in TestWinIML2_ISO2022JP_ToUnicode()
637 if(U_FAILURE(status)){ in TestWinIML2_ISO2022JP_ToUnicode()
644 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022JP_FromUnicode() local
645 …UnicodePerfFunction("iso-2022-jp",iso2022jp_uniSource, UPRV_LENGTHOF(iso2022jp_uniSource), status); in TestWinANSI_ISO2022JP_FromUnicode()
646 if(U_FAILURE(status)){ in TestWinANSI_ISO2022JP_FromUnicode()
653 UErrorCode status = U_ZERO_ERROR; in TestWinANSI_ISO2022JP_ToUnicode() local
654 …PerfFunction("iso-2022-jp",(char*)iso2022jp_encSource, UPRV_LENGTHOF(iso2022jp_encSource), status); in TestWinANSI_ISO2022JP_ToUnicode()
655 if(U_FAILURE(status)){ in TestWinANSI_ISO2022JP_ToUnicode()