Home
last modified time | relevance | path

Searched refs:rules (Results 176 - 200 of 778) sorted by relevance

12345678910>>...32

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DMeasureFormat.java125 private final transient PluralRules rules; field in MeasureFormat
570 this.rules, in withNumberFormat()
582 PluralRules rules, in MeasureFormat()
588 if (rules == null) { in MeasureFormat()
589 rules = PluralRules.forLocale(locale); in MeasureFormat()
591 this.rules = rules; in MeasureFormat()
620 PluralRules rules) { in MeasureFormat()
621 this(locale, formatWidth, numberFormat, rules, null); in MeasureFormat()
578 MeasureFormat( ULocale locale, FormatWidth formatWidth, NumberFormat numberFormat, PluralRules rules, NumericFormatters formatters) MeasureFormat() argument
616 MeasureFormat( ULocale locale, FormatWidth formatWidth, NumberFormat numberFormat, PluralRules rules) MeasureFormat() argument
H A DQuantityFormatter.java92 * Selects the standard plural form for the number/formatter/rules.
94 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) { in selectPlural() argument
97 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number)); in selectPlural()
99 pluralKeyword = rules.select(number); in selectPlural()
/third_party/icu/icu4c/source/i18n/
H A Ducol.cpp556 const UnicodeString &rules = rbc->getRules(); in ucol_getRules() local
557 U_ASSERT(rules.getBuffer()[rules.length()] == 0); in ucol_getRules()
558 *length = rules.length(); in ucol_getRules()
559 return rules.getBuffer(); in ucol_getRules()
568 UnicodeString rules; in ucol_getRulesEx() local
571 rbc->getRules(delta, rules); in ucol_getRulesEx()
575 return rules.extract(buffer, bufferLen, errorCode); in ucol_getRulesEx()
577 return rules.length(); in ucol_getRulesEx()
H A Dnumber_patternmodifier.h57 ImmutablePatternModifier(AdoptingModifierStore* pm, const PluralRules* rules);
60 const PluralRules* rules; member in number::impl::ImmutablePatternModifier
133 * @param rules
140 UNumberUnitWidth unitWidth, const PluralRules* rules, UErrorCode& status);
/third_party/node/deps/icu-small/source/i18n/
H A Ducol.cpp556 const UnicodeString &rules = rbc->getRules(); in ucol_getRules() local
557 U_ASSERT(rules.getBuffer()[rules.length()] == 0); in ucol_getRules()
558 *length = rules.length(); in ucol_getRules()
559 return rules.getBuffer(); in ucol_getRules()
568 UnicodeString rules; in ucol_getRulesEx() local
571 rbc->getRules(delta, rules); in ucol_getRulesEx()
575 return rules.extract(buffer, bufferLen, errorCode); in ucol_getRulesEx()
577 return rules.length(); in ucol_getRulesEx()
H A Dnumber_patternmodifier.h57 ImmutablePatternModifier(AdoptingModifierStore* pm, const PluralRules* rules);
60 const PluralRules* rules; member in number::impl::ImmutablePatternModifier
133 * @param rules
140 UNumberUnitWidth unitWidth, const PluralRules* rules, UErrorCode& status);
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dcrush.c121 /* rules */ in crush_destroy()
122 if (map->rules) { in crush_destroy()
125 crush_destroy_rule(map->rules[b]); in crush_destroy()
126 kfree(map->rules); in crush_destroy()
/kernel/linux/linux-6.6/net/ceph/crush/
H A Dcrush.c121 /* rules */ in crush_destroy()
122 if (map->rules) { in crush_destroy()
125 crush_destroy_rule(map->rules[b]); in crush_destroy()
126 kfree(map->rules); in crush_destroy()
/third_party/eudev/test/
H A Dtest-udev.c58 { "test/run", "/etc/udev/rules.d", "failed to mount empty /etc/udev/rules.d" }, in fake_filesystems()
59 { "test/run", "/lib/udev/rules.d", "failed to mount empty /lib/udev/rules.d" }, in fake_filesystems()
93 _cleanup_udev_rules_unref_ struct udev_rules *rules = NULL; in main() local
125 rules = udev_rules_new(udev, 1); in main()
165 rules, in main()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DRoundingUtils.java227 * Computes the plural form after copying the number and applying rounding rules.
230 Precision rounder, PluralRules rules, DecimalQuantity dq) { in getPluralSafe()
232 return dq.getStandardPlural(rules); in getPluralSafe()
237 return copy.getStandardPlural(rules); in getPluralSafe()
229 getPluralSafe( Precision rounder, PluralRules rules, DecimalQuantity dq) getPluralSafe() argument
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DQuantityFormatter.java91 * Selects the standard plural form for the number/formatter/rules.
93 public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) { in selectPlural() argument
96 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number)); in selectPlural()
98 pluralKeyword = rules.select(number); in selectPlural()
/third_party/icu/icu4c/source/test/intltest/
H A Derarulestest.cpp56 errln(UnicodeString("Era rules for ") + calId + " is not available."); in testAPIs()
62 errln(UnicodeString("Era rules for ") + calId + " (including tentative eras) is not available."); in testAPIs()
68 errln(UnicodeString("Number of era rules for ") + calId + " is " + numEras1); in testAPIs()
110 LocalPointer<EraRules> rules(EraRules::createInstance("japanese", true, status)); in testJapanese()
112 errln("Failed to get era rules for Japanese calendar."); in testJapanese()
116 int32_t numRules = rules->getNumberOfEras(); in testJapanese()
121 int postHeiseiStartYear = rules->getStartYear(HEISEI + 1, status); in testJapanese()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DEraRulesTest.java31 errln("Era rules for " + calId + " is not available."); in testAPIs()
36 errln("Era rules for " + calId + " (including tentative eras) is not available."); in testAPIs()
40 errln("Number of era rules for " + calId + " is " + numEras1); in testAPIs()
66 EraRules rules = EraRules.getInstance(CalType.JAPANESE, true); in testJapanese()
68 int numRules = rules.getNumberOfEras(); in testJapanese()
72 int postHeiseiStartYear = rules.getStartYear(JapaneseCalendar.HEISEI + 1); in testJapanese()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DRoundingUtils.java229 * Computes the plural form after copying the number and applying rounding rules.
232 Precision rounder, PluralRules rules, DecimalQuantity dq) { in getPluralSafe()
234 return dq.getStandardPlural(rules); in getPluralSafe()
239 return copy.getStandardPlural(rules); in getPluralSafe()
231 getPluralSafe( Precision rounder, PluralRules rules, DecimalQuantity dq) getPluralSafe() argument
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DEraRulesTest.java34 errln("Era rules for " + calId + " is not available."); in testAPIs()
39 errln("Era rules for " + calId + " (including tentative eras) is not available."); in testAPIs()
43 errln("Number of era rules for " + calId + " is " + numEras1); in testAPIs()
69 EraRules rules = EraRules.getInstance(CalType.JAPANESE, true); in testJapanese()
71 int numRules = rules.getNumberOfEras(); in testJapanese()
75 int postHeiseiStartYear = rules.getStartYear(JapaneseCalendar.HEISEI + 1); in testJapanese()
/third_party/node/lib/internal/
H A Dblocklist.js56 rules: this.rules,
133 get rules() {
/third_party/musl/porting/linux/user/src/ctype/
H A Dtowctrans.c9 static const int rules[]; variable
33 * a block-specific set of rules and decode the rule into in casemap()
35 r = rules[rulebases[b]+v]; in casemap()
39 /* rules 0/1 are simple lower/upper case with a delta. in casemap()
50 r = rules[exceptions[xb+xn/2][1]]; in casemap()
/third_party/musl/src/ctype/
H A Dtowctrans.c11 static const int rules[]; variable
35 * a block-specific set of rules and decode the rule into in casemap()
37 r = rules[rulebases[b]+v]; in casemap()
41 /* rules 0/1 are simple lower/upper case with a delta. in casemap()
52 r = rules[exceptions[xb+xn/2][1]]; in casemap()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_patternmodifier.h57 ImmutablePatternModifier(AdoptingModifierStore* pm, const PluralRules* rules);
60 const PluralRules* rules; member in number::impl::ImmutablePatternModifier
131 * @param rules
138 UNumberUnitWidth unitWidth, const PluralRules* rules, UErrorCode& status);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dgen_builtin_symbols.py318 // Flat array of offsets from a symbol into the rules table.
848 def format_rules(self, rules):
849 return ", ".join([self.format_rule(rule) for rule in rules])
852 return self.rules
862 def add_rule(rules, spec, level, shaders, extension, symbol):
873 rules.append({
881 rules.append({
891 self.rules = []
896 rules = []
899 add_rule(rules, "ESS
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtwfw.c36 struct rules_map rules SEC(".maps");
47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier()
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
H A DReceiver.java72 * Open the rules file and pull all the JSON into a string
105 JSONArray rules = jsonObj.getJSONArray("Rules"); in parsePackageNames()
106 if (rules == null) in parsePackageNames()
111 for (int i = 0; i < rules.length(); i++) in parsePackageNames()
113 JSONObject rule = rules.getJSONObject(i); in parsePackageNames()
/kernel/linux/linux-5.10/security/safesetid/
H A Dsecurityfs.c78 hash_for_each_safe(pol->rules, bucket, tmp, rule, next) in __release_ruleset()
91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule()
93 hash_add(pol->rules, &rule->next, __kgid_val(rule->src_id.gid)); in insert_rule()
104 hash_for_each(pol->rules, bucket, rule, next) { in verify_ruleset()
151 hash_init(pol->rules); in handle_policy_update()
/kernel/linux/linux-6.6/samples/bpf/
H A Dcookie_uid_helper_example.c174 char rules[256]; in prog_attach_iptables() local
182 ret = snprintf(rules, sizeof(rules), in prog_attach_iptables()
185 if (ret < 0 || ret >= sizeof(rules)) { in prog_attach_iptables()
189 ret = system(rules); in prog_attach_iptables()
/kernel/linux/linux-6.6/security/safesetid/
H A Dsecurityfs.c78 hash_for_each_safe(pol->rules, bucket, tmp, rule, next) in __release_ruleset()
91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule()
93 hash_add(pol->rules, &rule->next, __kgid_val(rule->src_id.gid)); in insert_rule()
104 hash_for_each(pol->rules, bucket, rule, next) { in verify_ruleset()
151 hash_init(pol->rules); in handle_policy_update()

Completed in 14 milliseconds

12345678910>>...32