Home
last modified time | relevance | path

Searched refs:Signum (Results 1 – 25 of 53) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAdoptingModifierStore.java6 import com.ibm.icu.impl.number.Modifier.Signum;
52 public void setModifier(Signum signum, StandardPlural plural, Modifier mod) { in setModifier()
61 public Modifier getModifierWithoutPlural(Signum signum) { in getModifierWithoutPlural()
80 public Modifier getModifier(Signum signum, StandardPlural plural) { in getModifier()
86 private static int getModIndex(Signum signum, StandardPlural plural) { in getModIndex()
89 return plural.ordinal() * Signum.COUNT + signum.ordinal(); in getModIndex()
DMutablePatternModifier.java53 Signum signum;
132 public void setNumberProperties(Signum signum, StandardPlural plural) { in setNumberProperties()
164 setNumberProperties(Signum.POS, plural); in createImmutable()
165 pm.setModifier(Signum.POS, plural, createConstantModifier(a, b)); in createImmutable()
166 setNumberProperties(Signum.POS_ZERO, plural); in createImmutable()
167 pm.setModifier(Signum.POS_ZERO, plural, createConstantModifier(a, b)); in createImmutable()
168 setNumberProperties(Signum.NEG_ZERO, plural); in createImmutable()
169 pm.setModifier(Signum.NEG_ZERO, plural, createConstantModifier(a, b)); in createImmutable()
170 setNumberProperties(Signum.NEG, plural); in createImmutable()
171 pm.setModifier(Signum.NEG, plural, createConstantModifier(a, b)); in createImmutable()
[all …]
DModifier.java20 static enum Signum { enum
26 static final int COUNT = Signum.values().length;
77 public Signum signum;
DModifierStore.java6 import com.ibm.icu.impl.number.Modifier.Signum;
18 Modifier getModifier(Signum signum, StandardPlural plural); in getModifier()
DDecimalQuantity.java10 import com.ibm.icu.impl.number.Modifier.Signum;
155 public Signum signum(); in signum()
DDecimalQuantity_AbstractBCD.java12 import com.ibm.icu.impl.number.Modifier.Signum;
326 public Signum signum() { in signum()
330 return Signum.NEG_ZERO; in signum()
332 return Signum.POS_ZERO; in signum()
334 return Signum.NEG; in signum()
336 return Signum.POS; in signum()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DAdoptingModifierStore.java7 import android.icu.impl.number.Modifier.Signum;
54 public void setModifier(Signum signum, StandardPlural plural, Modifier mod) { in setModifier()
63 public Modifier getModifierWithoutPlural(Signum signum) { in getModifierWithoutPlural()
82 public Modifier getModifier(Signum signum, StandardPlural plural) { in getModifier()
88 private static int getModIndex(Signum signum, StandardPlural plural) { in getModIndex()
91 return plural.ordinal() * Signum.COUNT + signum.ordinal(); in getModIndex()
DMutablePatternModifier.java55 Signum signum;
134 public void setNumberProperties(Signum signum, StandardPlural plural) { in setNumberProperties()
166 setNumberProperties(Signum.POS, plural); in createImmutable()
167 pm.setModifier(Signum.POS, plural, createConstantModifier(a, b)); in createImmutable()
168 setNumberProperties(Signum.POS_ZERO, plural); in createImmutable()
169 pm.setModifier(Signum.POS_ZERO, plural, createConstantModifier(a, b)); in createImmutable()
170 setNumberProperties(Signum.NEG_ZERO, plural); in createImmutable()
171 pm.setModifier(Signum.NEG_ZERO, plural, createConstantModifier(a, b)); in createImmutable()
172 setNumberProperties(Signum.NEG, plural); in createImmutable()
173 pm.setModifier(Signum.NEG, plural, createConstantModifier(a, b)); in createImmutable()
[all …]
DModifier.java22 static enum Signum { enum
28 static final int COUNT = Signum.values().length;
80 public Signum signum;
DModifierStore.java7 import android.icu.impl.number.Modifier.Signum;
20 Modifier getModifier(Signum signum, StandardPlural plural); in getModifier()
DDecimalQuantity.java11 import android.icu.impl.number.Modifier.Signum;
157 public Signum signum(); in signum()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java15 import com.ibm.icu.impl.number.Modifier.Signum;
36 mod.setNumberProperties(Signum.POS, null); in basic()
42 mod.setNumberProperties(Signum.POS_ZERO, null); in basic()
45 mod.setNumberProperties(Signum.NEG_ZERO, null); in basic()
51 mod.setNumberProperties(Signum.NEG, null); in basic()
60 mod.setNumberProperties(Signum.POS, null); in basic()
66 mod.setNumberProperties(Signum.POS_ZERO, null); in basic()
69 mod.setNumberProperties(Signum.NEG_ZERO, null); in basic()
75 mod.setNumberProperties(Signum.NEG, null); in basic()
122 mod.setNumberProperties(Signum.POS_ZERO, null); in patternWithNoPlaceholder()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java16 import android.icu.impl.number.Modifier.Signum;
39 mod.setNumberProperties(Signum.POS, null); in basic()
45 mod.setNumberProperties(Signum.POS_ZERO, null); in basic()
48 mod.setNumberProperties(Signum.NEG_ZERO, null); in basic()
54 mod.setNumberProperties(Signum.NEG, null); in basic()
63 mod.setNumberProperties(Signum.POS, null); in basic()
69 mod.setNumberProperties(Signum.POS_ZERO, null); in basic()
72 mod.setNumberProperties(Signum.NEG_ZERO, null); in basic()
78 mod.setNumberProperties(Signum.NEG, null); in basic()
125 mod.setNumberProperties(Signum.POS_ZERO, null); in patternWithNoPlaceholder()
/external/icu/icu4c/source/i18n/
Dunits_converter.cpp97 Signum powerSig = this->constants[i] < 0 ? Signum::NEGATIVE : Signum::POSITIVE; in substituteConstants()
100 if (powerSig == Signum::NEGATIVE) { in substituteConstants()
154 void addFactorElement(Factor &factor, StringPiece elementStr, Signum signum, UErrorCode &status) { in addFactorElement()
187 Signum signum = Signum::POSITIVE; in extractFactorConversions()
201 signum = Signum::NEGATIVE; // Change the signum because we reached the Denominator. in extractFactorConversions()
361 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant()
387 if (signum == Signum::NEGATIVE) { in addSingleFactorConstant()
Dunits_converter.h48 typedef enum Signum { enum
51 } Signum; typedef
78 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
Dnumber_types.h94 enum Signum { enum
205 Signum signum;
209 Parameters(const ModifierStore* _obj, Signum _signum, StandardPlural::Form _plural);
240 virtual const Modifier* getModifier(Signum signum, StandardPlural::Form plural) const = 0;
Dnumber_formatimpl.h48 static int32_t getPrefixSuffixStatic(const MacroProps& macros, Signum signum,
65 …int32_t getPrefixSuffix(Signum signum, StandardPlural::Form plural, FormattedStringBuilder& outStr…
122 int32_t getPrefixSuffixUnsafe(Signum signum, StandardPlural::Form plural,
Dnumber_modifiers.h292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier()
301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural()
307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier()
316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural()
324 inline static int32_t getModIndex(Signum signum, StandardPlural::Form plural) { in getModIndex()
Dnumber_patternmodifier.h51 const Modifier* getModifier(Signum signum, StandardPlural::Form plural) const;
149 void setNumberProperties(Signum signum, StandardPlural::Form plural);
215 Signum fSignum;
/external/icu/libicu/cts_headers/
Dunits_converter.h48 typedef enum Signum { enum
51 } Signum; typedef
78 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
Dnumber_types.h94 enum Signum { enum
205 Signum signum;
209 Parameters(const ModifierStore* _obj, Signum _signum, StandardPlural::Form _plural);
240 virtual const Modifier* getModifier(Signum signum, StandardPlural::Form plural) const = 0;
Dnumber_formatimpl.h48 static int32_t getPrefixSuffixStatic(const MacroProps& macros, Signum signum,
65 …int32_t getPrefixSuffix(Signum signum, StandardPlural::Form plural, FormattedStringBuilder& outStr…
122 int32_t getPrefixSuffixUnsafe(Signum signum, StandardPlural::Form plural,
Dnumber_modifiers.h292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) { in adoptModifier()
301 void adoptModifierWithoutPlural(Signum signum, const Modifier *mod) { in adoptModifierWithoutPlural()
307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE { in getModifier()
316 const Modifier *getModifierWithoutPlural(Signum signum) const { in getModifierWithoutPlural()
324 inline static int32_t getModIndex(Signum signum, StandardPlural::Form plural) { in getModIndex()
Dnumber_patternmodifier.h51 const Modifier* getModifier(Signum signum, StandardPlural::Form plural) const;
149 void setNumberProperties(Signum signum, StandardPlural::Form plural);
215 Signum fSignum;
/external/llvm-project/libc/utils/testutils/
DExecuteFunctionUnix.cpp81 const char *signalAsString(int Signum) { return ::strsignal(Signum); } in signalAsString() argument

123