/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...] |
nullable.c | 39 rule *value; 80 rule *rules_ruleno = &rules[ruleno]; 83 /* This rule has a non empty RHS. */ 90 /* This rule has only nonterminals: schedule it for the second 104 /* This rule has an empty RHS. */ 119 rule *r = p->value;
|
/external/chromium_org/chrome/common/safe_browsing/ |
client_model.proto | 27 // phishing) a scorer will simply compute the sum of all rule scores for a 28 // given set of extracted features. The score of a particular rule corresponds 29 // to the product of all feature values that are part of the rule times the 30 // rule weight. If a feature has no value (i.e., is not part of the extracted 32 // by summing up all the rule scores. This overall score is a logodds and can 46 message Rule { 48 // features that form the current rule. 51 // The weight for this particular rule. 56 repeated Rule rule = 2 [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
address_formatter.cc | 30 #include "rule.h" 137 Rule rule; local 138 rule.CopyFrom(Rule::GetDefault()); 139 // TODO: Eventually, we should get the best rule for this country and 141 rule.ParseSerializedRule(RegionDataConstants::GetRegionData( 149 language.has_latin_script && !rule.GetLatinFormat().empty() 150 ? rule.GetLatinFormat() : rule.GetFormat() [all...] |
/external/iptables/include/libiptc/ |
libip6tc.h | 36 /* Get first rule in the given chain: NULL for empty chain. */ 58 /* Rule numbers start at 1 for the first rule. */ 66 /* Atomically replace rule `rulenum' in `chain' with `fw'. */ 78 /* Check whether a matching rule exists */ 84 /* Delete the first rule in `chain' which matches `fw'. */ 90 /* Delete the rule in position `rulenum' in `chain'. */ 132 /* read packet and byte counters for a specific rule */ 137 /* zero packet and byte counters for a specific rule */ 142 /* set packet and byte counters for a specific rule */ [all...] |
libiptc.h | 40 /* Get first rule in the given chain: NULL for empty chain. */ 62 /* Rule numbers start at 1 for the first rule. */ 70 /* Atomically replace rule `rulenum' in `chain' with `e'. */ 82 /* Check whether a mathching rule exists */ 88 /* Delete the first rule in `chain' which matches `e', subject to 95 /* Delete the rule in position `rulenum' in `chain'. */ 138 /* read packet and byte counters for a specific rule */ 143 /* zero packet and byte counters for a specific rule */ 148 /* set packet and byte counters for a specific rule */ [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMix.java | 38 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags) { 39 mRule = rule; 91 * @param rule a non-null {@link AudioMixingRule} instance. 94 public Builder(AudioMixingRule rule) 96 if (rule == null) { 99 mRule = rule; 105 * @param rule 109 public Builder setMixingRule(AudioMixingRule rule) 111 if (rule == null) { 114 mRule = rule; [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 90 private static List<Rule> loadRulesFromGrammar(File grammarFile) { 92 // get all the rule names 106 // convert to rule object 107 final List<Rule> ruleList = new ArrayList<Rule>(); 109 ruleList.add(new Rule(str)); 175 final List<Rule> completeRuleList = loadRulesFromGrammar(grammarFile); 176 for(Rule rule: completeRuleList) { 177 if(!result.hasRule(rule)) { [all...] |
/external/iproute2/examples/ |
README.cbq | 57 # RULE=192.168.1.0/24 64 # as a rule of thumb weight=batdwidth/10. 78 # RULE: [source addr][:source port],[dest addr][:dest port] 80 # RULE=10.1.1.0/24:80 - all traffic for network 10.1.1.0 to port 80 82 # RULE=10.2.2.5 - shaper works only for IP address 10.2.2.5 83 # RULE=:25,10.2.2.128/25:5000 - all traffic from any address and port 25 to 86 # RULE=10.5.5.5:80, - shaper active only for traffic from port 80 of 88 # Multiple RULE fields per one config file are allowed. For example: 89 # RULE=10.1.1.2:80 90 # RULE=10.1.1.2:2 [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
speech_rule.js | 6 * @fileoverview An interface definition of a speech rule. 8 * A speech rule is a data structure along with supporting methods that 13 * Speech rules consists of a variable number of speech rule components. Each 27 * Creates a speech rule with precondition, actions and admin information. 29 * @param {string} name The name of the rule. 31 * of the rule. 32 * @param {cvox.SpeechRule.Precondition} prec Precondition of the rule. 33 * @param {cvox.SpeechRule.Action} action Action of the speech rule. 63 * Mapping for types of speech rule components. 75 * Maps a string to a valid speech rule type [all...] |
/external/antlr/antlr-3.4/gunit/ |
CHANGES.txt | 28 * Allow strings in AST descriptions (gUnit.g). E.g., it handle this rule 40 rule: 41 "a : A<X,Y=a.b.c>;" -> (RULE a (BLOCK (ALT 51 * gUnitTestSuite.java: use lexer rule name if parser rule name is null (by Shaoting) 93 * Better handle on test rule's StringTemplate output
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognizerSharedState.as | 11 /** Track the set of token types that can follow any rule invocation. 32 /** In lieu of a return value, this indicates that a rule or token 46 * the stop token index for each rule. ruleMemo[ruleIndex] is 48 * get back the stop token for associated rule or MEMO_RULE_FAILED. 50 * This is only used if rule memoization is on (which it is by default). 62 * matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
RecognizerSharedState.js | 9 /** Track the set of token types that can follow any rule invocation. 31 /** In lieu of a return value, this indicates that a rule or token 45 * the stop token index for each rule. ruleMemo[ruleIndex] is 47 * get back the stop token for associated rule or MEMO_RULE_FAILED. 49 * This is only used if rule memoization is on (which it is by default). 61 * matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
RecognizerSharedState.pm | 7 # Track the set of token types that can follow any rule invocation. 42 # In lieu of a return value, this indicates that a rule or token 66 # the stop token index for each rule. ruleMemo[ruleIndex] is 68 # get back the stop token for associated rule or MEMO_RULE_FAILED. 69 # This is only used if rule memoization is on (which it is by default). 78 # matching lexer rule(s). If you subclass to allow multiple token
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
ASTParser.stg | 72 ruleRef(rule,label,elementIndex,args,scope) ::= << 79 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 83 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= << 90 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 97 ruleRefBangAndListLabel(rule,label,elementIndex,args,scope) ::= << 104 ruleRefRuleRootAndListLabel(rule,label,elementIndex,args,scope) ::= <<
|
/external/chromium_org/net/base/registry_controlled_domains/ |
registry_controlled_domain.h | 66 * It should contain one domain rule per line, terminated with \n, with nothing 67 else on the line. (The last rule in the file may omit the ending \n.) 71 * Each rule should list the entire TLD-like domain name, with any subdomain 74 * If a hostname matches more than one rule, the most specific rule (that is, 78 "baz.uk", and if "bar.baz.uk" is the only rule in the list, "foo.bar.baz.uk" 81 * Wildcards may only appear as the entire most specific level of a rule. That 83 a dot. (You may not use a wildcard as the entire rule.) 84 * A wildcard rule implies a rule for the entire non-wildcard portion. Fo [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
ElementRuleCollector.cpp | 81 inline void ElementRuleCollector::addMatchedRule(const RuleData* rule, unsigned specificity, CascadeScope cascadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex, const CSSStyleSheet* parentStyleSheet) 85 m_matchedRules->append(MatchedRule(rule, specificity, cascadeScope, cascadeOrder, styleSheetIndex, parentStyleSheet)); 125 // [skipped, because already checked] a) it's a UA rule 153 // a) it's a UA rule 179 CSSRuleList* ElementRuleCollector::nestedRuleList(CSSRule* rule) 181 switch (rule->type()) { 183 return toCSSMediaRule(rule)->cssRules(); 185 return toCSSKeyframesRule(rule)->cssRules(); 187 return toCSSSupportsRule(rule)->cssRules(); 216 void ElementRuleCollector::appendCSSOMWrapperForRule(CSSStyleSheet* parentStyleSheet, StyleRule* rule) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
util.cpp | 282 * Append a character to a rule that is being built up. To flush 283 * the quoteBuf to rule, make one final call with isLiteral == TRUE. 285 * @param rule the string to append the character to 299 void ICU_Utility::appendToRule(UnicodeString& rule, 320 rule.append(BACKSLASH).append(APOSTROPHE); 333 rule.append(APOSTROPHE); 334 rule.append(quoteBuf); 335 rule.append(APOSTROPHE); 339 rule.append(BACKSLASH).append(APOSTROPHE); 346 * rule [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
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/icu/icu4c/source/test/intltest/ |
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/nist-sip/java/gov/nist/core/ |
ParserCore.java | 100 protected void dbg_enter(String rule) { 107 stringBuffer + rule + 114 protected void dbg_leave(String rule) { 122 rule + 135 protected void peekLine(String rule) { 137 Debug.println(rule +" " + lexer.peekLine());
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
WorkSpaceController.java | 158 private void OnSelectRule(Rule rule) { 159 if(rule == null) throw new IllegalArgumentException("Null"); 160 this.view.paneEditor.OnLoadRule(rule); 161 this.view.paneStatus.setRule(rule.getName()); 164 this.runner.OnShowRuleResult(rule); 217 /** Event handler for rule list selection. */ 222 final Rule rule = (Rule) list.getSelectedValue() local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
CombinedParser.h | 19 #pragma mark Dynamic Rule Scopes 20 #pragma mark Rule Return Scopes start 21 #pragma mark Rule return scopes end
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
ASTTreeParser.stg | 36 * token, set, rule, wildcard 50 /** What to emit when there is no rewrite rule. For auto build 78 <if(root.el.rule)> 205 // RULE REF AST 207 /** rule auto construct */ 208 ruleRef(rule,label,elementIndex,args,scope) ::= << 219 /** x+=rule auto construct */ 220 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 225 /** ^(rule ...) auto construct */ 226 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/first_run/ |
step.js | 108 // and shelf alignment. Every rule has required field |position| with list 109 // of classes that should be applied to arrow element if this rule choosen. 110 // The rule is suitable if its |shelf| and |dir| fields are correspond 112 // '*' wildcard. The last suitable rule in list is choosen for arrow style. 185 var isSuitable = function(rule) { 186 var inputDirectionMatch = !rule.hasOwnProperty('dir') || 187 rule.dir === inputDirection; 188 var shelfAlignmentMatch = !rule.hasOwnProperty('shelf') || 189 rule.shelf === shelfAlignment; 194 rules.forEach(function(rule) { [all...] |