Home
last modified time | relevance | path

Searched refs:NameType (Results 1 – 25 of 32) sorted by relevance

12

/external/jmdns/src/javax/jmdns/impl/
DNameRegister.java16 public enum NameType { enum
34 public void register(InetAddress networkInterface, String name, NameType type) { in register()
44 public boolean checkName(InetAddress networkInterface, String name, NameType type) { in checkName()
54 public String incrementHostName(InetAddress networkInterface, String name, NameType type) { in incrementHostName()
68 public void register(InetAddress networkInterface, String name, NameType type) { in register()
78 public boolean checkName(InetAddress networkInterface, String name, NameType type) { in checkName()
88 public String incrementHostName(InetAddress networkInterface, String name, NameType type) { in incrementHostName()
140 public abstract void register(InetAddress networkInterface, String name, NameType type); in register()
153 public abstract boolean checkName(InetAddress networkInterface, String name, NameType type); in checkName()
166 …public abstract String incrementHostName(InetAddress networkInterface, String name, NameType type); in incrementHostName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java97 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName()
99 (type != NameType.SHORT_STANDARD && type != NameType.SHORT_DAYLIGHT)) { in getMetaZoneDisplayName()
110 public String getTimeZoneDisplayName(String tzID, NameType type) { in getTimeZoneDisplayName()
126 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find()
192 String getName(NameType type) { in getName()
216 NameType type;
222 private EnumSet<NameType> _nameTypes;
226 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler()
284 NameType ntype = match.type; in handlePrefixMatch()
298 && (ntype == NameType.SHORT_STANDARD || ntype == NameType.SHORT_DAYLIGHT) in handlePrefixMatch()
[all …]
DTimeZoneGenericNames.java27 import com.ibm.icu.text.TimeZoneNames.NameType;
125 private static final NameType[] GENERIC_NON_LOCATION_TYPES =
126 {NameType.LONG_GENERIC, NameType.SHORT_GENERIC};
333NameType nameType = (type == GenericNameType.LONG) ? NameType.LONG_GENERIC : NameType.SHORT_GENERI… in formatGenericNonLocationName()
381 NameType stdNameType = (nameType == NameType.LONG_GENERIC) ? in formatGenericNonLocationName()
382 NameType.LONG_STANDARD : NameType.SHORT_STANDARD; in formatGenericNonLocationName()
419 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
497 for (NameType genNonLocType : GENERIC_NON_LOCATION_TYPES) { in loadStrings()
501 … getPartialLocationName(tzCanonicalID, mzID, (genNonLocType == NameType.LONG_GENERIC), mzGenName); in loadStrings()
834 EnumSet<NameType> nameTypes = EnumSet.noneOf(NameType.class); in findTimeZoneNames()
[all …]
DTimeZoneNamesImpl.java44 private static final NameType[] NAME_TYPE_VALUES = NameType.values();
164 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName()
176 public String getTimeZoneDisplayName(String tzID, NameType type) { in getTimeZoneDisplayName()
191 String locName = loadTimeZoneNames(null, tzID).getName(NameType.EXEMPLAR_LOCATION); in getExemplarLocationName()
199 …public synchronized Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nam… in find()
251 public void getDisplayNames(String tzID, NameType[] types, long date, in getDisplayNames()
259 NameType type = types[i]; in getDisplayNames()
505 NameType type;
512 private EnumSet<NameType> _nameTypes;
516 NameSearchHandler(EnumSet<NameType> nameTypes) { in NameSearchHandler()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTZDBTimeZoneNames.java99 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName()
101 (type != NameType.SHORT_STANDARD && type != NameType.SHORT_DAYLIGHT)) { in getMetaZoneDisplayName()
112 public String getTimeZoneDisplayName(String tzID, NameType type) { in getTimeZoneDisplayName()
128 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nameTypes) { in find()
194 String getName(NameType type) { in getName()
218 NameType type;
224 private EnumSet<NameType> _nameTypes;
228 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { in TZDBNameSearchHandler()
286 NameType ntype = match.type; in handlePrefixMatch()
300 && (ntype == NameType.SHORT_STANDARD || ntype == NameType.SHORT_DAYLIGHT) in handlePrefixMatch()
[all …]
DTimeZoneGenericNames.java28 import android.icu.text.TimeZoneNames.NameType;
127 private static final NameType[] GENERIC_NON_LOCATION_TYPES =
128 {NameType.LONG_GENERIC, NameType.SHORT_GENERIC};
335NameType nameType = (type == GenericNameType.LONG) ? NameType.LONG_GENERIC : NameType.SHORT_GENERI… in formatGenericNonLocationName()
383 NameType stdNameType = (nameType == NameType.LONG_GENERIC) ? in formatGenericNonLocationName()
384 NameType.LONG_STANDARD : NameType.SHORT_STANDARD; in formatGenericNonLocationName()
421 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
499 for (NameType genNonLocType : GENERIC_NON_LOCATION_TYPES) { in loadStrings()
503 … getPartialLocationName(tzCanonicalID, mzID, (genNonLocType == NameType.LONG_GENERIC), mzGenName); in loadStrings()
836 EnumSet<NameType> nameTypes = EnumSet.noneOf(NameType.class); in findTimeZoneNames()
[all …]
DTimeZoneNamesImpl.java46 private static final NameType[] NAME_TYPE_VALUES = NameType.values();
166 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName()
178 public String getTimeZoneDisplayName(String tzID, NameType type) { in getTimeZoneDisplayName()
193 String locName = loadTimeZoneNames(null, tzID).getName(NameType.EXEMPLAR_LOCATION); in getExemplarLocationName()
201 …public synchronized Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> nam… in find()
253 public void getDisplayNames(String tzID, NameType[] types, long date, in getDisplayNames()
261 NameType type = types[i]; in getDisplayNames()
507 NameType type;
514 private EnumSet<NameType> _nameTypes;
518 NameSearchHandler(EnumSet<NameType> nameTypes) { in NameSearchHandler()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneNames.java83 public enum NameType { enum in TimeZoneNames
239 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName()
258 public final String getDisplayName(String tzID, NameType type, long date) { in getDisplayName()
278 public abstract String getTimeZoneDisplayName(String tzID, NameType type); in getTimeZoneDisplayName()
314 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> types) { in find()
324 private NameType _nameType;
342 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo()
392 public NameType nameType() { in nameType()
420 public void getDisplayNames(String tzID, NameType[] types, long date, in getDisplayNames()
427 NameType type = types[i]; in getDisplayNames()
[all …]
DTimeZoneFormat.java43 import android.icu.text.TimeZoneNames.NameType;
360 private static final EnumSet<NameType> ALL_SIMPLE_NAME_TYPES = EnumSet.of(
361 NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT,
362 NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT,
363 NameType.EXEMPLAR_LOCATION
840 … result = formatSpecific(tz, NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT, date, timeType); in format()
843 … result = formatSpecific(tz, NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT, date, timeType); in format()
1129 EnumSet<NameType> nameTypes = null; in parse()
1131 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1134 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
[all …]
DDateFormatSymbols.java26 import android.icu.text.TimeZoneNames.NameType;
1275 NameType types[] = { in getZoneStrings()
1276 NameType.LONG_STANDARD, NameType.SHORT_STANDARD, in getZoneStrings()
1277 NameType.LONG_DAYLIGHT, NameType.SHORT_DAYLIGHT in getZoneStrings()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneNames.java86 public enum NameType { enum in TimeZoneNames
265 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName()
285 public final String getDisplayName(String tzID, NameType type, long date) { in getDisplayName()
306 public abstract String getTimeZoneDisplayName(String tzID, NameType type); in getTimeZoneDisplayName()
344 public Collection<MatchInfo> find(CharSequence text, int start, EnumSet<NameType> types) { in find()
355 private NameType _nameType;
374 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo()
427 public NameType nameType() { in nameType()
454 public void getDisplayNames(String tzID, NameType[] types, long date, in getDisplayNames()
461 NameType type = types[i]; in getDisplayNames()
[all …]
DTimeZoneFormat.java42 import com.ibm.icu.text.TimeZoneNames.NameType;
396 private static final EnumSet<NameType> ALL_SIMPLE_NAME_TYPES = EnumSet.of(
397 NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT,
398 NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT,
399 NameType.EXEMPLAR_LOCATION
897 … result = formatSpecific(tz, NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT, date, timeType); in format()
900 … result = formatSpecific(tz, NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT, date, timeType); in format()
1190 EnumSet<NameType> nameTypes = null; in parse()
1192 nameTypes = EnumSet.of(NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT); in parse()
1195 nameTypes = EnumSet.of(NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT); in parse()
[all …]
DDateFormatSymbols.java25 import com.ibm.icu.text.TimeZoneNames.NameType;
1311 NameType types[] = { in getZoneStrings()
1312 NameType.LONG_STANDARD, NameType.SHORT_STANDARD, in getZoneStrings()
1313 NameType.LONG_DAYLIGHT, NameType.SHORT_DAYLIGHT in getZoneStrings()
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/
DTimeZoneNamesTest.java52 TimeZoneNames.NameType nameType = TimeZoneNames.NameType.SHORT_GENERIC; in testGetInstance_Locale()
90 TimeZoneNames.NameType.LONG_STANDARD); in testGetMetaZoneDisplayName()
95 TimeZoneNames.NameType.SHORT_DAYLIGHT); in testGetMetaZoneDisplayName()
119 TimeZoneNames.NameType.LONG_DAYLIGHT); in testGetTimeZoneDisplayName()
123 TimeZoneNames.NameType.EXEMPLAR_LOCATION); in testGetTimeZoneDisplayName()
129 for (TimeZoneNames.NameType nameType : TimeZoneNames.NameType.values()) { in testGetTimeZoneDisplayName()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DTimeZoneNameProviderICU.java14 import com.ibm.icu.text.TimeZoneNames.NameType;
30 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName()
31 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName()
32 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
33 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java16 import com.ibm.icu.text.TimeZoneNames.NameType;
102 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
103 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
107 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
/external/v8/src/parsing/
Dfunc-name-inferrer.h83 enum NameType { enum
89 Name(const AstRawString* name, NameType type) : name(name), type(type) {} in Name()
91 NameType type;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java27 import com.ibm.icu.text.TimeZoneNames.NameType;
587 NameType nameType = null; in _getDisplayName()
590 nameType = daylight ? NameType.LONG_DAYLIGHT : NameType.LONG_STANDARD; in _getDisplayName()
594 nameType = daylight ? NameType.SHORT_DAYLIGHT : NameType.SHORT_STANDARD; in _getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java28 import android.icu.text.TimeZoneNames.NameType;
528 NameType nameType = null; in _getDisplayName()
531 nameType = daylight ? NameType.LONG_DAYLIGHT : NameType.LONG_STANDARD; in _getDisplayName()
535 nameType = daylight ? NameType.SHORT_DAYLIGHT : NameType.SHORT_STANDARD; in _getDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatTests.java43 import android.icu.text.TimeZoneNames.NameType;
2326 final NameType[] nTypes = { in hasSameBehavior()
2327 NameType.SHORT_STANDARD, in hasSameBehavior()
2328 NameType.SHORT_DAYLIGHT in hasSameBehavior()
2332 for (NameType nt : nTypes) { in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java42 import com.ibm.icu.text.TimeZoneNames.NameType;
2325 final NameType[] nTypes = { in hasSameBehavior()
2326 NameType.SHORT_STANDARD, in hasSameBehavior()
2327 NameType.SHORT_DAYLIGHT in hasSameBehavior()
2331 for (NameType nt : nTypes) { in hasSameBehavior()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java36 import android.icu.text.TimeZoneNames.NameType;
1087 int resultSize = names.find("GMT", 0, EnumSet.allOf(NameType.class)).size(); in TestTZDBNamesThreading()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java35 import com.ibm.icu.text.TimeZoneNames.NameType;
1083 int resultSize = names.find("GMT", 0, EnumSet.allOf(NameType.class)).size(); in TestTZDBNamesThreading()
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j52.api3.gz

12