Home
last modified time | relevance | path

Searched refs:ParseMode (Results 1 – 23 of 23) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java16 import android.icu.impl.number.DecimalFormatProperties.ParseMode;
144 ParseMode parseMode = properties.getParseMode(); in createParserFromProperties()
146 parseMode = ParseMode.LENIENT; in createParserFromProperties()
162 if (parseMode == ParseMode.JAVA_COMPATIBILITY) { in createParserFromProperties()
167 } else if (parseMode == ParseMode.STRICT) { in createParserFromProperties()
217 … if (parseMode == ParseMode.LENIENT && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { in createParserFromProperties()
220 …if (parseMode == ParseMode.LENIENT && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) { in createParserFromProperties()
228 if (parseMode == ParseMode.LENIENT) { in createParserFromProperties()
250 if (parseMode != ParseMode.LENIENT) { in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java15 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
142 ParseMode parseMode = properties.getParseMode(); in createParserFromProperties()
144 parseMode = ParseMode.LENIENT; in createParserFromProperties()
160 if (parseMode == ParseMode.JAVA_COMPATIBILITY) { in createParserFromProperties()
165 } else if (parseMode == ParseMode.STRICT) { in createParserFromProperties()
215 … if (parseMode == ParseMode.LENIENT && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { in createParserFromProperties()
218 …if (parseMode == ParseMode.LENIENT && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) { in createParserFromProperties()
226 if (parseMode == ParseMode.LENIENT) { in createParserFromProperties()
248 if (parseMode != ParseMode.LENIENT) { in createParserFromProperties()
/external/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.h64 enum ParseMode { enum
131 NullableValue<ParseMode> parseMode;
Ddecimfmt.cpp395 ParseMode mode = enable ? PARSE_MODE_LENIENT : PARSE_MODE_STRICT; in setLenient()
/external/icu/libicu/cts_headers/
Dnumber_decimfmtprops.h64 enum ParseMode { enum
131 NullableValue<ParseMode> parseMode;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatJavaCompatilityTest.java17 import android.icu.impl.number.DecimalFormatProperties.ParseMode;
98 df.setParseStrictMode(ParseMode.JAVA_COMPATIBILITY); in assertParsedICU4J()
DNumberFormatDataDrivenTest.java14 import android.icu.impl.number.DecimalFormatProperties.ParseMode;
562 properties.setParseMode(tuple.lenient == 0 ? ParseMode.STRICT : ParseMode.LENIENT); in propertiesFromTuple()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatJavaCompatilityTest.java16 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
95 df.setParseStrictMode(ParseMode.JAVA_COMPATIBILITY); in assertParsedICU4J()
DNumberFormatDataDrivenTest.java13 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
559 properties.setParseMode(tuple.lenient == 0 ? ParseMode.STRICT : ParseMode.LENIENT); in propertiesFromTuple()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java34 import android.icu.impl.number.DecimalFormatProperties.ParseMode;
296 } else if (type == ParseMode.class) { in getSampleValueForType()
299 ParseMode[] values = ParseMode.values(); in getSampleValueForType()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java33 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
293 } else if (type == ParseMode.class) { in getSampleValueForType()
296 ParseMode[] values = ParseMode.values(); in getSampleValueForType()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/
DCompatibleDecimalFormatFactory.java49 df.setParseStrictMode(DecimalFormatProperties.ParseMode.JAVA_COMPATIBILITY); in create()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java21 import android.icu.impl.number.DecimalFormatProperties.ParseMode;
2060 return properties.getParseMode() == ParseMode.STRICT; in isParseStrict()
2068 ParseMode mode = parseStrict ? ParseMode.STRICT : ParseMode.LENIENT; in setParseStrict()
2079 setParseStrictMode(parseJavaCompatible ? ParseMode.JAVA_COMPATIBILITY : ParseMode.LENIENT); in setParseJavaCompatible()
2089 public synchronized void setParseStrictMode(ParseMode parseMode) { in setParseStrictMode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java20 import com.ibm.icu.impl.number.DecimalFormatProperties.ParseMode;
2234 return properties.getParseMode() == ParseMode.STRICT; in isParseStrict()
2245 ParseMode mode = parseStrict ? ParseMode.STRICT : ParseMode.LENIENT; in setParseStrict()
2256 setParseStrictMode(parseJavaCompatible ? ParseMode.JAVA_COMPATIBILITY : ParseMode.LENIENT); in setParseJavaCompatible()
2266 public synchronized void setParseStrictMode(ParseMode parseMode) { in setParseStrictMode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java33 public static enum ParseMode { enum in DecimalFormatProperties
117 private transient ParseMode parseMode;
534 public ParseMode getParseMode() { in getParseMode()
1157 public DecimalFormatProperties setParseMode(ParseMode parseMode) { in setParseMode()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalFormatProperties.java38 public static enum ParseMode { enum in DecimalFormatProperties
122 private transient ParseMode parseMode;
539 public ParseMode getParseMode() { in getParseMode()
1162 public DecimalFormatProperties setParseMode(ParseMode parseMode) { in setParseMode()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dtester.cc144 struct ParseMode { struct
154 static ParseMode parse_modes[] = {
/external/rust/crates/grpcio-sys/grpc/third_party/re2/
Ducs2.diff359 static ParseMode parse_modes[] = {
/external/icu/icu4j/
Dcoverage-exclusion.txt451 com/ibm/icu/impl/number/Parse$ParseMode#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/number/Parse$
/external/icu/icu4j/tools/build/
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j65.api3.gz
Dicu4j68.api3.gz
Dicu4j66.api3.gz