Searched refs:unitMap (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/flang/runtime/ |
D | unit.cpp | 22 static UnitMap *unitMap{nullptr}; variable 194 if (unitMap) { in GetUnitMap() 195 return *unitMap; in GetUnitMap() 198 if (unitMap) { in GetUnitMap() 199 return *unitMap; in GetUnitMap() 203 unitMap = New<UnitMap>{terminator}().release(); in GetUnitMap() 213 return *unitMap; in GetUnitMap() 218 if (unitMap) { in CloseAll() 219 unitMap->CloseAll(handler); in CloseAll() 220 FreeMemoryAndNullify(unitMap); in CloseAll() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 973 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString() local 977 unitMap = qualitativeUnitMap.get(style); in getAbsoluteUnitString() 978 if (unitMap != null) { in getAbsoluteUnitString() 979 dirMap = unitMap.get(unit); in getAbsoluteUnitString() 1106 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern() local 1107 if (unitMap != null) { in getRelativeUnitPattern() 1108 String[][] spfCompiledPatterns = unitMap.get(unit); in getRelativeUnitPattern() 1419 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap = in handlePlainDirection() local 1421 if (unitMap == null) { in handlePlainDirection() 1422 unitMap = new EnumMap<>(AbsoluteUnit.class); in handlePlainDirection() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RelativeDateTimeFormatter.java | 887 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap; in getAbsoluteUnitString() local 891 unitMap = qualitativeUnitMap.get(style); in getAbsoluteUnitString() 892 if (unitMap != null) { in getAbsoluteUnitString() 893 dirMap = unitMap.get(unit); in getAbsoluteUnitString() 1016 EnumMap<RelativeUnit, String[][]> unitMap = patternMap.get(style); in getRelativeUnitPattern() local 1017 if (unitMap != null) { in getRelativeUnitPattern() 1018 String[][] spfCompiledPatterns = unitMap.get(unit); in getRelativeUnitPattern() 1329 EnumMap<AbsoluteUnit, EnumMap<Direction, String>> unitMap = in handlePlainDirection() local 1331 if (unitMap == null) { in handlePlainDirection() 1332 unitMap = new EnumMap<>(AbsoluteUnit.class); in handlePlainDirection() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | UnitConverter.java | 1161 …vate static <V> String stripPrefixCommon(String unit, Output<V> deprefix, Map<String, V> unitMap) { in stripPrefixCommon() argument 1166 for (Entry<String, V> entry : unitMap.entrySet()) { in stripPrefixCommon()
|