Home
last modified time | relevance | path

Searched refs:nameType (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java333 …NameType nameType = (type == GenericNameType.LONG) ? NameType.LONG_GENERIC : NameType.SHORT_GENERI… in formatGenericNonLocationName() local
334 String name = _tznames.getTimeZoneDisplayName(tzID, nameType); in formatGenericNonLocationName()
381 NameType stdNameType = (nameType == NameType.LONG_GENERIC) ? in formatGenericNonLocationName()
392 String mzGenericName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
401 String mzName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
419 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
601 final GenericNameType nameType; field in TimeZoneGenericNames.GenericMatchInfo
606 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength) { in GenericMatchInfo() argument
607 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
610 …private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType… in GenericMatchInfo() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java337 …NameType nameType = (type == GenericNameType.LONG) ? NameType.LONG_GENERIC : NameType.SHORT_GENERI… in formatGenericNonLocationName() local
338 String name = _tznames.getTimeZoneDisplayName(tzID, nameType); in formatGenericNonLocationName()
385 NameType stdNameType = (nameType == NameType.LONG_GENERIC) ? in formatGenericNonLocationName()
396 String mzGenericName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
405 String mzName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
423 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
606 final GenericNameType nameType; field in TimeZoneGenericNames.GenericMatchInfo
611 private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength) { in GenericMatchInfo() argument
612 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
615 …private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType… in GenericMatchInfo() argument
[all …]
/external/icu/icu4c/source/i18n/
Dtznames.cpp373 UTimeZoneNameType nameType; member
378 …MatchInfo(UTimeZoneNameType nameType, int32_t matchLength, const UnicodeString* tzID, const Unicod… in MatchInfo()
379 this->nameType = nameType; in MatchInfo()
412 TimeZoneNames::MatchInfoCollection::addZone(UTimeZoneNameType nameType, int32_t matchLength, in addZone() argument
417 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone()
429 TimeZoneNames::MatchInfoCollection::addMetaZone(UTimeZoneNameType nameType, int32_t matchLength, in addMetaZone() argument
434 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone()
457 return match->nameType; in getNameTypeAt()
Dtzgnames.cpp609 UTimeZoneNameType nameType = (type == UTZGNM_LONG) ? UTZNM_LONG_GENERIC : UTZNM_SHORT_GENERIC; in formatGenericNonLocationName() local
610 fTimeZoneNames->getTimeZoneDisplayName(tzID, nameType, name); in formatGenericNonLocationName()
680 UTimeZoneNameType stdNameType = (nameType == UTZNM_LONG_GENERIC) in formatGenericNonLocationName()
694 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzGenericName); in formatGenericNonLocationName()
703 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzName); in formatGenericNonLocationName()
724 … getPartialLocationName(tzID, mzID, (nameType == UTZNM_LONG_GENERIC), mzName, name); in formatGenericNonLocationName()
923 UTimeZoneNameType nameType = tznamesMatches->getNameTypeAt(i); in findBestMatch() local
927 switch (nameType) { in findBestMatch()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java173 TimeZoneNames.NameType nameType = TimeZoneNames.NameType.SHORT_GENERIC; in testGetInstance_Locale() local
174 String uLocaleName = uLocaleInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
175 String localeName = localeInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
251 for (TimeZoneNames.NameType nameType : TimeZoneNames.NameType.values()) { in testGetTimeZoneDisplayName()
252 String name = tzdbNames.getTimeZoneDisplayName(tzId, nameType); in testGetTimeZoneDisplayName()
253 assertNull("TZ:" + tzId + ", NameType: " + nameType + ", value: " + name, name); in testGetTimeZoneDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneNames.java376 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
377 if (nameType == null) { in MatchInfo()
386 _nameType = nameType; in MatchInfo()
429 public NameType nameType() { in nameType() method in TimeZoneNames.MatchInfo
DTimeZoneFormat.java1211 timeType.value = getTimeType(specificMatch.nameType()); in parse()
1232 timeType.value = getTimeType(tzdbNameMatch.nameType()); in parse()
1429 parsedTimeType = getTimeType(specificMatch.nameType()); in parse()
1448 parsedTimeType = getTimeType(tzdbNameMatch.nameType()); in parse()
1868 private TimeType getTimeType(NameType nameType) {
1869 switch (nameType) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneNames.java345 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
346 if (nameType == null) { in MatchInfo()
355 _nameType = nameType; in MatchInfo()
395 public NameType nameType() { in nameType() method in TimeZoneNames.MatchInfo
DTimeZoneFormat.java1150 timeType.value = getTimeType(specificMatch.nameType()); in parse()
1171 timeType.value = getTimeType(tzdbNameMatch.nameType()); in parse()
1368 parsedTimeType = getTimeType(specificMatch.nameType()); in parse()
1387 parsedTimeType = getTimeType(tzdbNameMatch.nameType()); in parse()
1798 private TimeType getTimeType(NameType nameType) {
1799 switch (nameType) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXNameConstraintValidator.java116 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
118 validator.intersectEmptyPermittedSubtree(nameType); in intersectEmptyPermittedSubtree()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPKIXNameConstraintValidator.java120 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
122 validator.intersectEmptyPermittedSubtree(nameType); in intersectEmptyPermittedSubtree()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DPKIXNameConstraintValidator.java120 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
122 validator.intersectEmptyPermittedSubtree(nameType); in intersectEmptyPermittedSubtree()
/external/icu/libicu/cts_headers/unicode/
Dtznames.h332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/external/icu/icu4c/source/i18n/unicode/
Dtznames.h332 void addZone(UTimeZoneNameType nameType, int32_t matchLength,
343 void addMetaZone(UTimeZoneNameType nameType, int32_t matchLength,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DNameConstraintValidator.java15 void intersectEmptyPermittedSubtree(int nameType); in intersectEmptyPermittedSubtree() argument
DPKIXNameConstraintValidator.java156 int nameType = ((Integer)entry.getKey()).intValue(); in intersectPermittedSubtree() local
157 switch (nameType) in intersectPermittedSubtree()
184 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectPermittedSubtree()
189 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
191 switch (nameType) in intersectEmptyPermittedSubtree()
212 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectEmptyPermittedSubtree()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DScriptTagPayloadReader.java69 int nameType = readAmfType(data); in parsePayload() local
70 if (nameType != AMF_TYPE_STRING) { in parsePayload()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DNameConstraintValidator.java19 void intersectEmptyPermittedSubtree(int nameType); in intersectEmptyPermittedSubtree() argument
DPKIXNameConstraintValidator.java160 int nameType = ((Integer)entry.getKey()).intValue(); in intersectPermittedSubtree() local
161 switch (nameType) in intersectPermittedSubtree()
188 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectPermittedSubtree()
193 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
195 switch (nameType) in intersectEmptyPermittedSubtree()
216 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectEmptyPermittedSubtree()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DNameConstraintValidator.java19 void intersectEmptyPermittedSubtree(int nameType); in intersectEmptyPermittedSubtree() argument
DPKIXNameConstraintValidator.java160 int nameType = ((Integer)entry.getKey()).intValue(); in intersectPermittedSubtree() local
161 switch (nameType) in intersectPermittedSubtree()
188 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectPermittedSubtree()
193 public void intersectEmptyPermittedSubtree(int nameType) in intersectEmptyPermittedSubtree() argument
195 switch (nameType) in intersectEmptyPermittedSubtree()
216 throw new IllegalStateException("Unknown tag encountered: " + nameType); in intersectEmptyPermittedSubtree()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java523 NameType nameType = null; in _getDisplayName() local
526 nameType = daylight ? NameType.LONG_DAYLIGHT : NameType.LONG_STANDARD; in _getDisplayName()
530 nameType = daylight ? NameType.SHORT_DAYLIGHT : NameType.SHORT_STANDARD; in _getDisplayName()
533 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java587 NameType nameType = null; in _getDisplayName() local
590 nameType = daylight ? NameType.LONG_DAYLIGHT : NameType.LONG_STANDARD; in _getDisplayName()
594 nameType = daylight ? NameType.SHORT_DAYLIGHT : NameType.SHORT_STANDARD; in _getDisplayName()
597 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/
DExtendedTimeZoneNames.java224 DST_NAME_TYPES.contains(matchInfo.nameType())); in matchedTimeZone()
/external/cldr/tools/java/org/unicode/cldr/test/
DCLDRTest.java482 int nameType = CLDRFile.getNameType(xpath); in TestDisplayNameCollisions() local
483 if (nameType < 0) continue; in TestDisplayNameCollisions()
485 String xpath2 = maps[nameType].get(value); in TestDisplayNameCollisions()
487 maps[nameType].put(value, xpath); in TestDisplayNameCollisions()
490 … collisions.add(CLDRFile.getNameTypeName(nameType) + "\t" + value + "\t" + xpath + "\t" + xpath2); in TestDisplayNameCollisions()

12