Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 25 of 1279) sorted by relevance

12345678910>>...52

/third_party/tzdata/
Dzishrink.awk45 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["Italy"] = "I"
54 rule["Jordan"] = "J"
[all …]
/third_party/typescript/src/services/formatting/
Drules.ts6 readonly rule: Rule; property
50rule("IgnoreBeforeComment", anyToken, comments, anyContext, RuleAction.StopProcessingSpaceActions),
51rule("IgnoreAfterLineComment", SyntaxKind.SingleLineCommentTrivia, anyToken, anyContext, RuleActio…
53rule("NotSpaceBeforeColon", anyToken, SyntaxKind.ColonToken, [isNonJsxSameLineTokenContext, isNotB…
54rule("SpaceAfterColon", SyntaxKind.ColonToken, anyToken, [isNonJsxSameLineTokenContext, isNotBinar…
55rule("NoSpaceBeforeQuestionMark", anyToken, SyntaxKind.QuestionToken, [isNonJsxSameLineTokenContex…
57rule("SpaceAfterQuestionMarkInConditionalOperator", SyntaxKind.QuestionToken, anyToken, [isNonJsxS…
60rule("NoSpaceAfterQuestionMark", SyntaxKind.QuestionToken, anyToken, [isNonJsxSameLineTokenContext…
62rule("NoSpaceBeforeDot", anyToken, [SyntaxKind.DotToken, SyntaxKind.QuestionDotToken], [isNonJsxSa…
63rule("NoSpaceAfterDot", [SyntaxKind.DotToken, SyntaxKind.QuestionDotToken], anyToken, [isNonJsxSam…
[all …]
DrulesMap.ts45 for (const rule of bucket) { constant
47 if (rule.action & acceptRuleActions && every(rule.context, c => c(context))) {
48 rules.push(rule);
49 ruleActionMask |= rule.action;
64 for (const rule of rules) { constant
65 const specificRule = rule.leftTokenRange.isSpecific && rule.rightTokenRange.isSpecific;
67 for (const left of rule.leftTokenRange.tokens) {
68 for (const right of rule.rightTokenRange.tokens) {
74 … addRule(rulesBucket, rule.rule, specificRule, rulesBucketConstructionStateList, index);
114 …function addRule(rules: Rule[], rule: Rule, specificTokens: boolean, constructionState: number[], …
[all …]
/third_party/icu/icu4c/source/i18n/
Dzrule.cpp33 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
78 delete (InitialTimeZoneRule*)rule; in izrule_close()
[all …]
Drbt_pars.cpp305 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() argument
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
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, start, status); in parse()
399 int32_t RuleHalf::parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, in parseSection() argument
416 UChar c = rule.charAt(pos++); in parseSection()
426 return syntaxError(U_UNCLOSED_SEGMENT, rule, start, status); in parseSection()
[all …]
Dzrule.h54 zrule_close(ZRule* rule);
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
81 zrule_getRawOffset(ZRule* rule);
90 zrule_getDSTSavings(ZRule* rule);
125 izrule_close(IZRule* rule);
133 izrule_clone(IZRule *rule);
152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
160 izrule_getRawOffset(IZRule* rule);
169 izrule_getDSTSavings(IZRule* rule);
194 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings,
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dzrule.cpp33 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
78 delete (InitialTimeZoneRule*)rule; in izrule_close()
[all …]
Drbt_pars.cpp305 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() argument
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
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, start, status); in parse()
399 int32_t RuleHalf::parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, in parseSection() argument
416 char16_t c = rule.charAt(pos++); in parseSection()
426 return syntaxError(U_UNCLOSED_SEGMENT, rule, start, status); in parseSection()
[all …]
Dzrule.h54 zrule_close(ZRule* rule);
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
81 zrule_getRawOffset(ZRule* rule);
90 zrule_getDSTSavings(ZRule* rule);
125 izrule_close(IZRule* rule);
133 izrule_clone(IZRule *rule);
152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
160 izrule_getRawOffset(IZRule* rule);
169 izrule_getDSTSavings(IZRule* rule);
194 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings,
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dzrule.cpp33 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
78 delete (InitialTimeZoneRule*)rule; in izrule_close()
[all …]
Drbt_pars.cpp305 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() argument
334 return parser.syntaxError(code, rule, start, status); in syntaxError()
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, start, status); in parse()
399 int32_t RuleHalf::parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, in parseSection() argument
416 UChar c = rule.charAt(pos++); in parseSection()
426 return syntaxError(U_UNCLOSED_SEGMENT, rule, start, status); in parseSection()
[all …]
Dzrule.h58 zrule_close(ZRule* rule);
77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
85 zrule_getRawOffset(ZRule* rule);
94 zrule_getDSTSavings(ZRule* rule);
129 izrule_close(IZRule* rule);
137 izrule_clone(IZRule *rule);
156 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
164 izrule_getRawOffset(IZRule* rule);
173 izrule_getDSTSavings(IZRule* rule);
198 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings,
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTransliteratorParser.java410 public int parse(String rule, int pos, int limit, in parse() argument
414 pos = parseSection(rule, pos, limit, parser, buf, ILLEGAL_TOP, false); in parse()
418 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse()
447 private int parseSection(String rule, int pos, int limit, in parseSection() argument
465 char c = rule.charAt(pos++); in parseSection()
474 syntaxError("Unclosed segment", rule, start); in parseSection()
481 syntaxError("Malformed variable reference", rule, start); in parseSection()
483 if (UnicodeSet.resemblesPattern(rule, pos-1)) { in parseSection()
488 buf.append(parser.parseSet(rule, pp)); in parseSection()
495 syntaxError("Trailing backslash", rule, start); in parseSection()
[all …]
DNFRuleSet.java201 for (NFRule rule : tempRules) { in parseRules()
202 long baseValue = rule.getBaseValue(); in parseRules()
209 rule.setBaseValue(defaultBaseValue); in parseRules()
236 void setNonNumericalRule(NFRule rule) { in setNonNumericalRule() argument
237 long baseValue = rule.getBaseValue(); in setNonNumericalRule()
239 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
242 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
245 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
248 setBestFractionRule(NFRuleSet.MASTER_RULE_INDEX, rule, true); in setNonNumericalRule()
251 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
[all …]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorParser.java409 public int parse(String rule, int pos, int limit, in parse() argument
413 pos = parseSection(rule, pos, limit, parser, buf, ILLEGAL_TOP, false); in parse()
417 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse()
446 private int parseSection(String rule, int pos, int limit, in parseSection() argument
464 char c = rule.charAt(pos++); in parseSection()
473 syntaxError("Unclosed segment", rule, start); in parseSection()
480 syntaxError("Malformed variable reference", rule, start); in parseSection()
482 if (UnicodeSet.resemblesPattern(rule, pos-1)) { in parseSection()
487 buf.append(parser.parseSet(rule, pp)); in parseSection()
494 syntaxError("Trailing backslash", rule, start); in parseSection()
[all …]
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
Dprocessor.js14 _proto._shouldUpdateSelector = function _shouldUpdateSelector(rule, options) { argument
22 return typeof rule !== "string";
36 _proto._root = function _root(rule, options) { argument
40 var parser = new _parser["default"](rule, this._parseOptions(options));
48 _proto._run = function _run(rule, options) { argument
55 var root = _this._root(rule, options);
58 if (_this._shouldUpdateSelector(rule, options)) {
60 rule.selector = string;
74 _proto._runSync = function _runSync(rule, options) { argument
78 var root = this._root(rule, options);
[all …]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
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 of this.ruleset.values()) {
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java200 for (NFRule rule : tempRules) { in parseRules()
201 long baseValue = rule.getBaseValue(); in parseRules()
208 rule.setBaseValue(defaultBaseValue); in parseRules()
235 void setNonNumericalRule(NFRule rule) { in setNonNumericalRule() argument
236 long baseValue = rule.getBaseValue(); in setNonNumericalRule()
238 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
241 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
244 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
247 setBestFractionRule(NFRuleSet.DEFAULT_RULE_INDEX, rule, true); in setNonNumericalRule()
250 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
[all …]
/third_party/weex-loader/deps/weex-styler/
Dindex.js92 function flexExpand(rule, ruleLog) { argument
93 for (let i = 0; i < rule.declarations.length; i++) {
94 let declaration = rule.declarations[i]
97 rule.declarations.splice(i, 1)
99 checkFlexOne(rule, ruleLog, declaration, values, i)
101 checkFlexTwo(rule, ruleLog, declaration, values, i)
103 checkFlexThree(rule, ruleLog, declaration, values, i)
132 function checkFlexOne(rule, ruleLog, declaration, values, i) { argument
135 rule.declarations.splice(i, 0, {type: 'declaration', property: 'flex',
138 rule.declarations.splice(i, 0, {type: 'declaration', property: 'flex-basis',
[all …]
/third_party/node/deps/v8/tools/testrunner/local/
Dstatusfile.py129 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): argument
210 if rule in target_dict:
216 if _JoinsPassAndFail(target_dict[rule], result):
217 target_dict[rule] -= set([PASS])
218 if _JoinsPassAndFail(result, target_dict[rule]):
220 target_dict[rule] |= result
222 target_dict[rule] = result
[all …]
/third_party/skia/third_party/externals/icu/source/data/brkitr/rules/
Dword_ja.txt99 # of a region of Text. The rule here comes into play when the start of text
109 $KatakanaEx {400}; # note: these status values override those from rule 5
114 # rule 5
119 # rule 6 and 7
122 # rule 7a
125 # rule 7b and 7c
128 # rule 8
132 # rule 9
136 # rule 10
140 # rule 11 and 12
[all …]
/third_party/jsframework/runtime/main/model/
Dselector.ts71 const rule = ruleDef[ruleDef.length - 1]; constant
73 id: rule.type === 'tag' ? rule.name : rule.value,
79 if (rule.type === 'tag') {
82 } else if (rule.type === 'attribute' && rule.name === 'id') {
85 } else if (rule.type === 'attribute' && rule.name === 'class') {
89 Log.error(`Invalid ruleDef, t = ${rule.type}, name = ${rule.name}.`);
232 const rule = ruleDef[j]; constant
234 rule.type === 'tag' ? rule.type : rule.name,
236 rule.type === 'tag' ? rule.name : rule.value,
290 const rule = ruleDef[i]; constant
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
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 != null && r.rule.isOn(date); in isOn()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
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 != null && r.rule.isOn(date); in isOn()
[all …]
/third_party/skia/third_party/externals/tint/tools/src/glob/
Dglob.go123 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.Exclude) > 0:
148 case len(rule.Include) > 0:
149 tests := make([]match.Test, len(rule.Include))
150 for i, pattern := range rule.Include {
165 case len(rule.Exclude) > 0:
166 tests := make([]match.Test, len(rule.Exclude))
[all …]

12345678910>>...52