Home
last modified time | relevance | path

Searched refs:rules (Results 201 - 225 of 778) sorted by relevance

12345678910>>...32

/third_party/pulseaudio/src/modules/
H A Dmodule-match.c77 struct rule *rules; member
195 u->rules = rule; in load_rules()
224 for (r = u->rules; r; r = r->next) { in sink_input_fixate_hook_callback()
254 u->rules = NULL; in pa__init()
291 for (r = u->rules; r; r = n) { in pa__done()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Djunit-4.10.jar ... runners/ org/junit/internal/runners/model/ org/junit/internal/runners/rules/ org/junit/internal/runners/statements/ org/junit/matchers/ org/junit ...
/third_party/icu/icu4c/source/i18n/
H A Drbt.h32 * built from a set of rules as defined for
56 * Constructs a new transliterator from the given rules.
57 * @param rules rules, separated by ';'
59 * @exception IllegalArgumentException if rules are malformed.
63 const UnicodeString& rules,
70 * Constructs a new transliterator from the given rules.
71 * @param rules rules, separated by ';'
73 * @exception IllegalArgumentException if rules ar
[all...]
H A Dupluralrules.cpp32 * @param rules The plural rules.
41 UnicodeString select(const PluralRules &rules, const Formattable& obj, const NumberFormat& fmt, UErrorCode& status) { in select() argument
48 return rules.select(dq); in select()
53 return rules.select(number); in select()
H A Dcollationbuilder.cpp61 UnicodeString &rules,
70 UnicodeString &rules, in getRules()
72 CollationLoader::loadRules(localeID, collationType, rules, errorCode); in getRules()
81 // Most code using Collator does not need to build a Collator from rules.
95 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) in RuleBasedCollator() argument
103 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
118 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, in RuleBasedCollator() argument
128 internalBuildTailoring(rules, UCOL_DEFAUL in RuleBasedCollator()
68 getRules( const char *localeID, const char *collationType, UnicodeString &rules, const char *& , UErrorCode &errorCode) getRules() argument
131 RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, UColAttributeValue decompositionMode, UErrorCode &errorCode) RuleBasedCollator() argument
145 RuleBasedCollator(const UnicodeString &rules, UParseError &parseError, UnicodeString &reason, UErrorCode &errorCode) RuleBasedCollator() argument
159 internalBuildTailoring(const UnicodeString &rules, int32_t strength, UColAttributeValue decompositionMode, UParseError *outParseError, UnicodeString *outReason, UErrorCode &errorCode) internalBuildTailoring() argument
1644 ucol_openRules(const UChar *rules, int32_t rulesLength, UColAttributeValue normalizationMode, UCollationStrength strength, UParseError *parseError, UErrorCode *pErrorCode) ucol_openRules() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Drbt.h32 * built from a set of rules as defined for
56 * Constructs a new transliterator from the given rules.
57 * @param rules rules, separated by ';'
59 * @exception IllegalArgumentException if rules are malformed.
63 const UnicodeString& rules,
70 * Constructs a new transliterator from the given rules.
71 * @param rules rules, separated by ';'
73 * @exception IllegalArgumentException if rules ar
[all...]
H A Dupluralrules.cpp32 * @param rules The plural rules.
41 UnicodeString select(const PluralRules &rules, const Formattable& obj, const NumberFormat& fmt, UErrorCode& status) { in select() argument
48 return rules.select(dq); in select()
53 return rules.select(number); in select()
H A Dcollationbuilder.cpp61 UnicodeString &rules,
70 UnicodeString &rules, in getRules()
72 CollationLoader::loadRules(localeID, collationType, rules, errorCode); in getRules()
81 // Most code using Collator does not need to build a Collator from rules.
95 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) in RuleBasedCollator() argument
103 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, nullptr, nullptr, errorCode); in RuleBasedCollator()
106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, nullptr, nullptr, errorCode); in RuleBasedCollator()
118 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, in RuleBasedCollator() argument
128 internalBuildTailoring(rules, UCOL_DEFAUL in RuleBasedCollator()
68 getRules( const char *localeID, const char *collationType, UnicodeString &rules, const char *& , UErrorCode &errorCode) getRules() argument
131 RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, UColAttributeValue decompositionMode, UErrorCode &errorCode) RuleBasedCollator() argument
145 RuleBasedCollator(const UnicodeString &rules, UParseError &parseError, UnicodeString &reason, UErrorCode &errorCode) RuleBasedCollator() argument
159 internalBuildTailoring(const UnicodeString &rules, int32_t strength, UColAttributeValue decompositionMode, UParseError *outParseError, UnicodeString *outReason, UErrorCode &errorCode) internalBuildTailoring() argument
1665 ucol_openRules(const char16_t *rules, int32_t rulesLength, UColAttributeValue normalizationMode, UCollationStrength strength, UParseError *parseError, UErrorCode *pErrorCode) ucol_openRules() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dplurults.h62 UnicodeString getPluralKeyword(const LocalPointer<PluralRules> &rules,
64 void checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status,
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbt.h32 * built from a set of rules as defined for
56 * Constructs a new transliterator from the given rules.
57 * @param rules rules, separated by ';'
59 * @exception IllegalArgumentException if rules are malformed.
63 const UnicodeString& rules,
70 * Constructs a new transliterator from the given rules.
71 * @param rules rules, separated by ';'
73 * @exception IllegalArgumentException if rules ar
[all...]
H A Dupluralrules.cpp32 * @param rules The plural rules.
41 UnicodeString select(const PluralRules &rules, const Formattable& obj, const NumberFormat& fmt, UErrorCode& status) { in select() argument
48 return rules.select(dq); in select()
53 return rules.select(number); in select()
H A Dcollationbuilder.cpp61 UnicodeString &rules,
70 UnicodeString &rules, in getRules()
72 CollationLoader::loadRules(localeID, collationType, rules, errorCode); in getRules()
81 // Most code using Collator does not need to build a Collator from rules.
95 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) in RuleBasedCollator() argument
103 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
106 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, in RuleBasedCollator() argument
115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); in RuleBasedCollator()
118 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, in RuleBasedCollator() argument
128 internalBuildTailoring(rules, UCOL_DEFAUL in RuleBasedCollator()
68 getRules( const char *localeID, const char *collationType, UnicodeString &rules, const char *& , UErrorCode &errorCode) getRules() argument
131 RuleBasedCollator(const UnicodeString &rules, ECollationStrength strength, UColAttributeValue decompositionMode, UErrorCode &errorCode) RuleBasedCollator() argument
145 RuleBasedCollator(const UnicodeString &rules, UParseError &parseError, UnicodeString &reason, UErrorCode &errorCode) RuleBasedCollator() argument
159 internalBuildTailoring(const UnicodeString &rules, int32_t strength, UColAttributeValue decompositionMode, UParseError *outParseError, UnicodeString *outReason, UErrorCode &errorCode) internalBuildTailoring() argument
1638 ucol_openRules(const UChar *rules, int32_t rulesLength, UColAttributeValue normalizationMode, UCollationStrength strength, UParseError *parseError, UErrorCode *pErrorCode) ucol_openRules() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c16 u8 rules) in mlx5_create_hash_flow_group()
29 MLX5_SET(create_flow_group_in, in, end_flow_index, rules - 1); in mlx5_create_hash_flow_group()
86 lag_definer->rules[idx] = mlx5_add_flow_rules(lag_definer->ft, in mlx5_lag_create_port_sel_table()
89 if (IS_ERR(lag_definer->rules[idx])) { in mlx5_lag_create_port_sel_table()
90 err = PTR_ERR(lag_definer->rules[idx]); in mlx5_lag_create_port_sel_table()
93 mlx5_del_flow_rules(lag_definer->rules[idx]); in mlx5_lag_create_port_sel_table()
348 mlx5_del_flow_rules(lag_definer->rules[idx]); in mlx5_lag_destroy_definer()
582 err = mlx5_modify_rule_destination(def->rules[idx], &dest, NULL); in __mlx5_lag_modify_definers_destinations()
14 mlx5_create_hash_flow_group(struct mlx5_flow_table *ft, struct mlx5_flow_definer *definer, u8 rules) mlx5_create_hash_flow_group() argument
/third_party/gn/src/gn/
H A Dninja_target_writer.cc114 std::ostream rules(&storage); in RunAndWriteFile()
118 // types can have their rules coalesced. in RunAndWriteFile()
124 // To avoid writing lots of duplicate rules for defines and cflags, etc. on in RunAndWriteFile()
128 // Groups and actions don't use this type of flag, they make unique rules in RunAndWriteFile()
133 NinjaBundleDataTargetWriter writer(target, rules); in RunAndWriteFile()
138 NinjaCreateBundleTargetWriter writer(target, rules); in RunAndWriteFile()
143 NinjaCopyTargetWriter writer(target, rules); in RunAndWriteFile()
149 NinjaActionTargetWriter writer(target, rules); in RunAndWriteFile()
154 NinjaGroupTargetWriter writer(target, rules); in RunAndWriteFile()
159 NinjaGeneratedFileTargetWriter writer(target, rules); in RunAndWriteFile()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBITest.java15 // Much of the test data that was originally here was removed when the RBBI rules
356 fail("TestBug7547: RuleBasedBreakIterator constructor failed to throw an exception with empty rules."); in TestBug7547()
359 // expected exception with empty rules. in TestBug7547()
368 String rules = "!!chain; !!forward; $v=b c; a b; $v; !!reverse; .*;"; in TestBug12797()
369 RuleBasedBreakIterator bi = new RuleBasedBreakIterator(rules); in TestBug12797()
383 // The Line Break rules for Regional Indicators make use of look-ahead rules, and in TestBug12873()
559 // Check that stripping of comments from rules for getRules() is not confused by in TestBug12677()
560 // the presence of '#' characters in the rules that do not introduce comments. in TestBug12677()
561 String rules in TestBug12677()
[all...]
/third_party/icu/icu4c/source/samples/coll/
H A Dcoll.cpp21 "-rules rule Collation rules file (overrides locale)\n"
31 "Example coll -rules \\u0026b\\u003ca -source a -target b\n"
32 "The format \\uXXXX is supported for the rules and comparison strings\n"
73 {"-rules", OptSpec::STRING, &opt_rules},
166 UChar rules[100]; in processCollator() local
169 u_unescape(opt_rules, rules, 100); in processCollator()
170 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, in processCollator()
/third_party/skia/third_party/externals/icu/source/samples/coll/
H A Dcoll.cpp21 "-rules rule Collation rules file (overrides locale)\n"
31 "Example coll -rules \\u0026b\\u003ca -source a -target b\n"
32 "The format \\uXXXX is supported for the rules and comparison strings\n"
73 {"-rules", OptSpec::STRING, &opt_rules},
166 UChar rules[100]; in processCollator() local
169 u_unescape(opt_rules, rules, 100); in processCollator()
170 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, in processCollator()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcmsccoll.c478 const char *rules; in TestImplicitTailoring() member
496 genericRulesStarter(tests[i].rules, tests[i].data, tests[i].len); in TestImplicitTailoring()
705 UChar *rules = b; in TestUCARules() local
716 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, 256); in TestUCARules()
720 rules = (UChar *)malloc((ruleLen+1)*sizeof(UChar)); in TestUCARules()
721 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, ruleLen); in TestUCARules()
724 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestUCARules()
735 if(rules != b) { in TestUCARules()
736 free(rules); in TestUCARules()
890 log_verbose("Testing different case settings with custom rules\ in TestCase()
1228 const char *rules = TestHangulTailoring() local
2032 const char *rules; TestPrefix() member
2227 const char *rules; TestContractionClosure() member
2247 const char *rules; TestBeforePrefixFailure() member
2394 const char *rules; TestRuleOptions() member
2492 const char *rules; TestOptimize() member
2847 const char* rules[] = { TestEquals() local
3241 const static char rules[] = { TestBeforePinyin() local
3302 const char *rules; TestBeforeTightening() member
3575 const char* rules = "&Ny << Y &[first secondary ignorable] <<< a"; TestJ5367() local
4537 UChar rules[500]; TestBeforeRuleWithScriptReordering() local
4816 UChar rules[90]; TestReorderingAPIWithRuleCreatedCollator() local
5542 UChar rules[500]; TestImport() local
5649 UChar rules[500]; TestImportWithType() local
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dgrammar.py44 def __init__(self, rules: Iterable[Rule], metas: Iterable[Tuple[str, Optional[str]]]):
45 self.rules = {rule.name: rule for rule in rules}
49 return "\n".join(str(rule) for name, rule in self.rules.items())
54 for rule in self.rules.values():
62 yield from self.rules.values()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DVTimeZone.java30 * zone offset by the rules defined by the data.<br><br>
280 // Extract rules applicable to dates after the start time in write()
281 TimeZoneRule[] rules = tz.getTimeZoneRules(start); in write()
284 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in write()
285 for (int i = 1; i < rules.length; i++) { in write()
286 rbtz.addTransitionRule(rules[i]); in write()
302 * the VTIMEZONE data which can be handled these implementations. The rules
314 // Extract simple rules in writeSimple()
315 TimeZoneRule[] rules = tz.getSimpleTimeZoneRulesNear(time); in writeSimple()
318 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[ in writeSimple()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DVTimeZone.java31 * zone offset by the rules defined by the data.<br><br>
259 // Extract rules applicable to dates after the start time in write()
260 TimeZoneRule[] rules = tz.getTimeZoneRules(start); in write()
263 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in write()
264 for (int i = 1; i < rules.length; i++) { in write()
265 rbtz.addTransitionRule(rules[i]); in write()
281 * the VTIMEZONE data which can be handled these implementations. The rules
291 // Extract simple rules in writeSimple()
292 TimeZoneRule[] rules = tz.getSimpleTimeZoneRulesNear(time); in writeSimple()
295 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[ in writeSimple()
[all...]
/third_party/eudev/src/udev/
H A Dudevd.c57 static struct udev_rules *rules; variable
336 /* apply rules, create node, symlinks */ in worker_spawn()
340 rules, in worker_spawn()
416 udev_rules_unref(rules); in worker_spawn()
1238 rules = udev_rules_new(udev, arg_resolve_names); in main()
1239 if (!rules) { in main()
1240 r = log_error_errno(ENOMEM, "error reading rules"); in main()
1244 r = udev_rules_apply_static_dev_perms(rules); in main()
1305 /* watch rules.d paths for changes */ in main()
1308 inotify_add_watch(fd_inotify, UDEV_CONF_DIR "/rules in main()
[all...]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationAPITest.java500 doAssert(rcol.getRules().length() != 0, "da_DK rules does not have length 0"); in TestProperty()
577 // empty rules fail in TestRuleBasedColl()
579 errln("Failure: Empty rules for the collator should fail"); in TestRuleBasedColl()
584 logln("PASS: Empty rules for the collator failed as expected"); in TestRuleBasedColl()
659 String rules = coll.getRules(); in TestRules()
660 if (rules != null && rules.length() != 0) { in TestRules()
661 errln("Root tailored rules failed"); in TestRules()
705 String rules[] = { in TestGetTailoredSet()
719 for(i = 0; i < rules in TestGetTailoredSet()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DLongNameHandler.java487 * Loads and applies deriveComponent rules from CLDR's
562 * Loads and returns the value in rules that look like these:
594 // Returns the gender string for structures following these rules:
636 * compound unit's gender, according to the rules. This algorithm does a
639 * according to the rules, and then loading only the gender of the one
752 private final PluralRules rules; field in LongNameHandler
759 PluralRules rules, in LongNameHandler()
762 this.rules = rules; in LongNameHandler()
775 PluralRules rules, in forCurrencyLongNames()
757 LongNameHandler( Map<StandardPlural, SimpleModifier> modifiers, PluralRules rules, MicroPropsGenerator parent) LongNameHandler() argument
772 forCurrencyLongNames( ULocale locale, Currency currency, PluralRules rules, MicroPropsGenerator parent) forCurrencyLongNames() argument
801 forMeasureUnit( ULocale locale, MeasureUnit unit, UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) forMeasureUnit() argument
832 forArbitraryUnit(ULocale loc, MeasureUnit unit, UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) forArbitraryUnit() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
H A DSerializableTestUtility.java286 DateTimeRule[] rules = new DateTimeRule[4]; in getTestObjects()
289 rules[0] = new DateTimeRule(Calendar.OCTOBER, 10, 13*HOUR, DateTimeRule.UTC_TIME); in getTestObjects()
292 rules[1] = new DateTimeRule(Calendar.MARCH, 2, Calendar.SUNDAY, 2*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
295 rules[2] = new DateTimeRule(Calendar.MAY, 1, Calendar.MONDAY, true, 0*HOUR, DateTimeRule.STANDARD_TIME); in getTestObjects()
298 rules[3] = new DateTimeRule(Calendar.AUGUST, 31, Calendar.SATURDAY, false, 1*HOUR, DateTimeRule.WALL_TIME); in getTestObjects()
300 return rules; in getTestObjects()
364 TimeZoneRule[] rules = new TimeZoneRule[2]; in getTestObjects()
365 rules[0] = new InitialTimeZoneRule("EST", -5*HOUR, 0); in getTestObjects()
366 rules[1] = new InitialTimeZoneRule("PST", -8*HOUR, 0); in getTestObjects()
367 return rules; in getTestObjects()
[all...]

Completed in 22 milliseconds

12345678910>>...32