/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 18 import com.ibm.icu.number.NumberFormatter.SignDisplay; 30 mod.setPatternAttributes(SignDisplay.AUTO, false, false); in basic() 39 mod.setPatternAttributes(SignDisplay.ALWAYS, false, false); in basic() 48 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false, false); in basic() 54 mod.setPatternAttributes(SignDisplay.NEVER, false, false); in basic() 58 mod.setPatternAttributes(SignDisplay.AUTO, false, true); in basic() 64 mod.setPatternAttributes(SignDisplay.AUTO, false, false); in basic() 68 mod.setPatternAttributes(SignDisplay.ALWAYS, false, false); in basic() 77 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false, false); in basic() 83 mod.setPatternAttributes(SignDisplay.NEVER, false, false); in basic() [all …]
|
D | NumberFormatterApiTest.java | 42 import com.ibm.icu.number.NumberFormatter.SignDisplay; 160 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 4863 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 4872 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 4881 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 4890 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 4899 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 4908 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 4917 NumberFormatter.with().sign(SignDisplay.NEVER), in sign() 4926 NumberFormatter.with().sign(SignDisplay.NEVER), in sign() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 19 import ohos.global.icu.number.NumberFormatter.SignDisplay; 33 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic() 42 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic() 51 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false); in basic() 57 mod.setPatternAttributes(SignDisplay.NEVER, false); in basic() 62 mod.setPatternAttributes(SignDisplay.AUTO, false); in basic() 66 mod.setPatternAttributes(SignDisplay.ALWAYS, false); in basic() 75 mod.setPatternAttributes(SignDisplay.EXCEPT_ZERO, false); in basic() 81 mod.setPatternAttributes(SignDisplay.NEVER, false); in basic() 90 mod.setPatternAttributes(SignDisplay.AUTO, false); in mutableEqualsImmutable() [all …]
|
D | NumberFormatterApiTest.java | 44 import ohos.global.icu.number.NumberFormatter.SignDisplay; 159 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 2101 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2110 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2119 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2128 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 2137 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 2146 NumberFormatter.with().sign(SignDisplay.ALWAYS), in sign() 2155 NumberFormatter.with().sign(SignDisplay.NEVER), in sign() 2164 NumberFormatter.with().sign(SignDisplay.NEVER), in sign() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | ScientificNotation.java | 15 import com.ibm.icu.number.NumberFormatter.SignDisplay; 35 SignDisplay exponentSignDisplay; 41 SignDisplay exponentSignDisplay) { in ScientificNotation() 89 public ScientificNotation withExponentSignDisplay(SignDisplay exponentSignDisplay) { in withExponentSignDisplay() 274 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 276 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply()
|
D | Notation.java | 5 import com.ibm.icu.number.NumberFormatter.SignDisplay; 20 SignDisplay.AUTO); 24 SignDisplay.AUTO);
|
D | NumberSkeletonImpl.java | 18 import com.ibm.icu.number.NumberFormatter.SignDisplay; 349 private static SignDisplay signDisplay(StemEnum stem) { in signDisplay() 352 return SignDisplay.AUTO; in signDisplay() 354 return SignDisplay.ALWAYS; in signDisplay() 356 return SignDisplay.NEVER; in signDisplay() 358 return SignDisplay.ACCOUNTING; in signDisplay() 360 return SignDisplay.ACCOUNTING_ALWAYS; in signDisplay() 362 return SignDisplay.EXCEPT_ZERO; in signDisplay() 364 return SignDisplay.ACCOUNTING_EXCEPT_ZERO; in signDisplay() 366 return SignDisplay.NEGATIVE; in signDisplay() [all …]
|
D | NumberPropertyMapper.java | 19 import com.ibm.icu.number.NumberFormatter.SignDisplay; 232 macros.sign = properties.getSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO; in oldToNew() 261 … properties.getExponentSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO); in oldToNew()
|
D | NumberFormatterImpl.java | 31 import com.ibm.icu.number.NumberFormatter.SignDisplay; 195 boolean isAccounting = macros.sign == SignDisplay.ACCOUNTING in macrosToMicroGenerator() 196 || macros.sign == SignDisplay.ACCOUNTING_ALWAYS in macrosToMicroGenerator() 197 || macros.sign == SignDisplay.ACCOUNTING_EXCEPT_ZERO in macrosToMicroGenerator() 198 || macros.sign == SignDisplay.ACCOUNTING_NEGATIVE; in macrosToMicroGenerator() 341 micros.sign = SignDisplay.AUTO; in macrosToMicroGenerator()
|
D | NumberFormatterSettings.java | 11 import com.ibm.icu.number.NumberFormatter.SignDisplay; 436 public T sign(SignDisplay style) { in sign() 699 macros.sign = (SignDisplay) current.value; in resolve()
|
D | NumberFormatter.java | 359 public static enum SignDisplay { enum in NumberFormatter
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | ScientificNotation.java | 16 import ohos.global.icu.number.NumberFormatter.SignDisplay; 36 SignDisplay exponentSignDisplay; 42 SignDisplay exponentSignDisplay) { in ScientificNotation() 88 public ScientificNotation withExponentSignDisplay(SignDisplay exponentSignDisplay) { in withExponentSignDisplay() 273 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 275 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply()
|
D | Notation.java | 6 import ohos.global.icu.number.NumberFormatter.SignDisplay; 21 SignDisplay.AUTO); 25 SignDisplay.AUTO);
|
D | NumberSkeletonImpl.java | 18 import ohos.global.icu.number.NumberFormatter.SignDisplay; 334 private static SignDisplay signDisplay(StemEnum stem) { in signDisplay() 337 return SignDisplay.AUTO; in signDisplay() 339 return SignDisplay.ALWAYS; in signDisplay() 341 return SignDisplay.NEVER; in signDisplay() 343 return SignDisplay.ACCOUNTING; in signDisplay() 345 return SignDisplay.ACCOUNTING_ALWAYS; in signDisplay() 347 return SignDisplay.EXCEPT_ZERO; in signDisplay() 349 return SignDisplay.ACCOUNTING_EXCEPT_ZERO; in signDisplay() 454 private static void signDisplay(SignDisplay value, StringBuilder sb) { in signDisplay() [all …]
|
D | NumberPropertyMapper.java | 20 import ohos.global.icu.number.NumberFormatter.SignDisplay; 230 macros.sign = properties.getSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO; in oldToNew() 259 … properties.getExponentSignAlwaysShown() ? SignDisplay.ALWAYS : SignDisplay.AUTO); in oldToNew()
|
D | NumberFormatterSettings.java | 12 import ohos.global.icu.number.NumberFormatter.SignDisplay; 417 public T sign(SignDisplay style) { in sign() 599 macros.sign = (SignDisplay) current.value; in resolve()
|
D | NumberFormatterImpl.java | 26 import ohos.global.icu.number.NumberFormatter.SignDisplay; 188 boolean isAccounting = macros.sign == SignDisplay.ACCOUNTING in macrosToMicroGenerator() 189 || macros.sign == SignDisplay.ACCOUNTING_ALWAYS in macrosToMicroGenerator() 190 || macros.sign == SignDisplay.ACCOUNTING_EXCEPT_ZERO; in macrosToMicroGenerator() 302 micros.sign = SignDisplay.AUTO; in macrosToMicroGenerator()
|
D | NumberFormatter.java | 289 public static enum SignDisplay { enum in NumberFormatter
|
/third_party/node/deps/v8/src/objects/ |
D | js-number-format.cc | 95 enum class SignDisplay { enum 160 UNumberSignDisplay ToUNumberSignDisplay(SignDisplay sign_display, in ToUNumberSignDisplay() 163 case SignDisplay::AUTO: in ToUNumberSignDisplay() 169 case SignDisplay::NEVER: in ToUNumberSignDisplay() 171 case SignDisplay::ALWAYS: in ToUNumberSignDisplay() 177 case SignDisplay::EXCEPT_ZERO: in ToUNumberSignDisplay() 183 case SignDisplay::NEGATIVE: in ToUNumberSignDisplay() 1547 Maybe<SignDisplay> maybe_sign_display = Nothing<SignDisplay>(); in New() 1549 maybe_sign_display = GetStringOption<SignDisplay>( in New() 1552 {SignDisplay::AUTO, SignDisplay::NEVER, SignDisplay::ALWAYS, in New() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | MicroProps.java | 8 import ohos.global.icu.number.NumberFormatter.SignDisplay; 17 public SignDisplay sign;
|
D | MacroProps.java | 12 import ohos.global.icu.number.NumberFormatter.SignDisplay; 34 public SignDisplay sign;
|
D | MutablePatternModifier.java | 9 import ohos.global.icu.number.NumberFormatter.SignDisplay; 45 SignDisplay signDisplay; 95 public void setPatternAttributes(SignDisplay signDisplay, boolean perMille) { in setPatternAttributes()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MicroProps.java | 9 import com.ibm.icu.number.NumberFormatter.SignDisplay; 22 public SignDisplay sign;
|
D | MutablePatternModifier.java | 8 import com.ibm.icu.number.NumberFormatter.SignDisplay; 43 SignDisplay signDisplay; 96 …public void setPatternAttributes(SignDisplay signDisplay, boolean perMille, boolean approximately)… in setPatternAttributes()
|
D | MacroProps.java | 11 import com.ibm.icu.number.NumberFormatter.SignDisplay; 31 public SignDisplay sign;
|