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()
235 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler() argument
236 _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()
237 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler() argument
238 _nameTypes = nameTypes; in TZDBNameSearchHandler()
DTimeZoneGenericNames.java844 EnumSet<NameType> nameTypes = EnumSet.noneOf(NameType.class); in findTimeZoneNames() local
846 nameTypes.add(NameType.LONG_GENERIC); in findTimeZoneNames()
847 nameTypes.add(NameType.LONG_STANDARD); in findTimeZoneNames()
850 nameTypes.add(NameType.SHORT_GENERIC); in findTimeZoneNames()
851 nameTypes.add(NameType.SHORT_STANDARD); in findTimeZoneNames()
854 if (!nameTypes.isEmpty()) { in findTimeZoneNames()
856 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.java1132 EnumSet<NameType> nameTypes = null; in parse() local
1134 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1137 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
1139 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1156 assert nameTypes.contains(NameType.SHORT_STANDARD); in parse()
1157 assert nameTypes.contains(NameType.SHORT_DAYLIGHT); in parse()
1160 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
3010 EnumSet<NameType> nameTypes = EnumSet.of(NameType.EXEMPLAR_LOCATION);
3011 Collection<MatchInfo> exemplarMatches = _tznames.find(text, startIdx, nameTypes);
DTimeZoneNames.java568 … 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.java1193 EnumSet<NameType> nameTypes = null; in parse() local
1195 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1198 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
1200 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1217 assert nameTypes.contains(NameType.SHORT_STANDARD); in parse()
1218 assert nameTypes.contains(NameType.SHORT_DAYLIGHT); in parse()
1221 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
3080 EnumSet<NameType> nameTypes = EnumSet.of(NameType.EXEMPLAR_LOCATION);
3081 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.cpp1091 uint32_t nameTypes = 0; in findTimeZoneNames() local
1093 nameTypes |= (UTZNM_LONG_GENERIC | UTZNM_LONG_STANDARD); in findTimeZoneNames()
1096 nameTypes |= (UTZNM_SHORT_GENERIC | UTZNM_SHORT_STANDARD); in findTimeZoneNames()
1101 return fTimeZoneNames->find(text, start, nameTypes, status); in findTimeZoneNames()
Dtzfmt.cpp939 int32_t nameTypes = 0; in parse() local
941 nameTypes = (UTZNM_LONG_STANDARD | UTZNM_LONG_DAYLIGHT); in parse()
944 nameTypes = (UTZNM_SHORT_STANDARD | UTZNM_SHORT_DAYLIGHT); in parse()
946 …mes::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()
973 U_ASSERT((nameTypes & UTZNM_SHORT_STANDARD) != 0); in parse()
974 U_ASSERT((nameTypes & UTZNM_SHORT_DAYLIGHT) != 0); in parse()
979 tzdbTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()