Home
last modified time | relevance | path

Searched refs:nodeDistance (Results 1 – 2 of 2) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLocaleDistanceBuilder.java183 int nodeDistance; // distance for the lookup so far field in LocaleDistanceBuilder.DistanceTable
187 nodeDistance = distance; in DistanceTable()
197 && nodeDistance == (other = (DistanceTable) obj).nodeDistance in equals()
202 return nodeDistance ^ subtables.hashCode(); in hashCode()
228 int result = starEquals && star && desired.equals(supported) ? 0 : value.nodeDistance; in getDistance()
240 addSubtable(e1.getKey(), e2.getKey(), value.nodeDistance); in copy()
364 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE]) { in prune()
368 nodeDistance |= LocaleDistance.DISTANCE_SKIP_SCRIPT; in prune()
373 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_REGION_DISTANCE]) { in prune()
382 StringBuilder sb = new StringBuilder("distance: ").append(nodeDistance).append('\n'); in toString()
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLocaleDistanceBuilder.java180 int nodeDistance; // distance for the lookup so far field in LocaleDistanceBuilder.DistanceTable
184 nodeDistance = distance; in DistanceTable()
194 && nodeDistance == (other = (DistanceTable) obj).nodeDistance in equals()
199 return nodeDistance ^ subtables.hashCode(); in hashCode()
225 int result = starEquals && star && desired.equals(supported) ? 0 : value.nodeDistance; in getDistance()
237 addSubtable(e1.getKey(), e2.getKey(), value.nodeDistance); in copy()
361 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE]) { in prune()
365 nodeDistance |= LocaleDistance.DISTANCE_SKIP_SCRIPT; in prune()
370 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_REGION_DISTANCE]) { in prune()
379 StringBuilder sb = new StringBuilder("distance: ").append(nodeDistance).append('\n'); in toString()
[all …]