Home
last modified time | relevance | path

Searched refs:rule (Results 1 - 25 of 335) sorted by relevance

12345678910>>...14

/third_party/tzdata/
H A Dzishrink.awk20 # Return a shortened rule name representing NAME,
45 rule["Arg"] = "A"
46 rule["Brazil"] = "B"
47 rule["Canada"] = "C"
48 rule["Denmark"] = "D"
49 rule["EU"] = "E"
50 rule["France"] = "F"
51 rule["GB-Eire"] = "G"
52 rule["Halifax"] = "H"
53 rule["Ital
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dzrule.cpp12 * \brief C API: Time zone rule classes
33 zrule_close(ZRule* rule) { in zrule_close() argument
34 delete (TimeZoneRule*)rule; in zrule_close()
43 zrule_getName(ZRule* rule, char16_t* name, int32_t nameLength) { in zrule_getName() argument
45 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); in zrule_getName()
52 zrule_getRawOffset(ZRule* rule) { in zrule_getRawOffset() argument
53 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset()
57 zrule_getDSTSavings(ZRule* rule) { in zrule_getDSTSavings() argument
58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
77 izrule_close(IZRule* rule) { in izrule_close() argument
82 izrule_clone(IZRule *rule) izrule_clone() argument
92 izrule_getName(IZRule* rule, char16_t* & name, int32_t & nameLength) izrule_getName() argument
103 izrule_getRawOffset(IZRule* rule) izrule_getRawOffset() argument
108 izrule_getDSTSavings(IZRule* rule) izrule_getDSTSavings() argument
118 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFirstStart() argument
124 izrule_getFinalStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFinalStart() argument
130 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getNextStart() argument
136 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getPreviousStart() argument
142 izrule_getStaticClassID(IZRule* rule) izrule_getStaticClassID() argument
147 izrule_getDynamicClassID(IZRule* rule) izrule_getDynamicClassID() argument
[all...]
H A Drbt_pars.cpp259 * A class representing one side of a rule. This class knows how to
260 * parse half of a rule. It is tightly coupled to the method
305 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
307 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
331 const UnicodeString& rule, in syntaxError()
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
359 * Parse one side of a rule, stopping at either the limit,
364 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { in parse() argument
367 pos = parseSection(rule, pos, limit, text, UnicodeString(true, ILLEGAL_TOP, -1), false, status); in parse()
370 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, star in parse()
330 syntaxError(UErrorCode code, const UnicodeString& rule, int32_t start, UErrorCode& status) syntaxError() argument
399 parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, UnicodeString& buf, const UnicodeString& illegal, UBool isSegment, UErrorCode& status) parseSection() argument
886 parseRules(const UnicodeString& rule, UTransDirection theDirection, UErrorCode& status) parseRules() argument
1219 resemblesPragma(const UnicodeString& rule, int32_t pos, int32_t limit) resemblesPragma() argument
1233 parsePragma(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parsePragma() argument
1287 parseRule(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parseRule() argument
1491 syntaxError(UErrorCode parseErrorCode, const UnicodeString& rule, int32_t pos, UErrorCode& status) syntaxError() argument
1525 parseSet(const UnicodeString& rule, ParsePosition& pos, UErrorCode& status) parseSet() argument
[all...]
H A Dzrule.h14 * \brief C API: Time zone rule classes
54 zrule_close(ZRule* rule);
68 * @param rule, the Zrule to use
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
77 * @param rule, the Zrule to use
81 zrule_getRawOffset(ZRule* rule);
85 * @param rule, the Zrule to use
86 * @return The amount of daylight saving offset used by this rule
90 zrule_getDSTSavings(ZRule* rule);
93 * Returns if this rule represent
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dzrule.cpp12 * \brief C API: Time zone rule classes
33 zrule_close(ZRule* rule) { in zrule_close() argument
34 delete (TimeZoneRule*)rule; in zrule_close()
43 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument
45 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); in zrule_getName()
52 zrule_getRawOffset(ZRule* rule) { in zrule_getRawOffset() argument
53 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset()
57 zrule_getDSTSavings(ZRule* rule) { in zrule_getDSTSavings() argument
58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
77 izrule_close(IZRule* rule) { in izrule_close() argument
82 izrule_clone(IZRule *rule) izrule_clone() argument
92 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) izrule_getName() argument
103 izrule_getRawOffset(IZRule* rule) izrule_getRawOffset() argument
108 izrule_getDSTSavings(IZRule* rule) izrule_getDSTSavings() argument
118 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFirstStart() argument
124 izrule_getFinalStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFinalStart() argument
130 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getNextStart() argument
136 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getPreviousStart() argument
142 izrule_getStaticClassID(IZRule* rule) izrule_getStaticClassID() argument
147 izrule_getDynamicClassID(IZRule* rule) izrule_getDynamicClassID() argument
[all...]
H A Drbt_pars.cpp259 * A class representing one side of a rule. This class knows how to
260 * parse half of a rule. It is tightly coupled to the method
305 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
307 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
331 const UnicodeString& rule, in syntaxError()
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
359 * Parse one side of a rule, stopping at either the limit,
364 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { in parse() argument
367 pos = parseSection(rule, pos, limit, text, UnicodeString(true, ILLEGAL_TOP, -1), false, status); in parse()
370 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, star in parse()
330 syntaxError(UErrorCode code, const UnicodeString& rule, int32_t start, UErrorCode& status) syntaxError() argument
399 parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, UnicodeString& buf, const UnicodeString& illegal, UBool isSegment, UErrorCode& status) parseSection() argument
886 parseRules(const UnicodeString& rule, UTransDirection theDirection, UErrorCode& status) parseRules() argument
1219 resemblesPragma(const UnicodeString& rule, int32_t pos, int32_t limit) resemblesPragma() argument
1233 parsePragma(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parsePragma() argument
1287 parseRule(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parseRule() argument
1491 syntaxError(UErrorCode parseErrorCode, const UnicodeString& rule, int32_t pos, UErrorCode& status) syntaxError() argument
1525 parseSet(const UnicodeString& rule, ParsePosition& pos, UErrorCode& status) parseSet() argument
[all...]
H A Dzrule.h14 * \brief C API: Time zone rule classes
54 zrule_close(ZRule* rule);
68 * @param rule, the Zrule to use
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
77 * @param rule, the Zrule to use
81 zrule_getRawOffset(ZRule* rule);
85 * @param rule, the Zrule to use
86 * @return The amount of daylight saving offset used by this rule
90 zrule_getDSTSavings(ZRule* rule);
93 * Returns if this rule represent
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dzrule.cpp12 * \brief C API: Time zone rule classes
33 zrule_close(ZRule* rule) { in zrule_close() argument
34 delete (TimeZoneRule*)rule; in zrule_close()
43 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument
45 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); in zrule_getName()
52 zrule_getRawOffset(ZRule* rule) { in zrule_getRawOffset() argument
53 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset()
57 zrule_getDSTSavings(ZRule* rule) { in zrule_getDSTSavings() argument
58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
77 izrule_close(IZRule* rule) { in izrule_close() argument
82 izrule_clone(IZRule *rule) izrule_clone() argument
92 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) izrule_getName() argument
103 izrule_getRawOffset(IZRule* rule) izrule_getRawOffset() argument
108 izrule_getDSTSavings(IZRule* rule) izrule_getDSTSavings() argument
118 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFirstStart() argument
124 izrule_getFinalStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) izrule_getFinalStart() argument
130 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getNextStart() argument
136 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) izrule_getPreviousStart() argument
142 izrule_getStaticClassID(IZRule* rule) izrule_getStaticClassID() argument
147 izrule_getDynamicClassID(IZRule* rule) izrule_getDynamicClassID() argument
[all...]
H A Drbt_pars.cpp259 * A class representing one side of a rule. This class knows how to
260 * parse half of a rule. It is tightly coupled to the method
305 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
307 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
331 const UnicodeString& rule, in syntaxError()
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
359 * Parse one side of a rule, stopping at either the limit,
364 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { in parse() argument
367 pos = parseSection(rule, pos, limit, text, UnicodeString(TRUE, ILLEGAL_TOP, -1), FALSE, status); in parse()
370 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, star in parse()
330 syntaxError(UErrorCode code, const UnicodeString& rule, int32_t start, UErrorCode& status) syntaxError() argument
399 parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, UnicodeString& buf, const UnicodeString& illegal, UBool isSegment, UErrorCode& status) parseSection() argument
886 parseRules(const UnicodeString& rule, UTransDirection theDirection, UErrorCode& status) parseRules() argument
1201 resemblesPragma(const UnicodeString& rule, int32_t pos, int32_t limit) resemblesPragma() argument
1215 parsePragma(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parsePragma() argument
1269 parseRule(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) parseRule() argument
1473 syntaxError(UErrorCode parseErrorCode, const UnicodeString& rule, int32_t pos, UErrorCode& status) syntaxError() argument
1507 parseSet(const UnicodeString& rule, ParsePosition& pos, UErrorCode& status) parseSet() argument
[all...]
H A Dzrule.h14 * \brief C API: Time zone rule classes
58 zrule_close(ZRule* rule);
72 * @param rule, the Zrule to use
77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
81 * @param rule, the Zrule to use
85 zrule_getRawOffset(ZRule* rule);
89 * @param rule, the Zrule to use
90 * @return The amount of daylight saving offset used by this rule
94 zrule_getDSTSavings(ZRule* rule);
97 * Returns if this rule represent
[all...]
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
H A Dprocessor.js14 _proto._shouldUpdateSelector = function _shouldUpdateSelector(rule, options) {
22 return typeof rule !== "string";
36 _proto._root = function _root(rule, options) {
40 var parser = new _parser["default"](rule, this._parseOptions(options));
48 _proto._run = function _run(rule, options) {
55 var root = _this._root(rule, options);
58 if (_this._shouldUpdateSelector(rule, options)) {
60 rule.selector = string;
74 _proto._runSync = function _runSync(rule, options) {
78 var root = this._root(rule, option
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliteratorParser.java32 * of rules in the rule set
38 * A Vector of Strings containing all of the ID blocks in the rule set
75 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
82 * parsing of a single rule.
130 // markers for beginning and end of rule groups
283 * A private abstract class representing the interface to rule
367 * A class representing one side of a rule. This class knows how to
368 * parse half of a rule. It is tightly coupled to the method
404 * Parse one side of a rule, stopping at either the limit,
409 public int parse(String rule, in argument
446 parseSection(String rule, int pos, int limit, TransliteratorParser parser, StringBuffer buf, UnicodeSet illegal, boolean isSegment) parseSection() argument
1139 parseRule(String rule, int pos, int limit) parseRule() argument
1331 checkVariableRange(int ch, String rule, int start) checkVariableRange() argument
1371 resemblesPragma(String rule, int pos, int limit) resemblesPragma() argument
1385 parsePragma(String rule, int pos, int limit) parsePragma() argument
1434 syntaxError(String msg, String rule, int start) syntaxError() argument
1440 ruleEnd(String rule, int start, int limit) ruleEnd() argument
1452 parseSet(String rule, ParsePosition pos) parseSet() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliteratorParser.java33 * of rules in the rule set
39 * A Vector of Strings containing all of the ID blocks in the rule set
76 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
83 * parsing of a single rule.
131 // markers for beginning and end of rule groups
284 * A private abstract class representing the interface to rule
368 * A class representing one side of a rule. This class knows how to
369 * parse half of a rule. It is tightly coupled to the method
405 * Parse one side of a rule, stopping at either the limit,
410 public int parse(String rule, in argument
447 parseSection(String rule, int pos, int limit, TransliteratorParser parser, StringBuffer buf, UnicodeSet illegal, boolean isSegment) parseSection() argument
1140 parseRule(String rule, int pos, int limit) parseRule() argument
1332 checkVariableRange(int ch, String rule, int start) checkVariableRange() argument
1372 resemblesPragma(String rule, int pos, int limit) resemblesPragma() argument
1386 parsePragma(String rule, int pos, int limit) parsePragma() argument
1435 syntaxError(String msg, String rule, int start) syntaxError() argument
1441 ruleEnd(String rule, int start, int limit) ruleEnd() argument
1453 parseSet(String rule, ParsePosition pos) parseSet() argument
[all...]
H A DNFRuleSet.java23 * appropriate rule for formatting a particular number and dispatch
34 * The rule set's name
39 * The rule set's regular rules
44 * The rule set's non-numerical rules like negative, fractions, infinity and NaN
68 * The RuleBasedNumberFormat that owns this rule
73 * True if the rule set is a fraction rule set. A fraction rule set
74 * is a rule set that is used to format the fractional part of a
75 * number. It is called from a >> substitution in another rule se
236 setNonNumericalRule(NFRule rule) setNonNumericalRule() argument
[all...]
/third_party/python/Lib/email/mime/
H A Dimage.py51 for rule in _rules:
52 if res := rule(data):
58 def rule(rulefunc): function
63 @rule
72 @rule
78 @rule
85 @rule
92 @rule
99 @rule
107 @rule
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
H A Doverride-set.js48 for (const rule of this.ruleset.values()) {
49 if (rule.name !== edge.name) {
54 if (rule.keySpec === '*') {
55 return rule
64 if (spec.gitRange && semver.intersects(spec.gitRange, rule.keySpec)) {
65 return rule
72 if (semver.intersects(spec.fetchSpec, rule.keySpec)) {
73 return rule
82 return rule
89 for (const rule o
[all...]
/third_party/eudev/src/udev/
H A Dudev-rules.c75 /* during rule parsing, uid/gid lookup results are cached */
122 /* tokens of a rule are sorted/handled in this order */
188 unsigned char type; /* same in rule and key */
198 } rule; member
223 struct token rule; member
339 &rules->buf[token->rule.filename_off], token->rule.filename_line, in dump_token()
340 idx, token->rule.token_count, in dump_token()
341 &rules->buf[token->rule.label_off]); in dump_token()
1007 log_error("temporary rule arra in rule_add_key()
1904 struct token *rule; udev_rules_apply_to_event() local
2628 struct token *rule; udev_rules_apply_static_dev_perms() local
2776 struct token *rule; udev_rules_assigning_name_to() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNFRuleSet.java22 * appropriate rule for formatting a particular number and dispatch
33 * The rule set's name
38 * The rule set's regular rules
43 * The rule set's non-numerical rules like negative, fractions, infinity and NaN
67 * The RuleBasedNumberFormat that owns this rule
72 * True if the rule set is a fraction rule set. A fraction rule set
73 * is a rule set that is used to format the fractional part of a
74 * number. It is called from a >> substitution in another rule se
235 setNonNumericalRule(NFRule rule) setNonNumericalRule() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DRangeDateRule.java41 public void add(DateRule rule) { in add() argument
42 add(new Date(Long.MIN_VALUE), rule); in add()
48 public void add(Date start, DateRule rule) { in add() argument
51 ranges.add(new Range(start, rule)); in add()
71 if (r != null && r.rule != null) in firstAfter()
74 result = r.rule.firstBetween(start, e.start); in firstAfter()
76 result = r.rule.firstAfter(start); in firstAfter()
102 if (r.rule != null) { in firstBetween()
105 result = r.rule.firstBetween(start, e); in firstBetween()
117 return r != null && r.rule ! in isOn()
160 Range(Date start, DateRule rule) Range() argument
165 public DateRule rule; global() field in Range
[all...]
H A DHoliday.java74 return rule.firstAfter(start); in firstAfter()
92 return rule.firstBetween(start, end); in firstBetween()
107 return rule.isOn(date); in isOn()
117 return rule.isBetween(start, end); in isBetween()
128 * @param rule The date rules used for determining when this holiday
133 protected Holiday(String name, DateRule rule) in Holiday() argument
136 this.rule = rule; in Holiday()
192 return rule; in getRule()
198 public void setRule(DateRule rule) { in setRule() argument
203 private DateRule rule; global() field in Holiday
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DRangeDateRule.java43 public void add(DateRule rule) { in add() argument
44 add(new Date(Long.MIN_VALUE), rule); in add()
50 public void add(Date start, DateRule rule) { in add() argument
53 ranges.add(new Range(start, rule)); in add()
72 if (r != null && r.rule != null) in firstAfter()
75 result = r.rule.firstBetween(start, e.start); in firstAfter()
77 result = r.rule.firstAfter(start); in firstAfter()
102 if (r.rule != null) { in firstBetween()
105 result = r.rule.firstBetween(start, e); in firstBetween()
116 return r != null && r.rule ! in isOn()
158 Range(Date start, DateRule rule) Range() argument
163 public DateRule rule; global() field in Range
[all...]
H A DHoliday.java76 return rule.firstAfter(start); in firstAfter()
94 return rule.firstBetween(start, end); in firstBetween()
109 return rule.isOn(date); in isOn()
119 return rule.isBetween(start, end); in isBetween()
130 * @param rule The date rules used for determining when this holiday
135 protected Holiday(String name, DateRule rule) in Holiday() argument
138 this.rule = rule; in Holiday()
194 return rule; in getRule()
200 public void setRule(DateRule rule) { in setRule() argument
205 private DateRule rule; global() field in Holiday
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dstatusfile.py73 _rules: {variant: {test name: [rule]}}
74 _prefix_rules: {variant: {test name prefix: [rule]}}
101 that all matching tests were skipped by another rule before evaluating X.
129 for rule, value in (
132 if (rule, variant) not in used_rules:
137 print('Unused rule: %s -> %s (%s)' % (rule, value, variant_desc))
182 def _ParseOutcomeList(rule, outcomes, variables, target_dict):
210 if rule in target_dict:
211 # A FAIL without PASS in one rule ha
[all...]
/third_party/skia/third_party/externals/tint/tools/src/glob/
H A Dglob.go77 // All files are excluded before the first rule is evaluated.
120 // rule is a search path predicate.
122 // cond is the value to return if the rule doesn't either include or exclude.
123 type rule func(path string, cond bool) bool type
127 type searchRules []rule
143 for _, rule := range p {
144 rule := rule
146 case len(rule.Include) > 0 && len(rule
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/
H A Dabseil.podspec.gen.py49 # Rule object representing the rule of Bazel BUILD.
76 """Returns a rule from bazel XML rule."""
97 if elem.tag == "rule" and elem.attrib["class"].startswith("cc_")
111 def relevant_rule(rule):
112 """Returns true if a given rule is relevant when generating a podspec."""
115 rule.type == "cc_library" and
116 # ignore empty rule
117 (rule.hdrs + rule
[all...]

Completed in 17 milliseconds

12345678910>>...14