Home
last modified time | relevance | path

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

123

/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 …]
Dsmpdtfmt.cpp346 : fLocale(Locale::getDefault()), in SimpleDateFormat()
353 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
362 fLocale(Locale::getDefault()), in SimpleDateFormat()
371 initializeCalendar(NULL,fLocale,status); in SimpleDateFormat()
372 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
373 initialize(fLocale, status); in SimpleDateFormat()
383 fLocale(Locale::getDefault()), in SimpleDateFormat()
392 initializeCalendar(NULL,fLocale,status); in SimpleDateFormat()
393 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
394 initialize(fLocale, status); in SimpleDateFormat()
[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()
Dwinnmfmt.cpp226 fLocale = Locale((const char*)tmpLocID); in Win32NumberFormat()
275 this->fLocale = other.fLocale; in operator =()
321 … fCurrency? NumberFormat::createCurrencyInstance(fLocale, status) : NumberFormat::createInstance(f… in parse()
Dwindtfmt.cpp163 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(locale),… in Win32DateFormat()
205 this->fLocale = other.fLocale; in operator =()
254 pattern = getTimeDateFormat(&cal, &fLocale, status); in format()
279 fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); in adoptCalendar()
Dreldatefmt.cpp767 fLocale(locale) { in RelativeDateTimeFormatter()
779 fLocale(locale) { in RelativeDateTimeFormatter()
795 fLocale(locale) { in RelativeDateTimeFormatter()
823 fLocale(other.fLocale) { in RelativeDateTimeFormatter()
841 fLocale = other.fLocale; in operator =()
1197 fLocale, in adjustForContext()
1218 UnifiedCache::getByLocale(fLocale, fCache, status); in init()
1223 fLocale, UPLURAL_TYPE_CARDINAL, status); in init()
1231 fLocale, UNUM_DECIMAL, status); in init()
Ddtitvfmt.cpp147 fLocale(Locale::getRoot()), in DateIntervalFormat()
161 fLocale(itvfmt.fLocale), in DateIntervalFormat()
208 fLocale = itvfmt.fLocale; in operator =()
257 if (fLocale != fmt->fLocale) {return FALSE;} in operator ==()
674 fLocale(locale), in DateIntervalFormat()
971 …UnicodeString convertedPattern = DateFormat::getBestPattern(fLocale, UnicodeString(hourMetachar), … in normalizeHourMetacharacters()
1237 fLocale, dateSkeleton, status)); in setSeparateDateTimePtn()
1243 fLocale, timeSkeleton, status)); in setSeparateDateTimePtn()
1296 fLocale, skeleton, status); in setFallbackPattern()
/external/icu/icu4c/source/common/
Dresbund.cpp180 :UObject(), fLocale(NULL) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
186 :UObject(other), fLocale(NULL) in ResourceBundle()
199 :UObject(), fLocale(NULL) in ResourceBundle()
210 :UObject(), fLocale(NULL) in ResourceBundle()
225 if (fLocale != NULL) { in operator =()
226 delete fLocale; in operator =()
227 fLocale = NULL; in operator =()
244 if(fLocale != NULL) { in ~ResourceBundle()
245 delete(fLocale); in ~ResourceBundle()
383 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/skia/modules/skparagraph/src/
DTextStyle.cpp59 if (fLocale != other.fLocale) { in equals()
98 fLocale == that.fLocale; in equalsByFonts()
138 fLocale == other.fLocale && in matchOneAttribute()
DOneLineShaper.h122 : fUnicode(unicode), fFontStyle(fontStyle), fLocale(locale) { } in FontKey()
125 SkString fLocale; member
/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/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/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/skia/modules/skparagraph/include/
DTextStyle.h237 SkString getLocale() const { return fLocale; } in getLocale()
238 void setLocale(const SkString& locale) { fLocale = locale; } in setLocale()
271 SkString fLocale = {}; variable
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp964 len = (int32_t)uprv_strlen(fLocale); in write()
968 uprv_strncpy(writtenFilename + off, fLocale, len); in write()
985 uprv_strcat(dataName, fLocale); in write()
989 uprv_strcpy(dataName, fLocale); in write()
1132 : fRoot(NULL), fLocale(NULL), fIndexLength(0), fMaxTableLength(0), fNoFallback(FALSE), in SRBRoot()
1192 uprv_free(fLocale); in ~SRBRoot()
1204 uprv_free(fLocale); in setLocale()
1205 fLocale = (char*) uprv_malloc(sizeof(char) * (u_strlen(locale)+1)); in setLocale()
1206 if(fLocale == NULL) { in setLocale()
1211 u_UCharsToChars(locale, fLocale, u_strlen(locale)+1); in setLocale()
[all …]
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.h58 Locale fLocale; variable
Dtsnmfmt.cpp81 fLocale = locale; in testLocale()
319 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
387 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
/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

123