/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.
|
/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_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_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);
|
t_strfmon.c | 38 #include <locale.h> 52 const char *locale; member in struct:ATF_TC_BODY::__anoncb71ad6a0108 63 loc = newlocale(LC_MONETARY_MASK, tests[i].locale, 0); 93 "Checks strfmon locale thousands separator"); 267 const char *locale; member in struct:ATF_TC_BODY::__anoncb71ad6a0508 278 if (setlocale(LC_MONETARY, tests[i].locale) == NULL)
|
/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)
|
/src/usr.bin/seq/ |
seq.c | 41 #include <locale.h> 110 struct lconv *locale; local in function:main 118 /* Determine the locale's decimal point. */ 119 locale = localeconv(); 120 if (locale && locale->decimal_point && locale->decimal_point[0] != '\0') 121 decimal_point = locale->decimal_point;
|
/src/share/examples/refuse/ian/libfetch/ |
http.c | 72 #include <locale.h> 481 char locale[64], *r; local in function:_http_parse_mtime 484 strncpy(locale, setlocale(LC_TIME, NULL), sizeof(locale)); 488 setlocale(LC_TIME, locale);
|
/src/share/locale/ctype/ |
Makefile | 105 .include "${.CURDIR}/../Makefile.locale" 113 .for locale in ${LOCALES:M*.UTF-8} 114 LOCALESRC_${locale}= en_US.UTF-8 117 .for locale in ${LOCALES} 118 ${locale}.out: ${LOCALESRC_${locale}}.src 120 ${CPP} -I${.CURDIR} < ${.CURDIR}/${LOCALESRC_${locale}}.src | \
|
/src/bin/ksh/ |
emacs.c | 21 #include <locale.h> 1477 char *locale; local in function:x_init_emacs 1498 * XXX - It would be nice if there was a locale attribute to 1499 * determine if the locale is 7-bit or not. 1501 locale = setlocale(LC_CTYPE, NULL); 1502 if (locale == NULL || !strcmp(locale, "C") || !strcmp(locale, "POSIX"))
|
/src/sys/dev/ic/ |
mfireg.h | 572 uint16_t locale; member in struct:mfi_evt_class_locale::__anon459034d40808
|