Home
last modified time | relevance | path

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

/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/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/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()