HomeSort by: relevance | last modified time | path
    Searched defs:locale (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/external/gpl3/gdb/dist/gnulib/import/
hard-locale.c 1 /* hard-locale.c -- Determine whether a locale is hard.
21 #include "hard-locale.h"
23 #include <locale.h>
29 char locale[SETLOCALE_NULL_MAX]; local
31 if (setlocale_null_r (category, locale, sizeof (locale)))
34 return !(strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0);
  /src/external/gpl3/gdb.old/dist/gnulib/import/
hard-locale.c 1 /* hard-locale.c -- Determine whether a locale is hard.
21 #include "hard-locale.h"
23 #include <locale.h>
29 char locale[SETLOCALE_NULL_MAX]; local
31 if (setlocale_null_r (category, locale, sizeof (locale)))
34 return !(strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Locale.h 8 namespace locale { namespace in namespace:llvm::sys
  /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/external/apache2/llvm/dist/llvm/lib/Support/
Locale.cpp 1 #include "llvm/Support/Locale.h"
7 namespace locale { namespace in namespace:llvm::sys
17 } // namespace locale
  /src/external/gpl2/gettext/dist/gettext-tools/libgrep/
hard-locale.c 1 /* hard-locale.c -- Determine whether a locale is hard.
23 #include "hard-locale.h"
25 #include <locale.h>
37 /* Return true if the current CATEGORY locale is hard, i.e. if you
54 char *locale = strdup (p); local
55 if (locale)
57 /* Temporarily set the locale to the "C" and "POSIX" locales
59 or the other is the caller's locale. */
61 && strcmp (p, locale) == 0
    [all...]
  /src/tests/lib/libc/locale/
t_c32rtomb.c 33 #include <locale.h>
45 char *locale; local
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
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_mbsnrtowcs.c 35 #include <locale.h>
42 const char *locale; member in struct:test
76 ATF_REQUIRE(setlocale(LC_CTYPE, t->locale) != NULL);
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_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_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_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_strfmon.c 38 #include <locale.h>
52 const char *locale; member in struct:__anon7841
63 loc = newlocale(LC_MONETARY_MASK, tests[i].locale, 0);
93 "Checks strfmon locale thousands separator");
267 const char *locale; member in struct:__anon7845
278 if (setlocale(LC_MONETARY, tests[i].locale) == NULL)
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/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/
main.cpp 38 QString locale; local
42 locale = QLocale::system().name();
44 if (!translator.load("wpa_gui_" + locale, resourceDir))
45 translator.load("wpa_gui_" + locale, "lang");
  /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/external/gpl2/grep/lib/
Makefile 12 SRCS= closeout.c error.c exclude.c hard-locale.c isdir.c \
16 COPTS.hard-locale.c = -Wno-stack-protector
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
localename.cc 31 #include <locale>
53 locale::locale(const char* __s) : _M_impl(0) function in class:locale
143 // the "C" locale or LANG.
152 __throw_runtime_error(__N("locale::locale null not valid"));
155 locale::locale(const locale& __base, const char* __s, category __cat) function in class:locale
161 locale __add(__s)
165 locale::locale(const locale& __base, const locale& __add, category __cat) function in class:locale
    [all...]
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/
localename.cc 31 #include <locale>
39 locale::locale(const char* __s) : _M_impl(0) function in class:locale
136 // the "C" locale or LANG.
145 __throw_runtime_error(__N("locale::locale null not valid"));
148 locale::locale(const locale& __base, const char* __s, category __cat) function in class:locale
154 locale __add(__s)
158 locale::locale(const locale& __base, const locale& __add, category __cat) function in class:locale
    [all...]
  /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
localcharset.c 1 /* Determine a canonical name for the current locale's character encoding.
45 # include <locale.h>
276 /* Determine the current locale's character encoding, and canonicalize it
301 of the locale name from the environment variables (if present) or
305 const char *locale; local
308 locale = getenv ("LC_ALL");
309 if (locale == NULL || locale[0] == '\0')
311 locale = getenv ("LC_CTYPE");
312 if (locale == NULL || locale[0] == '\0'
348 const char *locale = NULL; local
385 const char *locale; local
    [all...]

Completed in 40 milliseconds

1 2