Searched refs:Locale (Results 1 - 25 of 718) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/icu/source/common/unicode/
H A Dlocid.h41 * \brief C++ API: Locale ID object.
50 * A <code>Locale</code> object represents a specific geographical, political,
51 * or cultural region. An operation that requires a <code>Locale</code> to perform
52 * its task is called <em>locale-sensitive</em> and uses the <code>Locale</code>
58 * The Locale class is not suitable for subclassing.
61 * You can create a <code>Locale</code> object using the constructor in
65 * Locale( const char* language,
95 * Because a <code>Locale</code> object is just an identifier for a region,
96 * no validity check is performed when you construct a <code>Locale</code>.
98 * <code>Locale</cod
185 class U_COMMON_API Locale : public UObject { class in inherits:UObject
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dlocid.h41 * \brief C++ API: Locale ID object.
50 * A <code>Locale</code> object represents a specific geographical, political,
51 * or cultural region. An operation that requires a <code>Locale</code> to perform
52 * its task is called <em>locale-sensitive</em> and uses the <code>Locale</code>
58 * The Locale class is not suitable for subclassing.
61 * You can create a <code>Locale</code> object using the constructor in
65 * Locale( const char* language,
95 * Because a <code>Locale</code> object is just an identifier for a region,
96 * no validity check is performed when you construct a <code>Locale</code>.
98 * <code>Locale</cod
185 class U_COMMON_API Locale : public UObject { class in inherits:UObject
[all...]
H A Dbrkiter.h359 createWordInstance(const Locale& where, UErrorCode& status);
383 createLineInstance(const Locale& where, UErrorCode& status);
405 createCharacterInstance(const Locale& where, UErrorCode& status);
426 createSentenceInstance(const Locale& where, UErrorCode& status);
451 createTitleInstance(const Locale& where, UErrorCode& status);
462 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
465 * Get name of the object for the desired Locale, in the desired langauge.
473 static UnicodeString& U_EXPORT2 getDisplayName(const Locale& objectLocale,
474 const Locale& displayLocale,
478 * Get name of the object for the desired Locale, i
[all...]
/external/nist-sip/java/javax/sip/header/
H A DContentLanguageHeader.java3 import java.util.Locale;
8 Locale getContentLanguage();
9 void setContentLanguage(Locale language);
H A DAcceptLanguageHeader.java3 import java.util.Locale;
9 Locale getAcceptLanguage();
10 void setAcceptLanguage(Locale acceptLanguage);
/external/apache-http/src/org/apache/http/
H A DReasonPhraseCatalog.java34 import java.util.Locale;
65 public String getReason(int status, Locale loc)
H A DHttpResponse.java35 import java.util.Locale;
153 Locale getLocale();
165 void setLocale(Locale loc);
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
H A DLanguageCallback.java21 import java.util.Locale;
27 private Locale locale;
33 public Locale getLocale() {
37 public void setLocale(Locale locale) {
/external/chromium_org/third_party/icu/source/common/
H A Dlocid.cpp53 static Locale *gLocaleCache = NULL;
58 static Locale *gDefaultLocale = NULL;
98 // Deleter function for Locales owned by the default Locale hash table/
102 delete (icu::Locale *) obj;
126 Locale *locale_set_default_internal(const char *id, UErrorCode& status) {
165 Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf);
167 newDefault = new Locale(Locale::eBOGUS);
198 return Locale
225 Locale::Locale() function in class:Locale
236 Locale::Locale(Locale::ELocaleType) function in class:Locale
243 Locale::Locale( const char * newLanguage, function in class:Locale
381 Locale::Locale(const Locale &other) function in class:Locale
[all...]
H A Dlocutil.h26 static Locale& initLocaleFromName(const UnicodeString& id, Locale& result);
27 static UnicodeString& initNameFromLocale(const Locale& locale, UnicodeString& result);
H A Dunistr_case_locale.cpp14 * Locale-sensitive case mapping functions (ones that call uloc_getDefault())
48 return toLower(Locale::getDefault());
52 UnicodeString::toLower(const Locale &locale) {
60 return toUpper(Locale::getDefault());
64 UnicodeString::toUpper(const Locale &locale) {
/external/icu/icu4c/source/common/
H A Dlocid.cpp53 static Locale *gLocaleCache = NULL;
58 static Locale *gDefaultLocale = NULL;
98 // Deleter function for Locales owned by the default Locale hash table/
102 delete (icu::Locale *) obj;
126 Locale *locale_set_default_internal(const char *id, UErrorCode& status) {
165 Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf);
167 newDefault = new Locale(Locale::eBOGUS);
198 return Locale
225 Locale::Locale() function in class:Locale
236 Locale::Locale(Locale::ELocaleType) function in class:Locale
243 Locale::Locale( const char * newLanguage, function in class:Locale
381 Locale::Locale(const Locale &other) function in class:Locale
[all...]
H A Dlocutil.h26 static Locale& initLocaleFromName(const UnicodeString& id, Locale& result);
27 static UnicodeString& initNameFromLocale(const Locale& locale, UnicodeString& result);
H A Dlocbased.cpp16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const {
18 return Locale((id != 0) ? id : "");
46 void LocaleBased::setLocaleIDs(const Locale& validID, const Locale& actualID) {
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DContentLanguage.java31 import java.util.Locale;
93 protected Locale locale;
135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) );
137 this.locale = new Locale(languageTag);
146 * @return the Locale value of this ContentLanguageHeader
149 public Locale getContentLanguage() {
156 * @param language - the new Locale value of the language of
161 public void setContentLanguage(Locale language) {
168 retval.locale = (Locale) this.locale.clone();
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
H A DPhoneNumberOfflineGeocoderTest.java22 import java.util.Locale;
69 geocoder.getDescriptionForNumber(US_NUMBER1, Locale.SIMPLIFIED_CHINESE));
71 geocoder.getDescriptionForNumber(BS_NUMBER1, new Locale("en", "US")));
73 geocoder.getDescriptionForNumber(AU_NUMBER, new Locale("en", "US")));
75 new Locale("en", "US")));
77 new Locale("en", "US")));
84 geocoder.getDescriptionForNumber(US_NUMBER4, new Locale("en", "US")));
89 geocoder.getDescriptionForNumber(US_NUMBER1, new Locale("en", "US")));
91 geocoder.getDescriptionForNumber(US_NUMBER2, new Locale("en", "US")));
93 geocoder.getDescriptionForNumber(US_NUMBER3, new Locale("e
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DLocaleUtils.java7 import java.util.Locale;
24 Locale locale = Locale.getDefault();
31 // See http://developer.android.com/reference/java/util/Locale.html
/external/bison/lib/
H A Dmain.c26 # define setlocale(Category, Locale)
/external/chromium_org/third_party/icu/source/test/perf/normperf/
H A Ddtfmtrtperf.h114 const Locale testLocales[] = {
115 Locale("en"),
116 Locale("en_US"),
117 Locale("en_AU"),
118 Locale("de_DE"),
119 Locale("fr"),
120 Locale("ja_JP"),
121 Locale("ko"),
122 Locale("pt"),
123 Locale("th_T
[all...]
/external/icu/icu4c/source/test/perf/normperf/
H A Ddtfmtrtperf.h114 const Locale testLocales[] = {
115 Locale("en"),
116 Locale("en_US"),
117 Locale("en_AU"),
118 Locale("de_DE"),
119 Locale("fr"),
120 Locale("ja_JP"),
121 Locale("ko"),
122 Locale("pt"),
123 Locale("th_T
[all...]
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dcurrpinf.h23 class Locale;
60 CurrencyPluralInfo(const Locale& locale, UErrorCode& status);
136 const Locale& getLocale() const;
176 void setLocale(const Locale& loc, UErrorCode& status);
195 void initialize(const Locale& loc, UErrorCode& status);
197 void setupCurrencyPluralPattern(const Locale& loc, UErrorCode& status);
246 Locale* fLocale;
/external/icu/icu4c/source/i18n/unicode/
H A Dcurrpinf.h23 class Locale;
60 CurrencyPluralInfo(const Locale& locale, UErrorCode& status);
136 const Locale& getLocale() const;
176 void setLocale(const Locale& loc, UErrorCode& status);
195 void initialize(const Locale& loc, UErrorCode& status);
197 void setupCurrencyPluralPattern(const Locale& loc, UErrorCode& status);
246 Locale* fLocale;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DLocalePropertyEditor.java15 import java.util.Locale;
18 * {@link PropertyEditor} for {@link Locale}.
42 if (value instanceof Locale) {
43 return ((Locale) value).getDisplayName();
58 // if (value instanceof Locale) {
59 // localeDialog = new ChooseLocaleDialog(DesignerPlugin.getShell(), (Locale) value);
/external/icu/icu4c/source/i18n/
H A Ducol_imp.h57 class Locale;
66 static const CollationTailoring *loadTailoring(const Locale &locale, Locale &validLocale,
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
H A DUtilTest.java21 import java.util.Locale;
93 Locale canadianFrench = new Locale("fr", "CA");
96 Locale canadianFrenchUpper = new Locale("FR", "CA");
100 // No country in the Locale language.
101 assertEquals("fr_latn", Util.getWidgetCompatibleLanguageCode(Locale.FRENCH, "CN"));
104 Util.getWidgetCompatibleLanguageCode(Locale.KOREAN, "CN"));
105 Locale chineseChina = new Locale("z
[all...]

Completed in 1290 milliseconds

1234567891011>>