HomeSort by relevance Sort by last modified time
    Searched refs:locale (Results 151 - 175 of 2351) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/icu4c/common/
resbund_cnv.cpp 26 const Locale& locale,
30 constructForLocale(path, locale, error);
37 constructForLocale(path, Locale::getDefault(), error);
42 const Locale& locale,
46 fResource = ures_open(NULL, locale.getName(), &error);
51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
ctor.pass.cpp 10 // <locale>
16 #include <locale>
36 std::locale l(std::locale::classic(), new my_facet);
44 std::locale l(std::locale::classic(), &f);
narrow_many.pass.cpp 10 // <locale>
16 #include <locale>
23 std::locale l = std::locale::classic();
tolower_many.pass.cpp 10 // <locale>
16 #include <locale>
22 std::locale l = std::locale::classic();
toupper_many.pass.cpp 10 // <locale>
16 #include <locale>
22 std::locale l = std::locale::classic();
widen_many.pass.cpp 10 // <locale>
16 #include <locale>
23 std::locale l = std::locale::classic();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/
ctor_char.pass.cpp 10 // <locale>
16 #include <locale>
38 std::locale l(std::locale::classic(), new my_facet);
46 std::locale l(std::locale::classic(), &f);
ctor_char16_t.pass.cpp 10 // <locale>
16 #include <locale>
43 std::locale l(std::locale::classic(), new my_facet);
51 std::locale l(std::locale::classic(), &f);
ctor_char32_t.pass.cpp 10 // <locale>
16 #include <locale>
43 std::locale l(std::locale::classic(), new my_facet);
51 std::locale l(std::locale::classic(), &f);
ctor_wchar_t.pass.cpp 10 // <locale>
16 #include <locale>
38 std::locale l(std::locale::classic(), new my_facet);
46 std::locale l(std::locale::classic(), &f);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/
ctor.pass.cpp 10 // <locale>
16 #include <locale>
37 std::locale l(std::locale::classic(), new my_facet<wchar_t>);
45 std::locale l(std::locale::classic(), &f);
  /external/stlport/test/unit/
