Home
last modified time | relevance | path

Searched refs:fLocale (Results 1 – 25 of 49) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dcurrpinf.cpp68 fLocale(nullptr), in CurrencyPluralInfo()
76 fLocale(nullptr), in CurrencyPluralInfo()
85 fLocale(nullptr), in CurrencyPluralInfo()
112 delete fLocale; in operator =()
113 fLocale = nullptr; in operator =()
122 if (info.fLocale != nullptr) { in operator =()
123 fLocale = info.fLocale->clone(); in operator =()
124 if (fLocale == nullptr) { in operator =()
131 if (!info.fLocale->isBogus() && fLocale->isBogus()) { in operator =()
143 delete fLocale; in ~CurrencyPluralInfo()
[all …]
Dmsgfmt.cpp235 : fLocale(Locale::getDefault()), // Uses the default locale in MessageFormat()
250 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
257 : fLocale(newLocale), in MessageFormat()
272 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
280 : fLocale(newLocale), in MessageFormat()
295 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
302 fLocale(that.fLocale), in MessageFormat()
379 setLocale(that.fLocale); in operator =()
402 fLocale != that.fLocale) { in operator ==()
451 if (fLocale != theLocale) { in setLocale()
[all …]
Dreldtfmt.cpp45 fDateStyle(other.fDateStyle), fLocale(other.fLocale), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
73 fDateStyle(dateStyle), fLocale(locale), fDatesLen(0), fDates(NULL), in RelativeDateFormat()
147 fLocale==that->fLocale ); in operator ==()
182 …relativeDayString.toTitle(fCapitalizationBrkIter, fLocale, U_TITLECASE_NO_LOWERCASE | U_TITLECASE_… in format()
426 initCapitalizationContextInfo(fLocale); in setContext()
434 fCapitalizationBrkIter = BreakIterator::createSentenceInstance(fLocale, status); in setContext()
519 UResourceBundle *rb = ures_open(NULL, fLocale.getBaseName(), &status); in loadDates()
Dsmpdtfmt.cpp338 : fLocale(Locale::getDefault()), in SimpleDateFormat()
345 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
354 fLocale(Locale::getDefault()), in SimpleDateFormat()
363 initializeCalendar(NULL,fLocale,status); in SimpleDateFormat()
364 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
365 initialize(fLocale, status); in SimpleDateFormat()
375 fLocale(Locale::getDefault()), in SimpleDateFormat()
384 initializeCalendar(NULL,fLocale,status); in SimpleDateFormat()
385 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
386 initialize(fLocale, status); in SimpleDateFormat()
[all …]
Dwinnmfmt.cpp226 fLocale = Locale((const char*)tmpLocID); in Win32NumberFormat()
274 this->fLocale = other.fLocale; in operator =()
320 … fCurrency? NumberFormat::createCurrencyInstance(fLocale, status) : NumberFormat::createInstance(f… in parse()
Dwindtfmt.cpp163 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(locale),… in Win32DateFormat()
204 this->fLocale = other.fLocale; in operator =()
253 pattern = getTimeDateFormat(&cal, &fLocale, status); in format()
278 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
Dreldatefmt.cpp731 fLocale(locale) { in RelativeDateTimeFormatter()
743 fLocale(locale) { in RelativeDateTimeFormatter()
759 fLocale(locale) { in RelativeDateTimeFormatter()
787 fLocale(other.fLocale) { in RelativeDateTimeFormatter()
805 fLocale = other.fLocale; in operator =()
1011 fLocale, in adjustForContext()
1021 UnifiedCache::getByLocale(fLocale, fCache, status); in init()
1026 fLocale, UPLURAL_TYPE_CARDINAL, status); in init()
1034 fLocale, UNUM_DECIMAL, status); in init()
Ddtitvfmt.cpp130 fLocale(Locale::getRoot()), in DateIntervalFormat()
143 fLocale(itvfmt.fLocale), in DateIntervalFormat()
189 fLocale = itvfmt.fLocale; in operator =()
237 if (fLocale != fmt->fLocale) {return FALSE;} in operator ==()
513 fLocale(locale), in DateIntervalFormat()
991 fLocale, dateSkeleton, status)); in setSeparateDateTimePtn()
996 fLocale, timeSkeleton, status)); in setSeparateDateTimePtn()
1046 fLocale, skeleton, status); in setFallbackPattern()
Dnumber_asformat.h98 Locale fLocale; variable
Dtznames_impl.h204 Locale fLocale;
257 Locale fLocale;
/external/icu/icu4c/source/common/
Dresbund.cpp179 :UObject(), fLocale(NULL) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
185 :UObject(other), fLocale(NULL) in ResourceBundle()
198 :UObject(), fLocale(NULL) in ResourceBundle()
209 :UObject(), fLocale(NULL) in ResourceBundle()
224 if (fLocale != NULL) { in operator =()
225 delete fLocale; in operator =()
226 fLocale = NULL; in operator =()
243 if(fLocale != NULL) { in ~ResourceBundle()
244 delete(fLocale); in ~ResourceBundle()
382 if (fLocale != NULL) { in getLocale()
[all …]
Dresbund_cnv.cpp30 :UObject(), fLocale(NULL) in ResourceBundle()
37 :UObject(), fLocale(NULL) in ResourceBundle()
/external/skia/src/gpu/
DGrAutoLocaleSetter.h59 fLocale = newlocale(LC_ALL_MASK, name, nullptr); in GrAutoLocaleSetter()
60 if (fLocale) { in GrAutoLocaleSetter()
61 fOldLocale = uselocale(fLocale); in GrAutoLocaleSetter()
77 if (fLocale) { in ~GrAutoLocaleSetter()
79 freelocale(fLocale); in ~GrAutoLocaleSetter()
91 locale_t fLocale;
/external/skqp/src/gpu/
DGrAutoLocaleSetter.h59 fLocale = newlocale(LC_ALL_MASK, name, nullptr); in GrAutoLocaleSetter()
60 if (fLocale) { in GrAutoLocaleSetter()
61 fOldLocale = uselocale(fLocale); in GrAutoLocaleSetter()
77 if (fLocale) { in ~GrAutoLocaleSetter()
79 freelocale(fLocale); in ~GrAutoLocaleSetter()
91 locale_t fLocale;
/external/icu/icu4c/source/io/
Dlocbund.cpp85 result->fLocale = (char*) uprv_malloc(len + 1); in u_locbund_init()
86 if(result->fLocale == 0) { in u_locbund_init()
90 uprv_strcpy(result->fLocale, loc); in u_locbund_init()
92 result->isInvariantLocale = uprv_strcmp(result->fLocale, "en_US_POSIX") == 0; in u_locbund_init()
147 uprv_free(bundle->fLocale); in u_locbund_close()
171 formatAlias = unum_open(style, NULL, 0, bundle->fLocale, NULL, &status); in u_locbund_getNumberFormat()
Dlocbund.h33 char *fLocale; member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java62 fLocale = locale; in RelativeDateFormat()
94 initializeCalendar(null, fLocale); in RelativeDateFormat()
96 initializeCombinedFormat(calendar, fLocale); in RelativeDateFormat()
132 capitalizationBrkIter = BreakIterator.getSentenceInstance(fLocale); in format()
134 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format()
200 initCapitalizationContextInfo(fLocale); in setContext()
206 capitalizationBrkIter = BreakIterator.getSentenceInstance(fLocale); in setContext()
220 ULocale fLocale; field in RelativeDateFormat
280 …eBundle rb = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, fLocale); in loadDates()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java65 fLocale = locale; in RelativeDateFormat()
97 initializeCalendar(null, fLocale); in RelativeDateFormat()
99 initializeCombinedFormat(calendar, fLocale); in RelativeDateFormat()
135 capitalizationBrkIter = BreakIterator.getSentenceInstance(fLocale); in format()
137 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format()
203 initCapitalizationContextInfo(fLocale); in setContext()
209 capitalizationBrkIter = BreakIterator.getSentenceInstance(fLocale); in setContext()
223 ULocale fLocale; field in RelativeDateFormat
283 …eBundle rb = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, fLocale); in loadDates()
/external/apache-xml/src/main/java/org/apache/xml/res/
DXMLMessages.java36 protected Locale fLocale = Locale.getDefault(); field in XMLMessages
54 fLocale = locale; in setLocale()
64 return fLocale; in getLocale()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp960 len = (int32_t)uprv_strlen(fLocale); in write()
964 uprv_strncpy(writtenFilename + off, fLocale, len); in write()
981 uprv_strcat(dataName, fLocale); in write()
985 uprv_strcpy(dataName, fLocale); in write()
1127 : fRoot(NULL), fLocale(NULL), fIndexLength(0), fMaxTableLength(0), fNoFallback(FALSE), in SRBRoot()
1186 uprv_free(fLocale); in ~SRBRoot()
1198 uprv_free(fLocale); in setLocale()
1199 fLocale = (char*) uprv_malloc(sizeof(char) * (u_strlen(locale)+1)); in setLocale()
1200 if(fLocale == NULL) { in setLocale()
1205 u_UCharsToChars(locale, fLocale, u_strlen(locale)+1); in setLocale()
Dwrtxml.cpp1054 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml()
1078 lang = parseFilename(srBundle->fLocale, lang); in bundle_write_xml()
1105 outputFileName = (char *)uprv_malloc(sizeof(char)*uprv_strlen(srBundle->fLocale) + 1); in bundle_write_xml()
1106 uprv_memset(outputFileName, 0, sizeof(char)*uprv_strlen(srBundle->fLocale) + 1); in bundle_write_xml()
1107 uprv_strcpy(outputFileName,srBundle->fLocale); in bundle_write_xml()
1155 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
1192 res_write_xml(bundle->fRoot, bundle->fLocale, lang, TRUE, status); in bundle_write_xml()
/external/icu/icu4c/source/test/intltest/
Dtsnmfmt.cpp81 fLocale = locale; in testLocale()
319 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
387 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
Dtsnmfmt.h58 Locale fLocale; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java347 fLocale = new ULocale(value); in setKeywordParameter()
374 bi = (BreakIterator.getCharacterInstance(fLocale)); in createICUBreakIterator()
377 bi = (BreakIterator.getWordInstance(fLocale)); in createICUBreakIterator()
380 bi = (BreakIterator.getLineInstance(fLocale)); in createICUBreakIterator()
383 bi = (BreakIterator.getSentenceInstance(fLocale)); in createICUBreakIterator()
494 ULocale fLocale; field in RBBIMonkeyTest.BreakRules
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java344 fLocale = new ULocale(value); in setKeywordParameter()
371 bi = (BreakIterator.getCharacterInstance(fLocale)); in createICUBreakIterator()
374 bi = (BreakIterator.getWordInstance(fLocale)); in createICUBreakIterator()
377 bi = (BreakIterator.getLineInstance(fLocale)); in createICUBreakIterator()
380 bi = (BreakIterator.getSentenceInstance(fLocale)); in createICUBreakIterator()
491 ULocale fLocale; field in RBBIMonkeyTest.BreakRules

12