Home
last modified time | relevance | path

Searched refs:countryCode (Results 1 – 18 of 18) sorted by relevance

/haiku/src/apps/haikudepot/util/
H A DLocaleUtils.cpp190 const char* countryCode, const char* scriptCode) in _FindBestMatchingLanguage() argument
192 int32 index = _IndexOfBestMatchingLanguage(repository, code, countryCode, scriptCode); in _FindBestMatchingLanguage()
206 const char* countryCode, const char* scriptCode) in _IndexOfBestMatchingLanguage() argument
211 int32 index = repository->IndexOfLanguage(code, countryCode, scriptCode); in _IndexOfBestMatchingLanguage()
217 if (NULL != countryCode) { in _IndexOfBestMatchingLanguage()
221 && 0 == StringUtils::NullSafeCompare(countryCode, language->CountryCode())) { in _IndexOfBestMatchingLanguage()
H A DLocaleUtils.h37 const char* code, const char* countryCode,
43 const char* code, const char* countryCode,
/haiku/src/kits/locale/
H A DLocaleRoster.cpp321 const char* countryCode) const in GetAvailableTimeZonesForCountry()
328 StringEnumeration* zoneList = TimeZone::createEnumeration(countryCode); in GetAvailableTimeZonesForCountry()
352 BLocaleRoster::GetFlagIconForCountry(BBitmap* flagIcon, const char* countryCode) in GetFlagIconForCountry() argument
354 if (countryCode == NULL) in GetFlagIconForCountry()
369 int codeLength = strlen(countryCode); in GetFlagIconForCountry()
375 normalizedCode[5] = tolower(countryCode[codeLength - 2]); in GetFlagIconForCountry()
376 normalizedCode[6] = tolower(countryCode[codeLength - 1]); in GetFlagIconForCountry()
426 const char* countryCode = country_code_for_language(language); in GetFlagIconForLanguage() local
427 if (countryCode == NULL) in GetFlagIconForLanguage()
430 return GetFlagIconForCountry(flagIcon, countryCode); in GetFlagIconForLanguage()
H A DCountry.cpp34 BCountry::BCountry(const char* countryCode) in BCountry() argument
38 SetTo(countryCode); in BCountry()
71 BCountry::SetTo(const char* countryCode) in SetTo() argument
74 fICULocale = new icu::Locale("", countryCode); in SetTo()
/haiku/headers/os/locale/
H A DCountry.h30 BCountry(const char* countryCode = NULL);
35 status_t SetTo(const char* countryCode);
H A DLocaleRoster.h60 const char* countryCode) const;
63 const char* countryCode);
/haiku/src/apps/haikudepot/model/
H A DLanguageRepository.cpp71 LanguageRepository::IndexOfLanguage(const char* code, const char* countryCode, in IndexOfLanguage() argument
81 && 0 == StringUtils::NullSafeCompare(countryCode, lCountryCode) in IndexOfLanguage()
H A DLanguageRepository.h25 int32 IndexOfLanguage(const char* code, const char* countryCode,
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_regdomain.c167 if (allCountries[i].countryCode == cc) in isEepromValid()
189 findCountry(HAL_CTRY_CODE countryCode) in findCountry() argument
194 if (allCountries[i].countryCode == countryCode) in findCountry()
295 if (country->countryCode == CTRY_DEFAULT) { in getregstate()
330 __func__, regDmn, country->countryCode); in getregstate()
337 __func__, regpair->regDmn5GHz, country->countryCode); in getregstate()
344 __func__, regpair->regDmn2GHz, country->countryCode); in getregstate()
352 __func__, regDmn, country->countryCode); in getregstate()
830 ah->ah_countryCode = country->countryCode; in ath_hal_init_channels()
879 ah->ah_countryCode = country->countryCode; in ath_hal_set_channels()
H A Dah_regdomain.h109 HAL_CTRY_CODE countryCode; member
/haiku/docs/user/locale/
H A DCountry.dox42 \fn BCountry::BCountry(const char* countryCode)
45 \param countryCode The country code to initialize from.
81 \fn status_t BCountry::SetTo(const char* countryCode)
84 \param countryCode The country code to initialize from.
H A DLocaleRoster.dox136 BMessage* timeZones, const char* countryCode) const
139 country specified by \a countryCode for the locale.
145 zones most likely due to an invalid \a countryCode.
153 const char* countryCode)
154 \brief Sets \a flagIcon to the flag for the passed in \a countryCode.
158 \retval B_BAD_VALUE A \c NULL or invalid \a countryCode was passed in.
161 \a countryCode.
/haiku/src/kits/network/libnetservices/
H A DGeolocation.cpp225 BString countryCode((char*)resultBuffer.Buffer(), (int32)length); in Country() local
226 return country.SetTo(countryCode); in Country()
/haiku/src/preferences/locale/
H A DLanguageListView.h48 const char* countryCode = NULL);
H A DLanguageListView.cpp112 const char* id, const char* languageCode, const char* countryCode) in LanguageListItemWithFlag() argument
115 fCountryCode(countryCode), in LanguageListItemWithFlag()
/haiku/src/preferences/time/
H A DZoneView.cpp319 const char* countryCode = countryIter->first.String(); in _BuildZoneMenu() local
320 if (countryCode == NULL) in _BuildZoneMenu()
343 BCountry* country = new(std::nothrow) BCountry(countryCode); in _BuildZoneMenu()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.h655 int mwl_hal_getregioncode(struct mwl_hal *mh, uint8_t *countryCode);
H A Dmwlhal.c2150 mwl_hal_getregioncode(struct mwl_hal *mh0, uint8_t *countryCode) in mwl_hal_getregioncode() argument
2160 *countryCode = pCmd->calTbl[16]; in mwl_hal_getregioncode()