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

1 2 3 4 5 6

  /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/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/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...]
TreeRewriter.java 36 public Object rule() throws RecognitionException; method in interface:TreeRewriter.fptr
61 TreeRuleReturnScope r = (TreeRuleReturnScope)whichRule.rule();
108 public Object rule() throws RecognitionException { return topdown(); }
112 public Object rule() throws RecognitionException { return bottomup(); }
116 // to override, just define tree grammar rule topdown and turn on
  /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...]
gram.h 36 The rules receive rule numbers 1 to NRULES in the order they are
38 initial rule, `$accept: START-SYMBOL $end', which is numbered 1,
39 all the user rules are 2, 3 etc. Each time a rule number is
40 presented to the user, we subtract 1, so *displayed* rule numbers
43 Internally, we cannot use the number 0 for a rule because for
44 instance RITEM stores both symbol (the RHS) and rule numbers: the
45 symbols are shorts >= 0, and rule number are stored negative.
46 Therefore 0 cannot be used, since it would be both the rule number
49 Actions are accessed via the rule number.
56 RULES[R].lhs -- the symbol of the left hand side of rule R
200 } rule; typedef in typeref:struct:__anon2340
    [all...]
  /external/webkit/Source/WebCore/css/
CSSRuleList.cpp 62 StyleBase* rule = m_list->item(index); local
63 ASSERT(!rule || rule->isRule());
64 return static_cast<CSSRule*>(rule);
90 void CSSRuleList::append(CSSRule* rule)
93 if (!rule) {
98 m_lstCSSRules.append(rule);
101 unsigned CSSRuleList::insertRule(CSSRule* rule, unsigned index)
104 if (!rule) {
114 m_lstCSSRules.insert(index, rule);
    [all...]
WebKitCSSKeyframesRule.cpp 80 CSSRule* rule = m_lstCSSRules.get()->item(index); local
81 return (rule && rule->isKeyframeRule()) ? static_cast<WebKitCSSKeyframeRule*>(rule) : 0;
86 CSSRule* rule = m_lstCSSRules.get()->item(index); local
87 return (rule && rule->isKeyframeRule()) ? static_cast<const WebKitCSSKeyframeRule*>(rule) : 0;
90 void WebKitCSSKeyframesRule::append(WebKitCSSKeyframeRule* rule)
92 if (!rule)
    [all...]
  /frameworks/compile/mclinker/lib/LD/
SectionRules.cpp 26 // SectionRules::Rule
28 SectionRules::Rule::Rule(const std::string& pSubStr, LDSection* pSection)
48 RuleList::iterator rule, rEnd = m_RuleList.end(); local
49 for (rule = m_RuleList.begin(); rule != rEnd; ++rule) {
50 if (pName.size() < rule->substr.size())
52 if (!StringHash<ES>::may_include(rule->hash, hash))
55 if (0 == strncmp(pName.c_str(), rule->substr.c_str(), rule->substr.size())
64 RuleList::const_iterator rule, rEnd = m_RuleList.end(); local
    [all...]
  /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);
LinearLayoutRuleTest.java 49 IViewRule rule = new LinearLayoutRule(); local
59 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements);
64 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint);
97 rule.onDropped(targetNode, elements, feedback, dropPoint);
127 LinearLayoutRule rule = new LinearLayoutRule(); local
128 initialize(rule, "android.widget.LinearLayout");
132 rule.addContextMenuActions(contextMenu, node);
147 LinearLayoutRule rule = new LinearLayoutRule(); local
148 initialize(rule, "android.widget.LinearLayout");
154 rule.addContextMenuActions(contextMenu, node)
173 LinearLayoutRule rule = new LinearLayoutRule(); local
207 LinearLayoutRule rule = new LinearLayoutRule(); local
    [all...]
LayoutTestBase.java 53 * @param rule The rule to test on
68 protected INode dragInto(IViewRule rule, INode targetNode, Rect dragBounds, Point dropPoint,
79 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements);
89 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint);
93 feedback = rule.onDropMove(targetNode, elements, feedback, secondDropPoint);
127 rule.onDropped(targetNode, elements, feedback, dropPoint);
191 protected void initialize(IViewRule rule, String fqn) {
192 rule.onInitialize(fqn, new TestRulesEngine(fqn));
  /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...]
registry_controlled_domain.cc 246 const DomainRule* rule = find_domain_function_(domain_str, domain_length); local
251 if (rule &&
252 base::strncasecmp(domain_str, rule->name, domain_length) == 0) {
255 if (rule->type == kWildcardRule && (prev_start != std::string::npos)) {
262 if (rule->type == kExceptionRule) {
264 // If we get here, we had an exception rule with no dots (e.g.
266 // wildcard rule, which would have to be "*". But we explicitly
267 // disallow that case, so this kind of rule is invalid.
268 NOTREACHED() << "Invalid exception rule";
288 // No rule found in the registry. curr_start now points to the firs
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitTestSuite.java 30 /** A class which wraps all testsuites for an individual rule */
35 protected String rule = null; // paeser rule name for unit testing field in class:gUnitTestSuite
36 protected String lexicalRule = null; // lexical rule name
37 protected String treeRule = null; // optional, required for testing tree grammar rule
49 public gUnitTestSuite(String rule) {
50 this.rule = rule;
53 public gUnitTestSuite(String treeRule, String rule) {
54 this.rule = rule
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/
parse.y 87 int previous_continued_action; /* whether the previous rule's action was '|' */
113 { /* add default rule */
121 /* Remember the number of the default rule so we
208 /* Initialize for a parse of one rule. */
219 flexrule : '^' rule
255 | rule
303 { synerr( "unrecognized rule" ); }
365 rule : re2 re label
398 { /* variable trailing context rule */
399 /* Mark the first part of the rule as th
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RunnerController.java 107 public void OnShowRuleResult(Rule rule) {
115 result.append("Testing result for rule: " + rule.getName());
118 for(TestCase testCase: rule.getTestCases()){
136 final Rule rule = suite.getRule(i); local
137 if(rule.getNotEmpty()) this.add(new TestGroupTreeNode(rule));
153 private Rule data
    [all...]

Completed in 5745 milliseconds

1 2 3 4 5 6