/third_party/node/deps/icu-small/source/i18n/ |
H A D | quantityformatter.h | 100 * @param rules computes the plural variant to use. 108 const PluralRules &rules, 114 * Selects the standard plural form for the number/formatter/rules. 120 const PluralRules &rules, 131 * @param rules The rules to use to select the plural form of the 141 const PluralRules& rules,
|
H A D | rbt.cpp | 32 void RuleBasedTransliterator::_construct(const UnicodeString& rules, in _construct() argument 43 parser.parse(rules, direction, parseError, status); in _construct() 60 * Constructs a new transliterator from the given rules. 62 * @param rules rules, separated by ';' 68 * @exception IllegalArgumentException if rules are malformed 73 const UnicodeString& rules, in RuleBasedTransliterator() 79 _construct(rules, direction,parseError,status); in RuleBasedTransliterator() 83 * Constructs a new transliterator from the given rules. 85 * @param rules rule 71 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) RuleBasedTransliterator() argument [all...] |
H A D | number_compact.h | 33 const PluralRules *rules, 67 const PluralRules *rules, 79 const PluralRules *rules; member in number::impl::CompactHandler
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | quantityformatter.h | 100 * @param rules computes the plural variant to use. 108 const PluralRules &rules, 114 * Selects the standard plural form for the number/formatter/rules. 120 const PluralRules &rules, 131 * @param rules The rules to use to select the plural form of the 141 const PluralRules& rules,
|
H A D | rbt.cpp | 32 void RuleBasedTransliterator::_construct(const UnicodeString& rules, in _construct() argument 43 parser.parse(rules, direction, parseError, status); in _construct() 60 * Constructs a new transliterator from the given rules. 62 * @param rules rules, separated by ';' 68 * @exception IllegalArgumentException if rules are malformed 73 const UnicodeString& rules, in RuleBasedTransliterator() 79 _construct(rules, direction,parseError,status); in RuleBasedTransliterator() 83 * Constructs a new transliterator from the given rules. 85 * @param rules rule 71 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) RuleBasedTransliterator() argument [all...] |
H A D | number_patternmodifier.cpp | 39 const PluralRules* rules, in setSymbols() 41 U_ASSERT((rules != nullptr) == needsPlurals()); in setSymbols() 45 fRules = rules; in setSymbols() 123 ImmutablePatternModifier::ImmutablePatternModifier(AdoptingModifierStore* pm, const PluralRules* rules) in ImmutablePatternModifier() argument 124 : pm(pm), rules(rules), parent(nullptr) {} in ImmutablePatternModifier() 138 if (rules == nullptr) { in applyToMicros() 141 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, rules, quantity, status); in applyToMicros() 147 if (rules == nullptr) { in getModifier() 36 setSymbols(const DecimalFormatSymbols* symbols, const CurrencyUnit& currency, const UNumberUnitWidth unitWidth, const PluralRules* rules, UErrorCode& status) setSymbols() argument
|
H A D | ucol.cpp | 550 const UnicodeString &rules = rbc->getRules(); in ucol_getRules() local 551 U_ASSERT(rules.getBuffer()[rules.length()] == 0); in ucol_getRules() 552 *length = rules.length(); in ucol_getRules() 553 return rules.getBuffer(); in ucol_getRules() 562 UnicodeString rules; in ucol_getRulesEx() local 565 rbc->getRules(delta, rules); in ucol_getRulesEx() 569 return rules.extract(buffer, bufferLen, errorCode); in ucol_getRulesEx() 571 return rules.length(); in ucol_getRulesEx()
|
H A D | number_compact.h | 33 const PluralRules *rules, 67 const PluralRules *rules, 79 const PluralRules *rules; member in number::impl::CompactHandler
|
/third_party/python/Lib/test/test_peg_generator/ |
H A D | test_grammar_validator.py | 22 for rule_name, rule in grammar.rules.items(): 35 for rule_name, rule in grammar.rules.items(): 50 for rule_name, rule in grammar.rules.items():
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | PluralRules.java | 43 * Defines rules for mapping non-negative numeric values onto a small set of keywords. 56 * For more information, details, and tips for writing rules, see the <a 68 * This defines two rules, for 'one' and 'few'. The condition for 'one' is "n is 1" which means that the number must be 96 * rules = rule (';' rule)* 186 private final RuleList rules; field in PluralRules 191 * Provides a factory for returning plural rules 211 * ICU defines plural rules for many locales based on CLDR <i>Language Plural Rules</i>. For these predefined 212 * rules, see CLDR page at 219 * @return The predefined <code>PluralRules</code> object for this locale. If there's no predefined rules for 220 * this locale, the rules fo 1927 private final List<Rule> rules = new ArrayList<>(); global() field in PluralRules.RuleList 2168 PluralRules(RuleList rules, StandardPluralRanges standardPluralRanges) PluralRules() argument [all...] |
H A D | StringPrepParseException.java | 95 * @param rules The input rules string 96 * @param pos The position of error in the rules string 99 public StringPrepParseException(String message,int error, String rules, int pos){ in StringPrepParseException() argument 102 setContext(rules,pos); in StringPrepParseException() 110 * @param rules The input rules string 111 * @param pos The position of error in the rules string 119 public StringPrepParseException(String message, int error, String rules, int pos, int lineNumber){ in StringPrepParseException() argument 122 setContext(rules,po in StringPrepParseException() [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | grammar_parser.py | 59 # grammar: metas rules | rules 64 (rules := self.rules()) 66 return Grammar ( rules , metas ) 69 (rules := self.rules()) 71 return Grammar ( rules , [] ) 131 def rules(self) -> Optional[RuleList]: member in GeneratedParser 132 # rules [all...] |
/third_party/eudev/src/udev/ |
H A D | udevadm-test.c | 51 _cleanup_udev_rules_unref_ struct udev_rules *rules = NULL; in adm_test() local 109 rules = udev_rules_new(udev, resolve_names); in adm_test() 110 if (rules == NULL) { in adm_test() 111 fprintf(stderr, "error reading rules\n"); in adm_test() 147 rules, in adm_test()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | StringPrepParseException.java | 82 * @param rules The input rules string 83 * @param pos The position of error in the rules string 85 public StringPrepParseException(String message,int error, String rules, int pos){ in StringPrepParseException() argument 88 setContext(rules,pos); in StringPrepParseException() 96 * @param rules The input rules string 97 * @param pos The position of error in the rules string 104 public StringPrepParseException(String message, int error, String rules, int pos, int lineNumber){ in StringPrepParseException() argument 107 setContext(rules,po in StringPrepParseException() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rbt.cpp | 32 void RuleBasedTransliterator::_construct(const UnicodeString& rules, in _construct() argument 43 parser.parse(rules, direction, parseError, status); in _construct() 60 * Constructs a new transliterator from the given rules. 62 * @param rules rules, separated by ';' 68 * @exception IllegalArgumentException if rules are malformed 73 const UnicodeString& rules, in RuleBasedTransliterator() 79 _construct(rules, direction,parseError,status); in RuleBasedTransliterator() 83 * Constructs a new transliterator from the given rules. 85 * @param rules rule 71 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) RuleBasedTransliterator() argument [all...] |
H A D | number_patternmodifier.cpp | 43 const PluralRules* rules, in setSymbols() 45 U_ASSERT((rules != nullptr) == needsPlurals()); in setSymbols() 49 fRules = rules; in setSymbols() 127 ImmutablePatternModifier::ImmutablePatternModifier(AdoptingModifierStore* pm, const PluralRules* rules) in ImmutablePatternModifier() argument 128 : pm(pm), rules(rules), parent(nullptr) {} in ImmutablePatternModifier() 142 if (rules == nullptr) { in applyToMicros() 145 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, rules, quantity, status); in applyToMicros() 151 if (rules == nullptr) { in getModifier() 40 setSymbols(const DecimalFormatSymbols* symbols, const CurrencyUnit& currency, const UNumberUnitWidth unitWidth, const PluralRules* rules, UErrorCode& status) setSymbols() argument
|
H A D | number_compact.h | 33 const PluralRules *rules, 67 const PluralRules *rules, 79 const PluralRules *rules; member in number::impl::CompactHandler
|
/third_party/skia/buildtools/checkdeps/ |
H A D | results.py | 15 def __init__(self, include_path, violated_rule, rules): 22 # The set of rules containing self.violated_rule. 23 self.rules = rules 43 """Returns True if this dependee is violating one or more rules.""" 88 lines.append(' For %s' % violation.rules) 142 DEPS file as a list of temporary-allow rules. 162 statements that are in violation of the dependency rules.
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | LocaleDistanceMapper.java | 185 // If there are rules that do not fit these constraints, we need to revise the implementation. in LsrSpec() 243 // If there are rules that do not fit these constraints, we need to revise the implementation. in LanguageMatchRule() 340 // Parse the rules from <languageMatch> elements. Note that the <languageMatch> in buildDistanceData() 349 // We could almost process the rules while reading them from the source data, but in buildDistanceData() 350 // rules may contain region codes rather than variables, and we need to create a in buildDistanceData() 352 // before processing the rules (this happens when the LsrSpec is parsed). in buildDistanceData() 353 List<LanguageMatchRule> rules = new ArrayList<>(); in buildDistanceData() 364 rules.add(rule); in buildDistanceData() 367 // Check that the rules are in the expected order. Rule order is important in ensuring in buildDistanceData() 370 for (int n = 0, prevSize = 1; n < rules in buildDistanceData() [all...] |
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | netfirewall_rule_native_helper_test.cpp | 54 std::vector<sptr<NetFirewallBaseRule>> rules; in HWTEST_F() local 73 rules.emplace_back(rule); in HWTEST_F() 76 NetFirewallRuleNativeHelper::GetInstance().SetFirewallRulesInner(NetFirewallRuleType::RULE_IP, rules, true); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_rule_native_helper_test.cpp | 57 std::vector<sptr<NetFirewallBaseRule>> rules;
in HWTEST_F() local 76 rules.emplace_back(rule);
in HWTEST_F() 79 NetFirewallRuleNativeHelper::GetInstance().SetFirewallRulesInner(NetFirewallRuleType::RULE_IP, rules, true);
in HWTEST_F()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | LongNameMultiplexer.java | 49 PluralRules rules, in forMeasureUnits() 64 .forMeasureUnit(locale, unit, width, unitDisplayCase, rules, null); in forMeasureUnits() 67 LongNameHandler lnh = LongNameHandler.forMeasureUnit(locale, unit, width, unitDisplayCase, rules, null); in forMeasureUnits() 45 forMeasureUnits(ULocale locale, List<MeasureUnit> units, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) forMeasureUnits() argument
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | itrbnfp.cpp | 60 // these rules make no sense but behave rationally in TestParse() 104 // these rules would throw exceptions when formatting, if we could throw exceptions in TestParse() 113 // none of these rules should crash the formatter in TestParse() 121 const char** rules = allrules[j]; in TestParse() local 122 for (int i = 0; rules[i]; ++i) { in TestParse() 123 const char* rule = rules[i]; in TestParse()
|
/third_party/node/tools/ |
H A D | mkssldef.py | 36 def satisfy(expr, rules): 38 if expr.startswith('!'): return not expr[1:] in rules 39 return expr == '' or expr in rules
|
/third_party/skia/docs/examples/ |
H A D | l_system_plant.cpp | 13 rules_t rules[6] = { in REG_FIDDLE_ANIMATED() local 27 if (rules[i].c == s[0]) { in REG_FIDDLE_ANIMATED() 28 return rules[i].s + E(s.substr(1)); in REG_FIDDLE_ANIMATED()
|