/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
H A D | mapping_file_provider.cc | 35 const char* locale; member in struct:i18n::phonenumbers::__anon12790::NormalizedLocale 48 if (full_locale.compare(kNormalizedLocales[i].locale) == 0) {
|
/external/chromium_org/ui/base/l10n/ |
H A D | l10n_util_unittest.cc | 76 // The meaning of that API, on the Mac, is "the locale used by Cocoa's main 81 // returns the system's locale, which, similarly, is not easily unit tested. 106 // Use a temporary locale dir so we don't have to actually build the locale 111 // Make fake locale files. 134 // Keep a copy of ICU's default locale before we overwrite it. 217 // the default locale from the OS or environment. 242 // Most platforms have an OS-provided locale. This locale is preferred. 299 // On windows, the user can override the locale i 408 CheckUiDisplayNameForLocale(const std::string& locale, const std::string& display_locale, bool is_rtl) argument [all...] |
/external/chromium_org/ui/views/controls/ |
H A D | label_unittest.cc | 28 // Override the current locale/direction. 616 std::string locale = l10n_util::GetApplicationLocale(""); local 737 // Reset locale. 738 base::i18n::SetICUDefaultLocale(locale); 749 std::string locale = l10n_util::GetApplicationLocale(""); local 862 base::i18n::SetICUDefaultLocale(locale);
|
/external/e2fsprogs/intl/ |
H A D | localcharset.c | 1 /* Determine a canonical name for the current locale's character encoding. 58 # include <locale.h> 260 /* Determine the current locale's character encoding, and canonicalize it 285 const char *locale = NULL; local 288 (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't 290 locale name the user has set. */ 292 locale = setlocale (LC_CTYPE, NULL); 294 if (locale == NULL || locale[0] == '\0') 296 locale 322 const char *locale; local [all...] |
/external/icu/icu4c/source/common/ |
H A D | locutil.cpp | 137 * Hack: Since ICU code can handle locale IDs with multiple encodings 146 * There should be only at most one '@' in a locale ID. 171 LocaleUtility::initNameFromLocale(const Locale& locale, UnicodeString& result) argument 173 if (locale.isBogus()) { 176 result.append(UnicodeString(locale.getName(), -1, US_INV));
|
H A D | resbund.cpp | 27 * Modified to load locale index out of new file distinct 67 * will be treated as distinct, even if they are for the same locale. 107 * is to place all locale resources into default.txt, which should 117 * requested locale. Then it is done for the default locale, as 119 * default.txt is searched for the default locale. The overall FILE 122 * Note that although file name searching includes the default locale, 124 * no longer includes the default locale. The path is LCV -> LC -> L 129 * only that locale is parsed (along with anything else in the same 151 * practice a bad idea, since you only want the one locale yo 206 ResourceBundle(const char* path, const Locale& locale, UErrorCode& err) argument [all...] |
H A D | servlkf.cpp | 92 LocaleKeyFactory::getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) const { argument 99 return loc.getDisplayName(locale, result);
|
/external/icu/icu4c/source/io/ |
H A D | ufile.c | 44 const char *locale, 82 /* if locale is 0, use the default */ 83 if(u_locbund_init(&result->str.fBundle, locale) == 0) { 113 const char *locale, 116 return finit_owner(f, locale, codepage, FALSE); 121 const char *locale, 124 return finit_owner(f, locale, codepage, TRUE); 130 const char *locale, 139 result = finit_owner(systemFile, locale, codepage, TRUE); 153 const char *locale) 43 finit_owner(FILE *f, const char *locale, const char *codepage, UBool takeOwnership ) argument 112 u_finit(FILE *f, const char *locale, const char *codepage) argument 120 u_fadopt(FILE *f, const char *locale, const char *codepage) argument 128 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) argument 151 u_fstropen(UChar *stringBuf, int32_t capacity, const char *locale) argument 260 u_fsetlocale(UFILE *file, const char *locale) argument [all...] |
/external/icu/icu4c/source/layoutex/ |
H A D | RunArrays.cpp | 156 le_int32 LocaleRuns::add(const Locale *locale, le_int32 limit) argument 163 locales[index] = (Locale *) locale;
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdateintervalformattest.c | 40 const char * locale; member in struct:__anon21998 73 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { 88 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status); 100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, 105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) ); 110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n", 111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
|
/external/icu/icu4c/source/test/intltest/ |
H A D | genderinfotest.cpp | 43 void checkLocale(const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength); 101 const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) { 103 const GenderInfo* gi = GenderInfo::getInstance(locale, status); 114 errln("For locale: %s expected: %d got %d", locale.getName(), expected, actual); 100 checkLocale( const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) argument
|
H A D | listformattertest.cpp | 58 UBool ListFormatterTest::RecordFourCases(const Locale& locale, UnicodeString one, UnicodeString two, argument 61 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode)); 63 dataerrln("ListFormatter::createInstance(\"%s\", errorCode) failed in RecordFourCases: %s", locale.getName(), u_errorName(errorCode)); 92 // Bogus locale should fallback to root.
|
H A D | tsdate.cpp | 67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) argument 81 fFormat = DateFormat::createTimeInstance(timeStyle, locale); 92 fFormat = DateFormat::createDateInstance(dateStyle, locale); 105 fFormat = DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale);
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
H A D | uperf.h | 185 const char* locale; member in class:UPerfTest
|
/external/libcxx/src/support/win32/ |
H A D | locale_win32.cpp | 11 #include <locale> 14 // FIXME: base currently unused. Needs manual work to construct the new locale 15 locale_t newlocale( int mask, const char * locale, locale_t /*base*/ ) argument 17 return _create_locale( mask, locale ); 24 // uselocale sets the thread's locale by definition, so unconditionally use thread-local locale 27 setlocale( LC_ALL, newloc->locinfo->lc_category[LC_ALL].locale );
|
/external/libexif/test/nls/ |
H A D | test-codeset.c | 40 char *locale; member in struct:__anon23682 94 "Old codeset: \"%s\" (locale default)\n", 141 /* set locale to env settings */ 160 "Old locale: %s\n" 161 "New locale: %s\n", 166 for (i=0; testcases[i].locale != NULL; i++) { 167 const int localelen = strlen(testcases[i].locale); 168 if (strncmp(newlocale, testcases[i].locale, localelen) == 0) { 173 printf("No test case found for locale: %s\n", newlocale); 183 for (i=0; testcases[i].locale ! [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
H A D | HttpResponseStub.java | 51 @Override public void setLocale(Locale locale) { argument
|
/external/smack/src/org/xbill/DNS/ |
H A D | ResolverConfig.java | 287 findWin(InputStream in, Locale locale) { argument 291 if (locale != null) 292 res = ResourceBundle.getBundle(resPackageName, locale);
|
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerResultImpl.c | 271 ESR_ReturnCode SR_RecognizerResult_GetLocale(const SR_RecognizerResult* self, ESR_Locale* locale) argument 274 *locale = impl->locale;
|
/external/srec/tools/dictTest/ |
H A D | dictTest.c | 39 LPRINTF("usage: dictTest [-words words.txt] [-vocab dictionary.ok] [-itest input.tst] [-out output.txt] [-locale en-us|en-gb|fr-fr|de-de] [-parfile baseline.par]\n"); 119 LCHAR locale[MAX_LINE_LENGTH]; local 147 *locale = 0; 168 else if(!LSTRCMP(argv[i], L("-locale"))) 169 LSTRCPY(locale, argv[++i]); 264 else if (*locale) 268 rc = ESR_str2locale(locale, &localeTag);
|
/external/stlport/stlport/stl/ |
H A D | _locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(cons 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
H A D | _streambuf.c | 44 locale 45 basic_streambuf<_CharT, _Traits>::pubimbue(const locale& __loc) { 47 locale __tmp = _M_locale; 180 basic_streambuf<_CharT, _Traits>::imbue(const locale&) {} argument
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.help_3.5.0.v20100524.jar | ... .String, java.lang.String) String contextId
String locale
public static org.eclipse.help.IToc[] getTocs ... |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | XMLString.java | 207 * Note that this method does <em>not</em> take locale into account, 210 * locale-sensitive ordering. 579 * @param locale use the case transformation rules for this locale 584 public abstract XMLString toLowerCase(Locale locale); argument 588 * case using the rules of the default locale, which is returned 600 * case using the rules of the given locale. 601 * @param locale use the case transformation rules for this locale 606 public abstract XMLString toUpperCase(Locale locale); argument [all...] |
H A D | XMLStringDefault.java | 249 * Note that this method does <em>not</em> take locale into account, 252 * locale-sensitive ordering. 678 * @param locale use the case transformation rules for this locale 683 public XMLString toLowerCase(Locale locale) argument 685 return new XMLStringDefault(m_str.toLowerCase(locale)); 690 * case using the rules of the default locale, which is returned 705 * case using the rules of the given locale. 706 * @param locale use the case transformation rules for this locale 711 toUpperCase(Locale locale) argument [all...] |