Home
last modified time | relevance | path

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

12

/external/icu4c/i18n/
Dcurrpinf.cpp66 fLocale(NULL) { in CurrencyPluralInfo()
73 fLocale(NULL) { in CurrencyPluralInfo()
81 fLocale(NULL) { in CurrencyPluralInfo()
102 delete fLocale; in operator =()
108 if (info.fLocale) { in operator =()
109 fLocale = info.fLocale->clone(); in operator =()
111 fLocale = NULL; in operator =()
121 delete fLocale; in ~CurrencyPluralInfo()
123 fLocale = NULL; in ~CurrencyPluralInfo()
132 if (*fLocale == *info.fLocale) { in operator ==()
[all …]
Dmsgfmt.cpp266 : fLocale(Locale::getDefault()), // Uses the default locale in MessageFormat()
287 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
293 : fLocale(newLocale), in MessageFormat()
314 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
321 : fLocale(newLocale), in MessageFormat()
342 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
471 setLocale(that.fLocale); in operator =()
503 fLocale != that.fLocale || in operator ==()
533 if (fLocale != theLocale) { in setLocale()
539 fLocale = theLocale; in setLocale()
[all …]
Dtmutfmt.cpp151 fLocale = other.fLocale; in operator =()
180 && fLocale == fmt->fLocale in operator ==()
366 fLocale = locale; in create()
399 fNumberFormat = NumberFormat::createInstance(fLocale, err); in initDataMembers()
402 fPluralRules = PluralRules::forLocale(fLocale, err); in initDataMembers()
425 rb = ures_open(NULL, fLocale.getName(), &status); in readFromCurrentLocale()
492 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err); in readFromCurrentLocale()
577 const char* localeName = fLocale.getName(); in checkConsistency()
627 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err); in searchInLocaleChain()
689 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_SECOND, fLocale, err); in searchInLocaleChain()
[all …]
Dreldtfmt.cpp43 fDateStyle(other.fDateStyle), fTimeStyle(other.fTimeStyle), fLocale(other.fLocale), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
68 fDateStyle(dateStyle), fTimeStyle(timeStyle), fLocale(locale), fDatesLen(0), fDates(NULL) in RelativeDateFormat()
110 fLocale==that->fLocale); in operator ==()
343 CalendarData calData(fLocale, "gregorian", status); in loadDates()
378 … fCombinedFormat = new MessageFormat(UnicodeString(TRUE, resStr, resStrLen), fLocale, tempStatus); in loadDates()
Dsmpdtfmt.cpp192 : fLocale(Locale::getDefault()), in SimpleDateFormat()
198 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
207 fLocale(Locale::getDefault()), in SimpleDateFormat()
215 initializeSymbols(fLocale, initializeCalendar(NULL,fLocale,status), status); in SimpleDateFormat()
216 initialize(fLocale, status); in SimpleDateFormat()
226 fLocale(Locale::getDefault()), in SimpleDateFormat()
234 initializeSymbols(fLocale, initializeCalendar(NULL,fLocale,status), status); in SimpleDateFormat()
235 initialize(fLocale, status); in SimpleDateFormat()
238 processOverrideString(fLocale,override,kOvrStrBoth,status); in SimpleDateFormat()
248 fLocale(locale), in SimpleDateFormat()
[all …]
Dwindtfmt.cpp97 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(&locale)… in Win32DateFormat()
181 pattern = getTimeDateFormat(&cal, fLocale, status); in format()
206 fDateTimeMsg = getTimeDateFormat(newCalendar, fLocale, status); in adoptCalendar()
Dzstrfmt.cpp536 : fLocale(""), in ZoneStringFormat()
549 fLocale.setToBogus(); in ZoneStringFormat()
634 : fLocale(locale), in ZoneStringFormat()
674 fZoneStringsArray = ures_open(U_ICUDATA_ZONE, fLocale.getName(), &status); in loadZone()
730 fallbackFmt = getFallbackFormat(fLocale, status); in addSingleZone()
734 regionFmt = getRegionFormat(fLocale, status); in addSingleZone()
800 getLocalizedCountry(countryCode, fLocale, country); in addSingleZone()
1109 fZoneStringsArray = ures_open(U_ICUDATA_ZONE, fLocale.getName(), &status); in loadFull()
1716 const char* country = fLocale.getCountry(); in getRegion()
1959 : fLocale(locale), fZoneStringFormat(zsf), in ZSFCacheEntry()
[all …]
Dwindtfmt.h133 const Locale *fLocale; variable
Dreldtfmt.h231 Locale fLocale; variable
Dzstrfmt.h289 Locale fLocale;
491 Locale fLocale; variable
/external/icu4c/common/
Dresbund.cpp174 :UObject(), fLocale(NULL) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
180 :UObject(other), fLocale(NULL) in ResourceBundle()
193 :UObject(), fLocale(NULL) in ResourceBundle()
204 :UObject(), fLocale(NULL) in ResourceBundle()
234 if(fLocale != NULL) { in ~ResourceBundle()
235 delete(fLocale); in ~ResourceBundle()
373 UMTX_CHECK(NULL, (fLocale == NULL), needInit); in getLocale()
384 if (me->fLocale == NULL) { in getLocale()
385 me->fLocale = tLocale; in getLocale()
391 return *fLocale; in getLocale()
Dresbund_cnv.cpp28 :UObject(), fLocale(NULL) in ResourceBundle()
35 :UObject(), fLocale(NULL) in ResourceBundle()
/external/icu4c/io/
Dlocbund.c87 result->fLocale = (char*) uprv_malloc(len + 1); in u_locbund_init()
88 if(result->fLocale == 0) { in u_locbund_init()
92 uprv_strcpy(result->fLocale, loc); in u_locbund_init()
94 result->isInvariantLocale = uprv_strcmp(result->fLocale, "en_US_POSIX") == 0; in u_locbund_init()
149 uprv_free(bundle->fLocale); in u_locbund_close()
173 formatAlias = unum_open(style, NULL, 0, bundle->fLocale, NULL, &status); in u_locbund_getNumberFormat()
Dlocbund.h31 char *fLocale; member
Dufile.c259 return file->str.fBundle.fLocale; in u_fgetlocale()
/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/icu4c/test/intltest/
Dtsnmfmt.h56 Locale fLocale; variable
Dtsnmfmt.cpp78 fLocale = locale; in testLocale()
306 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
374 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
/external/icu4c/tools/genrb/
Dwrtxml.cpp1038 if(uprv_strcmp(originalFileName, srBundle->fLocale) != 0) { in bundle_write_xml()
1062 lang = parseFilename(srBundle->fLocale, lang); in bundle_write_xml()
1089 outputFileName = (char *)uprv_malloc(sizeof(char)*uprv_strlen(srBundle->fLocale) + 1); in bundle_write_xml()
1090 uprv_memset(outputFileName, 0, sizeof(char)*uprv_strlen(srBundle->fLocale) + 1); in bundle_write_xml()
1091 uprv_strcpy(outputFileName,srBundle->fLocale); in bundle_write_xml()
1139 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){ in bundle_write_xml()
1176 res_write_xml(bundle->fRoot, bundle->fLocale, lang, TRUE, status); in bundle_write_xml()
Dreslist.c728 len = (int32_t)uprv_strlen(bundle->fLocale); in bundle_write()
732 uprv_strncpy(writtenFilename + off, bundle->fLocale, len); in bundle_write()
749 uprv_strcat(dataName, bundle->fLocale); in bundle_write()
753 uprv_strcpy(dataName, bundle->fLocale); in bundle_write()
1082 bundle->fLocale = NULL; in bundle_open()
1212 uprv_free(bundle->fLocale); in bundle_close()
1332 if (bundle->fLocale!=NULL) { in bundle_setlocale()
1333 uprv_free(bundle->fLocale); in bundle_setlocale()
1336 bundle->fLocale= (char*) uprv_malloc(sizeof(char) * (u_strlen(locale)+1)); in bundle_setlocale()
1338 if(bundle->fLocale == NULL) { in bundle_setlocale()
[all …]
Dreslist.h43 char *fLocale; member
/external/icu4c/i18n/unicode/
Dcurrpinf.h247 Locale* fLocale; variable
Dtmutfmt.h219 Locale fLocale; variable
Dmsgfmt.h800 Locale fLocale;
/external/icu4c/common/unicode/
Dresbund.h480 Locale *fLocale; variable

12