Home
last modified time | relevance | path

Searched refs:rule (Results 51 - 75 of 337) sorted by relevance

12345678910>>...14

/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_nir_algebraic.py102 rule = a variable
109 rule = (op + str(int(cursz)), rule) variable
112 rule = (sizeconvop + str(int(cursz)), rule) variable
114 rule = (op + str(int(cursz)), rule) variable
115 converts += [((op + str(int(dstsz)), 'a@' + str(int(srcsz))), rule)]
/third_party/skia/buildtools/checkdeps/
H A Drules.py13 """Specifies a single rule for an include, which can be one of
17 # These are the prefixes used to indicate each type of rule. These
19 # rule this is.
34 """Returns a tuple (allow, dependent dir, dependee dir) for this rule,
42 of the current rule. For example, the input "foo" would match "foo/bar"."""
46 """Returns true if the input string would be covered by this rule. For
47 example, the input "foo/bar" would match the rule "foo"."""
52 """A rule that has a simple message as the reason for failing,
65 """Returns a tuple of a character indicating what type of rule this
66 is, and a string holding the path the rule applie
[all...]
/third_party/ninja/
H A Dconfigure.py130 # Map of rule name => dict of rule attributes.
147 def rule(self, name, **kwargs): member in Bootstrap
149 return self.writer.rule(name, **kwargs)
151 def build(self, outputs, rule, inputs=None, **kwargs):
152 ruleattr = self.rules[rule]
154 if cmd is None: # A phony rule, for example.
168 return self.writer.build(outputs, rule, inputs, **kwargs)
431 n.rule('cxx',
437 n.rule('cx
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
H A Drbt_rule.cpp34 * Construct a new rule with the given input, output text, and other
53 * @param anchorStart true if the the rule is anchored on the left to
55 * @param anchorEnd true if the rule is anchored on the right to the
216 * Internal method. Returns 8-bit index value for this rule.
232 * Internal method. Returns true if this rule matches the given
235 * It matches this rule if it matches the first character of the
238 * value. If the rule contains only ante context, as in foo)>bar,
249 * Return true if this rule masks another rule. If r1 masks r2 then
255 /* Rule r1 masks rule r in masks()
469 toRule(UnicodeString& rule, UBool escapeUnprintable) const toRule() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (char16_t)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (char16_t)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (char16_t)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (char16_t)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
H A Drbt_rule.cpp34 * Construct a new rule with the given input, output text, and other
53 * @param anchorStart true if the the rule is anchored on the left to
55 * @param anchorEnd true if the rule is anchored on the right to the
216 * Internal method. Returns 8-bit index value for this rule.
232 * Internal method. Returns true if this rule matches the given
235 * It matches this rule if it matches the first character of the
238 * value. If the rule contains only ante context, as in foo)>bar,
249 * Return true if this rule masks another rule. If r1 masks r2 then
255 /* Rule r1 masks rule r in masks()
469 toRule(UnicodeString& rule, UBool escapeUnprintable) const toRule() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
H A Drbt_rule.cpp34 * Construct a new rule with the given input, output text, and other
53 * @param anchorStart TRUE if the the rule is anchored on the left to
55 * @param anchorEnd TRUE if the rule is anchored on the right to the
216 * Internal method. Returns 8-bit index value for this rule.
232 * Internal method. Returns true if this rule matches the given
235 * It matches this rule if it matches the first character of the
238 * value. If the rule contains only ante context, as in foo)>bar,
249 * Return true if this rule masks another rule. If r1 masks r2 then
255 /* Rule r1 masks rule r in masks()
469 toRule(UnicodeString& rule, UBool escapeUnprintable) const toRule() argument
[all...]
/third_party/musl/porting/linux/user/src/time/
H A D__tz.c93 static void getrule(const char **p, int rule[5]) in getrule() argument
95 int r = rule[0] = **p; in getrule()
101 rule[0] = 0; in getrule()
103 rule[1] = getint(p); in getrule()
106 rule[1] = getint(p); in getrule()
108 rule[2] = getint(p); in getrule()
110 rule[3] = getint(p); in getrule()
115 rule[4] = getoff(p); in getrule()
117 rule[4] = 7200; in getrule()
346 * and determine alternate opposite-DST-status rule tha
419 rule_to_secs(const int *rule, int year) rule_to_secs() argument
[all...]
/third_party/musl/src/time/
H A D__tz.c82 static void getrule(const char **p, int rule[5]) in getrule() argument
84 int r = rule[0] = **p; in getrule()
88 else rule[0] = 0; in getrule()
89 rule[1] = getint(p); in getrule()
91 ++*p; rule[1] = getint(p); in getrule()
92 ++*p; rule[2] = getint(p); in getrule()
93 ++*p; rule[3] = getint(p); in getrule()
98 rule[4] = getoff(p); in getrule()
100 rule[4] = 7200; in getrule()
420 * and determine alternate opposite-DST-status rule tha
493 rule_to_secs(const int *rule, int year) rule_to_secs() argument
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil_write_ast.c1107 struct cil_avrule *rule = node->data; in cil_write_ast_node() local
1108 if (rule->rule_kind == AVRULE_ALLOWED) in cil_write_ast_node()
1110 else if (rule->rule_kind == AVRULE_AUDITALLOW) in cil_write_ast_node()
1112 else if (rule->rule_kind == AVRULE_DONTAUDIT) in cil_write_ast_node()
1114 else if (rule->rule_kind == AVRULE_NEVERALLOW) in cil_write_ast_node()
1119 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node()
1120 fprintf(out, "%s ", datum_or_str(DATUM(rule->tgt), rule->tgt_str)); in cil_write_ast_node()
1121 write_classperms_list(out, rule in cil_write_ast_node()
1126 struct cil_avrule *rule = node->data; cil_write_ast_node() local
1148 struct cil_type_rule *rule = node->data; cil_write_ast_node() local
1165 struct cil_nametypetransition *rule = node->data; cil_write_ast_node() local
1176 struct cil_rangetransition *rule = node->data; cil_write_ast_node() local
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterationRule.java14 * A transliteration rule used by
18 * <p>A rule consists of an input pattern and an output string. When
29 * <p>A rule may contain segments in its input string and segment
39 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
120 * An alias pointer to the data for this rule. The data provides
127 * Construct a new rule with the given input, output text, and other
144 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
149 * @param anchorStart true if the the rule is anchored on the left to
151 * @param anchorEnd true if the rule is anchored on the right to the
234 * Internal method. Returns 8-bit index value for this rule
[all...]
H A DStringReplacer.java270 StringBuffer rule = new StringBuffer(); in toReplacerPattern()
278 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
285 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
291 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
296 Utility.appendToRule(rule, buf.toString(), in toReplacerPattern()
307 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
309 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
312 Utility.appendToRule(rule, -1, in toReplacerPattern()
315 return rule.toString(); in toReplacerPattern()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliterationRule.java15 * A transliteration rule used by
19 * <p>A rule consists of an input pattern and an output string. When
30 * <p>A rule may contain segments in its input string and segment
40 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
121 * An alias pointer to the data for this rule. The data provides
128 * Construct a new rule with the given input, output text, and other
145 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
150 * @param anchorStart true if the the rule is anchored on the left to
152 * @param anchorEnd true if the rule is anchored on the right to the
235 * Internal method. Returns 8-bit index value for this rule
[all...]
H A DStringReplacer.java271 StringBuffer rule = new StringBuffer(); in toReplacerPattern()
279 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
286 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
292 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
297 Utility.appendToRule(rule, buf.toString(), in toReplacerPattern()
308 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
310 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
313 Utility.appendToRule(rule, -1, in toReplacerPattern()
316 return rule.toString(); in toReplacerPattern()
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_validate.c195 const struct rogue_instr_rule *rule; in rogue_validate_instr() local
199 rule = &instr_rules[instr->opcode]; in rogue_validate_instr()
202 CHECKF(rogue_check_bitset(instr->flags, rule->flags), in rogue_validate_instr()
206 CHECKF(instr->num_operands == rule->num_operands, in rogue_validate_instr()
209 CHECK(!rule->num_operands || instr->operands); in rogue_validate_instr()
213 rule->operand_rules[u].mask), in rogue_validate_instr()
220 rule->operand_rules[u].min != -1 && in rogue_validate_instr()
221 rule->operand_rules[u].max != -1) { in rogue_validate_instr()
223 instr->operands[u].immediate.value >= rule->operand_rules[u].min && in rogue_validate_instr()
224 instr->operands[u].immediate.value <= rule in rogue_validate_instr()
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dparser_generator.py50 def visit_Rule(self, rule: Rule) -> None:
51 self.visit(rule.flatten())
81 raise GrammarError(f"Dangling reference to rule {node.value!r}")
101 raise GrammarError("Grammar without a trailer must have a 'start' rule")
103 for rule in self.rules.values():
104 checker.visit(rule)
114 for rule in self.rules:
115 if rule.startswith("_"):
116 raise GrammarError(f"Rule names cannot start with underscore: '{rule}'")
153 for rule i
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DRuleBasedTimeZone.java41 * @param initialRule The initial time zone rule.
56 * @param rule The <code>TimeZoneRule</code>.
60 public void addTransitionRule(TimeZoneRule rule) { in addTransitionRule() argument
64 if (!rule.isTransitionRule()) { in addTransitionRule()
65 throw new IllegalArgumentException("Rule must be a transition rule"); in addTransitionRule()
67 if (rule instanceof AnnualTimeZoneRule in addTransitionRule()
68 && ((AnnualTimeZoneRule)rule).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in addTransitionRule()
72 finalRules[0] = (AnnualTimeZoneRule)rule; in addTransitionRule()
74 finalRules[1] = (AnnualTimeZoneRule)rule; in addTransitionRule()
80 // If this is not a final rule, ad in addTransitionRule()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DRuleBasedTimeZone.java42 * @param initialRule The initial time zone rule.
55 * @param rule The <code>TimeZoneRule</code>.
57 public void addTransitionRule(TimeZoneRule rule) { in addTransitionRule() argument
61 if (!rule.isTransitionRule()) { in addTransitionRule()
62 throw new IllegalArgumentException("Rule must be a transition rule"); in addTransitionRule()
64 if (rule instanceof AnnualTimeZoneRule in addTransitionRule()
65 && ((AnnualTimeZoneRule)rule).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in addTransitionRule()
69 finalRules[0] = (AnnualTimeZoneRule)rule; in addTransitionRule()
71 finalRules[1] = (AnnualTimeZoneRule)rule; in addTransitionRule()
77 // If this is not a final rule, ad in addTransitionRule()
[all...]
/third_party/ninja/src/
H A Dstate_test.cc32 Rule* rule = new Rule("cat"); in TEST() local
33 rule->AddBinding("command", command); in TEST()
34 state.bindings_.AddRule(rule); in TEST()
36 Edge* edge = state.AddEdge(rule); in TEST()
/third_party/icu/icu4c/source/common/
H A Dutil.h164 static int32_t parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
196 static int32_t parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit);
242 static void appendToRule(UnicodeString& rule,
248 static void appendToRule(UnicodeString& rule,
254 static void appendToRule(UnicodeString& rule,
/third_party/node/deps/icu-small/source/common/
H A Dutil.h164 static int32_t parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
196 static int32_t parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit);
242 static void appendToRule(UnicodeString& rule,
248 static void appendToRule(UnicodeString& rule,
254 static void appendToRule(UnicodeString& rule,
/third_party/skia/third_party/externals/icu/source/common/
H A Dutil.h154 static int32_t parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
186 static int32_t parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit);
232 static void appendToRule(UnicodeString& rule,
238 static void appendToRule(UnicodeString& rule,
244 static void appendToRule(UnicodeString& rule,
/third_party/musl/porting/liteos_a/kernel/src/time/
H A D__tz.c50 * and determine alternate opposite-DST-status rule that may be needed. */
65 /* Binary search for 'most-recent rule before t'. */ in scan_trans()
81 * non-DST type. Last means to apply POSIX-style rule if available. */ in scan_trans()
102 /* Try to find a neighboring opposite-DST-status rule. */ in scan_trans()
121 /* Convert a POSIX DST rule plus year to seconds since epoch. */
123 static long long rule_to_secs(const int *rule, int year) in rule_to_secs() argument
128 if (rule[0]!='M') { in rule_to_secs()
129 x = rule[1]; in rule_to_secs()
130 if (rule[0]=='J' && (x < 60 || !is_leap)) x--; in rule_to_secs()
133 m = rule[ in rule_to_secs()
[all...]

Completed in 14 milliseconds

12345678910>>...14