Home
last modified time | relevance | path

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

12345678910>>...239

/third_party/eudev/rules/
DMakefile.am4 64-btrfs.rules.in
7 50-udev-default.rules \
8 60-block.rules \
9 60-cdrom_id.rules \
10 60-drm.rules \
11 60-evdev.rules \
12 60-input-id.rules \
13 60-persistent-alsa.rules \
14 60-persistent-input.rules \
15 60-persistent-storage-tape.rules \
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/
DROADMAP.md4 It lists all TSLint rules along side rules from the ESLint ecosystem that are the same or similar.
6 ## TSLint rules
205 ## `tslint-microsoft-contrib` rules
207 Rule listing is [here](https://github.com/Microsoft/tslint-microsoft-contrib#supported-rules).
208 Deprecated rules are excluded (`missing-jsdoc`, `missing-optional-annotation`, `no-duplicate-case`,…
273 [insecure-random]: https://github.com/desktop/desktop/blob/master/eslint-rules/insecure-random.js
338 [`adjacent-overload-signatures`]: https://palantir.github.io/tslint/rules/adjacent-overload-signatu…
339 [`ban-ts-ignore`]: https://palantir.github.io/tslint/rules/ban-ts-ignore/
340 [`ban-types`]: https://palantir.github.io/tslint/rules/ban-types
341 [`invalid-void`]: https://palantir.github.io/tslint/rules/invalid-void
[all …]
DREADME.md3 <p align="center">An ESLint plugin which provides lint rules for TypeScript codebases.</p>
42 …f your `.eslintrc` configuration file, then configure the rules you want to use under the rules se…
48 "rules": {
54 You can also enable all the recommended rules for our plugin. Add `plugin:@typescript-eslint/recomm…
66 You can also use [`eslint:recommended`](https://eslint.org/docs/rules/) (the set of rules which are…
74 As of version 2 of this plugin, _by design_, none of the rules in the main `recommended` config req…
76 Some highly valuable rules simply require type-checking in order to be implemented correctly, howev…
88 …to two separate stages: 1. fast feedback rules which operate purely based on syntax (no type-check…
92 ## Supported Rules
100 | [`@typescript-eslint/adjacent-overload-signatures`](./docs/rules/adjacent-overload-signatures.md)…
[all …]
/third_party/mesa3d/.gitlab-ci/
Dtest-source-dep.yml6 .scheduled_pipelines-rules:
7 rules: &ignore_scheduled_pipelines
13 .mesa-rules:
14 rules:
51 .vulkan-rules:
52 rules:
61 .gallium-rules:
62 rules:
75 .softpipe-rules:
77 rules:
[all …]
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/compile/
Drules.js6 module.exports = function rules() { function
7 var RULES = [
9 rules: [ { 'maximum': ['exclusiveMaximum'] }, property
12 rules: [ 'maxLength', 'minLength', 'pattern', 'format' ] }, property
14 rules: [ 'maxItems', 'minItems', 'items', 'contains', 'uniqueItems' ] }, property
16 rules: [ 'maxProperties', 'minProperties', 'required', 'dependencies', 'propertyNames', property
18 { rules: [ '$ref', 'const', 'enum', 'not', 'anyOf', 'oneOf', 'allOf', 'if' ] } property
30 RULES.all = toHash(ALL);
31 RULES.types = toHash(TYPES);
33 RULES.forEach(function (group) {
[all …]
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/
Dkeyword.js25 var RULES = this.RULES;
26 if (RULES.keywords[keyword])
57 RULES.keywords[keyword] = RULES.all[keyword] = true;
62 for (var i=0; i<RULES.length; i++) {
63 var rg = RULES[i];
71 ruleGroup = { type: dataType, rules: [] }; property
72 RULES.push(ruleGroup);
82 ruleGroup.rules.push(rule);
83 RULES.custom[keyword] = rule;
98 var rule = this.RULES.custom[keyword];
[all …]
/third_party/eudev/src/udev/
Dudev-rules.c52 UDEV_CONF_DIR "/rules.d",
54 UDEV_ROOT_RUN "/udev/rules.d",
55 UDEV_LIBEXEC_DIR "/rules.d",
57 "/lib/udev/rules.d",
58 "/usr/lib/udev/rules.d",
67 /* every key in the rules file becomes a token */
84 static char *rules_str(struct udev_rules *rules, unsigned int off) { in rules_str() argument
85 return rules->strbuf->buf + off; in rules_str()
88 static unsigned int rules_add_string(struct udev_rules *rules, const char *s) { in rules_add_string() argument
89 return strbuf_add_string(rules->strbuf, s, strlen(s)); in rules_add_string()
[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/gn/src/gn/
Dxcode_object.cc172 void PrintValue(std::ostream& out, IndentRules rules, unsigned value) { in PrintValue() argument
176 void PrintValue(std::ostream& out, IndentRules rules, const char* value) { in PrintValue() argument
181 IndentRules rules, in PrintValue() argument
186 void PrintValue(std::ostream& out, IndentRules rules, const NoReference& obj) { in PrintValue() argument
190 void PrintValue(std::ostream& out, IndentRules rules, const PBXObject* value) { in PrintValue() argument
196 IndentRules rules, in PrintValue() argument
198 PrintValue(out, rules, value.get()); in PrintValue()
203 IndentRules rules, in PrintValue() argument
205 IndentRules sub_rule{rules.one_line, rules.level + 1}; in PrintValue()
206 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/master/icu4c/source/d…
[all …]
/third_party/gettext/gettext-tools/src/
Dlocating-rule.c1 /* XML resource locating rules
53 #define LOCATING_RULES_NS "https://www.gnu.org/s/gettext/ns/locating-rules/1.0"
193 locating_rule_list_locate (struct locating_rule_list_ty *rules, in locating_rule_list_locate() argument
199 for (i = 0; i < rules->nitems; i++) in locating_rule_list_locate()
215 target = locating_rule_match (&rules->items[i], new_filename, in locating_rule_list_locate()
225 locating_rule_match (&rules->items[i], filename, name); in locating_rule_list_locate()
250 document_locating_rule_list_add (struct document_locating_rule_list_ty *rules, in document_locating_rule_list_add() argument
269 if (rules->nitems == rules->nitems_max) in document_locating_rule_list_add()
271 rules->nitems_max = 2 * rules->nitems_max + 1; in document_locating_rule_list_add()
272 rules->items = in document_locating_rule_list_add()
[all …]
/third_party/python/Tools/peg_generator/pegen/
Dparser_generator.py21 def __init__(self, rules: Dict[str, Rule], tokens: Dict[int, str]):
22 self.rules = rules
26 if node.value not in self.rules and node.value not in self.tokens.values():
43 self.rules = grammar.rules
45 if "trailer" not in grammar.metas and "start" not in self.rules:
47 checker = RuleCheckingVisitor(self.rules, self.tokens)
48 for rule in self.rules.values():
52 compute_nullables(self.rules)
53 self.first_graph, self.first_sccs = compute_left_recursives(self.rules)
54 self.todo = self.rules.copy() # Rules to generate
[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/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/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/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/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/eudev/test/
Dudev-test.pl12 # udev parses the rules, looks at the provided sysfs and
28 my $udev_rules_dir = "$udev_run/udev/rules.d";
29 my $udev_rules = "$udev_rules_dir/udev-test.rules";
33 desc => "no rules",
37 rules => <<EOF
45 rules => <<EOF
54 rules => <<EOF
63 rules => <<EOF
72 rules => <<EOF
80 rules => <<EOF
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-extra-parens.ts9 import baseRule from 'eslint/lib/rules/no-extra-parens';
31 const rules = baseRule.create(context); constant
36 const rule = rules.BinaryExpression as (n: typeof node) => void;
68 const rule = rules.CallExpression as (n: typeof node) => void;
105 const rule = rules.UnaryExpression as (n: typeof node) => void;
125 return rules.ArrowFunctionExpression(node);
137 return rules.ConditionalExpression({
146 return rules.ConditionalExpression({
156 return rules.ConditionalExpression({
164 return rules.ConditionalExpression(node);
[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/typescript_eslint/packages/eslint-plugin/tests/
Dconfigs.test.ts1 import rules from '../src/rules';
5 const EXTENSION_RULES = Object.entries(rules)
33 it('has the base rules overriden by the appropriate extension rules', () => {
49 plugin.configs.all.rules;
51 // note: exclude deprecated rules, this config is allowed to change between minor versions
52 const ruleConfigs = Object.entries(rules)
56 it('contains all of the rules, excluding the deprecated ones', () => {
65 plugin.configs.recommended.rules;
67 // note: include deprecated rules so that the config doesn't change between major bumps
68 const ruleConfigs = Object.entries(rules)
[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 …]
/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 …]

12345678910>>...239