/src/usr.bin/mklocale/ |
yacc.y | 55 #include <locale.h> 130 locale : /* empty */ label 685 * Okay, we are now ready to write the new locale file.
|
yacc.y | 55 #include <locale.h> 130 locale : /* empty */ label 685 * Okay, we are now ready to write the new locale file.
|
/src/tests/lib/libc/locale/ |
t_c32rtomb.c | 33 #include <locale.h> 45 char *locale; local in function:ATF_TC_BODY 49 REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL); 50 ATF_REQUIRE_EQ_MSG(strcmp(locale, "C"), 0, "locale=%s", locale);
|
t_mbrtoc32.c | 33 #include <locale.h> 45 char *locale; local in function:ATF_TC_BODY 50 REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL); 51 ATF_REQUIRE_EQ_MSG(strcmp(locale, "C"), 0, "locale=%s", locale);
|
t_c32rtomb.c | 33 #include <locale.h> 45 char *locale; local in function:ATF_TC_BODY 49 REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL); 50 ATF_REQUIRE_EQ_MSG(strcmp(locale, "C"), 0, "locale=%s", locale);
|
t_mbrtoc32.c | 33 #include <locale.h> 45 char *locale; local in function:ATF_TC_BODY 50 REQUIRE_LIBC((locale = setlocale(LC_ALL, "C")), NULL); 51 ATF_REQUIRE_EQ_MSG(strcmp(locale, "C"), 0, "locale=%s", locale);
|
t_digittoint.c | 37 #include <locale.h> 51 const char *locale; member in struct:test 76 printf("Trying locale %s...\n", t->locale); 77 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 99 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_toupper.c | 37 #include <locale.h> 46 const char *locale; member in struct:test 72 printf("Trying locale %s...\n", t->locale); 73 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 102 for (t = &tests[0]; t->locale != NULL; ++t) 119 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_wcscoll.c | 37 #include <locale.h> 47 const char *locale; member in struct:test 94 }, { /* We don't have Slovak locale files, expect fail */ 119 printf("Trying locale %s...\n", t->locale); 120 ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL); 121 printf("Using locale: %s\n", setlocale(LC_ALL, NULL)); 141 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_digittoint.c | 37 #include <locale.h> 51 const char *locale; member in struct:test 76 printf("Trying locale %s...\n", t->locale); 77 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 99 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_toupper.c | 37 #include <locale.h> 46 const char *locale; member in struct:test 72 printf("Trying locale %s...\n", t->locale); 73 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 102 for (t = &tests[0]; t->locale != NULL; ++t) 119 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_wcscoll.c | 37 #include <locale.h> 47 const char *locale; member in struct:test 94 }, { /* We don't have Slovak locale files, expect fail */ 119 printf("Trying locale %s...\n", t->locale); 120 ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL); 121 printf("Using locale: %s\n", setlocale(LC_ALL, NULL)); 141 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_btowc.c | 37 #include <locale.h> 47 const char *locale; member in struct:test 87 printf("Trying locale: %s\n", t->locale); 88 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 90 (void)printf("Using locale: %s\n", str); 125 printf("Trying locale: %s\n", t->locale); 126 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 128 (void)printf("Using locale: %s\n", str) [all...] |
t_mbsnrtowcs.c | 35 #include <locale.h> 42 const char *locale; member in struct:test 76 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
|
t_wctype.c | 37 #include <locale.h> 67 const char *locale; member in struct:test 150 printf("Trying locale %s...\n", t->locale); 151 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 152 printf("Using locale %s\n", setlocale(LC_CTYPE, NULL)); 272 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_mbstowcs.c | 61 #include <locale.h> 76 const char *locale; member in struct:test 170 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 176 (void)printf("Using locale: %s\n", str);
|
t_btowc.c | 37 #include <locale.h> 47 const char *locale; member in struct:test 87 printf("Trying locale: %s\n", t->locale); 88 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 90 (void)printf("Using locale: %s\n", str); 125 printf("Trying locale: %s\n", t->locale); 126 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 128 (void)printf("Using locale: %s\n", str) [all...] |
t_mbsnrtowcs.c | 35 #include <locale.h> 42 const char *locale; member in struct:test 76 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
|
t_wctype.c | 37 #include <locale.h> 67 const char *locale; member in struct:test 150 printf("Trying locale %s...\n", t->locale); 151 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 152 printf("Using locale %s\n", setlocale(LC_CTYPE, NULL)); 272 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_mbstowcs.c | 61 #include <locale.h> 76 const char *locale; member in struct:test 170 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 176 (void)printf("Using locale: %s\n", str);
|
t_mbrtowc.c | 64 #include <locale.h> 76 const char *locale; member in struct:test 147 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 153 (void)printf("Using locale: %s\n", str);
|
t_sprintf.c | 37 #include <locale.h> 48 const char *locale; member in struct:test 85 * that the POSIX locale shall have an empty 113 printf("Trying locale %s...\n", t->locale); 114 ATF_REQUIRE(setlocale(LC_NUMERIC, t->locale) != NULL); 115 printf("Using locale: %s\n", setlocale(LC_ALL, NULL)); 132 printf("Trying locale %s...\n", t->locale); 133 ATF_REQUIRE(setlocale(LC_NUMERIC, t->locale) != NULL) [all...] |
t_wctomb.c | 62 #include <locale.h> 75 const char *locale; member in struct:test 115 (void)printf("Trying locale: %s\n", t->locale); 116 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL); 131 (void)printf("Using locale: %s\n", str);
|
/src/tests/lib/libc/string/ |
t_strcoll.c | 37 #include <locale.h> 45 const char *locale; member in struct:test 68 printf("Trying locale %s...\n", t->locale); 69 ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL); 95 for (t = &tests[0]; t->locale != NULL; ++t)
|
t_strcoll.c | 37 #include <locale.h> 45 const char *locale; member in struct:test 68 printf("Trying locale %s...\n", t->locale); 69 ATF_REQUIRE(setlocale(LC_COLLATE, t->locale) != NULL); 95 for (t = &tests[0]; t->locale != NULL; ++t)
|