locale 236 lib/common/options_display.c static const char *locale = NULL; locale 242 lib/common/options_display.c if (locale == NULL) { locale 243 lib/common/options_display.c locale = strtok(setlocale(LC_ALL, NULL), "_"); locale 246 lib/common/options_display.c crm_xml_add(node, PCMK_XA_LANG, locale); locale 73 maint/gnulib/lib/c-strtod.c locale_t locale = c_locale (); locale 74 maint/gnulib/lib/c-strtod.c if (!locale) locale 83 maint/gnulib/lib/c-strtod.c r = STRTOD_L (nptr, endptr, locale); locale 87 maint/gnulib/lib/c-strtod.c locale_t old_locale = uselocale (locale); locale 32 maint/gnulib/lib/duplocale.c rpl_duplocale (locale_t locale) locale 40 maint/gnulib/lib/duplocale.c if (locale == LC_GLOBAL_LOCALE) locale 116 maint/gnulib/lib/duplocale.c return duplocale (locale); locale 29 maint/gnulib/lib/hard-locale.c char locale[SETLOCALE_NULL_MAX]; locale 31 maint/gnulib/lib/hard-locale.c if (setlocale_null_r (category, locale, sizeof (locale))) locale 34 maint/gnulib/lib/hard-locale.c return !(strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0); locale 579 maint/gnulib/lib/localcharset.c const char locale[17+1]; locale 855 maint/gnulib/lib/localcharset.c const char *locale; locale 858 maint/gnulib/lib/localcharset.c locale = getenv ("LC_ALL"); locale 859 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 861 maint/gnulib/lib/localcharset.c locale = getenv ("LC_CTYPE"); locale 862 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 863 maint/gnulib/lib/localcharset.c locale = getenv ("LANG"); locale 865 maint/gnulib/lib/localcharset.c if (locale != NULL && locale[0] != '\0') locale 869 maint/gnulib/lib/localcharset.c const char *dot = strchr (locale, '.'); locale 953 maint/gnulib/lib/localcharset.c const char *locale; locale 962 maint/gnulib/lib/localcharset.c locale = getenv ("LC_ALL"); locale 963 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 965 maint/gnulib/lib/localcharset.c locale = getenv ("LC_CTYPE"); locale 966 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 967 maint/gnulib/lib/localcharset.c locale = getenv ("LANG"); locale 969 maint/gnulib/lib/localcharset.c if (locale != NULL && locale[0] != '\0') locale 972 maint/gnulib/lib/localcharset.c const char *dot = strchr (locale, '.'); locale 993 maint/gnulib/lib/localcharset.c if (strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) locale 1079 maint/gnulib/lib/localcharset.c const char *locale = NULL; locale 1086 maint/gnulib/lib/localcharset.c locale = setlocale (LC_CTYPE, NULL); locale 1088 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 1090 maint/gnulib/lib/localcharset.c locale = getenv ("LC_ALL"); locale 1091 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 1093 maint/gnulib/lib/localcharset.c locale = getenv ("LC_CTYPE"); locale 1094 maint/gnulib/lib/localcharset.c if (locale == NULL || locale[0] == '\0') locale 1095 maint/gnulib/lib/localcharset.c locale = getenv ("LANG"); locale 1096 maint/gnulib/lib/localcharset.c if (locale == NULL) locale 1097 maint/gnulib/lib/localcharset.c locale = ""; locale 1116 maint/gnulib/lib/localcharset.c int cmp = strcmp (table[mid].locale, locale); locale 193 maint/gnulib/lib/locale.in.h _GL_FUNCDECL_RPL (setlocale, char *, (int category, const char *locale)); locale 194 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_RPL (setlocale, char *, (int category, const char *locale)); locale 196 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_SYS (setlocale, char *, (int category, const char *locale)); locale 254 maint/gnulib/lib/locale.in.h _GL_FUNCDECL_RPL (duplocale, locale_t, (locale_t locale) _GL_ARG_NONNULL ((1))); locale 255 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_RPL (duplocale, locale_t, (locale_t locale)); locale 258 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_SYS (duplocale, locale_t, (locale_t locale)); locale 284 maint/gnulib/lib/locale.in.h _GL_FUNCDECL_RPL (freelocale, void, (locale_t locale) _GL_ARG_NONNULL ((1))); locale 285 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_RPL (freelocale, void, (locale_t locale)); locale 290 maint/gnulib/lib/locale.in.h _GL_CXXALIAS_SYS_CAST (freelocale, void, (locale_t locale)); locale 57 maint/gnulib/lib/localename-table.h locale_t locale; locale 2723 maint/gnulib/lib/localename.c get_locale_t_name (int category, locale_t locale) locale 2725 maint/gnulib/lib/localename.c if (locale == LC_GLOBAL_LOCALE) locale 2738 maint/gnulib/lib/localename.c size_t hashcode = locale_hash_function (locale); locale 2748 maint/gnulib/lib/localename.c if (p->locale == locale) locale 2876 maint/gnulib/lib/localename.c if (p->locale == base) locale 2929 maint/gnulib/lib/localename.c node->locale = result; locale 2941 maint/gnulib/lib/localename.c if (p->locale == result) locale 2965 maint/gnulib/lib/localename.c duplocale (locale_t locale) locale 2971 maint/gnulib/lib/localename.c if (locale == NULL) locale 2980 maint/gnulib/lib/localename.c result = duplocale (locale); locale 2988 maint/gnulib/lib/localename.c node->locale = result; locale 2989 maint/gnulib/lib/localename.c if (locale == LC_GLOBAL_LOCALE) locale 3007 maint/gnulib/lib/localename.c for (p = locale_hash_table[locale_hash_function (locale) % LOCALE_HASH_TABLE_SIZE]; locale 3010 maint/gnulib/lib/localename.c if (p->locale == locale) locale 3033 maint/gnulib/lib/localename.c if (p->locale == result) locale 3057 maint/gnulib/lib/localename.c freelocale (locale_t locale) locale 3060 maint/gnulib/lib/localename.c if (locale == NULL || locale == LC_GLOBAL_LOCALE) locale 3065 maint/gnulib/lib/localename.c size_t hashcode = locale_hash_function (locale); locale 3074 maint/gnulib/lib/localename.c if ((*p)->locale == locale) locale 3084 maint/gnulib/lib/localename.c freelocale (locale); locale 85 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, locale 90 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, locale 95 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, locale 75 maint/gnulib/lib/nl_langinfo.c char locale[SETLOCALE_NULL_MAX]; locale 79 maint/gnulib/lib/nl_langinfo.c if (setlocale_null_r (LC_CTYPE, locale, sizeof (locale))) locale 80 maint/gnulib/lib/nl_langinfo.c locale[0] = '\0'; locale 85 maint/gnulib/lib/nl_langinfo.c if (locale[0]) locale 88 maint/gnulib/lib/nl_langinfo.c char *dot = strchr (locale, '.'); locale 70 maint/gnulib/lib/setlocale.c setlocale_mtsafe (int category, const char *locale) locale 72 maint/gnulib/lib/setlocale.c if (locale == NULL) locale 75 maint/gnulib/lib/setlocale.c return setlocale (category, locale); locale 673 maint/gnulib/lib/setlocale.c setlocale_unixlike (int category, const char *locale) locale 682 maint/gnulib/lib/setlocale.c if (locale != NULL && strcmp (locale, "POSIX") == 0) locale 683 maint/gnulib/lib/setlocale.c locale = "C"; locale 686 maint/gnulib/lib/setlocale.c result = setlocale_mtsafe (category, locale); locale 693 maint/gnulib/lib/setlocale.c if (strlen (locale) < sizeof (llCC_buf)) locale 697 maint/gnulib/lib/setlocale.c const char *p = locale; locale 715 maint/gnulib/lib/setlocale.c if (strcmp (llCC_buf, locale) != 0) locale 832 maint/gnulib/lib/setlocale.c setlocale_unixlike (int category, const char *locale) locale 834 maint/gnulib/lib/setlocale.c char *result = setlocale_mtsafe (category, locale); locale 850 maint/gnulib/lib/setlocale.c if (locale == NULL locale 851 maint/gnulib/lib/setlocale.c || strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) locale 872 maint/gnulib/lib/setlocale.c setlocale_single (int category, const char *locale) locale 876 maint/gnulib/lib/setlocale.c if (locale != NULL) locale 879 maint/gnulib/lib/setlocale.c strncpy (lc_messages_name, locale, sizeof (lc_messages_name) - 1); locale 884 maint/gnulib/lib/setlocale.c return setlocale_unixlike (category, locale); locale 1147 maint/gnulib/lib/setlocale.c get_main_locale_with_same_language (const char *locale) locale 1159 maint/gnulib/lib/setlocale.c int cmp = langcmp (table[mid], locale); locale 1169 maint/gnulib/lib/setlocale.c if (mid > lo && langcmp (table[mid - 1], locale) >= 0) locale 1171 maint/gnulib/lib/setlocale.c if (mid + 1 < hi && langcmp (table[mid + 1], locale) <= 0) locale 1374 maint/gnulib/lib/setlocale.c get_main_locale_with_same_territory (const char *locale) locale 1376 maint/gnulib/lib/setlocale.c if (strrchr (locale, '_') != NULL) locale 1388 maint/gnulib/lib/setlocale.c int cmp = terrcmp (table[mid], locale); locale 1398 maint/gnulib/lib/setlocale.c if (mid > lo && terrcmp (table[mid - 1], locale) >= 0) locale 1400 maint/gnulib/lib/setlocale.c if (mid + 1 < hi && terrcmp (table[mid + 1], locale) <= 0) locale 1413 maint/gnulib/lib/setlocale.c setlocale_improved (int category, const char *locale) locale 1415 maint/gnulib/lib/setlocale.c if (locale != NULL && locale[0] == '\0') locale 1632 maint/gnulib/lib/setlocale.c if (category == LC_ALL && locale != NULL && strchr (locale, '.') != NULL) locale 1644 maint/gnulib/lib/setlocale.c if (setlocale_unixlike (LC_ALL, locale) == NULL) locale 1667 maint/gnulib/lib/setlocale.c return setlocale_single (category, locale); locale 121 maint/gnulib/lib/strfmon_l.c rpl_strfmon_l (char *s, size_t maxsize, locale_t locale, const char *format, ...) locale 132 maint/gnulib/lib/strfmon_l.c if (uselocale (locale) == (locale_t)0) locale 202 maint/gnulib/lib/strfmon_l.c result = strfmon_l (s, maxsize, locale, ld_format, locale 222 maint/gnulib/lib/strfmon_l.c result = strfmon_l (s, maxsize, locale, format, locale 48 maint/gnulib/lib/strptime.c int result = __strncasecmp_l ((cs1), (s2), len, locale) == 0; \ locale 173 maint/gnulib/lib/strptime.c # define LOCALE_PARAM , locale locale 174 maint/gnulib/lib/strptime.c # define LOCALE_ARG , locale locale 175 maint/gnulib/lib/strptime.c # define LOCALE_PARAM_PROTO , __locale_t locale locale 176 maint/gnulib/lib/strptime.c # define LOCALE_PARAM_DECL __locale_t locale; locale 178 maint/gnulib/lib/strptime.c # define ISSPACE(Ch) __isspace_l (Ch, locale) locale 241 maint/gnulib/lib/strptime.c struct locale_data *const current = locale->__locales[LC_TIME]; locale 141 maint/gnulib/tests/test-duplocale.c get_locale_dependent_values_from (struct locale_dependent_values *result, locale_t locale) locale 144 maint/gnulib/tests/test-duplocale.c strfmon_l (result->monetary, sizeof (result->monetary), locale, locale 149 maint/gnulib/tests/test-duplocale.c snprintf_l (result->numeric, sizeof (result->numeric), locale, locale 154 maint/gnulib/tests/test-duplocale.c strcpy (result->time, nl_langinfo_l (MON_1, locale)); locale 206 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); locale 207 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 209 maint/gnulib/tests/test-localename.c uselocale (locale); locale 215 maint/gnulib/tests/test-localename.c freelocale (locale); locale 230 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (category_mask, "de_DE.UTF-8", loc); locale 231 maint/gnulib/tests/test-localename.c if (locale == NULL) locale 237 maint/gnulib/tests/test-localename.c uselocale (locale); locale 248 maint/gnulib/tests/test-localename.c freelocale (locale); locale 272 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); locale 273 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 277 maint/gnulib/tests/test-localename.c uselocale (locale); locale 283 maint/gnulib/tests/test-localename.c freelocale (locale); locale 298 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (category_mask, "de_DE.UTF-8", loc); locale 299 maint/gnulib/tests/test-localename.c if (locale == NULL) locale 305 maint/gnulib/tests/test-localename.c uselocale (locale); locale 317 maint/gnulib/tests/test-localename.c freelocale (locale); locale 444 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, choices[j], NULL); locale 445 maint/gnulib/tests/test-localename.c available[j] = (locale != NULL); locale 446 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 450 maint/gnulib/tests/test-localename.c uselocale (locale); locale 457 maint/gnulib/tests/test-localename.c freelocale (locale); locale 476 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, choices[j], NULL); locale 479 maint/gnulib/tests/test-localename.c ASSERT (locale != NULL); locale 480 maint/gnulib/tests/test-localename.c uselocale (locale); locale 487 maint/gnulib/tests/test-localename.c freelocale (locale); locale 645 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); locale 646 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 653 maint/gnulib/tests/test-localename.c uselocale (locale); locale 657 maint/gnulib/tests/test-localename.c freelocale (locale); locale 759 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); locale 760 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 767 maint/gnulib/tests/test-localename.c uselocale (locale); locale 771 maint/gnulib/tests/test-localename.c freelocale (locale); locale 794 maint/gnulib/tests/test-localename.c locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); locale 795 maint/gnulib/tests/test-localename.c if (locale != NULL) locale 797 maint/gnulib/tests/test-localename.c uselocale (locale); locale 800 maint/gnulib/tests/test-localename.c freelocale (locale); locale 31 maint/gnulib/tests/test-monetary-c++.cc (char *s, size_t maxsize, locale_t locale, locale 25 maint/gnulib/tests/test-strfmon_l.c SIGNATURE_CHECK (strfmon_l, ssize_t, (char *s, size_t maxsize, locale_t locale,