Searched refs:language (Results 1 - 25 of 90) sorted by relevance

1234

/haiku/headers/private/locale/
H A DLanguagePrivate.h14 Private(const BLanguage* language = NULL)
16 fLanguage(language)
21 SetTo(const BLanguage* language) argument
23 fLanguage = language;
H A DPlainTextCatalog.h21 PlainTextCatalog(const entry_ref& owner, const char *language,
25 const char *language);
37 const char *language, uint32 fingerprint);
H A DDefaultCatalog.h27 DefaultCatalog(const entry_ref &catalogOwner, const char *language,
33 const char *language);
50 const char *language, uint32 fingerprint);
52 const char *language);
H A DMutableLocaleRoster.h45 // 'language'-string-fields which
46 // contain the language-name(s)
53 const char* language = NULL,
56 const char* language = NULL) const;
61 const char* language);
/haiku/src/tests/kits/locale/
H A DLanguageTest.cpp31 BLanguage language("jp");
34 CPPUNIT_ASSERT_EQUAL(BString("jp"), language.ID());
35 CPPUNIT_ASSERT_EQUAL(BString("jp"), language.Code());
36 CPPUNIT_ASSERT_EQUAL(BString(""), language.ScriptCode());
37 CPPUNIT_ASSERT_EQUAL(BString(""), language.CountryCode());
47 BLanguage language("fr_FR");
50 CPPUNIT_ASSERT_EQUAL(BString("fr_FR"), language.ID());
51 CPPUNIT_ASSERT_EQUAL(BString("fr"), language.Code());
52 CPPUNIT_ASSERT_EQUAL(BString(""), language.ScriptCode());
53 CPPUNIT_ASSERT_EQUAL(BString("FR"), language
[all...]
H A DDateFormatTest.cpp33 const char* language; member in struct:Test
62 for (int i = 0; tests[i].language != NULL; i++)
66 BLanguage language(tests[i].language);
71 // Test default for language/formatting
73 BDateTimeFormat format(language, formatting);
87 BDateTimeFormat format(language, formatting);
100 BDateTimeFormat format(language, formatting);
117 const char* language; member in struct:Value
141 for (int i = 0; values[i].language !
[all...]
H A DRelativeDateTimeFormatTest.cpp47 // The exact format and language used depends on the locale settings, but
58 const char* language; member in struct:Value
99 for (int i = 0; values[i].language != NULL; i++) {
103 BLanguage language(values[i].language);
105 BRelativeDateTimeFormat format(language, formatting);
/haiku/src/kits/locale/
H A DFormat.cpp24 BFormat::BFormat(const BLanguage& language, argument
27 _Initialize(language, conventions);
56 BLanguage language; local
62 fInitStatus = locale.GetLanguage(&language);
66 return _Initialize(language, conventions);
71 BFormat::_Initialize(const BLanguage& language, argument
75 fLanguage = language;
H A DLocale.cpp15 BLocale::BLocale(const BLanguage* language, argument
23 if (language != NULL)
24 fLanguage = *language;
85 BLocale::GetLanguage(BLanguage* language) const
87 if (!language)
94 *language = fLanguage;
H A DCatalog.cpp30 BCatalog::BCatalog(const entry_ref& catalogOwner, const char* language, argument
36 SetTo(catalogOwner, language, fingerprint);
40 BCatalog::BCatalog(const char* signature, const char* language) argument
45 SetTo(signature, language);
192 BCatalog::SetTo(const entry_ref& catalogOwner, const char* language, argument
201 language, fingerprint);
208 BCatalog::SetTo(const char* signature, const char* language) argument
216 language);
/haiku/data/bin/
H A Dwelcome3 language=$(locale -l)
4 # The locale can be a single 2 char language or in severall segments like en, se_SE or sr_Latn_ME
5 # this tries to get the 2 char language code from longer locales as a fallback
6 languageBase=$(echo $language | awk -F_ '{print $1}')
10 localizedWelcomeFile=/boot/system/documentation/welcome/welcome_"$language".html
/haiku/src/data/bin/
H A Duserguide3 language=$(locale -l)
4 # The locale can be a single 2 char language or in severall segments like en, se_SE or sr_Latn_ME
5 # this tries to get the 2 char language code from longer locales as a fallback
6 languageBase=$(echo $language | awk -F_ '{print $1}')
11 localizedUserGuide=$userGuideDir/"$language"/contents.html
H A Dquicktour3 language=$(locale -l)
4 # The locale can be a single 2 char language or in severall segments like en, se_SE or sr_Latn_ME
5 # this tries to get the 2 char language code from longer locales as a fallback
6 languageBase=$(echo $language | awk -F_ '{print $1}')
10 localizedQuicktour=/boot/system/documentation/welcome/"$language"/quicktour.html
/haiku/src/apps/haikudepot/packagemodel/
H A DLanguage.cpp12 Language::Language(const char* language, const BString& serverName, argument
15 BLanguage(language),
H A DLanguage.h14 /*! This class represents a language that is supported by the Haiku
21 Language(const char* language,
/haiku/docs/develop/
H A Dconf.py56 # The language for content autogenerated by Sphinx. Refer to documentation
60 # Usually you set "language" from the command line for these cases.
61 language = None variable
/haiku/src/system/libroot/posix/glibc/intl/
H A Dloadinfo.h82 const char *language, const char *territory,
93 extern int _nl_explode_name PARAMS ((char *name, const char **language,
/haiku/headers/os/locale/
H A DLanguage.h36 BLanguage(const char* language);
40 status_t SetTo(const char* language);
H A DFormat.h48 BFormat(const BLanguage& language,
58 status_t _Initialize(const BLanguage& language,
H A DTimeZone.h25 const BLanguage* language = NULL);
42 const BLanguage* language = NULL);
44 status_t SetLanguage(const BLanguage* language);
H A DCatalogData.h22 * variations of a specific language. If for instance the catalog data 'en_uk'
30 const char* language,
103 const char* language, uint32 fingerprint);
107 BCatalogData* create_catalog(const char* signature, const char* language);
H A DRelativeDateTimeFormat.h31 BRelativeDateTimeFormat(const BLanguage& language,
H A DStringFormat.h27 BStringFormat(const BLanguage& language,
/haiku/src/tools/locale/
H A DPlainTextCatalog.cpp70 * constructs a PlainTextCatalog with given signature and language and reads
76 const char *language, uint32 fingerprint)
78 HashMapCatalog("", language, fingerprint)
86 language, strerror(fInitCheck));
91 * constructs an empty PlainTextCatalog with given sig and language.
96 const char *language)
98 HashMapCatalog(signature, language, 0),
155 // Get the language
158 fprintf(stderr, "Unable to get language from %s\n", path);
303 // set mimetype-, language
75 PlainTextCatalog(const entry_ref &signature, const char *language, uint32 fingerprint) argument
95 PlainTextCatalog(const char *path, const char *signature, const char *language) argument
331 Instantiate(const entry_ref &owner, const char *language, uint32 fingerprint) argument
348 instantiate_catalog(const entry_ref &owner, const char *language, uint32 fingerprint) argument
356 create_catalog(const char *signature, const char *language) argument
[all...]
/haiku/src/bin/locale/
H A Dlocale.cpp30 BString language; local
31 for (int i = 0; languages.FindString("language", i, &language) == B_OK;
33 printf("%s.UTF-8\n", language.String());
45 if (preferredLanguages.FindString("language", &firstPreferredLanguage)
92 " -l, --language\tPrint the currently set preferred language\n"
109 {"language", no_argument, 0, 'l'},

Completed in 205 milliseconds

1234