HomeSort by relevance Sort by last modified time
    Searched defs:rule (Results 1 - 25 of 188) sorted by null

1 2 3 4 5 6 7 8

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
RuleClosureTransition.java 30 import org.antlr.tool.Rule;
32 /** A transition used to reference another rule. It tracks two targets
34 * state that refers to the other rule. Conversion of an NFA that
35 * falls off the end of a rule will be able to figure out who invoked
36 * that rule because of these special transitions.
39 /** Ptr to the rule definition object for this rule ref */
40 public Rule rule; field in class:RuleClosureTransition
42 /** What node to begin computations following ref to rule */
    [all...]
  /external/chromium_org/chrome/browser/content_settings/
content_settings_origin_identifier_value_map_unittest.cc 203 content_settings::Rule rule = rule_iterator->Next(); local
204 EXPECT_EQ(sub_pattern, rule.primary_pattern);
205 EXPECT_EQ(2, content_settings::ValueToContentSetting(rule.value.get()));
208 rule = rule_iterator->Next();
209 EXPECT_EQ(pattern, rule.primary_pattern);
210 EXPECT_EQ(1, content_settings::ValueToContentSetting(rule.value.get()));
content_settings_rule_unittest.cc 17 explicit ListIterator(const std::list<Rule>& rules)
26 virtual Rule Next() OVERRIDE {
30 Rule rule = rules_.front(); variable
32 return rule;
36 std::list<Rule> rules_;
42 std::list<Rule> rules1;
43 rules1.push_back(Rule(ContentSettingsPattern::FromString("a"),
46 rules1.push_back(Rule(ContentSettingsPattern::FromString("b"),
49 std::list<Rule> rules2
62 Rule rule; local
    [all...]
content_settings_policy_provider_unittest.cc 31 typedef std::vector<Rule> Rules;
72 Rule rule = rule_iterator->Next(); local
75 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern);
76 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern);
77 EXPECT_EQ(CONTENT_SETTING_BLOCK, ValueToContentSetting(rule.value.get()));
96 Rule rule = rule_iterator->Next(); local
99 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern);
100 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern)
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRTreeRewriter.h 43 - (id)rule;
51 ANTLRfptr *rule; variable
60 - (ANTLRTreeRewriter *) applyOnce:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
61 - (ANTLRTreeRewriter *) applyRepeatedly:(id<ANTLRTree>)t Rule:(ANTLRfptr *)whichRule;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeRewriter.h 43 - (id)rule;
53 ANTLRfptr *rule; variable
62 - (id) applyOnce:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule;
63 - (id) applyRepeatedly:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule;
77 @property (retain) ANTLRfptr *rule; variable
  /external/chromium_org/chrome/renderer/safe_browsing/
scorer_unittest.cc 34 ClientSideModel::Rule* rule; local
35 rule = model_.add_rule();
36 rule->set_weight(0.5);
38 rule = model_.add_rule();
39 rule->add_feature(0); // feature1
40 rule->set_weight(2.0);
42 rule = model_.add_rule();
43 rule->add_feature(0); // feature1
44 rule->add_feature(1); // feature
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
rndmcoll.cpp 19 // each rule can be:
151 const char * rule = test_rule.next(); local
153 logln(UnicodeString(rule, strlen(rule)));
155 UnicodeString newRule(rule); // potential bug
158 fwrite(rule, strlen(rule),1,stdout);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
166 "The rule is ",
itrbnfp.cpp 54 // Try various rule parsing errors. Shouldn't crash.
105 "11: << x", // formating a multiple of 10 causes rollback rule to fail
121 const char* rule = rules[i]; local
122 logln("rule[%d] \"%s\"", i, rule);
125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status);
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/test/
rule_test.cc 15 #include "rule.h"
39 using i18n::addressinput::Rule;
43 Rule rule; local
44 ASSERT_TRUE(rule.ParseSerializedRule("{"
53 Rule copy;
54 EXPECT_NE(rule.GetFormat(), copy.GetFormat());
55 EXPECT_NE(rule.GetSubKeys(), copy.GetSubKeys());
56 EXPECT_NE(rule.GetLanguages(), copy.GetLanguages());
57 EXPECT_NE(rule.GetLanguage(), copy.GetLanguage())
75 Rule rule; local
112 Rule rule; local
119 Rule rule; local
129 Rule rule; local
135 Rule rule; local
145 Rule rule; local
150 Rule rule; local
    [all...]
  /external/icu4c/test/intltest/
rndmcoll.cpp 19 // each rule can be:
151 const char * rule = test_rule.next(); local
153 logln(UnicodeString(rule, strlen(rule)));
155 UnicodeString newRule(rule); // potential bug
158 fwrite(rule, strlen(rule),1,stdout);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
166 "The rule is ",
itrbnfp.cpp 54 // Try various rule parsing errors. Shouldn't crash.
105 "11: << x", // formating a multiple of 10 causes rollback rule to fail
121 const char* rule = rules[i]; local
122 logln("rule[%d] \"%s\"", i, rule);
125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 58 * The rule engine manages the layout rules and interacts with them.
73 * here on behalf of the currently executing rule.
129 * Invokes {@link IViewRule#getDisplayName()} on the rule matching the specified element.
132 * @return Null if the rule failed, there's no rule or the rule does not want to override
133 * the display name. Otherwise, a string as returned by the rule.
136 // try to find a rule for this element's FQCN
137 IViewRule rule = loadRule(element); local
139 if (rule != null)
163 IViewRule rule = loadRule(selectedNode.getNode()); local
191 IViewRule rule = loadRule(selectedNode.getNode()); local
222 IViewRule rule = loadRule(parentNode.getNode()); local
248 IViewRule rule = loadRule(parentNode.getNode()); local
267 IViewRule rule = loadRule(parentNode.getNode()); local
290 IViewRule rule = loadRule(targetNode.getNode()); local
316 IViewRule rule = loadRule(targetNode.getNode()); local
339 IViewRule rule = loadRule(targetNode.getNode()); local
362 IViewRule rule = loadRule(targetNode.getNode()); local
424 IViewRule rule = loadRule(targetNode.getNode()); local
446 IViewRule rule = loadRule(parent.getNode()); local
463 IViewRule rule = loadRule(parent.getNode()); local
477 IViewRule rule = loadRule(parent.getNode()); local
653 IViewRule rule = entry.getValue(); local
697 IViewRule rule = mRulesCache.get(targetDesc); local
765 IViewRule rule = mRulesCache.get(realFqcn); local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeFilter.java 41 rule application strategy and a ``down then up'' tree traversal
42 strategy. Let's look at rule application first.
46 to the next node. In other words, we only look for a single rule
48 repeatedly apply rules). The following method applies a rule in a @cl
53 It uses reflection to lookup the appropriate rule within the generated
55 rule will not match the tree. To avoid issuing syntax errors and
57 failure, the invoked rule immediately returns. If you don't plan on
59 the details. This method boils down to ``call a rule to match a tree,
80 public void rule() throws RecognitionException; method in interface:TreeFilter.fptr
103 whichRule.rule();
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
NotifiedTestExecuter.java 53 if(ruleName == null) throw new NullPointerException("Null rule name");
55 final Rule rule = testSuite.getRule(ruleName); local
56 final TestCase failCase = (TestCase) rule.getElementAt(failTest.getTestCaseIndex());
66 if(ruleName == null) throw new NullPointerException("Null rule name");
68 final Rule rule = testSuite.getRule(ruleName); local
69 final TestCase passCase = (TestCase) rule.getElementAt(passTest.getTestCaseIndex());
  /external/bison/src/
scan-code.h 62 * for the LHS symbol of the same rule.)
70 struct symbol_list *rule; member in struct:code_props
125 * - <tt>rule != NULL</tt>.
126 * - \c code is the untranslated action of the rule for which \c rule is the
128 * $2, etc referring to the values of the rule.
131 * - \c self has been overwritten to represent the specified rule action.
132 * - \c self does not claim responsibility for the memory of \c rule.
136 * - The caller frees \c rule.
139 location code_loc, struct symbol_list *rule,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSGroupingRule.cpp 64 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " must be less than or equal to the length of the rule list.");
72 exceptionState.throwDOMException(SyntaxError, "the rule '" + ruleString + "' is invalid and cannot be parsed.");
78 // @media rule. They are currently not getting parsed, resulting in a SyntaxError
80 exceptionState.throwDOMException(HierarchyRequestError, "'@import' rules cannot be inserted inside a group rule.");
96 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " is greated than the length of the rule list.");
129 RefPtr<CSSRule>& rule = m_childRuleCSSOMWrappers[index]; local
130 if (!rule)
131 rule = m_groupRule->childRules()[index]->createCSSOMWrapper(const_cast<CSSGroupingRule*>(this));
132 return rule.get();
142 void CSSGroupingRule::reattach(StyleRuleBase* rule)
    [all...]
