Lines Matching refs:locale

9 #include <locale.h>
118 test_localeconv(const char* locale, const lconv* localeConv)
120 setlocale(LC_MONETARY, locale);
121 setlocale(LC_NUMERIC, locale);
122 printf("localeconv for '%s'\n", locale);
532 test_strftime(const char* locale, const strftime_data data[])
534 setlocale(LC_TIME, locale);
535 printf("strftime for '%s'\n", locale);
657 test_strptime(const char* locale, const strptime_data data[])
659 setlocale(LC_TIME, locale);
660 printf("strptime for '%s'\n", locale);
814 test_ctype(const char* locale, const unsigned short int classInfos[],
817 setlocale(LC_CTYPE, locale);
818 printf("ctype of %s locale\n", locale);
1154 test_wctype(const char* locale, const wchar_t* text,
1157 setlocale(LC_CTYPE, locale);
1158 printf("wctype of %s locale\n", locale);
1266 test_wctrans(const char* locale, const wchar_t* text, wctrans_t transition,
1269 setlocale(LC_CTYPE, locale);
1270 printf("towctrans(%s) of %s locale\n",
1271 transition == _ISlower ? "tolower" : "toupper", locale);
1425 test_langinfo(const char* locale, const char* langinfos[])
1427 setlocale(LC_ALL, locale);
1428 printf("langinfo of %s locale\n", locale);
1593 test_coll(bool useStrxfrm, const char* locale, const coll_data* coll)
1595 setlocale(LC_COLLATE, locale);
1596 printf("%s in %s locale\n", useStrxfrm ? "strxfrm" : "strcoll", locale);
2124 test_sprintf(const char* locale, const sprintf_data data[])
2126 setlocale(LC_ALL, locale);
2127 printf("sprintf for '%s'\n", locale);
2210 * Test several different aspects of the POSIX locale and the functions