Home
last modified time | relevance | path

Searched refs:DecimalFormatProperties (Results 1 – 25 of 116) sorted by relevance

12345

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DPatternStringTest.java11 import ohos.global.icu.impl.number.DecimalFormatProperties;
67 DecimalFormatProperties properties = PatternStringParser.parseToProperties(input); in testToPatternSimple()
78 { new DecimalFormatProperties().setPositivePrefix("abc"), "abc#;-#" }, in testToPatternWithProperties()
79 { new DecimalFormatProperties().setPositiveSuffix("abc"), "#abc;-#" }, in testToPatternWithProperties()
80 { new DecimalFormatProperties().setPositivePrefixPattern("abc"), "abc#" }, in testToPatternWithProperties()
81 { new DecimalFormatProperties().setPositiveSuffixPattern("abc"), "#abc" }, in testToPatternWithProperties()
82 { new DecimalFormatProperties().setNegativePrefix("abc"), "#;abc#" }, in testToPatternWithProperties()
83 { new DecimalFormatProperties().setNegativeSuffix("abc"), "#;-#abc" }, in testToPatternWithProperties()
84 { new DecimalFormatProperties().setNegativePrefixPattern("abc"), "#;abc#" }, in testToPatternWithProperties()
85 { new DecimalFormatProperties().setNegativeSuffixPattern("abc"), "#;-#abc" }, in testToPatternWithProperties()
[all …]
DPropertiesTest.java33 import ohos.global.icu.impl.number.DecimalFormatProperties;
34 import ohos.global.icu.impl.number.DecimalFormatProperties.ParseMode;
52 DecimalFormatProperties p1 = new DecimalFormatProperties(); in testBasicEquals()
53 DecimalFormatProperties p2 = new DecimalFormatProperties(); in testBasicEquals()
66 DecimalFormatProperties p0 = new DecimalFormatProperties(); in testFieldCoverage()
67 DecimalFormatProperties p1 = new DecimalFormatProperties(); in testFieldCoverage()
68 DecimalFormatProperties p2 = new DecimalFormatProperties(); in testFieldCoverage()
69 DecimalFormatProperties p3 = new DecimalFormatProperties(); in testFieldCoverage()
70 DecimalFormatProperties p4 = new DecimalFormatProperties(); in testFieldCoverage()
73 Field[] fields = DecimalFormatProperties.class.getDeclaredFields(); in testFieldCoverage()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPatternStringTest.java10 import com.ibm.icu.impl.number.DecimalFormatProperties;
64 DecimalFormatProperties properties = PatternStringParser.parseToProperties(input); in testToPatternSimple()
75 { new DecimalFormatProperties().setPositivePrefix("abc"), "abc#;-#" }, in testToPatternWithProperties()
76 { new DecimalFormatProperties().setPositiveSuffix("abc"), "#abc;-#" }, in testToPatternWithProperties()
77 { new DecimalFormatProperties().setPositivePrefixPattern("abc"), "abc#" }, in testToPatternWithProperties()
78 { new DecimalFormatProperties().setPositiveSuffixPattern("abc"), "#abc" }, in testToPatternWithProperties()
79 { new DecimalFormatProperties().setNegativePrefix("abc"), "#;abc#" }, in testToPatternWithProperties()
80 { new DecimalFormatProperties().setNegativeSuffix("abc"), "#;-#abc" }, in testToPatternWithProperties()
81 { new DecimalFormatProperties().setNegativePrefixPattern("abc"), "#;abc#" }, in testToPatternWithProperties()
82 { new DecimalFormatProperties().setNegativeSuffixPattern("abc"), "#;-#abc" }, in testToPatternWithProperties()
[all …]
DPropertiesTest.java32 import com.ibm.icu.impl.number.DecimalFormatProperties;
33 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
49 DecimalFormatProperties p1 = new DecimalFormatProperties(); in testBasicEquals()
50 DecimalFormatProperties p2 = new DecimalFormatProperties(); in testBasicEquals()
63 DecimalFormatProperties p0 = new DecimalFormatProperties(); in testFieldCoverage()
64 DecimalFormatProperties p1 = new DecimalFormatProperties(); in testFieldCoverage()
65 DecimalFormatProperties p2 = new DecimalFormatProperties(); in testFieldCoverage()
66 DecimalFormatProperties p3 = new DecimalFormatProperties(); in testFieldCoverage()
67 DecimalFormatProperties p4 = new DecimalFormatProperties(); in testFieldCoverage()
70 Field[] fields = DecimalFormatProperties.class.getDeclaredFields(); in testFieldCoverage()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalFormatProperties.java29 public class DecimalFormatProperties implements Cloneable, Serializable { class
31 private static final DecimalFormatProperties DEFAULT = new DecimalFormatProperties();
144 public DecimalFormatProperties() { in DecimalFormatProperties() method in DecimalFormatProperties
163 private DecimalFormatProperties _clear() { in _clear()
209 private DecimalFormatProperties _copyFrom(DecimalFormatProperties other) { in _copyFrom()
255 private boolean _equals(DecimalFormatProperties other) { in _equals()
379 public DecimalFormatProperties clear() { in clear()
385 public DecimalFormatProperties clone() { in clone()
388 return (DecimalFormatProperties) super.clone(); in clone()
402 public DecimalFormatProperties copyFrom(DecimalFormatProperties other) { in copyFrom()
[all …]
DProperties.java21 private transient DecimalFormatProperties instance;
23 public DecimalFormatProperties getInstance() { in getInstance()
29 instance = new DecimalFormatProperties(); in readObject()
36 instance = new DecimalFormatProperties(); in writeObject()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java25 public class DecimalFormatProperties implements Cloneable, Serializable { class
27 private static final DecimalFormatProperties DEFAULT = new DecimalFormatProperties();
139 public DecimalFormatProperties() { in DecimalFormatProperties() method in DecimalFormatProperties
158 private DecimalFormatProperties _clear() { in _clear()
204 private DecimalFormatProperties _copyFrom(DecimalFormatProperties other) { in _copyFrom()
250 private boolean _equals(DecimalFormatProperties other) { in _equals()
374 public DecimalFormatProperties clear() { in clear()
380 public DecimalFormatProperties clone() { in clone()
383 return (DecimalFormatProperties) super.clone(); in clone()
397 public DecimalFormatProperties copyFrom(DecimalFormatProperties other) { in copyFrom()
[all …]
DProperties.java19 private transient DecimalFormatProperties instance;
21 public DecimalFormatProperties getInstance() { in getInstance()
27 instance = new DecimalFormatProperties(); in readObject()
34 instance = new DecimalFormatProperties(); in writeObject()
/third_party/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.cpp18 alignas(DecimalFormatProperties)
19 char kRawDefaultProperties[sizeof(DecimalFormatProperties)];
25 new(kRawDefaultProperties) DecimalFormatProperties(); // set to the default instance in initDefaultProperties()
31 DecimalFormatProperties::DecimalFormatProperties() { in DecimalFormatProperties() function in DecimalFormatProperties
35 void DecimalFormatProperties::clear() { in clear()
81 DecimalFormatProperties::_equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) co… in _equals()
140 bool DecimalFormatProperties::equalsDefaultExceptFastFormat() const { in equalsDefaultExceptFastFormat()
143 return _equals(*reinterpret_cast<DecimalFormatProperties*>(kRawDefaultProperties), true); in equalsDefaultExceptFastFormat()
146 const DecimalFormatProperties& DecimalFormatProperties::getDefault() { in getDefault()
149 return *reinterpret_cast<const DecimalFormatProperties*>(kRawDefaultProperties); in getDefault()
Dnumber_mapper.h37 void setTo(const DecimalFormatProperties& properties, UErrorCode& status);
87 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
125 inline AutoAffixPatternProvider(const DecimalFormatProperties& properties, UErrorCode& status) { in AutoAffixPatternProvider()
129 inline void setTo(const DecimalFormatProperties& properties, UErrorCode& status) { in setTo()
180 DecimalFormatFields(const DecimalFormatProperties& propsToCopy) in DecimalFormatFields()
184 DecimalFormatProperties properties;
205 DecimalFormatProperties exportedProperties;
225 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
230 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
233 DecimalFormatProperties& exportedProperties,
[all …]
Dnumber_decimfmtprops.h98 struct U_I18N_API DecimalFormatProperties : public UMemory { struct
145 DecimalFormatProperties(); argument
147 inline bool operator==(const DecimalFormatProperties& other) const {
162 static const DecimalFormatProperties& getDefault();
165 bool _equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) const;
Dnumber_patternstring.h201 static DecimalFormatProperties parseToProperties(const UnicodeString& pattern,
204 …static DecimalFormatProperties parseToProperties(const UnicodeString& pattern, UErrorCode& status);
221 DecimalFormatProperties& properties,
226 DecimalFormatProperties& properties,
230 static void patternInfoToProperties(DecimalFormatProperties& properties,
270 static UnicodeString propertiesToPatternString(const DecimalFormatProperties& properties,
/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimfmtprops.cpp18 alignas(DecimalFormatProperties)
19 char kRawDefaultProperties[sizeof(DecimalFormatProperties)];
25 new(kRawDefaultProperties) DecimalFormatProperties(); // set to the default instance in initDefaultProperties()
31 DecimalFormatProperties::DecimalFormatProperties() { in DecimalFormatProperties() function in DecimalFormatProperties
35 void DecimalFormatProperties::clear() { in clear()
82 DecimalFormatProperties::_equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) co… in _equals()
142 bool DecimalFormatProperties::equalsDefaultExceptFastFormat() const { in equalsDefaultExceptFastFormat()
145 return _equals(*reinterpret_cast<DecimalFormatProperties*>(kRawDefaultProperties), true); in equalsDefaultExceptFastFormat()
148 const DecimalFormatProperties& DecimalFormatProperties::getDefault() { in getDefault()
151 return *reinterpret_cast<const DecimalFormatProperties*>(kRawDefaultProperties); in getDefault()
Dnumber_mapper.h37 void setTo(const DecimalFormatProperties& properties, UErrorCode& status);
90 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
130 inline AutoAffixPatternProvider(const DecimalFormatProperties& properties, UErrorCode& status) { in AutoAffixPatternProvider()
134 inline void setTo(const DecimalFormatProperties& properties, UErrorCode& status) { in setTo()
185 DecimalFormatFields(const DecimalFormatProperties& propsToCopy) in DecimalFormatFields()
189 DecimalFormatProperties properties;
210 DecimalFormatProperties exportedProperties;
230 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
235 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
238 DecimalFormatProperties& exportedProperties,
[all …]
Dnumber_decimfmtprops.h98 struct U_I18N_API DecimalFormatProperties : public UMemory { struct
146 DecimalFormatProperties(); argument
148 inline bool operator==(const DecimalFormatProperties& other) const {
163 static const DecimalFormatProperties& getDefault();
166 bool _equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) const;
Dnumber_patternstring.h209 static DecimalFormatProperties parseToProperties(const UnicodeString& pattern,
212 …static DecimalFormatProperties parseToProperties(const UnicodeString& pattern, UErrorCode& status);
229 DecimalFormatProperties& properties,
234 DecimalFormatProperties& properties,
238 static void patternInfoToProperties(DecimalFormatProperties& properties,
278 static UnicodeString propertiesToPatternString(const DecimalFormatProperties& properties,
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimfmtprops.cpp18 alignas(DecimalFormatProperties)
19 char kRawDefaultProperties[sizeof(DecimalFormatProperties)];
25 new(kRawDefaultProperties) DecimalFormatProperties(); // set to the default instance in initDefaultProperties()
31 DecimalFormatProperties::DecimalFormatProperties() { in DecimalFormatProperties() function in DecimalFormatProperties
35 void DecimalFormatProperties::clear() { in clear()
81 DecimalFormatProperties::_equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) co… in _equals()
140 bool DecimalFormatProperties::equalsDefaultExceptFastFormat() const { in equalsDefaultExceptFastFormat()
143 return _equals(*reinterpret_cast<DecimalFormatProperties*>(kRawDefaultProperties), true); in equalsDefaultExceptFastFormat()
146 const DecimalFormatProperties& DecimalFormatProperties::getDefault() { in getDefault()
149 return *reinterpret_cast<const DecimalFormatProperties*>(kRawDefaultProperties); in getDefault()
Dnumber_mapper.h37 void setTo(const DecimalFormatProperties& properties, UErrorCode& status);
87 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
125 inline AutoAffixPatternProvider(const DecimalFormatProperties& properties, UErrorCode& status) { in AutoAffixPatternProvider()
129 inline void setTo(const DecimalFormatProperties& properties, UErrorCode& status) { in setTo()
180 DecimalFormatFields(const DecimalFormatProperties& propsToCopy) in DecimalFormatFields()
184 DecimalFormatProperties properties;
205 DecimalFormatProperties exportedProperties;
225 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
230 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
233 DecimalFormatProperties& exportedProperties,
[all …]
Dnumber_decimfmtprops.h98 struct U_I18N_API DecimalFormatProperties : public UMemory { struct
145 DecimalFormatProperties(); argument
147 inline bool operator==(const DecimalFormatProperties& other) const {
162 static const DecimalFormatProperties& getDefault();
165 bool _equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) const;
Dnumber_patternstring.h201 static DecimalFormatProperties parseToProperties(const UnicodeString& pattern,
204 …static DecimalFormatProperties parseToProperties(const UnicodeString& pattern, UErrorCode& status);
221 DecimalFormatProperties& properties,
226 DecimalFormatProperties& properties,
230 static void patternInfoToProperties(DecimalFormatProperties& properties,
270 static UnicodeString propertiesToPatternString(const DecimalFormatProperties& properties,
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_mapper.h33 void setTo(const DecimalFormatProperties& properties, UErrorCode& status);
37 PropertiesAffixPatternProvider(const DecimalFormatProperties& properties, UErrorCode& status) { in PropertiesAffixPatternProvider()
83 void setTo(const CurrencyPluralInfo& cpi, const DecimalFormatProperties& properties,
129 LocalPointer<DecimalFormatProperties> properties;
150 LocalPointer<DecimalFormatProperties> exportedProperties;
170 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
175 static UnlocalizedNumberFormatter create(const DecimalFormatProperties& properties,
178 DecimalFormatProperties& exportedProperties,
195 static MacroProps oldToNew(const DecimalFormatProperties& properties,
197 DecimalFormatProperties* exportedProperties, UErrorCode& status);
Dnumber_decimfmtprops.cpp18 alignas(DecimalFormatProperties)
19 char kRawDefaultProperties[sizeof(DecimalFormatProperties)];
24 new(kRawDefaultProperties) DecimalFormatProperties(); // set to the default instance in initDefaultProperties()
30 DecimalFormatProperties::DecimalFormatProperties() { in DecimalFormatProperties() function in DecimalFormatProperties
34 void DecimalFormatProperties::clear() { in clear()
80 DecimalFormatProperties::_equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) co… in _equals()
139 bool DecimalFormatProperties::equalsDefaultExceptFastFormat() const { in equalsDefaultExceptFastFormat()
142 return _equals(*reinterpret_cast<DecimalFormatProperties*>(kRawDefaultProperties), true); in equalsDefaultExceptFastFormat()
Dnumber_patternstring.h189 static DecimalFormatProperties parseToProperties(const UnicodeString& pattern,
192 …static DecimalFormatProperties parseToProperties(const UnicodeString& pattern, UErrorCode& status);
209 DecimalFormatProperties& properties,
214 DecimalFormatProperties& properties,
218 static void patternInfoToProperties(DecimalFormatProperties& properties,
236 static UnicodeString propertiesToPatternString(const DecimalFormatProperties& properties,
Dnumber_decimfmtprops.h91 struct U_I18N_API DecimalFormatProperties : public UMemory { struct
138 DecimalFormatProperties(); argument
140 inline bool operator==(const DecimalFormatProperties& other) const {
153 bool _equals(const DecimalFormatProperties& other, bool ignoreForFastFormat) const;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDecimalFormat.java20 import ohos.global.icu.impl.number.DecimalFormatProperties;
21 import ohos.global.icu.impl.number.DecimalFormatProperties.ParseMode;
275 /* final */ transient DecimalFormatProperties properties;
294 transient volatile DecimalFormatProperties exportedProperties;
323 properties = new DecimalFormatProperties(); in DecimalFormat()
324 exportedProperties = new DecimalFormatProperties(); in DecimalFormat()
351 properties = new DecimalFormatProperties(); in DecimalFormat()
352 exportedProperties = new DecimalFormatProperties(); in DecimalFormat()
379 properties = new DecimalFormatProperties(); in DecimalFormat()
380 exportedProperties = new DecimalFormatProperties(); in DecimalFormat()
[all …]

12345