| /ndk/tests/device/test-gnustl-full/unit/ |
| codecvt_test.cpp | 5 # include <locale> 131 static locale::id id; 136 locale::id eater_codecvt::id; 138 locale::id& _GetFacetId(const eater_codecvt*) 275 static locale::id id; 280 locale::id generator_codecvt::id; 282 locale::id& _GetFacetId(const generator_codecvt*) 311 locale loc(locale::classic(), &codec); 338 * a locale having a codecvt such as generator_codecvt. Maybe generator_codecv [all...] |
| /ndk/tests/device/test-stlport/unit/ |
| codecvt_test.cpp | 5 # include <locale> 131 static locale::id id; 136 locale::id eater_codecvt::id; 138 locale::id& _GetFacetId(const eater_codecvt*) 275 static locale::id id; 280 locale::id generator_codecvt::id; 282 locale::id& _GetFacetId(const generator_codecvt*) 311 locale loc(locale::classic(), &codec); 338 * a locale having a codecvt such as generator_codecvt. Maybe generator_codecv [all...] |
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| cldrtest.c | 71 UResourceBundle *currentBundle, const char *locale) { 85 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 93 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n", 97 locale); 102 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n" 103 "\troot=%d, locale=%d\n", 106 locale, 122 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n", 125 locale); 135 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n" 1171 const char* locale = uenum_next(avail, NULL, &ec); local [all...] |
| /external/icu4c/test/cintltst/ |
| cldrtest.c | 74 UResourceBundle *currentBundle, const char *locale) { 88 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 96 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n", 100 locale); 105 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n" 106 "\troot=%d, locale=%d\n", 109 locale, 125 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n", 128 locale); 138 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n" 1106 const char* locale = uenum_next(avail, NULL, &ec); local [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
| AndroidSpellCheckerService.java | 50 import java.util.Locale; 127 public static int getScriptFromLocale(final Locale locale) { 128 final Integer script = mLanguageToScript.get(locale.getLanguage()); 131 + locale.getLanguage() + "\". Framework bug?"); 164 // TODO: use the right locale for each session 166 new SynchronouslyLoadedContactsBinaryDictionary(this, Locale.getDefault()); 309 public Result getResults(final int capitalizeType, final Locale locale) { 342 mSuggestions.set(i, mSuggestions.get(i).toString().toUpperCase(locale)); [all...] |
| /external/chromium_org/third_party/WebKit/Source/platform/text/ |
| LocaleWin.cpp | 55 static String extractLanguageCode(const String& locale) 57 size_t dashPosition = locale.find('-'); 59 return locale; 60 return locale.left(dashPosition); 123 static LCID LCIDFromLocaleInternal(LCID userDefaultLCID, const String& userDefaultLanguageCode, LocaleNameToLCIDPtr localeNameToLCID, const String& locale) 125 String localeLanguageCode = extractLanguageCode(locale); 128 return localeNameToLCID(locale.charactersWithNullTermination().data(), 0); 131 static LCID LCIDFromLocale(const String& locale, bool defaultsForLocale) 144 LCID lcid = LCIDFromLocaleInternal(LOCALE_USER_DEFAULT, userDefaultLanguageCode, localeNameToLCID, locale); 150 PassOwnPtr<Locale> Locale::create(const String& locale [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
| UserDictionarySettings.java | 43 import java.util.Locale; 87 // Either the locale is empty (means the word is applicable to all locales) 88 // or the word equals our current locale 90 UserDictionary.Words.LOCALE + "=?"; 92 UserDictionary.Words.LOCALE + " is null"; 127 null == intent ? null : intent.getStringExtra("locale"); 131 null == arguments ? null : arguments.getString("locale"); 133 final String locale; local 135 locale = localeFromArguments; 137 locale = localeFromIntent [all...] |
| /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
| RuleBasedCollatorTest.java | 27 import java.util.Locale; 64 .getInstance(Locale.US); 103 .getInstance(Locale.GERMAN); 127 Locale locale = new Locale("es", "", "TRADITIONAL"); local 129 .getInstance(locale); 145 Locale locale = new Locale("de", "DE") local 176 Locale locale = new Locale("es", "", "TRADITIONAL"); local 196 Locale locale = new Locale("de", "DE"); local [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/res/ |
| XMLMessages.java | 24 import java.util.Locale; 36 protected Locale fLocale = Locale.getDefault(); 48 * Set the Locale object to use. 50 * @param locale non-null reference to Locale object. 52 public void setLocale(Locale locale) 54 fLocale = locale; 58 * Get the Locale object that is being used [all...] |
| /external/chromium/chrome/browser/ |
| default_encoding_combo_model.cc | 17 // UI locale. 18 std::string locale = g_browser_process->GetApplicationLocale(); local 24 l10n_util::SortVectorWithStringKey(locale, &sorted_encoding_list_, true);
|
| /external/chromium_org/chrome/browser/ |
| language_usage_metrics.cc | 38 int LanguageUsageMetrics::ToLanguageCode(const std::string& locale) { 39 base::StringTokenizer parts(locale, "-_");
|
| /external/chromium_org/chrome/browser/translate/ |
| translate_browser_metrics.cc | 65 void ReportLocalesOnDisabledByPrefs(const std::string& locale) { 67 LanguageUsageMetrics::ToLanguageCode(locale));
|
| /external/chromium_org/ppapi/proxy/ |
| pdf_resource.h | 30 // For unittesting with a given locale. 31 void SetLocaleForTest(const std::string& locale) { 32 locale_ = locale;
|
| /external/chromium_org/third_party/icu/source/common/ |
| ucat.c | 38 u_catopen(const char* name, const char* locale, UErrorCode* ec) { 39 return (u_nl_catd) ures_open(name, locale, ec);
|
| ucnv_imp.h | 47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon11289 66 * @param locale locale parameter, or "" 75 const char *locale, uint32_t options,
|
| /external/chromium_org/third_party/icu/source/i18n/ |
| currfmt.cpp | 22 CurrencyFormat::CurrencyFormat(const Locale& locale, UErrorCode& ec) : 25 fmt = NumberFormat::createCurrencyInstance(locale, ec);
|
| windtfmt.h | 43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status); 61 * calendar for the specified or default locale is used. The caller should 71 * calendar for the specified or default locale is used. 128 UnicodeString* getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const; 133 const Locale *fLocale;
|
| /external/chromium_org/third_party/icu/source/i18n/unicode/ |
| plurrule.h | 90 * could be defined by users or from ICU locale data. There are 6 171 * locale. 173 * @param locale The locale for which a <code>PluralRules</code> object is 178 * this locale. If there's no predefined rules for this locale, 179 * the rules for the closest parent in the locale hierarchy 184 static PluralRules* U_EXPORT2 forLocale(const Locale& locale, UErrorCode& status); 290 UnicodeString getRuleFromResource(const Locale& locale, UErrorCode& status) [all...] |
| stsearch.h | 121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status); 145 * Creating a <tt>StringSearch</tt> instance using the argument locale 151 * @param locale A locale which defines the language-sensitive 166 const Locale &locale, 198 * Creating a <tt>StringSearch</tt> instance using the argument locale 208 * @param locale A locale which defines the language-sensitive 223 const Locale &locale, [all...] |
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| dtfmttst.h | 215 const Locale& loc, 220 const Locale& locale); 223 const Locale& loc); 226 const Locale &locale);
|
| /external/icu4c/common/ |
| ucat.c | 38 u_catopen(const char* name, const char* locale, UErrorCode* ec) { 39 return (u_nl_catd) ures_open(name, locale, ec);
|
| ucnv_imp.h | 47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon18758 67 * @param locale locale parameter, or "" 76 const char *locale, uint32_t options,
|
| /external/icu4c/common/unicode/ |
| listformatter.h | 64 * Creates a ListFormatter appropriate for the default locale. 66 * @param errorCode ICU error code, set if no data available for default locale. 67 * @return Pointer to a ListFormatter object for the default locale, 74 * Creates a ListFormatter appropriate for a locale. 76 * @param locale The locale. 77 * @param errorCode ICU error code, set if no data available for the given locale. 82 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode); 113 static const ListFormatData* getListFormatData(const Locale& locale, UErrorCode& errorCode) [all...] |
| /external/icu4c/i18n/ |
| currfmt.cpp | 23 CurrencyFormat::CurrencyFormat(const Locale& locale, UErrorCode& ec) : 26 fmt = NumberFormat::createCurrencyInstance(locale, ec);
|
| /external/icu4c/i18n/unicode/ |
| stsearch.h | 121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status); 145 * Creating a <tt>StringSearch</tt> instance using the argument locale 151 * @param locale A locale which defines the language-sensitive 166 const Locale &locale, 198 * Creating a <tt>StringSearch</tt> instance using the argument locale 208 * @param locale A locale which defines the language-sensitive 223 const Locale &locale, [all...] |