Home
last modified time | relevance | path

Searched refs:Rule (Results 1 - 25 of 74) sorted by relevance

123

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
H A DRuleExtractor.java48 private static Set<Rule> extract(LigatureSubst table) { in extract()
49 Set<Rule> allRules = new LinkedHashSet<Rule>(); in extract()
53 List<Rule> subRules = extract(table.subTableAt(i)); in extract()
54 subRules = Rule.prependToInput(prefixChars.get(i), subRules); in extract()
108 private static List<Rule> extract(LigatureSet table) { in extract()
109 List<Rule> allRules = new ArrayList<Rule>(); in extract()
112 Rule subRule = extract(table.subTableAt(i)); in extract()
118 private static Rule extrac
[all...]
H A DRule.java24 public class Rule { class
31 Rule(RuleSegment backtrack, RuleSegment input, RuleSegment lookAhead, RuleSegment subst) { in Rule() method in Rule
44 Set<Rule> featuredRules = featuredRules(font); in charGlyphClosure()
45 Map<Integer, Set<Rule>> glyphRuleMap = createGlyphRuleMap(featuredRules); in charGlyphClosure()
50 public static GlyphGroup closure(Map<Integer, Set<Rule>> glyphRuleMap, GlyphGroup glyphs) { in closure()
54 for (Rule rule : rulesForGlyph(glyphRuleMap, glyphs)) { in closure()
78 public static Map<Integer, Set<Rule>> glyphRulesMap(Font font) { in glyphRulesMap()
79 Set<Rule> featuredRules = Rule.featuredRules(font); in glyphRulesMap()
86 private static Map<Integer, Set<Rule>> createGlyphRuleMa
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DSymbolTable_autogen.cpp[all...]
H A DSymbolTable_ESSL_autogen.cpp18388 using Rule = SymbolRule;
18392 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&radians_00B),
18393 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&radians_10B),
18394 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&radians_20B),
18395 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&radians_30B),
18396 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&degrees_00B),
18397 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&degrees_10B),
18398 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&degrees_20B),
18399 Rule::Get<Spec::ESSL, 0, Shader::ALL, 0>(&degrees_30B),
18400 Rule
[all...]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/table/opentype/
H A DRuleTests.java8 import com.google.typography.font.sfntly.table.opentype.component.Rule;
47 Rule.dumpLookups(font); in allFonts()
51 Map<Integer, Set<Rule>> glyphRulesMap = Rule.glyphRulesMap(font); in allFonts()
82 Map<Integer, Set<Rule>> glyphRulesMap = Rule.glyphRulesMap(font); in aFont()
83 GlyphGroup glyphGroup = Rule.glyphGroupForText("য্রী", cmap); in aFont()
84 GlyphGroup closure = Rule.closure(glyphRulesMap, glyphGroup); in aFont()
85 Rule.dumpLookups(font); in aFont()
90 CMapTable cmap, Map<Integer, Set<Rule>> glyphRulesMa in assertClosure()
[all...]
/third_party/ninja/src/
H A Deval_env.h24 struct Rule;
59 struct Rule { struct
60 explicit Rule(const std::string& name) : name_(name) {} in Rule() function
88 void AddRule(const Rule* rule);
89 const Rule* LookupRule(const std::string& rule_name);
90 const Rule* LookupRuleCurrentScope(const std::string& rule_name);
91 const std::map<std::string, const Rule*>& GetRules() const;
105 std::map<std::string, const Rule*> rules_;
H A Deval_env.cc34 void BindingEnv::AddRule(const Rule* rule) { in AddRule()
39 const Rule* BindingEnv::LookupRuleCurrentScope(const string& rule_name) { in LookupRuleCurrentScope()
40 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRuleCurrentScope()
46 const Rule* BindingEnv::LookupRule(const string& rule_name) { in LookupRule()
47 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRule()
55 void Rule::AddBinding(const string& key, const EvalString& val) { in AddBinding()
59 const EvalString* Rule::GetBinding(const string& key) const { in GetBinding()
67 bool Rule::IsReservedBinding(const string& var) { in IsReservedBinding()
81 const map<string, const Rule*>& BindingEnv::GetRules() const { in GetRules()
H A Dmissing_deps.h28 struct Rule;
35 const Rule& generator) = 0;
39 void OnMissingDep(Node* node, const std::string& path, const Rule& generator);
65 std::set<const Rule*> generator_rules_;
H A Dclean.h27 struct Rule;
53 int CleanRule(const Rule* rule);
95 void DoCleanRule(const Rule* rule);
H A Dmissing_deps_test.cc27 const Rule& generator) {} in OnMissingDep()
79 Rule* rule) { in AssertMissingDependencyBetween()
89 Rule generator_rule_;
90 Rule compile_rule_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp308 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex() argument
310 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
313 C.advance(Rule.size()); in maybeLexIndex()
321 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName() argument
323 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
326 C.advance(Rule.size()); in maybeLexIndexAndName()
331 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName()
362 const StringRef Rule in maybeLexSubRegisterIndex() local
371 const StringRef Rule = "%ir-block."; maybeLexIRBlock() local
381 const StringRef Rule = "%ir."; maybeLexIRValue() local
475 const StringRef Rule = "<mcsymbol "; maybeLexMCSymbol() local
[all...]
/third_party/skia/buildtools/checkdeps/
H A Drules.py12 class Rule(object): class
51 class MessageRule(Rule):
57 super(MessageRule, self).__init__(Rule.DISALLOW, '', '', '')
72 if not rule_string[0] in [Rule.ALLOW, Rule.DISALLOW, Rule.TEMP_ALLOW]:
78 # will not match as a parent directory in Rule's [Parent|Child]OrMatch above.
166 rules_to_update.insert(0, Rule(rule_type, rule_dir, dependent_dir, source))
H A Dgraphdeps.py25 from rules import Rule namespace
59 ignore_temp_rules: Ignore rules that start with Rule.TEMP_ALLOW ("!").
147 if allow == Rule.TEMP_ALLOW and self.ignore_temp_rules:
176 if ((dst, Rule.ALLOW) not in deps_graph[src]) and \
177 ((dst, Rule.TEMP_ALLOW) not in deps_graph[src]) and \
178 ((dst, Rule.DISALLOW) not in deps_graph[src]):
192 if allow == Rule.DISALLOW and self.hide_disallowed_deps:
195 if allow == Rule.ALLOW and src == dst:
222 if allow == Rule.ALLOW:
225 elif allow == Rule
[all...]
/third_party/node/deps/v8/src/torque/
H A Dearley-parser.h215 class Rule final {
217 explicit Rule(std::vector<Symbol*> right_hand_side, in Rule() function in v8::internal::final
251 Symbol(std::initializer_list<Rule> rules) { *this = rules; } in Symbol()
257 V8_EXPORT_PRIVATE Symbol& operator=(std::initializer_list<Rule> rules);
260 Rule* rule(size_t index) const { return rules_[index].get(); } in rule()
263 void AddRule(const Rule& rule) { in AddRule()
264 rules_.push_back(std::make_unique<Rule>(rule)); in AddRule()
272 std::vector<std::unique_ptr<Rule>> rules_;
283 Item(const Rule* rule, size_t mark, size_t start, size_t pos) in Item()
348 const Rule* rul
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dparser_generator.py38 Rule,
46 def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
50 def visit_Rule(self, rule: Rule) -> None:
75 def __init__(self, rules: Dict[str, Rule], tokens: Set[str]):
110 self.all_rules: Dict[str, Rule] = self.rules.copy() # Rules + temporal rules
116 raise GrammarError(f"Rule names cannot start with underscore: '{rule}'")
174 self.all_rules[name] = Rule(name, None, rhs)
184 self.all_rules[name] = Rule(name, None, Rhs([Alt([NamedItem(None, node)])]))
196 self.all_rules[extra_function_name] = Rule(
204 self.all_rules[name] = Rule(
[all...]
H A Dgrammar_visualizer.py6 from pegen.grammar import Grammar, Rule namespace
15 def children(self, node: Rule) -> Iterator[Any]:
22 def name(self, node: Rule) -> str:
31 def print_nodes_recursively(self, node: Rule, prefix: str = "", istail: bool = True) -> str:
/third_party/skia/third_party/externals/angle2/src/feature_support_util/
H A Dfeature_support_util_unittest.cpp84 "Rule" : "Default Rule (i.e. do not use ANGLE)", in TEST_F()
106 "Rule" : "Default Rule (i.e. do not use ANGLE)", in TEST_F()
110 "Rule" : "Supported application(s)", in TEST_F()
119 "Rule" : "Exceptions for bad drivers(s)", in TEST_F()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
H A DRegexTransformer.java54 private final ImmutableListMultimap<String, Rule> rulesMap;
59 private final Set<Rule> unusedRules = new LinkedHashSet<>();
61 private RegexTransformer(List<Rule> rules) { in RegexTransformer()
63 rules.stream().collect(toImmutableSetMultimap(Rule::getDataType, Rule::getPathPrefix)); in RegexTransformer()
65 rules.stream().collect(toImmutableListMultimap(Rule::getPathPrefix, identity())); in RegexTransformer()
67 rules.stream().flatMap(Rule::getFallbackFunctions).collect(toImmutableList()); in RegexTransformer()
90 for (Rule rule : rulesMap.get(pathPrefix)) { in transform()
H A DRule.java34 abstract class Rule { class
36 static Rule staticRule( in staticRule()
48 static Rule dynamicRule( in dynamicRule()
71 private Rule( in Rule() method in Rule
132 private static final class StaticRule extends Rule {
155 private static final class DynamicRule extends Rule {
H A DRuleParser.java52 static ImmutableList<Rule> parseConfig( in parseConfig()
77 private ImmutableList<Rule> parseLines(List<String> configLines) { in parseLines()
78 List<Rule> rules = new ArrayList<>(); in parseLines()
130 private Rule parseRule(String xpathSpec, List<ResultSpec> resultSpecs, int lineNumber) { in parseRule()
147 ? Rule.staticRule( in parseRule()
149 : Rule.dynamicRule( in parseRule()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralRules.java370 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1522 private static Rule parseRule(String description) throws ParseException { in parseRule()
1580 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1598 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1782 * Implementation of Rule that uses a constraint.
1785 private static class Rule implements Serializable { class in PluralRules
1786 // TODO - Findbugs: Class ohos.global.icu.text.PluralRules$Rule defines non-transient
1794 public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecimalSamples decimalSamples) { in Rule() method in PluralRules.Rule
1802 public Rule an
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcontextualOverloadListFromUnionWithPrimitiveNoImplicitAny.js3 type Validate = (text: string, pos: number, self: Rule) => number | boolean;
9 type Rule = string | FullRule;
11 const obj: {field: Rule} = {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp102 static bool hasNoSimpleLoops(const LegalizeRule &Rule, const LegalityQuery &Q, in hasNoSimpleLoops() argument
104 switch (Rule.getAction()) { in hasNoSimpleLoops()
117 static bool mutationIsSane(const LegalizeRule &Rule, in mutationIsSane() argument
122 if (Rule.getAction() == Custom) in mutationIsSane()
129 switch (Rule.getAction()) { in mutationIsSane()
138 if (Rule.getAction() == FewerElements) { in mutationIsSane()
164 if (Rule.getAction() == NarrowScalar) { in mutationIsSane()
189 for (const LegalizeRule &Rule : Rules) { in apply()
190 if (Rule.match(Query)) { in apply()
192 std::pair<unsigned, LLT> Mutation = Rule in apply()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DGsubRulesDump.java8 import com.google.typography.font.sfntly.table.opentype.component.Rule;
27 GlyphGroup ruleClosure = Rule.charGlyphClosure(font, txt); in main()
29 Rule.dumpLookups(font); in main()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralRules.java385 private static final Rule DEFAULT_RULE = new Rule("other", NO_CONSTRAINT, null, null);
1602 private static Rule parseRule(String description) throws ParseException { in parseRule()
1660 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1678 Rule rule = parseRule(rules[i].trim()); in parseRuleChain()
1862 * Implementation of Rule that uses a constraint.
1865 private static class Rule implements Serializable { class in PluralRules
1866 // TODO - Findbugs: Class com.ibm.icu.text.PluralRules$Rule defines non-transient
1874 public Rule(String keyword, Constraint constraint, DecimalQuantitySamples integerSamples, DecimalQuantitySamples decimalSamples) { in Rule() method in PluralRules.Rule
1882 public Rule an
[all...]

Completed in 79 milliseconds

123