| /cts/tests/tests/text/src/android/text/cts/ |
| AutoTextTest.java | 19 import java.util.Locale; 33 Locale.setDefault(Locale.ENGLISH); 35 if (!config.locale.equals(Locale.getDefault())) { 36 config.locale = Locale.getDefault(); 79 Locale.setDefault(Locale.ENGLISH); 81 if (!config.locale.equals(Locale.getDefault())) [all...] |
| /external/chromium/chrome/browser/chromeos/login/ |
| html_page_screen.cc | 100 const std::string locale = g_browser_process->GetApplicationLocale(); local 102 locale, input_method::kAllInputMethods, ""); 127 const std::string locale = g_browser_process->GetApplicationLocale(); local 129 locale, input_method::kKeyboardLayoutsOnly, "");
|
| /external/chromium_org/chrome/common/extensions/api/spellcheck/ |
| spellcheck_handler.h | 20 std::string locale; member in struct:extensions::SpellcheckDictionaryInfo
|
| /external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
| ResetInputType.cpp | 69 return locale().queryString(blink::WebLocalizedString::ResetButtonDefaultLabel);
|
| /external/chromium_org/third_party/WebKit/Source/platform/ |
| DateTimeChooser.h | 50 // Locale name for which the chooser should be localized. This 53 AtomicString locale; member in struct:WebCore::DateTimeChooserParameters
|
| /external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
| Collator.h | 47 Collator(const char* locale); // Parsing is lenient; e.g. language identifiers (such as "en-US") are accepted, too.
|
| /external/chromium_org/third_party/icu/source/common/ |
| locutil.h | 26 static Locale& initLocaleFromName(const UnicodeString& id, Locale& result); 27 static UnicodeString& initNameFromLocale(const Locale& locale, UnicodeString& result);
|
| servslkf.cpp | 34 const UnicodeString& locale, 39 , _id(locale) 45 const Locale& locale, 53 LocaleUtility::initNameFromLocale(locale, _id);
|
| /external/chromium_org/third_party/icu/source/common/unicode/ |
| ucat.h | 85 * @param locale the locale for which we want to open the resource. If 86 * NULL, the default ICU locale will be used (see uloc_getDefault). If 87 * strlen(locale) == 0, the root locale will be used. 90 * U_USING_FALLBACK_WARNING indicates that a fallback locale was 93 * default locale data or root locale data was used; neither the 94 * requested locale nor any of its fallback locales were found. 105 u_catopen(const char* name, const char* locale, UErrorCode* ec) [all...] |
| /external/chromium_org/third_party/icu/source/i18n/unicode/ |
| tmutfmt.h | 49 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 86 * Create TimeUnitFormat with default locale, and full name style. 93 * Create TimeUnitFormat given locale, and full name style. 96 TimeUnitFormat(const Locale& locale, UErrorCode& status); 99 * Create TimeUnitFormat given locale and style. 102 TimeUnitFormat(const Locale& locale, EStyle style, UErrorCode& status); 150 * Set the locale used for formatting or parsing. 151 * @param locale the locale to be se [all...] |
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| tsnmfmt.h | 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName); 56 Locale fLocale;
|
| /external/chromium_org/v8/src/ |
| i18n.h | 60 // Create a formatter for the specificied locale and options. Returns the 61 // resolved settings for the locale / options. 64 Handle<String> locale, 84 // Create a formatter for the specificied locale and options. Returns the 85 // resolved settings for the locale / options. 88 Handle<String> locale, 108 // Create a collator for the specificied locale and options. Returns the 109 // resolved settings for the locale / options. 112 Handle<String> locale, 130 // Create a BreakIterator for the specificied locale and options. Returns th [all...] |
| /external/chromium_org/v8/test/intl/date-format/ |
| default-locale.js | 28 // Constructing DateTimeFormat with no locale arguments or with [] 29 // creates one with default locale. 36 assertFalse(options.locale === 'und'); 37 assertFalse(options.locale === ''); 38 assertFalse(options.locale === undefined); 41 assertEquals(options.locale, %GetDefaultICULocale()); 44 assertEquals(options.locale, dtfNone.resolvedOptions().locale);
|
| /external/chromium_org/v8/test/intl/number-format/ |
| default-locale.js | 28 // Constructing NumberFormat with no locale arguments or with [] 29 // creates one with default locale. 36 assertFalse(options.locale === 'und'); 37 assertFalse(options.locale === ''); 38 assertFalse(options.locale === undefined); 41 assertEquals(options.locale, %GetDefaultICULocale()); 44 assertEquals(options.locale, nfNone.resolvedOptions().locale);
|
| /external/chromium_org/v8/test/intl/overrides/ |
| string.js | 39 function testArrays(locale) { 41 if (locale === undefined) { 43 locale = []; 45 data = testData[locale]; 48 var collator = new Intl.Collator(locale, options); 51 return a.localeCompare(b, locale, options) 62 // Specify locale, keep default options. 67 // Specify locale and options.
|
| /external/e2fsprogs/intl/ |
| ngettext.c | 37 #include <locale.h> 54 LC_MESSAGES locale. If not found, returns MSGID itself (the default
|
| /external/icu4c/common/ |
| locutil.h | 26 static Locale& initLocaleFromName(const UnicodeString& id, Locale& result); 27 static UnicodeString& initNameFromLocale(const Locale& locale, UnicodeString& result);
|
| servslkf.cpp | 34 const UnicodeString& locale, 39 , _id(locale) 45 const Locale& locale, 53 LocaleUtility::initNameFromLocale(locale, _id);
|
| /external/icu4c/common/unicode/ |
| ucat.h | 85 * @param locale the locale for which we want to open the resource. If 86 * NULL, the default ICU locale will be used (see uloc_getDefault). If 87 * strlen(locale) == 0, the root locale will be used. 90 * U_USING_FALLBACK_WARNING indicates that a fallback locale was 93 * default locale data or root locale data was used; neither the 94 * requested locale nor any of its fallback locales were found. 105 u_catopen(const char* name, const char* locale, UErrorCode* ec) [all...] |
| /external/icu4c/i18n/ |
| locdspnm.cpp | 58 // Access resource data for locale components. 62 Locale locale; member in class:ICUDataTable 65 ICUDataTable(const char* path, const Locale& locale); 68 const Locale& getLocale(); 91 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 92 : path(NULL), locale(Locale::getRoot() 270 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
| /external/icu4c/i18n/unicode/ |
| tmutfmt.h | 60 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 84 * Create TimeUnitFormat with default locale, and full name style. 91 * Create TimeUnitFormat given locale, and full name style. 94 TimeUnitFormat(const Locale& locale, UErrorCode& status); 97 * Create TimeUnitFormat given locale and style. 100 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); 148 * Set the locale used for formatting or parsing. 149 * @param locale the locale to be se [all...] |
| /external/icu4c/test/intltest/ |
| tsnmfmt.h | 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName); 56 Locale fLocale;
|
| /external/libmtp/examples/ |
| util.c | 28 #include <locale.h> 40 // Set the locale in accordance with environment 61 printf("please switch your locale to an UTF-8 locale, e.g. \"en_US.UTF-8\".\n");
|
| /external/stlport/test/eh/ |
| locale.cpp | 3 #include <locale> 12 locale c_loc; 13 //locale sys(c_loc, "LC_TIME=UKR_UKR.OCP;LC_NUMERIC=RUS_RUS.OCP;LC_CTYPE=ukr_ukr.ocp;", locale::numeric | locale::time | locale::ctype); 14 locale sys(".ocp"); 15 locale::global(sys); 19 cout<<"Locale name is: "<<sys.name().c_str()<<'\n';
|
| /libcore/luni/src/main/java/java/text/ |
| NumberFormat.java | 28 import java.util.Locale; 38 * {@code NumberFormat} helps you to format and parse numbers for any locale. 39 * Your code can be completely independent of the locale conventions for decimal 43 * To format a number for the current locale, use one of the factory class 67 * To format a number for a different locale, specify it in the call to 72 * NumberFormat nf = NumberFormat.getInstance(Locale.FRENCH); 310 * <p>Note that Android does not support user-supplied locale service providers. 312 public static Locale[] getAvailableLocales() { 334 * for the user's default locale. 335 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>" [all...] |