/system/netd/server/ |
FirewallController.cpp | 79 // create default rule to drop all traffic 135 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { 147 if (rule == ALLOW) { 159 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) { 171 if (rule == ALLOW) { 184 FirewallRule rule) { 202 if (rule == ALLOW) { 231 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) { 238 op = (rule == ALLOW)? "-I" : "-D"; 241 // When adding, append DROP rules at the end, after the RETURN rule that matches TCP RSTs [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/gen/ |
rulegen.go | 29 // rule syntax: 46 // the value matched by the entire rule. 54 type Rule struct { 55 rule string 59 func (r Rule) String() string { 60 return fmt.Sprintf("rule %q at %s", r.rule, r.loc) 63 // parse returns the matching part of the rule, additional conditions, and the result. 64 func (r Rule) parse() (match, cond, result string) { 65 s := strings.Split(r.rule, "->" [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/gen/ |
rulegen.go | 29 // rule syntax: 46 // the value matched by the entire rule. 54 type Rule struct { 55 rule string 59 func (r Rule) String() string { 60 return fmt.Sprintf("rule %q at %s", r.rule, r.loc) 63 // parse returns the matching part of the rule, additional conditions, and the result. 64 func (r Rule) parse() (match, cond, result string) { 65 s := strings.Split(r.rule, "->" [all...] |
/external/icu/icu4c/source/i18n/ |
nfrs.cpp | 155 // throw new IllegalArgumentException("Empty rule set description"); 160 // if the description begins with a rule set name (the rule set 162 // of only one rule set), copy it out into our "name" member 167 // throw new IllegalArgumentException("Rule set name doesn't end in colon"); 180 // throw new IllegalArgumentException("Empty rule set description"); 199 // the descriptions of the rules (one rule per element). The rules 201 // semicolons are rule delimiters) 207 // ensure we are starting with an empty rule list 236 NFRule* rule = rules[i] local 389 NFRule *rule = nonNumericalRules[nnrIdx]; local 406 const NFRule *rule = findNormalRule(number); local 420 const NFRule *rule = findDoubleRule(number); local 435 const NFRule *rule = nonNumericalRules[NAN_RULE_INDEX]; local 454 const NFRule *rule = nonNumericalRules[INFINITY_RULE_INDEX]; local 787 NFRule *rule = nonNumericalRules[i]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
citertst.c | 354 UChar rule[50]; local 355 int rulelen = u_unescape(str, rule, 50); 369 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status); 422 UChar rule[50]; local 448 u_uastrcpy(rule, "&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH"); 449 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 451 log_verbose("Contraction rule testing back and forth with no normalization\n"); 472 u_uastrcpy(rule, "&a < b < c/abd < d"); 473 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status) 790 UChar rule[256]; local 1011 UChar rule[50]; local [all...] |
/frameworks/base/services/core/java/com/android/server/firewall/ |
IntentFirewall.java | 153 List<Rule> candidateRules; 156 candidateRules = new ArrayList<Rule>(); 161 // rule against the intent 163 Rule rule = candidateRules.get(i); local 164 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType, 166 block |= rule.getBlock(); 167 log |= rule.getLog(); 302 List<List<Rule>> rulesByType = new ArrayList<List<Rule>>(3) 336 Rule rule = new Rule(); local 373 Rule rule = rules.get(ruleIndex); local 378 resolver.addComponentFilter(rule.getComponentFilter(i), rule); local 487 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeSettings.java | 167 private String computeRuleSummary(AutomaticZenRule rule, boolean isSystemRule, 169 final String mode = computeZenModeCaption(getResources(), rule.getInterruptionFilter()); 170 final String ruleState = (rule == null || !rule.isEnabled()) 237 AutomaticZenRule rule = new AutomaticZenRule(ruleName, ri.serviceComponent, local 240 String savedRuleId = addZenRule(rule); 298 final AutomaticZenRule rule = ruleEntry.getValue(); local 299 mName = rule.getName(); 303 rule.getConditionId()); 304 final boolean isEvent = ZenModeConfig.isValidEventConditionId(rule.getConditionId()) 433 final AutomaticZenRule rule = ruleEntry.getValue(); local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Makefiles/ |
ms.app | 35 !INCLUDE ..\Makefiles\ms.rule
|
ms.lib | 30 !INCLUDE ..\Makefiles\ms.rule
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/ |
tokens.h | 68 void rule(void);
70 extern void rule();
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
AbstractTest.java | 66 public void setHeader(String rule, String lexicalRule, String treeRule, int numOfTest, int line) { 75 else buf.append(rule + ", line"+line+")" + " - ");
|
/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/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/chromium-trace/catapult/telemetry/third_party/web-page-replay/rules/ |
log_url.py | 19 from rules import rule 22 class LogUrl(rule.Rule): 36 """Returns True if the name matches this rule.""" 43 return_value: the prior log_url rule's return_value (if any).
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ResizeState.java | 30 * The associated rule 89 * @param rule the associated rule 94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { 95 mRule = rule;
|
/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/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
ASTParser.stg | 38 * token, set, rule, wildcard 44 @rule.setErrorReturnValue() ::= << 124 // RULE REF AST 126 /** rule when output=AST */ 127 ruleRef(rule,label,elementIndex,args,scope) ::= << 132 /** rule! is same as normal rule ref */ 133 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 135 /** rule^ */ 136 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
ASTParser.stg | 38 * token, set, rule, wildcard 44 @rule.setErrorReturnValue() ::= << 123 // RULE REF AST 125 /** rule when output=AST */ 126 ruleRef(rule,label,elementIndex,args,scope) ::= << 131 /** rule! is same as normal rule ref */ 132 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 134 /** rule^ */ 135 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ASTParser.stg | 39 * token, set, rule, wildcard 45 @rule.setErrorReturnValue() ::= << 128 // RULE REF AST 130 /** rule when output=AST */ 131 ruleRef(rule,label,elementIndex,args,scope) ::= <% 138 /** rule! is same as normal rule ref */ 139 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 141 /** rule^ */ 142 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
ASTParser.stg | 38 * token, set, rule, wildcard 45 @rule.setErrorReturnValue() ::= << 134 // RULE REF AST 136 /** rule when output=AST */ 137 ruleRef(rule,label,elementIndex,args,scope) ::= << 142 /** rule! is same as normal rule ref */ 143 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 145 /** rule^ */ 146 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
ASTParser.stg | 35 * token, set, rule, wildcard 40 @rule.setErrorReturnValue() ::= << 41 /* ASTParser rule.setErrorReturnValue */ 130 // RULE REF AST 132 /** rule when output=AST */ 133 ruleRef(rule,label,elementIndex,args,scope) ::= << 140 /** rule! is same as normal rule ref */ 141 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 143 /** rule^ * [all...] |
/external/selinux/python/sepolgen/src/sepolgen/ |
output.py | 138 for rule in rules: 139 if isinstance(rule, refpolicy.InterfaceCall): 140 x = rule.args[0] 142 x = util.first(rule.src_types) 151 sep_rules.append(rule)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
output.py | 138 for rule in rules: 139 if isinstance(rule, refpolicy.InterfaceCall): 140 x = rule.args[0] 142 x = util.first(rule.src_types) 151 sep_rules.append(rule)
|