/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/bison/src/ |
derives.h | 28 extern rule ***derives;
|
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:__anon62 [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndrdic.c | 43 NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type) { 46 if (rule == NULL) { 52 return V2_F_HINSI(rule); 54 return BUN_B_HINSI(rule); 56 return TAN_F_HINSI(rule); 58 return TAN_B_HINSI(rule); 60 return SUUJI_B_HINSI(rule); 62 return MEISI_F_HINSI(rule); 64 return MEISI_B_HINSI(rule); 66 return JINMEI_F_HINSI(rule); [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));
|
rule.c | 1 /* Pattern and suffix rule internals for GNU Make. 25 #include "rule.h" 27 static void freerule PARAMS ((struct rule *rule, struct rule *lastrule)); 32 struct rule *pattern_rules; 34 /* Pointer to last rule in the chain, so we can add onto the end. */ 36 struct rule *last_pattern_rule; 42 /* Maximum number of target patterns of any pattern rule. */ 46 /* Maximum number of dependencies of any pattern rule. * 72 register struct rule *rule, *lastrule; local [all...] |
/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...] |
/external/chromium_org/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...] |
/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/chromium_org/third_party/icu/source/i18n/ |
zrule.cpp | 10 * \brief C API: Time zone rule classes 31 zrule_close(ZRule* rule) { 32 delete (TimeZoneRule*)rule; 41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { 43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); 50 zrule_getRawOffset(ZRule* rule) { 51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); 55 zrule_getDSTSavings(ZRule* rule) { 56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); 75 izrule_close(IZRule* rule) { [all...] |
zrule.h | 12 * \brief C API: Time zone rule classes 58 zrule_close(ZRule* rule); 73 * @param rule, the Zrule to use 79 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 83 * @param rule, the Zrule to use 88 zrule_getRawOffset(ZRule* rule); 92 * @param rule, the Zrule to use 93 * @return The amount of daylight saving offset used by this rule 98 zrule_getDSTSavings(ZRule* rule); 101 * Returns if this rule represents the same rule and offsets as another [all...] |
/external/icu4c/i18n/ |
zrule.cpp | 10 * \brief C API: Time zone rule classes 31 zrule_close(ZRule* rule) { 32 delete (TimeZoneRule*)rule; 41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { 43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); 50 zrule_getRawOffset(ZRule* rule) { 51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); 55 zrule_getDSTSavings(ZRule* rule) { 56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); 75 izrule_close(IZRule* rule) { [all...] |
zrule.h | 12 * \brief C API: Time zone rule classes 54 zrule_close(ZRule* rule); 68 * @param rule, the Zrule to use 73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 77 * @param rule, the Zrule to use 81 zrule_getRawOffset(ZRule* rule); 85 * @param rule, the Zrule to use 86 * @return The amount of daylight saving offset used by this rule 90 zrule_getDSTSavings(ZRule* rule); 93 * Returns if this rule represents the same rule and offsets as another [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/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/ |
bg.js | 5 function matches(rule, item) { 6 if (rule.matcher == 'js') 7 return eval(rule.match_param); 8 if (rule.matcher == 'hostname') { 11 var host = (rule.match_param.indexOf(':') < 0) ? link.hostname : link.host; 12 return (host.indexOf(rule.match_param.toLowerCase()) == 13 (host.length - rule.match_param.length)); 15 if (rule.matcher == 'default') 16 return item.filename == rule.match_param; 17 if (rule.matcher == 'url-regex' [all...] |
options.js | 5 function Rule(data) { 7 this.node = document.getElementById('rule-template').cloneNode(true); 8 this.node.id = 'rule' + (Rule.next_id++); 9 this.node.rule = this; 32 var rule = this; 34 var sib = rule.node.previousSibling; 35 rule.node.parentNode.removeChild(rule.node); 36 sib.parentNode.insertBefore(rule.node, sib) [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
policy.py | 33 class Rule(object): 34 """Represents one matching rule in a policy file.""" 129 """Finds a rule whose name is |component_name|. """ 130 for rule in self._rules: 131 if rule.name == component_name: 132 return rule 157 for rule in self._rules: 158 if (rule.allocator_type == 'malloc' and 159 (not rule.stackfunction_pattern or 160 rule.stackfunction_pattern.match(stackfunction)) an [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
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...] |
/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...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/css/ |
rule_list.css | 7 .rule-pattern { 13 .rule-behavior { 18 select.rule-behavior { 22 .rule-list {
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSRegionRule.h | 42 static PassRefPtr<CSSRegionRule> create(StyleRuleRegion* rule, CSSStyleSheet* sheet) { return adoptRef(new CSSRegionRule(rule, sheet)); }
|
CSSCharsetRule.h | 42 virtual void reattach(StyleRuleBase* rule) OVERRIDE { ASSERT_UNUSED(rule, !rule); }
|
/external/icu4c/test/intltest/ |
plurults.h | 33 void assertRuleValue(const UnicodeString& rule, double expected); 34 void assertRuleKeyValue(const UnicodeString& rule, const UnicodeString& key,
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
construction.rb | 375 rule = opts[ :rule ] 379 message = opts[ :message ] || rule.to_s #"should parse %p with rule %s and make tree %s" % [input, rule, expected_tree] 385 result = parser.send( rule, *args ) 394 ast_test :input => "1 + 2", :rule => :r1, :ast => "(+ 1 2)" 396 ast_test :input => "assert 2+3", :rule => :r2, :ast => "(assert (+ 2 3))" 398 ast_test :input => "assert 2+3 : 5", :rule => :r2, :ast => "(assert (+ 2 3) 5)" 400 ast_test :input => "if 1 fooze", :rule => :r3, :ast => "(if 1 fooze) [all...] |
/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...] |