Home
last modified time | relevance | path

Searched full:rules (Results 1 – 25 of 4048) sorted by relevance

12345678910>>...162

/third_party/mesa3d/.gitlab-ci/
Dtest-source-dep.yml5 .scheduled_pipeline-rules:
6 rules:
12 .no_scheduled_pipelines-rules:
13 rules:
19 .core-rules:
20 rules:
21 - !reference [.no_scheduled_pipelines-rules, rules]
43 .gl-rules:
44 rules:
45 - !reference [.core-rules, rules]
[all …]
/third_party/gn/src/gn/
Dxcode_object.cc174 void PrintValue(std::ostream& out, IndentRules rules, unsigned value) { in PrintValue() argument
178 void PrintValue(std::ostream& out, IndentRules rules, const char* value) { in PrintValue() argument
183 IndentRules rules, in PrintValue() argument
188 void PrintValue(std::ostream& out, IndentRules rules, const NoReference& obj) { in PrintValue() argument
192 void PrintValue(std::ostream& out, IndentRules rules, const PBXObject* value) { in PrintValue() argument
198 IndentRules rules, in PrintValue() argument
200 PrintValue(out, rules, value.get()); in PrintValue()
205 IndentRules rules, in PrintValue() argument
207 IndentRules sub_rule{rules.one_line, rules.level + 1}; in PrintValue()
208 out << "(" << (rules.one_line ? " " : "\n"); in PrintValue()
[all …]
/third_party/icu/docs/userguide/boundaryanalysis/
Dbreak-rules.md3 title: Break Rules
12 # Break Rules
25 ICU locates boundary positions within text by means of rules, which are a form
26 of regular expressions. The form of the rules is similar, but not identical,
27 to the boundary rules from the Unicode specifications
32 Taken as a set, the ICU rules describe how to move forward to the next boundary,
34 ICU includes rules for the standard boundary types (word, line, etc.).
35 Applications may also create customized break iterators from their own rules.
37 ICU's built-in rules are located at
38 [icu/icu4c/source/data/brkitr/rules/](https://github.com/unicode-org/icu/tree/main/icu4c/source/dat…
[all …]
/third_party/skia/buildtools/checkdeps/
Dbuilddeps.py19 from rules import Rule, Rules
35 # Optionally discard rules from parent directories, similar to "noparent" in
37 # it will not inherit rules from //ash/DEPS, forcing each //ash/component/foo
48 """Returns a path normalized to how we write DEPS rules and compare paths."""
99 ignore_temp_rules: Ignore rules that start with Rule.TEMP_ALLOW ("!").
119 # Map of normalized directory paths to rules to use for those
123 self._ApplyDirectoryRulesAndSkipSubdirs(Rules(), self.base_directory)
127 """Applies the given include rules, returning the new rules.
130 existing_rules: A set of existing rules that will be combined.
131 include: The list of rules from the "include_rules" section of DEPS.
[all …]
Drules.py5 """Base classes to represent dependency rules, used by checkdeps.py"""
88 class Rules(object): class
89 """Sets of rules for files in a directory.
91 By default, rules are added to the set of rules applicable to all
92 dependee files in the directory. Rules may also be added that apply
95 set of rules per unique regular expression.
99 """Initializes the current rules with an empty rule list for all
102 # We keep the general rules out of the specific rules dictionary,
106 # Keys are regular expression strings, values are arrays of rules
108 # expression. These are applied before the general rules, but
[all …]
/third_party/tex-hyphen/hyph-utf8/source/generic/hyph-utf8/
Dlanguage-data.rb22 "type" => "rules",
26 "type" => "rules",
30 "type" => "rules",
34 "type" => "rules",
54 # "type" => "rules", # TODO: it is not really clear
62 "type" => "rules", # not only rules, also patgen, but it is a good approximation
69 # Typographical rules allow \righthyphenmin=2 when typesetting in a
94 "type" => "rules",
102 "type" => "rules",
106 "type" => "rules",
[all …]
/third_party/icu/docs/processes/
Drules_update.md6 Updating ICU's built-in Break Iterator rules
9 Here are instructions for updating ICU's built-in break iterator rules, for Grapheme, Word, Line an…
11rules implement the boundary behavior from Unicode [UAX-14](https://www.unicode.org/reports/tr14/)…
13 …process. Familiarity with ICU break iterator behavior and rules is needed. Sets of break rules oft…
31 | .../data/brkitr/rules/*.txt | Main break rule files.
32 | .../test/intltest/rbbitst.cpp | Monkey Test Rules (as code; also called the 'original' or '…
33 | .../test/testdata/break_rules/*.txt | Monkey Test Rules (as data; also called the 'new' or 'rule-…
37 | .../main/shared/data/icudata.jar | Data jar, includes break rules. Derived from ICU4C.
39 | .../main/tests/core/src/com/ibm/icu/dev/test/rbbi/break_rules/* | Monkey test rules, copied…
40 | .../main/tests/core/src/com/ibm/icu/dev/test/rbbi/RBBITestMonkey.java | Monkey test w rules as co…
[all …]
/third_party/python/Tools/peg_generator/pegen/
Dparser_generator.py46 def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
47 self.rulses = rules
75 def __init__(self, rules: Dict[str, Rule], tokens: Set[str]):
76 self.rules = rules
80 if node.value not in self.rules and node.value not in self.tokens:
98 self.rules = grammar.rules
100 if "trailer" not in grammar.metas and "start" not in self.rules:
102 checker = RuleCheckingVisitor(self.rules, self.tokens)
103 for rule in self.rules.values():
107 self.first_graph, self.first_sccs = compute_left_recursives(self.rules)
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/
Dcollationtest.txt19 # A collator can be built with "@ rules".
20 # An "@ rules" line is followed by one or more lines with the tailoring rules.
34 @ rules
67 @ rules
414 ** test: empty rules
415 @ rules
422 ** test: very simple rules
423 @ rules
439 @ rules
449 @ rules
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/
Dcollationtest.txt19 # A collator can be built with "@ rules".
20 # An "@ rules" line is followed by one or more lines with the tailoring rules.
34 @ rules
67 @ rules
414 ** test: empty rules
415 @ rules
422 ** test: very simple rules
423 @ rules
439 @ rules
449 @ rules
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dcollationtest.txt19 # A collator can be built with "@ rules".
20 # An "@ rules" line is followed by one or more lines with the tailoring rules.
34 @ rules
67 @ rules
414 ** test: empty rules
415 @ rules
422 ** test: very simple rules
423 @ rules
439 @ rules
449 @ rules
[all …]
/third_party/typescript/src/services/formatting/
DrulesMap.ts38 function createRulesMap(rules: readonly RuleSpec[]): RulesMap {
39 const map = buildMap(rules);
43 const rules: Rule[] = []; constant
48 rules.push(rule);
52 if (rules.length) {
53 return rules;
59 function buildMap(rules: readonly RuleSpec[]): readonly (readonly Rule[])[] {
60 // Map from bucket index to array of rules
64 for (const rule of rules) {
99 // The Rules list contains all the inserted rules into a rulebucket in the following order:
[all …]
/third_party/skia/third_party/externals/icu/filters/
Dchromeos.json557 "rules": [
608 "rules": [
808 "rules": [
938 "rules": [
948 …{"categories":["lang_tree"],"files":{"includelist":["ach"]},"rules":["-/*","+/%%ALIAS","+/%%Parent…
949 …{"categories":["lang_tree"],"files":{"includelist":["af"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
950 …{"categories":["lang_tree"],"files":{"includelist":["ak"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
951 …{"categories":["lang_tree"],"files":{"includelist":["an"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
952 …{"categories":["lang_tree"],"files":{"includelist":["ast"]},"rules":["-/*","+/%%ALIAS","+/%%Parent…
953 …{"categories":["lang_tree"],"files":{"includelist":["az"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
[all …]
Dcast.json834 "rules": [
885 "rules": [
1080 …{"categories":["lang_tree"],"files":{"includelist":["ach"]},"rules":["-/*","+/%%ALIAS","+/%%Parent…
1081 …{"categories":["lang_tree"],"files":{"includelist":["af"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
1082 …{"categories":["lang_tree"],"files":{"includelist":["ak"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
1083 …{"categories":["lang_tree"],"files":{"includelist":["an"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
1084 …{"categories":["lang_tree"],"files":{"includelist":["ast"]},"rules":["-/*","+/%%ALIAS","+/%%Parent…
1085 …{"categories":["lang_tree"],"files":{"includelist":["az"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
1086 …{"categories":["lang_tree"],"files":{"includelist":["ban"]},"rules":["-/*","+/%%ALIAS","+/%%Parent…
1087 …{"categories":["lang_tree"],"files":{"includelist":["be"]},"rules":["-/*","+/%%ALIAS","+/%%Parent"…
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DDayPeriodsMapperTest.java69 assertThat(icuData).hasValuesFor("/rules/set1/morning1/from", "04:00"); in testSimple()
70 assertThat(icuData).hasValuesFor("/rules/set1/morning1/before", "12:00"); in testSimple()
71 assertThat(icuData).hasValuesFor("/rules/set1/noon/at", "12:00"); in testSimple()
72 assertThat(icuData).hasValuesFor("/rules/set1/afternoon1/from", "12:00"); in testSimple()
73 assertThat(icuData).hasValuesFor("/rules/set1/afternoon1/before", "18:00"); in testSimple()
74 assertThat(icuData).hasValuesFor("/rules/set1/evening1/from", "18:00"); in testSimple()
75 assertThat(icuData).hasValuesFor("/rules/set1/evening1/before", "21:00"); in testSimple()
76 assertThat(icuData).hasValuesFor("/rules/set1/night1/from", "21:00"); in testSimple()
77 assertThat(icuData).hasValuesFor("/rules/set1/night1/before", "04:00"); in testSimple()
78 assertThat(icuData).hasValuesFor("/rules/set1/midnight/at", "00:00"); in testSimple()
[all …]
DPluralsMapperTest.java78 assertThat(icuData).hasValuesFor("/rules/set0/zero", "!zero!"); in testSimple()
79 assertThat(icuData).hasValuesFor("/rules/set0/one", "!one!"); in testSimple()
80 assertThat(icuData).hasValuesFor("/rules/set0/two", "!two!"); in testSimple()
81 assertThat(icuData).hasValuesFor("/rules/set0/few", "!few!"); in testSimple()
82 assertThat(icuData).hasValuesFor("/rules/set0/many", "!many!"); in testSimple()
83 assertThat(icuData).hasValuesFor("/rules/set0/other", "!other!"); in testSimple()
85 assertThat(icuData).hasValuesFor("/rules/set1/zero", "zero"); in testSimple()
86 assertThat(icuData).hasValuesFor("/rules/set1/one", "one"); in testSimple()
87 assertThat(icuData).hasValuesFor("/rules/set1/two", "two"); in testSimple()
88 assertThat(icuData).hasValuesFor("/rules/set1/few", "few"); in testSimple()
[all …]
/third_party/mesa3d/
D.gitlab-ci.yml102 .rules-anchors:
103 rules:
130 - .build-rules
144 rules:
145 - !reference [.no_scheduled_pipelines-rules, rules]
159 rules:
160 - !reference [.no_scheduled_pipelines-rules, rules]
175 rules:
182 .build-rules:
183 rules:
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java20 * A collection of rules used by a RuleBasedNumberFormat to format and
23 * control to it, and to arbitrate between different rules when parsing
38 * The rule set's regular rules
40 private NFRule[] rules; field in NFRuleSet
43 * The rule set's non-numerical rules like negative, fractions, infinity and NaN
48 * These are a pile of fraction rules in declared order. They may have alternate
155 * the description and build rules from it. Since any rule set
162 // the number of rules-- some descriptions may expend into two rules) in parseRules()
169 // Iterate through the rules. The rules in parseRules()
182 // a single rule or an array of rules. Either way, add them in parseRules()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java131 rules = ruleString; in parse()
134 while(ruleIndex < rules.length()) { in parse()
135 char c = rules.charAt(ruleIndex); in parse()
172 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain()
212 if(rules.regionMatches(i, BEFORE, 0, BEFORE.length()) && in parseResetAndPosition()
213 (j = i + BEFORE.length()) < rules.length() && in parseResetAndPosition()
214 PatternProps.isWhiteSpace(rules.charAt(j)) && in parseResetAndPosition()
215 ((j = skipWhiteSpace(j + 1)) + 1) < rules.length() && in parseResetAndPosition()
216 0x31 <= (c = rules.charAt(j)) && c <= 0x33 && in parseResetAndPosition()
217 rules.charAt(j + 1) == 0x5d) { in parseResetAndPosition()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationRuleParser.java135 rules = ruleString; in parse()
138 while(ruleIndex < rules.length()) { in parse()
139 char c = rules.charAt(ruleIndex); in parse()
176 if(ruleIndex < rules.length() && rules.charAt(ruleIndex) == 0x23) { in parseRuleChain()
216 if(rules.regionMatches(i, BEFORE, 0, BEFORE.length()) && in parseResetAndPosition()
217 (j = i + BEFORE.length()) < rules.length() && in parseResetAndPosition()
218 PatternProps.isWhiteSpace(rules.charAt(j)) && in parseResetAndPosition()
219 ((j = skipWhiteSpace(j + 1)) + 1) < rules.length() && in parseResetAndPosition()
220 0x31 <= (c = rules.charAt(j)) && c <= 0x33 && in parseResetAndPosition()
221 rules.charAt(j + 1) == 0x5d) { in parseResetAndPosition()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationruleparser.cpp61 rules(NULL), baseData(base), settings(NULL), in CollationRuleParser()
91 rules = &ruleString; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
179 if(rules->compare(i, BEFORE_LENGTH, BEFORE, 0, BEFORE_LENGTH) == 0 && in parseResetAndPosition()
180 (j = i + BEFORE_LENGTH) < rules->length() && in parseResetAndPosition()
181 PatternProps::isWhiteSpace(rules->charAt(j)) && in parseResetAndPosition()
182 ((j = skipWhiteSpace(j + 1)) + 1) < rules->length() && in parseResetAndPosition()
183 0x31 <= (c = rules->charAt(j)) && c <= 0x33 && in parseResetAndPosition()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationruleparser.cpp61 rules(NULL), baseData(base), settings(NULL), in CollationRuleParser()
91 rules = &ruleString; in parse()
94 while(ruleIndex < rules->length()) { in parse()
95 UChar c = rules->charAt(ruleIndex); in parse()
136 if(ruleIndex < rules->length() && rules->charAt(ruleIndex) == 0x23) { in parseRuleChain()
179 if(rules->compare(i, BEFORE_LENGTH, BEFORE, 0, BEFORE_LENGTH) == 0 && in parseResetAndPosition()
180 (j = i + BEFORE_LENGTH) < rules->length() && in parseResetAndPosition()
181 PatternProps::isWhiteSpace(rules->charAt(j)) && in parseResetAndPosition()
182 ((j = skipWhiteSpace(j + 1)) + 1) < rules->length() && in parseResetAndPosition()
183 0x31 <= (c = rules->charAt(j)) && c <= 0x33 && in parseResetAndPosition()
[all …]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRuleSet.java17 * A set of rules for a <code>RuleBasedTransliterator</code>. This set encodes
32 * Vector of rules, in the order added.
42 * Sorted and indexed table of rules. This is created by freeze() from
43 * the rules in ruleVector. rules.length >= ruleVector.size(), and the
44 * references in rules[] are aliases of the references in ruleVector.
45 * A single rule in ruleVector is listed one or more times in rules[].
47 private TransliterationRule[] rules; field in TransliterationRuleSet
51 * Now use rules[index[x]..index[x+1]-1]. This index table is created by
73 * Add a rule to this set. Rules are added in order, and order is
84 rules = null; in addRule()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTransliterationRuleSet.java18 * A set of rules for a <code>RuleBasedTransliterator</code>. This set encodes
33 * Vector of rules, in the order added.
43 * Sorted and indexed table of rules. This is created by freeze() from
44 * the rules in ruleVector. rules.length >= ruleVector.size(), and the
45 * references in rules[] are aliases of the references in ruleVector.
46 * A single rule in ruleVector is listed one or more times in rules[].
48 private TransliterationRule[] rules; field in TransliterationRuleSet
52 * Now use rules[index[x]..index[x+1]-1]. This index table is created by
74 * Add a rule to this set. Rules are added in order, and order is
85 rules = null; in addRule()
[all …]
/third_party/icu/docs/userguide/transforms/general/
Drules.md26 set of rules. The tutorial does not describe, in detail, the features of
27 transform; instead, it explains the process of building rules and describes the
30 of the rules.
44 since it illustrates more of the issues involved in the rules. (For guidelines
52 In this example, we start with a set of rules for Greek since they provide a
53 real example based on mathematics. We will use the rules that do not involve the
54 pronunciation of Modern Greek; instead, we will use rules that correspond to the
82 Greek and Latin. These rules map between a source string and a target string.
107 We will also add rules for completeness. These provide fallback mappings for
117 We have completed the simple one-to-one mappings and the rules for completeness.
[all …]

12345678910>>...162