/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | NumberParserImpl.java | 40 …public static NumberParserImpl createSimpleParser(ULocale locale, String pattern, int parseFlags) { in createSimpleParser() argument 42 NumberParserImpl parser = new NumberParserImpl(parseFlags); in createSimpleParser() 52 factory.parseFlags = parseFlags; in createSimpleParser() 55 AffixMatcher.createMatchers(patternInfo, parser, factory, ignorables, parseFlags); in createSimpleParser() 60 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser() 65 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser() 69 parser.addMatcher(CombinedCurrencyMatcher.getInstance(currency, symbols, parseFlags)); in createSimpleParser() 150 int parseFlags = 0; in createParserFromProperties() local 152 parseFlags |= ParsingUtils.PARSE_FLAG_IGNORE_CASE; in createParserFromProperties() 155 parseFlags |= ParsingUtils.PARSE_FLAG_INTEGER_ONLY; in createParserFromProperties() [all …]
|
D | AffixMatcher.java | 50 int parseFlags) { in isInteresting() argument 60 if (0 == (parseFlags & ParsingUtils.PARSE_FLAG_USE_FULL_AFFIXES) in isInteresting() 83 int parseFlags) { in createMatchers() argument 84 if (!isInteresting(patternInfo, ignorables, parseFlags)) { in createMatchers() 92 … boolean includeUnpaired = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INCLUDE_UNPAIRED_AFFIXES); in createMatchers() 93 SignDisplay signDisplay = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_PLUS_SIGN_ALLOWED)) in createMatchers() 111 .fromAffixPattern(sb.toString(), factory, parseFlags); in createMatchers() 122 .fromAffixPattern(sb.toString(), factory, parseFlags); in createMatchers()
|
D | DecimalMatcher.java | 50 int parseFlags) { in getInstance() argument 52 return new DecimalMatcher(symbols, grouper, parseFlags); in getInstance() 55 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher() argument 56 if (0 != (parseFlags & ParsingUtils.PARSE_FLAG_MONETARY_SEPARATORS)) { in DecimalMatcher() 63 boolean strictSeparators = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_STRICT_SEPARATORS); in DecimalMatcher() 97 requireGroupingMatch = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_STRICT_GROUPING_SIZE); in DecimalMatcher() 98 groupingDisabled = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_GROUPING_DISABLED); in DecimalMatcher() 99 integerOnly = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INTEGER_ONLY); in DecimalMatcher()
|
D | ParsedNumber.java | 138 public Number getNumber(int parseFlags) { in getNumber() argument 141 boolean forceBigDecimal = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_FORCE_BIG_DECIMAL); in getNumber() 142 boolean integerOnly = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INTEGER_ONLY); in getNumber()
|
D | CombinedCurrencyMatcher.java | 42 … CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in getInstance() argument 44 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance() 47 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument 57 if (0 == (parseFlags & ParsingUtils.PARSE_FLAG_NO_FOREIGN_CURRENCIES)) { in CombinedCurrencyMatcher()
|
D | AffixTokenMatcherFactory.java | 19 public int parseFlags; field in AffixTokenMatcherFactory 38 return CombinedCurrencyMatcher.getInstance(currency, symbols, parseFlags); in currency()
|
D | AffixPatternMatcher.java | 33 int parseFlags) { in fromAffixPattern() argument 40 series.ignorables = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_EXACT_AFFIX)) ? null in fromAffixPattern()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | NumberParserImpl.java | 42 …public static NumberParserImpl createSimpleParser(ULocale locale, String pattern, int parseFlags) { in createSimpleParser() argument 44 NumberParserImpl parser = new NumberParserImpl(parseFlags); in createSimpleParser() 54 factory.parseFlags = parseFlags; in createSimpleParser() 57 AffixMatcher.createMatchers(patternInfo, parser, factory, ignorables, parseFlags); in createSimpleParser() 62 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser() 67 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser() 71 parser.addMatcher(CombinedCurrencyMatcher.getInstance(currency, symbols, parseFlags)); in createSimpleParser() 152 int parseFlags = 0; in createParserFromProperties() local 154 parseFlags |= ParsingUtils.PARSE_FLAG_IGNORE_CASE; in createParserFromProperties() 157 parseFlags |= ParsingUtils.PARSE_FLAG_INTEGER_ONLY; in createParserFromProperties() [all …]
|
D | AffixMatcher.java | 52 int parseFlags) { in isInteresting() argument 62 if (0 == (parseFlags & ParsingUtils.PARSE_FLAG_USE_FULL_AFFIXES) in isInteresting() 85 int parseFlags) { in createMatchers() argument 86 if (!isInteresting(patternInfo, ignorables, parseFlags)) { in createMatchers() 94 … boolean includeUnpaired = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INCLUDE_UNPAIRED_AFFIXES); in createMatchers() 95 SignDisplay signDisplay = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_PLUS_SIGN_ALLOWED)) in createMatchers() 113 .fromAffixPattern(sb.toString(), factory, parseFlags); in createMatchers() 124 .fromAffixPattern(sb.toString(), factory, parseFlags); in createMatchers()
|
D | DecimalMatcher.java | 52 int parseFlags) { in getInstance() argument 54 return new DecimalMatcher(symbols, grouper, parseFlags); in getInstance() 57 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher() argument 58 if (0 != (parseFlags & ParsingUtils.PARSE_FLAG_MONETARY_SEPARATORS)) { in DecimalMatcher() 65 boolean strictSeparators = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_STRICT_SEPARATORS); in DecimalMatcher() 99 requireGroupingMatch = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_STRICT_GROUPING_SIZE); in DecimalMatcher() 100 groupingDisabled = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_GROUPING_DISABLED); in DecimalMatcher() 101 integerOnly = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INTEGER_ONLY); in DecimalMatcher()
|
D | ParsedNumber.java | 140 public Number getNumber(int parseFlags) { in getNumber() argument 143 boolean forceBigDecimal = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_FORCE_BIG_DECIMAL); in getNumber() 144 boolean integerOnly = 0 != (parseFlags & ParsingUtils.PARSE_FLAG_INTEGER_ONLY); in getNumber()
|
D | CombinedCurrencyMatcher.java | 44 … CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in getInstance() argument 46 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance() 49 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument 59 if (0 == (parseFlags & ParsingUtils.PARSE_FLAG_NO_FOREIGN_CURRENCIES)) { in CombinedCurrencyMatcher()
|
D | AffixTokenMatcherFactory.java | 21 public int parseFlags; field in AffixTokenMatcherFactory 40 return CombinedCurrencyMatcher.getInstance(currency, symbols, parseFlags); in currency()
|
D | AffixPatternMatcher.java | 35 int parseFlags) { in fromAffixPattern() argument 42 series.ignorables = (0 != (parseFlags & ParsingUtils.PARSE_FLAG_EXACT_AFFIX)) ? null in fromAffixPattern()
|
/external/icu/icu4c/source/i18n/ |
D | numparse_impl.cpp | 37 parse_flags_t parseFlags, UErrorCode& status) { in createSimpleParser() argument 39 LocalPointer<NumberParserImpl> parser(new NumberParserImpl(parseFlags)); in createSimpleParser() 55 currencySymbols, symbols, ignorables, locale, parseFlags}; in createSimpleParser() 59 patternInfo, *parser, ignorables, parseFlags, status); in createSimpleParser() 65 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createSimpleParser() 74 …parser->addMatcher(parser->fLocalMatchers.currency = {currencySymbols, symbols, parseFlags, status… in createSimpleParser() 101 int parseFlags = 0; in createParserFromProperties() local 104 parseFlags |= PARSE_FLAG_IGNORE_CASE; in createParserFromProperties() 107 parseFlags |= PARSE_FLAG_INTEGER_ONLY; in createParserFromProperties() 110 parseFlags |= PARSE_FLAG_PLUS_SIGN_ALLOWED; in createParserFromProperties() [all …]
|
D | numparse_affixes.cpp | 193 … return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, fSetupData->parseFlags, status}; in currency() 227 parse_flags_t parseFlags, bool* success, in fromAffixPattern() argument 236 if (0 != (parseFlags & PARSE_FLAG_EXACT_AFFIX)) { in fromAffixPattern() 265 … const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, in isInteresting() argument 276 if (0 == (parseFlags & PARSE_FLAG_USE_FULL_AFFIXES) && in isInteresting() 297 parse_flags_t parseFlags, UErrorCode& status) { in createAffixMatchers() argument 298 if (!isInteresting(patternInfo, ignorables, parseFlags, status)) { in createAffixMatchers() 305 bool includeUnpaired = 0 != (parseFlags & PARSE_FLAG_INCLUDE_UNPAIRED_AFFIXES); in createAffixMatchers() 306 …UNumberSignDisplay signDisplay = (0 != (parseFlags & PARSE_FLAG_PLUS_SIGN_ALLOWED)) ? UNUM_SIGN_AL… in createAffixMatchers() 322 sb, *fTokenWarehouse, parseFlags, &hasPrefix, status); in createAffixMatchers() [all …]
|
D | numparse_decimal.cpp | 26 parse_flags_t parseFlags) { in DecimalMatcher() argument 27 if (0 != (parseFlags & PARSE_FLAG_MONETARY_SEPARATORS)) { in DecimalMatcher() 34 bool strictSeparators = 0 != (parseFlags & PARSE_FLAG_STRICT_SEPARATORS); in DecimalMatcher() 83 requireGroupingMatch = 0 != (parseFlags & PARSE_FLAG_STRICT_GROUPING_SIZE); in DecimalMatcher() 84 groupingDisabled = 0 != (parseFlags & PARSE_FLAG_GROUPING_DISABLED); in DecimalMatcher() 85 integerOnly = 0 != (parseFlags & PARSE_FLAG_INTEGER_ONLY); in DecimalMatcher()
|
D | numparse_affixes.h | 99 parse_flags_t parseFlags; member 183 parse_flags_t parseFlags, bool* success, 232 const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, 246 parse_flags_t parseFlags, UErrorCode& status);
|
D | numparse_parsednumber.cpp | 84 void ParsedNumber::populateFormattable(Formattable& output, parse_flags_t parseFlags) const { in populateFormattable() 87 bool integerOnly = 0 != (parseFlags & PARSE_FLAG_INTEGER_ONLY); in populateFormattable()
|
D | numparse_impl.h | 40 parse_flags_t parseFlags, UErrorCode& status); 96 explicit NumberParserImpl(parse_flags_t parseFlags);
|
D | numparse_currency.cpp | 24 parse_flags_t parseFlags, UErrorCode& status) in CombinedCurrencyMatcher() argument 27 fUseFullCurrencyData(0 == (parseFlags & PARSE_FLAG_NO_FOREIGN_CURRENCY)), in CombinedCurrencyMatcher()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberParserTest.java | 134 int parseFlags = ParsingUtils.PARSE_FLAG_IGNORE_CASE in testBasic() local 143 .createSimpleParser(ULocale.ENGLISH, patternString, parseFlags); in testBasic() 178 parseFlags | ParsingUtils.PARSE_FLAG_STRICT_GROUPING_SIZE); in testBasic() 261 factory.parseFlags = 0; in testCombinedCurrencyMatcher() 263 factory.parseFlags = ParsingUtils.PARSE_FLAG_NO_FOREIGN_CURRENCIES; in testCombinedCurrencyMatcher() 313 factory.parseFlags = 0; in testAffixPatternMatcher() 328 int parseFlags = exactMatch ? ParsingUtils.PARSE_FLAG_EXACT_AFFIX : 0; in testAffixPatternMatcher() local 331 .fromAffixPattern(affixPattern, factory, parseFlags); in testAffixPatternMatcher()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberParserTest.java | 131 int parseFlags = ParsingUtils.PARSE_FLAG_IGNORE_CASE in testBasic() local 140 .createSimpleParser(ULocale.ENGLISH, patternString, parseFlags); in testBasic() 175 parseFlags | ParsingUtils.PARSE_FLAG_STRICT_GROUPING_SIZE); in testBasic() 258 factory.parseFlags = 0; in testCombinedCurrencyMatcher() 260 factory.parseFlags = ParsingUtils.PARSE_FLAG_NO_FOREIGN_CURRENCIES; in testCombinedCurrencyMatcher() 310 factory.parseFlags = 0; in testAffixPatternMatcher() 325 int parseFlags = exactMatch ? ParsingUtils.PARSE_FLAG_EXACT_AFFIX : 0; in testAffixPatternMatcher() local 328 .fromAffixPattern(affixPattern, factory, parseFlags); in testAffixPatternMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_parse.cpp | 124 parse_flags_t parseFlags = PARSE_FLAG_IGNORE_CASE | PARSE_FLAG_INCLUDE_UNPAIRED_AFFIXES; in testBasic() local 130 Locale("en"), patternString, parseFlags, status)); in testBasic() 169 parseFlags | PARSE_FLAG_STRICT_GROUPING_SIZE, in testBasic() 256 affixSetupData.parseFlags = PARSE_FLAG_NO_FOREIGN_CURRENCY; in testCombinedCurrencyMatcher() 334 int parseFlags = cas.exactMatch ? PARSE_FLAG_EXACT_AFFIX : 0; in testAffixPatternMatcher() local 338 affixPattern, warehouse, parseFlags, &success, status); in testAffixPatternMatcher()
|
/external/libxml2/ |
D | xinclude.c | 85 int parseFlags; /* the flags used for parsing XML documents */ member 450 xmlCtxtUseOptions(pctxt, ctxt->parseFlags | XML_PARSE_DTDLOAD); in xmlXIncludeParseFile() 727 newctxt->parseFlags = ctxt->parseFlags; in xmlXIncludeRecurseDoc() 1488 saveFlags = ctxt->parseFlags; in xmlXIncludeLoadDoc() 1490 ctxt->parseFlags |= XML_PARSE_NOENT; in xmlXIncludeLoadDoc() 1496 ctxt->parseFlags = saveFlags; in xmlXIncludeLoadDoc() 1694 (!(ctxt->parseFlags & XML_PARSE_NOBASEFIX)) && in xmlXIncludeLoadDoc() 1695 (!(doc->parseFlags & XML_PARSE_NOBASEFIX))) { in xmlXIncludeLoadDoc() 1980 xmlXIncludeSetFlags(newctxt, ctxt->parseFlags); in xmlXIncludeLoadFallback() 2233 if (ctxt->parseFlags & XML_PARSE_NOXINCNODE) { in xmlXIncludeIncludeNode() [all …]
|