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

12345

/haiku/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/src/system/libroot/posix/locale/
H A DLocaleInternal.cpp10 #include <locale.h>
28 const char* locale = getenv("LC_ALL"); local
29 if (locale != NULL && *locale != '\0')
30 locales[category] = locale;
32 // the order of the names must match the one specified in locale.h
53 locale = NULL;
55 const char* lastLocale = locale;
56 locale = getenv(categoryNames[lc]);
57 if (locale
[all...]
H A Dwctype_l.cpp9 #include <locale.h>
26 LocaleBackendData* locale = (LocaleBackendData*)l; local
27 LocaleBackend* backend = locale->backend;
40 iswalnum_l(wint_t wc, locale_t locale) argument
42 return iswctype_l(wc, _ISalnum, locale);
47 iswalpha_l(wint_t wc, locale_t locale) argument
49 return iswctype_l(wc, _ISalpha, locale);
54 iswblank_l(wint_t wc, locale_t locale) argument
56 return iswctype_l(wc, _ISblank, locale);
61 iswcntrl_l(wint_t wc, locale_t locale) argument
68 iswdigit_l(wint_t wc, locale_t locale) argument
75 iswgraph_l(wint_t wc, locale_t locale) argument
82 iswlower_l(wint_t wc, locale_t locale) argument
89 iswprint_l(wint_t wc, locale_t locale) argument
96 iswpunct_l(wint_t wc, locale_t locale) argument
103 iswspace_l(wint_t wc, locale_t locale) argument
110 iswupper_l(wint_t wc, locale_t locale) argument
117 iswxdigit_l(wint_t wc, locale_t locale) argument
126 LocaleBackendData* locale = (LocaleBackendData*)l; local
145 LocaleBackendData* locale = (LocaleBackendData*)l; local
164 LocaleBackendData* locale = (LocaleBackendData*)l; local
187 wctrans_l(const char *charClass, locale_t locale) argument
205 wctype_l(const char *property, locale_t locale) argument
[all...]
H A Dsetlocale.cpp9 #include <locale.h>
24 setlocale(int category, const char* locale) argument
31 if (locale == NULL) {
32 // query the locale of the given category
40 // array to collect the locale per category
45 if (*locale == '\0')
48 locales[category] = locale;
51 // for any locale other than POSIX/C, we try to activate the ICU
68 locale = gGlobalLocaleBackend->SetLocale(lc, locales[lc]);
71 return const_cast<char*>(locale);
[all...]
H A Dlocaleconv.cpp14 #include <locale.h>
40 LocaleBackendData* locale = (LocaleBackendData*)l; local
41 LocaleBackend* backend = locale->backend;
H A Dctype_l.cpp8 #include <locale.h>
18 // A NULL databridge means that the object represents the POSIX locale.
22 LocaleBackendData* locale = (LocaleBackendData*)l; local
24 if (locale->databridge == NULL) {
27 return *locale->databridge->ctypeDataBridge.addrOfClassInfoTable;
34 LocaleBackendData* locale = (LocaleBackendData*)l; local
36 if (locale->databridge == NULL) {
39 return *locale->databridge->ctypeDataBridge.addrOfToUpperTable;
46 LocaleBackendData* locale = (LocaleBackendData*)l; local
48 if (locale
[all...]
H A Dnl_langinfo.cpp34 nl_langinfo_l(nl_item item, locale_t locale) argument
39 LocaleBackend* backend = ((LocaleBackendData*)locale)->backend;
/haiku/headers/posix/
H A Dwctype.h41 extern int iswalnum_l(wint_t wc, locale_t locale);
42 extern int iswalpha_l(wint_t wc, locale_t locale);
43 extern int iswcntrl_l(wint_t wc, locale_t locale);
44 extern int iswctype_l(wint_t wc, wctype_t desc, locale_t locale);
45 extern int iswdigit_l(wint_t wc, locale_t locale);
46 extern int iswgraph_l(wint_t wc, locale_t locale);
47 extern int iswlower_l(wint_t wc, locale_t locale);
48 extern int iswprint_l(wint_t wc, locale_t locale);
49 extern int iswpunct_l(wint_t wc, locale_t locale);
50 extern int iswspace_l(wint_t wc, locale_t locale);
[all...]
H A Dmonetary.h18 extern ssize_t strfmon_l(char* s, size_t maxsize, locale_t locale, const char* format, ...);
/haiku/headers/private/libroot/locale/
H A DPosixLocaleConv.h9 #include <locale.h>
/haiku/src/system/libroot/posix/string/
H A Dstrcasecmp.c75 strcasecmp_l(const char *s1, const char *s2, locale_t locale) argument
81 while (tolower_l(*us1, locale) == tolower_l(*us2++, locale))
84 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale));
89 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale) argument
97 if (tolower_l(*us1, locale) != tolower_l(*us2++, locale))
98 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale));
[all...]
/haiku/src/system/libroot/posix/musl/internal/
H A Dlocale_impl.h8 #include <locale.h>
/haiku/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/src/system/libroot/posix/glibc/wcsmbs/
H A Dwcsmbsload.h20 #include <locale.h>
22 #include <locale/localeinfo.h>
/haiku/src/kits/locale/
H A DFormat.cpp10 BFormat::BFormat(const BLocale* locale) argument
12 if (locale == NULL)
13 locale = BLocaleRoster::Default()->GetDefaultLocale();
15 if (locale == NULL) {
20 _Initialize(*locale);
53 BFormat::_Initialize(const BLocale& locale) argument
58 fInitStatus = locale.GetFormattingConventions(&conventions);
62 fInitStatus = locale.GetLanguage(&language);
/haiku/src/system/libroot/posix/wchar/
H A Dwcsncasecmp.c33 __wcsncasecmp_l(const wchar_t* wcs1, const wchar_t* wcs2, size_t count, locale_t locale) argument
38 cmp = towlower_l(*wcs1, locale) - towlower_l(*wcs2++, locale);
H A Dwcscasecmp.c33 __wcscasecmp_l(const wchar_t* wcs1, const wchar_t* wcs2, locale_t locale) argument
38 cmp = towlower_l(*wcs1, locale) - towlower_l(*wcs2++, locale);
/haiku/src/tests/system/libroot/posix/
H A Dmbtest.c1 #include <locale.h>
/haiku/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/src/system/libroot/add-ons/icu/
H A DICULocaleBackend.cpp12 #include <locale.h>
90 Locale locale = Locale::createCanonical(posixLocaleName);
93 if (fCollateData.SetTo(locale, posixLocaleName) != B_OK
94 || fCtypeData.SetTo(locale, posixLocaleName) != B_OK
95 || fMessagesData.SetTo(locale, posixLocaleName) != B_OK
96 || fMonetaryData.SetTo(locale, posixLocaleName) != B_OK
97 || fNumericData.SetTo(locale, posixLocaleName) != B_OK
98 || fTimeData.SetTo(locale, posixLocaleName) != B_OK)
102 if (fCollateData.SetTo(locale, posixLocaleName) != B_OK)
106 if (fCtypeData.SetTo(locale, posixLocaleNam
379 const char* locale = fCollateData.PosixLocaleName(); local
[all...]
H A DICUMessagesData.cpp34 ICUMessagesData::SetTo(const Locale& locale, const char* posixLocaleName) argument
36 status_t result = inherited::SetTo(locale, posixLocaleName);
/haiku/headers/private/libroot/time/
H A Dtimelocal.h32 #include <locale.h>
/haiku/headers/os/locale/
H A DFormat.h47 BFormat(const BLocale* locale = NULL);
57 status_t _Initialize(const BLocale& locale);

Completed in 107 milliseconds

12345