Home
last modified time | relevance | path

Searched refs:UnitPreference (Results 1 – 13 of 13) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitPreferences.java16 … private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences = new HashMap<>();
59 public UnitPreference[] getPreferencesFor(String category, String usage, String region) { in getPreferencesFor()
61 UnitPreference[] result = null; in getPreferencesFor()
80 private UnitPreference[] getUnitPreferences(String category, String usage, String region) { in getUnitPreferences()
83 … HashMap<String, UnitPreference[]> unitPreferencesMap = this.mapToUnitPreferences.get(key); in getUnitPreferences()
84 UnitPreference[] result = in getUnitPreferences()
96 public static class UnitPreference { class in UnitPreferences
102 public UnitPreference(String unit, String geq, String skeleton) { in UnitPreference() method in UnitPreferences.UnitPreference
123 private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences;
129 public HashMap<String, HashMap<String, UnitPreference[]>> getMapToUnitPreferences() { in getMapToUnitPreferences()
[all …]
DUnitsRouter.java59 …UnitPreferences.UnitPreference[] unitPreferences = data.getPreferencesFor(category, usage, region); in UnitsRouter()
62 UnitPreferences.UnitPreference preference = unitPreferences[i]; in UnitsRouter()
DUnitsData.java86 …public UnitPreferences.UnitPreference[] getPreferencesFor(String category, String usage, String re… in getPreferencesFor()
/third_party/node/deps/icu-small/source/i18n/
Dunits_data.h96 struct U_I18N_API UnitPreference : public UMemory { struct
98 UnitPreference() : geq(1.0) {} in UnitPreference() argument
151 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>;
152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>;
153 template class U_I18N_API MaybeStackVector<units::UnitPreference, 8>;
196 const UnitPreference *const *&outPreferences, int32_t &preferenceCount,
205 MaybeStackVector<UnitPreference> unitPrefs_;
Dunits_data.cpp133 explicit UnitPreferencesSink(MaybeStackVector<UnitPreference> *outPrefs, in UnitPreferencesSink()
196 UnitPreference *up = preferences->emplaceBack(); in put()
227 MaybeStackVector<UnitPreference> *preferences;
396 const UnitPreference *const *&outPreferences, in getPreferencesFor()
Dunits_router.cpp76 const UnitPreference *const *unitPreferences; in init()
/third_party/icu/icu4c/source/i18n/
Dunits_data.h96 struct U_I18N_API UnitPreference : public UMemory { struct
98 UnitPreference() : geq(1.0) {} in UnitPreference() function
151 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>;
152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>;
153 template class U_I18N_API MaybeStackVector<units::UnitPreference, 8>;
196 const UnitPreference *const *&outPreferences, int32_t &preferenceCount,
205 MaybeStackVector<UnitPreference> unitPrefs_;
Dunits_data.cpp133 explicit UnitPreferencesSink(MaybeStackVector<UnitPreference> *outPrefs, in UnitPreferencesSink()
196 UnitPreference *up = preferences->emplaceBack(); in put()
227 MaybeStackVector<UnitPreference> *preferences;
396 const UnitPreference *const *&outPreferences, in getPreferencesFor()
Dunits_router.cpp76 const UnitPreference *const *unitPreferences; in init()
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_data.h96 struct U_I18N_API UnitPreference : public UMemory { struct
98 UnitPreference() : geq(1.0) {} in UnitPreference() function
151 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>;
152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>;
153 template class U_I18N_API MaybeStackVector<units::UnitPreference, 8>;
196 const UnitPreference *const *&outPreferences, int32_t &preferenceCount,
205 MaybeStackVector<UnitPreference> unitPrefs_;
Dunits_data.cpp133 explicit UnitPreferencesSink(MaybeStackVector<UnitPreference> *outPrefs, in UnitPreferencesSink()
196 UnitPreference *up = preferences->emplaceBack(); in put()
227 MaybeStackVector<UnitPreference> *preferences;
396 const UnitPreference *const *&outPreferences, in getPreferencesFor()
Dunits_router.cpp76 const UnitPreference *const *unitPreferences; in init()
/third_party/icu/icu4c/source/test/intltest/
Dunits_data_test.cpp83 const MaybeStackVector<UnitPreference> *getInternalUnitPrefs() const { return &unitPrefs_; } in getInternalUnitPrefs()
139 const UnitPreference *const *prefs; in testGetPreferencesFor()