Home
last modified time | relevance | path

Searched refs:Rules (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/external/libtextclassifier/native/utils/grammar/utils/
Drules.cc56 bool IsRhsAssigned(const Rules::Rule& rule, in IsRhsAssigned()
58 for (const Rules::RhsElement& element : rule.rhs) { in IsRhsAssigned()
81 void LowerRule(const int lhs_index, const Rules::Rule& rule, in LowerRule()
104 for (const Rules::RhsElement& element : rule.rhs) { in LowerRule()
140 int Rules::AddNonterminal(const std::string& nonterminal_name) { in AddNonterminal()
156 int Rules::AddNewNonterminal() { in AddNewNonterminal()
162 void Rules::AddAlias(const std::string& nonterminal_name, in AddAlias()
177 int Rules::AddAnnotation(const std::string& annotation_name) { in AddAnnotation()
186 void Rules::BindAnnotation(const std::string& nonterminal_name, in BindAnnotation()
193 bool Rules::IsNonterminalOfName(const RhsElement& element, in IsNonterminalOfName()
[all …]
Drules_test.cc33 Rules rules(locale_shard_map); in TEST()
56 Rules rules(locale_shard_map); in TEST()
82 Rules rules(locale_shard_map); in TEST()
100 Rules rules(locale_shard_map); in TEST()
122 Rules rules(locale_shard_map); in TEST()
139 Rules rules(locale_shard_map); in TEST()
152 Rules rules(locale_shard_map); in TEST()
175 Rules rules(locale_shard_map); in TEST()
199 Rules rules(locale_shard_map); in TEST()
222 Rules rules(locale_shard_map); in TEST()
/external/llvm-project/clang/lib/Tooling/Refactoring/
DRefactoringActions.cpp40 RefactoringActionRules Rules; in createActionRules() local
41 Rules.push_back(createRefactoringActionRule<ExtractFunction>( in createActionRules()
44 return Rules; in createActionRules()
85 RefactoringActionRules Rules; in createActionRules() local
86 Rules.push_back(createRefactoringActionRule<RenameOccurrences>( in createActionRules()
89 Rules.push_back(createRefactoringActionRule<QualifiedRenameRule>( in createActionRules()
92 return Rules; in createActionRules()
/external/libtextclassifier/native/utils/grammar/parsing/
Dparser_test.cc46 Rules rules(locale_shard_map); in TEST_F()
65 Rules rules(locale_shard_map); in TEST_F()
89 Rules rules(locale_shard_map); in TEST_F()
110 Rules rules(locale_shard_map); in TEST_F()
131 Rules rules(locale_shard_map); in TEST_F()
156 Rules rules(locale_shard_map); in TEST_F()
184 Rules rules(locale_shard_map); in TEST_F()
207 Rules rules(locale_shard_map); in TEST_F()
231 Rules rules(locale_shard_map); in TEST_F()
247 Rules rules(locale_shard_map); in TEST_F()
[all …]
Dmatcher_test.cc128 Rules rules(locale_shard_map); in TEST_F()
153 Rules rules(locale_shard_map); in CreateTestGrammar()
269 Rules rules(locale_shard_map); in TEST_F()
304 Rules rules(locale_shard_map); in TEST_F()
344 Rules rules(locale_shard_map); in TEST_F()
398 Rules rules(locale_shard_map); in TEST_F()
Dmatcher.cc179 const RulesSet_::Rules* rules, in FindUnaryRulesMatches()
193 const RulesSet* rules_set, const RulesSet_::Rules* rules, in FindBinaryRulesMatches()
269 for (const RulesSet_::Rules* shard : rules_shards_) { in AddTerminal()
405 for (const RulesSet_::Rules* shard : rules_shards_) { in ProcessPendingSet()
425 for (const RulesSet_::Rules* shard : rules_shards_) { in ProcessPendingSet()
Dmatcher.h58 const std::vector<const RulesSet_::Rules*> rules_shards, in Matcher()
136 std::vector<const RulesSet_::Rules*> rules_shards_;
/external/llvm-project/clang-tools-extra/clangd/
DCompileCommands.cpp370 llvm::SmallVector<Rule, 8> Rules; in rulesFor() local
386 Rules.emplace_back(); in rulesFor()
387 Rule &R = Rules.back(); in rulesFor()
400 for (const auto &R : Rules) in rulesFor()
401 Result->find(R.Text)->second.append(Rules.begin(), Rules.end()); in rulesFor()
430 Rules.emplace_back(); in strip()
431 Rules.back().Text = Storage.back(); in strip()
432 Rules.back().ExactArgs = 1; in strip()
433 if (Rules.back().Text.consume_back("*")) in strip()
434 Rules.back().PrefixArgs = 1; in strip()
[all …]
/external/crosvm/seccomp/x86_64/
Dgpu_device.policy5 # Rules from common_device.policy with some rules removed because they block certain flags needed
49 # Rules specific to gpu
84 # Rules for Mesa's shader binary cache.
92 # Rules specific to AMD gpus.
98 # Rules for Vulkan loader
103 # Rules for virglrenderer
/external/bazelbuild-rules_android/
DROADMAP.md5 Rules. There are three major pillars that we are focused on when developing the
13 ## Rules Alpha (est. mid 2019)
15 The primary goal of the Rules Alpha release is to start collecting feedback from
17 rules. Our intention is for Rules Alpha to be a 1:1 identical drop-in
46 ## Rules Beta (est. late 2019)
48 The goal for the Rules Beta release is to provide a stable, (mostly) feature
50 Rules Beta release to be the first version of the rules to be broadly adopted,
/external/crosvm/seccomp/aarch64/
Dgpu_device.policy5 # Rules from common_device.policy with some rules removed because they block certain flags needed
50 ## Rules specific to gpu
70 ## Rules specific to pvr
79 # Rules specific to Mesa.
/external/grpc-grpc/src/csharp/
DSettings.StyleCop4 <Rules>
215 </Rules>
219 <Rules>
280 </Rules>
284 <Rules>
325 </Rules>
329 <Rules>
370 </Rules>
374 <Rules>
480 </Rules>
[all …]
/external/crosvm/seccomp/arm/
Dgpu_device.policy5 # Rules from common_device.policy with some rules removed because they block certain flags needed
56 ## Rules specific to gpu
80 ## Rules specific to pvr
91 # Rules specific to Mesa.
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DPluralsMapper.java47 .addAction("pluralRules[@locales=*]", Rules::new, Plurals::addRules)
48 .addValueAction("pluralRule[@count=*]", Rules::addRule);
93 private void addRules(Rules r) { in addRules()
119 private static class Rules { class in PluralsMapper
123 private Rules(CldrPath prefix) { in Rules() method in PluralsMapper.Rules
/external/libtextclassifier/native/utils/grammar/
Drules-utils.cc27 const grammar::RulesSet_::Rules* rules_shard = rules->rules()->Get(i); in ParseRulesLocales()
38 std::vector<const grammar::RulesSet_::Rules*> SelectLocaleMatchingShards( in SelectLocaleMatchingShards()
42 std::vector<const grammar::RulesSet_::Rules*> shards; in SelectLocaleMatchingShards()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator_test.cc51 grammar::Rules rules(locale_shard_map); in TEST_F()
87 grammar::Rules rules(locale_shard_map); in TEST_F()
130 grammar::Rules rules(locale_shard_map); in TEST_F()
169 grammar::Rules rules(locale_shard_map); in TEST_F()
208 grammar::Rules rules(locale_shard_map); in TEST_F()
270 grammar::Rules rules(locale_shard_map); in TEST_F()
324 grammar::Rules rules(locale_shard_map); in TEST_F()
358 grammar::Rules rules(locale_shard_map); in TEST_F()
404 grammar::Rules rules(locale_shard_map); in TEST_F()
462 grammar::Rules rules(locale_shard_map); in TEST_F()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/
DRules.java23 public class Rules { class
25 private Rules() { in Rules() method in Rules
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DStringTemplateOutput.g313 * Parser Rules
27 * Lexer Rules
DTestActionFeatures.g316 * Parser Rules
60 * Lexer Rules
/external/libtextclassifier/native/actions/
Dgrammar-actions_test.cc146 grammar::Rules rules(locale_shard_map); in TEST_F()
182 grammar::Rules rules(locale_shard_map); in TEST_F()
240 grammar::Rules rules(locale_shard_map); in TEST_F()
281 grammar::Rules rules(locale_shard_map); in TEST_F()
345 grammar::Rules rules(locale_shard_map); in TEST_F()
400 grammar::Rules rules(locale_shard_map); in TEST_F()
454 grammar::Rules rules(locale_shard_map); in TEST_F()
537 grammar::Rules rules(locale_shard_map); in TEST_F()
588 grammar::Rules rules(locale_shard_map); in TEST_F()
649 grammar::Rules rules(locale_shard_map); in TEST_F()
/external/llvm-project/clang/lib/Sema/
DSemaAttr.cpp667 attrMatcherRuleListToString(ArrayRef<attr::SubjectMatchRule> Rules) { in attrMatcherRuleListToString() argument
670 for (const auto &I : llvm::enumerate(Rules)) { in attrMatcherRuleListToString()
672 OS << (I.index() == Rules.size() - 1 ? ", and " : ", "); in attrMatcherRuleListToString()
682 attr::ParsedSubjectMatchRuleSet Rules) { in ActOnPragmaAttributeAttribute() argument
700 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute()
706 auto It = Rules.find(*ParentRule); in ActOnPragmaAttributeAttribute()
707 if (It != Rules.end()) { in ActOnPragmaAttributeAttribute()
724 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute()
750 for (const auto &Rule : Rules) in ActOnPragmaAttributeAttribute()
753 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute()
[all …]
/external/oss-fuzz/projects/usbguard/
Dbuild.sh68 done < <( cat $SRC/usbguard/src/Tests/Rules/test-rules.good \
69 $SRC/usbguard/src/Tests/Rules/test-rules.bad )
/external/dagger2/java/dagger/lint/
DBUILD16 # Dagger Lint Rules
57 artifact_name = "Dagger Lint Rules",
79 artifact_name = "Dagger Lint Rules AAR Distribution",
/external/selinux/python/sepolicy/sepolicy/help/
Dtransition_file.txt13 File Transition Rules can be written to create all objects of a particular class, or specific to a …
15 You need to build a policy module if you want to add additional File Transition Rules.
/external/angle/src/feature_support_util/
Dfeature_support_util_unittest.cpp82 "Rules" : [ in TEST_F()
104 "Rules" : [ in TEST_F()

12345678910>>...19