Home
last modified time | relevance | path

Searched refs:getModIndex (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_modifiers.h293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier()
294 mods[getModIndex(signum, plural)] = mod; in adoptModifier()
302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural()
303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural()
308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier()
310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier()
317 return mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifierWithoutPlural()
324 inline static int32_t getModIndex(int8_t signum, StandardPlural::Form plural) { in getModIndex() function
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DAdoptingModifierStore.java52 mods[getModIndex(signum, plural)] = mod; in setModifier()
68 return mods[getModIndex(signum, plural)]; in getModifier()
71 private static int getModIndex(int signum, StandardPlural plural) { in getModIndex() method in AdoptingModifierStore
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAdoptingModifierStore.java50 mods[getModIndex(signum, plural)] = mod; in setModifier()
66 return mods[getModIndex(signum, plural)]; in getModifier()
69 private static int getModIndex(int signum, StandardPlural plural) { in getModIndex() method in AdoptingModifierStore