Searched refs:locale (Results 76 - 100 of 123) sorted by relevance

12345

/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c54 #include <locale.h>
136 const char *locale; local
138 locale = setlocale(LC_ALL, "");
139 if (!locale) {
140 locale = setlocale(LC_ALL, NULL);
141 ntfs_log_error("Failed to set locale, using default '%s'.\n",
142 locale);
582 ntfs_log_error("Couldn't translate filename to current locale.\n");
670 "current locale.\n");
698 "locale
[all...]
/haiku/src/system/libroot/add-ons/icu/
H A DICUMonetaryData.cpp46 ICUMonetaryData::SetTo(const Locale& locale, const char* posixLocaleName) argument
48 status_t result = inherited::SetTo(locale, posixLocaleName);
54 NumberFormat::createCurrencyInstance(locale, icuStatus));
H A DICUCollateData.cpp41 ICUCollateData::SetTo(const Locale& locale, const char* posixLocaleName) argument
43 status_t result = inherited::SetTo(locale, posixLocaleName);
H A DICUTimeData.cpp70 ICUTimeData::SetTo(const Locale& locale, const char* posixLocaleName) argument
72 status_t result = inherited::SetTo(locale, posixLocaleName);
269 // check if the date strings should be taken from the messages-locale
270 // or from the time-locale (default)
H A DICUCtypeData.cpp62 ICUCtypeData::SetTo(const Locale& locale, const char* posixLocaleName) argument
64 status_t result = inherited::SetTo(locale, posixLocaleName);
/haiku/src/bin/
H A Dcomm.c53 #include <locale.h>
H A Dwatch.c25 #include <locale.h>
/haiku/src/tests/system/libroot/posix/
H A Dtst-fgetws.c5 #include <locale.h>
27 puts("This program runs on de_DE.UTF-8 locale.");
29 fprintf(stderr, "Err: Cannot run on the de_DE.UTF-8 locale");
H A Dtst-swscanf.c1 #include <locale.h>
48 printf("cannot set locale \"%s\": %m\n", loc);
52 printf("\nnew locale: \"%s\"\n", loc);
H A Dtst-wprintf2.c4 #include <locale.h>
H A Dtst-btowc.c20 #include <locale.h>
24 /* Currently selected locale. */
87 puts("cannot set locale \"C\"");
103 printf("locale '%s' ok\n", current_locale);
108 puts("cannot set locale \"en_US.ANSI_X3.4-1968\"");
124 printf("locale '%s' ok\n", current_locale);
129 puts("cannot set locale \"de_DE.ISO-8859-1\"");
142 printf("locale '%s' ok\n", current_locale);
147 puts("cannot set locale \"de_DE.UTF-8\"");
163 printf("locale '
[all...]
H A Dgnulib-test-mbrtowc.c21 #include <locale.h>
36 /* configure should already have checked that the locale is supported. */
38 fprintf(stderr, "unable to set standard locale\n");
136 fprintf(stderr, "unable to set ISO8859-1 locale, skipping\n");
189 fprintf(stderr, "unable to set UTF-8 locale, skipping\n");
266 fprintf(stderr, "unable to set EUC-JP locale, skipping\n");
328 fprintf(stderr, "unable to set GB18030 locale, skipping\n");
H A Dgnulib-test-wcsnrtombs.c21 #include <locale.h>
35 /* configure should already have checked that the locale is supported. */
63 fprintf(stderr, "unable to set ISO8859-1 locale, skipping\n");
99 fprintf(stderr, "unable to set UTF-8 locale, skipping\n");
141 fprintf(stderr, "unable to set EUC-JP locale, skipping\n");
186 fprintf(stderr, "unable to set GB18030 locale, skipping\n");
/haiku/src/libs/bsd/
H A Dvis.c104 /* Keep it simple for now, no locale stuff */
107 #include <locale.h>
/haiku/headers/posix/
H A Dtime.h97 const struct tm *tm, locale_t locale);
/haiku/src/kits/network/libnetservices/
H A DHttpTime.cpp15 #include <locale.h>
112 // Save the current locale, switch to POSIX for strptime to match strings
/haiku/headers/private/libroot/locale/
H A DICULocaleBackend.h11 #include <locale.h>
85 // buffer for locale names (up to one per category)
/haiku/src/kits/locale/
H A DCollator.cpp42 BCollator::BCollator(const char* locale, int8 strength, bool ignorePunctuation) argument
47 fICUCollator = Collator::createInstance(locale, error);
H A DDateFormat.cpp41 BDateFormat::BDateFormat(const BLocale* locale) argument
42 : BFormat(locale)
H A DNumberFormat.cpp196 BNumberFormat::BNumberFormat(const BLocale* locale) argument
197 : BFormat(locale)
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.h34 # include <locale.h>
65 # include <locale/localeinfo.h>
66 # include <locale/elem-hash.h>
67 # include <locale/coll-lookup.h>
749 # include <locale/weight.h>
/haiku/src/system/libroot/posix/stdlib/
H A Dstrfmon.c32 #include <locale.h>
45 #define LOCALE_POSN 0x04 /* use locale defined +/- (default) */
111 strfmon_l(char *s, size_t maxsize, locale_t locale, const char *format, ...) argument
114 struct lconv* lc = localeconv_l(locale);
185 case '+': /* use locale defined signs */
551 if (right_prec == CHAR_MAX) /* POSIX locale ? */
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunistr.c45 #include <locale.h>
440 glibc does this even without a locale in a hard-coded fashion as that
443 there was some error with the locale setup or none set up like
447 UTF-8 and for others, specifying the locale in fstab brings them
450 If no locale is defined or there was a problem with setting one
889 * @ins_len into the multibyte string format dictated by the current locale.
902 * sequence according to the current locale.
1013 * Convert the input multibyte string @ins, from the current locale into the
1027 * string according to the current locale.
1651 int ntfs_set_char_encoding(const char *locale) argument
[all...]
H A Dvolume.c54 #include <locale.h>
1214 * Convert Unicode volume name to current locale multibyte
1220 "to current locale");
1864 const char *locale; local
1866 locale = setlocale(LC_ALL, "");
1867 if (!locale) {
1868 locale = setlocale(LC_ALL, NULL);
1870 "'%s'.\n", locale);
/haiku/src/apps/deskcalc/
H A DCalcView.cpp461 BLocale locale; local
462 BNumberFormat format(&locale);
1105 BLocale locale; local
1106 BNumberFormat format(&locale);
1304 BLocale locale; local
1305 BNumberFormat format(&locale);

Completed in 109 milliseconds

12345