PageRuleCollector.cpp 110 StyleRulePage* rule = rules[i]; local
112 if (!checkPageSelectorComponents(rule->selector(), isLeftPage, isFirstPage, pageName))
115 // If the rule has no properties to apply, then ignore it.
116 const StylePropertySet* properties = rule->properties();
120 // Add this rule to our list of matched rules.
121 matchedRules.append(rule);
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
address_ui.cc 28 #include "rule.h"
35 // Parses the default region data into the static Rule object and returns a
37 // because Rule objects are not copyable.
38 const Rule& InitDefaultRule() {
39 static Rule rule; local
40 rule.ParseSerializedRule(RegionDataConstants::GetDefaultRegionData());
41 return rule;
44 // Returns the constant reference to the Rule object from InitDefaultRule(). The
48 const Rule& GetDefaultRule()
96 Rule rule; local
    [all...]
rule_retriever.cc 26 #include "rule.h"
49 Rule rule; local
51 rule_ready_(false, key, rule);
53 success = rule.ParseSerializedRule(data);
54 rule_ready_(success, key, rule);
  /ndk/sources/host-tools/make-3.81/
rule.h 21 struct rule struct
23 struct rule *next;
24 char **targets; /* Targets of the rule. */
27 struct dep *deps; /* Dependencies of the rule. */
40 extern struct rule *pattern_rules;
41 extern struct rule *last_pattern_rule;
53 extern int new_pattern_rule PARAMS ((struct rule *rule, int override));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
ZoomControlsRuleTest.java 43 ZoomControlsRule rule = new ZoomControlsRule(); local
46 DropFeedback feedback = rule.onDropEnter(layout, null/*targetView*/, elements);
  /external/chromium/net/base/
host_mapping_rules.cc 36 const ExclusionRule& rule = *it; local
37 if (MatchPattern(host_port->host(), rule.hostname_pattern))
44 const MapRule& rule = *it; local
46 // The rule's hostname_pattern will be something like:
53 if (!MatchPattern(host_port->host(), rule.hostname_pattern)) {
55 if (!MatchPattern(host_port_string, rule.hostname_pattern))
56 continue; // This rule doesn't apply.
59 host_port->set_host(rule.replacement_hostname);
60 if (rule.replacement_port != -1)
61 host_port->set_port(rule.replacement_port)
76 ExclusionRule rule; local
84 MapRule rule; local
    [all...]

Completed in 681 milliseconds

1 2 3 4 5 6 7 8