Searched refs:locale (Results 1 - 25 of 243) sorted by relevance

12345678910

/haiku-fatelf/src/system/libroot/posix/glibc/include/
H A Dlanginfo.h1 #include <locale/langinfo.h>
H A Dxlocale.h1 #include <locale/xlocale.h>
H A Dlocale.h2 #include <locale/locale.h>
4 /* Locale object for C locale. */
/haiku-fatelf/src/bin/diffutils/lib/
H A Dhard-locale.c1 /* hard-locale.c -- Determine whether a locale is hard.
24 # include <locale.h>
35 #include "hard-locale.h"
37 /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
55 char *locale = malloc (strlen (p) + 1);
56 if (locale)
58 strcpy (locale, p);
60 /* Temporarily set the locale to the "C" and "POSIX" locales
62 or the other is the caller's locale
[all...]
/haiku-fatelf/src/system/libroot/posix/locale/
H A Dsetlocale.cpp9 #include <locale.h>
25 const char* locale = getenv("LC_ALL"); local
26 if (locale && *locale)
27 locales[category] = locale;
29 // the order of the names must match the one specified in locale.h
47 locale = NULL;
49 const char* lastLocale = locale;
50 locale = getenv(categoryNames[lc]);
51 if (!locale || *local
70 setlocale(int category, const char* locale) argument
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dhard-locale.c1 /* hard-locale.c -- Determine whether a locale is hard.
21 #include "hard-locale.h"
23 #include <locale.h>
33 /* Return true if the current CATEGORY locale is hard, i.e. if you
50 char *locale = strdup (p); local
51 if (locale)
53 /* Temporarily set the locale to the "C" and "POSIX" locales
55 or the other is the caller's locale. */
57 && strcmp (p, locale)
[all...]
H A Dlocalcharset.c4 /* Determine a canonical name for the current locale's character encoding.
56 # include <locale.h>
360 /* Determine the current locale's character encoding, and canonicalize it
385 of the locale name from the environment variables (if present) or
389 const char *locale; local
392 locale = getenv ("LC_ALL");
393 if (locale == NULL || locale[0] == '\0')
395 locale = getenv ("LC_CTYPE");
396 if (locale
442 const char *locale = NULL; local
485 const char *locale; local
[all...]
H A Dnl_langinfo.c1 /* nl_langinfo() replacement: query locale dependent information.
27 # include <locale.h>
40 const char *locale; local
43 locale = setlocale (LC_CTYPE, NULL);
44 if (locale != NULL && locale[0] != '\0')
46 /* If the locale name contains an encoding after the dot, return
48 const char *dot = strchr (locale, '.');
77 /* The %Ex conversion in strftime behaves like %x if the locale does not
82 /* The %Ec conversion in strftime behaves like %c if the locale doe
[all...]
H A Dc-strtod.c1 /* Convert string to double, using the C locale.
25 #include <locale.h>
48 /* Cache for the C locale object.
53 /* Return the C locale object, or (locale_t) 0 with errno set
72 locale_t locale = c_locale (); local
73 if (!locale)
80 r = STRTOD_L (nptr, endptr, locale);
/haiku-fatelf/headers/private/libroot/locale/
H A DPosixLocaleConv.h9 #include <locale.h>
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlocalcharset.c1 /* 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
348 const char *locale = NULL; local
385 const char *locale; local
[all...]
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlocalcharset.c1 /* Determine a canonical name for the current locale's character encoding.
51 # include <locale.h>
315 /* Determine the current locale's character encoding, and canonicalize it
340 of the locale name from the environment variables (if present) or
344 const char *locale; local
347 locale = getenv ("LC_ALL");
348 if (locale == NULL || locale[0] == '\0')
350 locale = getenv ("LC_CTYPE");
351 if (locale
387 const char *locale = NULL; local
424 const char *locale; local
[all...]
/haiku-fatelf/src/libs/iconv/
H A Dlocalcharset.c1 /* Determine a canonical name for the current locale's character encoding.
46 # include <locale.h>
277 /* Determine the current locale's character encoding, and canonicalize it
302 of the locale name from the environment variables (if present) or
306 const char *locale; local
309 locale = getenv ("LC_ALL");
310 if (locale == NULL || locale[0] == '\0')
312 locale = getenv ("LC_CTYPE");
313 if (locale
349 const char *locale = NULL; local
386 const char *locale; local
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/wcsmbs/
H A Dwcsmbsload.h20 #include <locale.h>
22 #include <locale/localeinfo.h>
/haiku-fatelf/headers/posix/
H A Dmonetary.h9 #include <locale.h>
/haiku-fatelf/src/tests/system/libroot/posix/
H A Dmbtest.c1 #include <locale.h>
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dlocalcharset.c1 /* localcharset.c - Determine a canonical name for the current locale's character encoding. */
59 # include <locale.h>
262 /* Determine the current locale's character encoding, and canonicalize it
287 const char *locale = NULL; local
290 (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't
292 locale name the user has set. */
294 locale = setlocale (LC_CTYPE, NULL);
296 if (locale == NULL || locale[0] == '\0')
298 locale
324 const char *locale; local
[all...]
H A Dfinddomain.c52 _nl_find_domain (dirname, locale, domainname, domainbinding)
54 char *locale;
79 the full specified locale is not found, the less specific one are
91 /* If we have already tested for this locale entry there has to
94 strlen (dirname) + 1, 0, locale, NULL, NULL,
98 /* We know something about this locale. */
119 /* See whether the locale value is an alias. If yes its value
122 alias_value = _nl_expand_alias (locale);
126 locale = strdup (alias_value);
127 if (locale
[all...]
H A Ddgettext.c25 #include <locale.h>
49 LC_MESSAGES locale. */
/haiku-fatelf/src/bin/gawk/intl/
H A Dlocalcharset.c1 /* Determine a canonical name for the current locale's character encoding.
58 # include <locale.h>
261 /* Determine the current locale's character encoding, and canonicalize it
286 const char *locale = NULL; local
289 (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't
291 locale name the user has set. */
293 locale = setlocale (LC_CTYPE, NULL);
295 if (locale == NULL || locale[0] == '\0')
297 locale
323 const char *locale; local
[all...]
H A Dfinddomain.c50 _nl_find_domain (dirname, locale, domainname, domainbinding)
52 char *locale;
77 the full specified locale is not found, the less specific one are
89 /* If we have already tested for this locale entry there has to
92 strlen (dirname) + 1, 0, locale, NULL, NULL,
96 /* We know something about this locale. */
117 /* See whether the locale value is an alias. If yes its value
120 alias_value = _nl_expand_alias (locale);
124 locale = strdup (alias_value);
125 if (locale
[all...]
H A Ddgettext.c23 #include <locale.h>
47 LC_MESSAGES locale. */
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_vision/
H A DTunerLocale.cpp98 TunerLocale *locale = new TunerLocale(entry); local
99 if((status = locale->InitCheck()) == B_OK){
100 vector.push_back(locale);
103 delete locale;
113 for(LocalesIterator locale = vector.begin();
114 locale != vector.end(); locale ++){
115 delete *locale;
/haiku-fatelf/src/system/libroot/add-ons/icu/
H A DICUMessagesData.cpp31 ICUMessagesData::SetTo(const Locale& locale, const char* posixLocaleName) argument
33 status_t result = inherited::SetTo(locale, posixLocaleName);
H A DICULocaleBackend.cpp12 #include <locale.h>
79 Locale locale = Locale::createCanonical(posixLocaleName);
82 if (fCollateData.SetTo(locale, posixLocaleName) != B_OK
83 || fCtypeData.SetTo(locale, posixLocaleName) != B_OK
84 || fMessagesData.SetTo(locale, posixLocaleName) != B_OK
85 || fMonetaryData.SetTo(locale, posixLocaleName) != B_OK
86 || fNumericData.SetTo(locale, posixLocaleName) != B_OK
87 || fTimeData.SetTo(locale, posixLocaleName) != B_OK)
91 if (fCollateData.SetTo(locale, posixLocaleName) != B_OK)
95 if (fCtypeData.SetTo(locale, posixLocaleNam
359 const char* locale = fCollateData.PosixLocaleName(); local
[all...]

Completed in 302 milliseconds

12345678910