Home
last modified time | relevance | path

Searched refs:matchInfo (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/
DExtendedTimeZoneNames.java169 for (TimeZoneNames.MatchInfo matchInfo : matchedInfos) { in matchName()
170 if (matchInfo.matchLength() > maxMatchedInfoLength) { in matchName()
171 maxMatchedInfoLength = matchInfo.matchLength(); in matchName()
175 if (matchInfo.matchLength() >= maxMatchedInfoLength) { in matchName()
176 maxLengthMatchInfos.add(matchInfo); in matchName()
184 for (TimeZoneNames.MatchInfo matchInfo : maxLengthMatchInfos) { in matchName()
185 if (matchInfo.tzID() != null && matchInfo.tzID().equals(currentTzId)) { in matchName()
186 return matchedTimeZone(matchInfo.tzID(), matchInfo); in matchName()
188 if (matchInfo.mzID() != null && metaZonesInCurrentZone.contains(matchInfo.mzID())) { in matchName()
189 return matchedTimeZone(currentTzId, matchInfo); in matchName()
[all …]
/external/icu/icu4c/source/i18n/
Dtznames.cpp417 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone() local
418 if (matchInfo == NULL) { in addZone()
422 matches(status)->addElement(matchInfo, status); in addZone()
424 delete matchInfo; in addZone()
434 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone() local
435 if (matchInfo == NULL) { in addMetaZone()
439 matches(status)->addElement(matchInfo, status); in addMetaZone()
441 delete matchInfo; in addMetaZone()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java662 … GenericMatchInfo matchInfo = new GenericMatchInfo(info.type, info.tzID, matchLength); in handlePrefixMatch() local
666 _matches.add(matchInfo); in handlePrefixMatch()
799 private GenericMatchInfo createGenericMatchInfo(MatchInfo matchInfo) { in createGenericMatchInfo() argument
802 switch (matchInfo.nameType()) { in createGenericMatchInfo()
818 … throw new IllegalArgumentException("Unexpected MatchInfo name type - " + matchInfo.nameType()); in createGenericMatchInfo()
821 String tzID = matchInfo.tzID(); in createGenericMatchInfo()
823 String mzID = matchInfo.mzID(); in createGenericMatchInfo()
829 … GenericMatchInfo gmatch = new GenericMatchInfo(nameType, tzID, matchInfo.matchLength(), timeType); in createGenericMatchInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java657 … GenericMatchInfo matchInfo = new GenericMatchInfo(info.type, info.tzID, matchLength); in handlePrefixMatch() local
661 _matches.add(matchInfo); in handlePrefixMatch()
794 private GenericMatchInfo createGenericMatchInfo(MatchInfo matchInfo) { in createGenericMatchInfo() argument
797 switch (matchInfo.nameType()) { in createGenericMatchInfo()
813 … throw new IllegalArgumentException("Unexpected MatchInfo name type - " + matchInfo.nameType()); in createGenericMatchInfo()
816 String tzID = matchInfo.tzID(); in createGenericMatchInfo()
818 String mzID = matchInfo.mzID(); in createGenericMatchInfo()
824 … GenericMatchInfo gmatch = new GenericMatchInfo(nameType, tzID, matchInfo.matchLength(), timeType); in createGenericMatchInfo()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...