Home
last modified time | relevance | path

Searched refs:nameTypes (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java128 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
134 TZDBNameSearchHandler handler = new TZDBNameSearchHandler(nameTypes, getTargetRegion()); in find()
239 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler() argument
240 _nameTypes = nameTypes; in TZDBNameSearchHandler()
DTimeZoneGenericNames.java842 EnumSet<NameType> nameTypes = EnumSet.noneOf(NameType.class); in findTimeZoneNames() local
844 nameTypes.add(NameType.LONG_GENERIC); in findTimeZoneNames()
845 nameTypes.add(NameType.LONG_STANDARD); in findTimeZoneNames()
848 nameTypes.add(NameType.SHORT_GENERIC); in findTimeZoneNames()
849 nameTypes.add(NameType.SHORT_STANDARD); in findTimeZoneNames()
852 if (!nameTypes.isEmpty()) { in findTimeZoneNames()
854 tznamesMatches = _tznames.find(text, start, nameTypes); in findTimeZoneNames()
DTimeZoneNamesImpl.java200 …ynchronized Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
204 NameSearchHandler handler = new NameSearchHandler(nameTypes); in find()
524 NameSearchHandler(EnumSet<NameType> nameTypes) { in NameSearchHandler() argument
525 _nameTypes = nameTypes; in NameSearchHandler()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTZDBTimeZoneNames.java130 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
136 TZDBNameSearchHandler handler = new TZDBNameSearchHandler(nameTypes, getTargetRegion()); in find()
241 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler() argument
242 _nameTypes = nameTypes; in TZDBNameSearchHandler()
DTimeZoneGenericNames.java847 EnumSet<NameType> nameTypes = EnumSet.noneOf(NameType.class); in findTimeZoneNames() local
849 nameTypes.add(NameType.LONG_GENERIC); in findTimeZoneNames()
850 nameTypes.add(NameType.LONG_STANDARD); in findTimeZoneNames()
853 nameTypes.add(NameType.SHORT_GENERIC); in findTimeZoneNames()
854 nameTypes.add(NameType.SHORT_STANDARD); in findTimeZoneNames()
857 if (!nameTypes.isEmpty()) { in findTimeZoneNames()
859 tznamesMatches = _tznames.find(text, start, nameTypes); in findTimeZoneNames()
DTimeZoneNamesImpl.java202 …ynchronized Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
206 NameSearchHandler handler = new NameSearchHandler(nameTypes); in find()
526 NameSearchHandler(EnumSet<NameType> nameTypes) { in NameSearchHandler() argument
527 _nameTypes = nameTypes; in NameSearchHandler()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1133 EnumSet<NameType> nameTypes = null; in parse() local
1135 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1138 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
1140 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1157 assert nameTypes.contains(NameType.SHORT_STANDARD); in parse()
1158 assert nameTypes.contains(NameType.SHORT_DAYLIGHT); in parse()
1161 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
3030 EnumSet<NameType> nameTypes = EnumSet.of(NameType.EXEMPLAR_LOCATION);
3031 Collection<MatchInfo> exemplarMatches = _tznames.find(text, startIdx, nameTypes);
DTimeZoneNames.java570 … public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1194 EnumSet<NameType> nameTypes = null; in parse() local
1196 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1199 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
1201 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1218 assert nameTypes.contains(NameType.SHORT_STANDARD); in parse()
1219 assert nameTypes.contains(NameType.SHORT_DAYLIGHT); in parse()
1222 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
3100 EnumSet<NameType> nameTypes = EnumSet.of(NameType.EXEMPLAR_LOCATION);
3101 Collection<MatchInfo> exemplarMatches = _tznames.find(text, startIdx, nameTypes);
DTimeZoneNames.java600 … public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find() argument
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp1092 uint32_t nameTypes = 0; in findTimeZoneNames() local
1094 nameTypes |= (UTZNM_LONG_GENERIC | UTZNM_LONG_STANDARD); in findTimeZoneNames()
1097 nameTypes |= (UTZNM_SHORT_GENERIC | UTZNM_SHORT_STANDARD); in findTimeZoneNames()
1102 return fTimeZoneNames->find(text, start, nameTypes, status); in findTimeZoneNames()
Dtzfmt.cpp943 int32_t nameTypes = 0; in parse() local
945 nameTypes = (UTZNM_LONG_STANDARD | UTZNM_LONG_DAYLIGHT); in parse()
948 nameTypes = (UTZNM_SHORT_STANDARD | UTZNM_SHORT_DAYLIGHT); in parse()
950 …mes::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()
977 U_ASSERT((nameTypes & UTZNM_SHORT_STANDARD) != 0); in parse()
978 U_ASSERT((nameTypes & UTZNM_SHORT_DAYLIGHT) != 0); in parse()
983 tzdbTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()