num_facets_test.cpp 4 # include <locale>
34 void LocaleTest::_num_put_get( const locale& loc, const ref_locale* prl ) {
131 typedef void (LocaleTest::*_Test) (const locale&, const ref_locale*);
135 locale loc;
140 locale tmp(tested_locales[i].name);
145 //This locale is not supported.
153 locale tmp(locale::classic(), tested_locales[i].name, locale::numeric);
159 locale tmp(locale::classic(), new numpunct_byname<char>(tested_locales[i].name))
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
num_facets_test.cpp 4 # include <locale>
34 void LocaleTest::_num_put_get( const locale& loc, const ref_locale* prl ) {
131 typedef void (LocaleTest::*_Test) (const locale&, const ref_locale*);
135 locale loc;
140 locale tmp(tested_locales[i].name);
145 //This locale is not supported.
153 locale tmp(locale::classic(), tested_locales[i].name, locale::numeric);
159 locale tmp(locale::classic(), new numpunct_byname<char>(tested_locales[i].name))
    [all...]
  /ndk/tests/device/test-stlport/unit/
num_facets_test.cpp 4 # include <locale>
34 void LocaleTest::_num_put_get( const locale& loc, const ref_locale* prl ) {
131 typedef void (LocaleTest::*_Test) (const locale&, const ref_locale*);
135 locale loc;
140 locale tmp(tested_locales[i].name);
145 //This locale is not supported.
153 locale tmp(locale::classic(), tested_locales[i].name, locale::numeric);
159 locale tmp(locale::classic(), new numpunct_byname<char>(tested_locales[i].name))
    [all...]
  /frameworks/base/core/java/com/android/internal/textservice/
ITextServicesManager.aidl 32 SpellCheckerInfo getCurrentSpellChecker(String locale);
34 String locale, boolean allowImplicitlySelectedSubtype);
35 oneway void getSpellCheckerService(String sciId, in String locale,
39 oneway void setCurrentSpellChecker(String locale, String sciId);
40 oneway void setCurrentSpellCheckerSubtype(String locale, int hashCode);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryList.java 37 import java.util.Locale;
58 null == intent ? null : intent.getStringExtra("locale");
62 null == arguments ? null : arguments.getString("locale");
64 final String locale; local
66 locale = localeFromArguments;
68 locale = localeFromIntent;
70 locale = null;
72 mLocale = locale;
78 new String[] { UserDictionary.Words.LOCALE },
85 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE);
87 final String locale = cursor.getString(columnIndex); local
106 final String locale = subtype.getLocale(); local
    [all...]
  /external/chromium_org/chrome/browser/
locale_tests_browsertest.cc 13 // A class that over-writes the system locale only in a scope. To emulate the
20 explicit ScopedLocale(const char* locale) : locale_(locale) {
34 if (kLocales[i].chrome_locale == locale) {
54 const std::string& locale() { return locale_; } function in class:__anon5151::ScopedLocale
64 // locale and run Chrome with a '--lang' option. To add a new LocaleTest, add a
65 // class derived from this class and call the constructor with the locale name
69 explicit LocaleTestBase(const char* locale) : locale_(locale) {
73 command_line->AppendSwitchASCII(switches::kLang, locale_.locale());
    [all...]
  /external/chromium_org/content/ppapi_plugin/
ppapi_plugin_main.cc 75 // Set the default locale to be the current UI language. WebKit uses ICU's
76 // default locale for some font settings (especially switching between
79 std::string locale = command_line.GetSwitchValueASCII(switches::kLang); local
80 base::i18n::SetICUDefaultLocale(locale);
83 // TODO(shess): Flash appears to have a POSIX locale dependency
90 std::replace(locale.begin(), locale.end(), '-', '_');
91 locale.append(".UTF-8");
92 setlocale(LC_ALL, locale.c_str());
93 setenv("LANG", locale.c_str(), 0)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
LocaleTestUtils.java 23 import java.util.Locale;
26 * Utility class to save and restore the locale of the system.
28 * This can be used for tests that assume to be run in a certain locale, e.g., because they
30 * will behave in a specific locale.
32 * In your test, you can change the locale with the following code:
41 * mLocaleTestUtils.setLocale(Locale.CANADA_FRENCH);
54 * Note that one should not call {@link #setLocale(Locale)} more than once without calling
62 private Locale mSavedContextLocale;
63 private Locale mSavedSystemLocale;
66 * Create a new instance that can be used to set and reset the locale for the given context
    [all...]
  /external/chromium_org/chrome/browser/chromeos/base/
locale_util.cc 19 SwitchLanguageData(const std::string& locale,
23 locale(locale),
29 const std::string locale; member in struct:chromeos::__anon4143::SwitchLanguageData
41 ResourceBundle::GetSharedInstance().ReloadLocaleResources(data->locale);
55 // If we have switched the locale, enable the keyboard layouts that
56 // are necessary for the new locale. Change the current input method
58 // use may not be supported by the new locale (3rd parameter).
62 data->locale,
68 data->callback->Run(data->locale, data->loaded_locale, data->success)
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
MockedDateFormatSymbolsProvider.java 22 import java.util.Locale;
25 private static Locale supportLocale = new Locale("mock");
28 public DateFormatSymbols getInstance(Locale locale) {
29 if (locale == null) {
32 if (!locale.equals(supportLocale)) {
40 public Locale[] getAvailableLocales() {
41 return new Locale[] { supportLocale };
MockedDecimalFormatSymbolsProvider.java 22 import java.util.Locale;
26 private static Locale supportLocale = new Locale("mock");
29 public DecimalFormatSymbols getInstance(Locale locale) {
30 if (locale == null) {
33 if (!locale.equals(supportLocale)) {
41 public Locale[] getAvailableLocales() {
42 return new Locale[] { supportLocale };
  /libcore/luni/src/main/java/java/util/
Currency.java 32 private static final HashMap<Locale, Currency> localesToCurrencies = new HashMap<Locale, Currency>();
38 String symbol = ICU.getCurrencySymbol(Locale.US.toString(), currencyCode);
62 * Returns the {@code Currency} instance for this {@code Locale}'s country.
64 * if the locale's country is not a supported ISO 3166 country.
66 public static Currency getInstance(Locale locale) {
68 Currency currency = localesToCurrencies.get(locale);
72 String country = locale.getCountry();
73 String variant = locale.getVariant()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/
transform.pass.cpp 10 // <locale>
16 #include <locale>
22 std::locale l = std::locale::classic();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
char16_t_length.pass.cpp 10 // <locale>
16 #include <locale>
23 std::locale l = std::locale::classic();

Completed in 511 milliseconds

1 2 3 4 5 67 8 91011>>