Home
last modified time | relevance | path

Searched refs:fLocale (Results 1 – 25 of 33) 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.cpp219 : fLocale(Locale::getDefault()), // Uses the default locale in MessageFormat()
231 pluralProvider(&fLocale) in MessageFormat()
233 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
240 : fLocale(newLocale), in MessageFormat()
252 pluralProvider(&fLocale) in MessageFormat()
254 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
262 : fLocale(newLocale), in MessageFormat()
274 pluralProvider(&fLocale) in MessageFormat()
276 setLocaleIDs(fLocale.getName(), fLocale.getName()); in MessageFormat()
283 fLocale(that.fLocale), in MessageFormat()
[all …]
Dtmutfmt.cpp152 fLocale = other.fLocale; in operator =()
181 && fLocale == fmt->fLocale in operator ==()
368 fLocale = locale; in create()
401 fNumberFormat = NumberFormat::createInstance(fLocale, err); in initDataMembers()
404 fPluralRules = PluralRules::forLocale(fLocale, err); in initDataMembers()
427 rb = ures_open(NULL, fLocale.getName(), &status); in readFromCurrentLocale()
492 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err); in readFromCurrentLocale()
578 const char* localeName = fLocale.getName(); in checkConsistency()
630 …ageFormat* messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, ptLength), fLocale, err); in searchInLocaleChain()
708 messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, -1), fLocale, err); in searchInLocaleChain()
[all …]
Dsmpdtfmt.cpp239 : fLocale(Locale::getDefault()), in SimpleDateFormat()
246 construct(kShort, (EStyle) (kShort + kDateOffset), fLocale, status); in SimpleDateFormat()
255 fLocale(Locale::getDefault()), in SimpleDateFormat()
264 initializeSymbols(fLocale, initializeCalendar(NULL,fLocale,status), status); in SimpleDateFormat()
265 initialize(fLocale, status); in SimpleDateFormat()
275 fLocale(Locale::getDefault()), in SimpleDateFormat()
284 initializeSymbols(fLocale, initializeCalendar(NULL,fLocale,status), status); in SimpleDateFormat()
285 initialize(fLocale, status); in SimpleDateFormat()
288 processOverrideString(fLocale,override,kOvrStrBoth,status); in SimpleDateFormat()
298 fLocale(locale), in SimpleDateFormat()
[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 ==()
353 CalendarData calData(fLocale, "gregorian", status); in loadDates()
388 … fCombinedFormat = new MessageFormat(UnicodeString(TRUE, resStr, resStrLen), fLocale, tempStatus); in loadDates()
Dtzfmt.cpp43 Locale fLocale; member in TimeZoneFormatImpl
57 : fLock(NULL),fLocale(locale), fTimeZoneNames(NULL), fTimeZoneGenericNames(NULL) { in TimeZoneFormatImpl()
59 const char* region = fLocale.getCountry(); in TimeZoneFormatImpl()
63 uloc_addLikelySubtags(fLocale.getName(), loc, sizeof(loc), &status); in TimeZoneFormatImpl()
109 nonConstThis->fTimeZoneGenericNames = new TimeZoneGenericNames(fLocale, status); in getTimeZoneGenericNames()
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()
Dwindtfmt.h124 const Locale *fLocale; variable
Dreldtfmt.h242 Locale fLocale; variable
Dtzgnames.h73 Locale fLocale;
Dtznames_impl.h186 Locale fLocale;
/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.cpp79 fLocale = locale; in testLocale()
317 + ", Locale=" + UnicodeString(fLocale.getName()) in tryIt()
385 + ", 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.h248 Locale* fLocale; variable
Dtmutfmt.h217 Locale fLocale; variable
/external/icu4c/common/unicode/
Dresbund.h480 Locale *fLocale; variable

12