/system/netd/server/ |
FirewallController.cpp | 76 // create default rule to drop all traffic 130 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { 142 if (rule == ALLOW) { 154 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) { 166 if (rule == ALLOW) { 179 FirewallRule rule) { 197 if (rule == ALLOW) { 224 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) { 233 op = (rule == ALLOW)? "-I" : "-D"; 236 op = (rule == DENY)? "-I" : "-D" [all...] |
/external/icu/icu4c/source/test/cintltst/ |
citertst.c | 352 UChar rule[50]; local 353 int rulelen = u_unescape(str, rule, 50); 367 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status); 420 UChar rule[50]; local 446 u_uastrcpy(rule, "&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH"); 447 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 449 log_verbose("Contraction rule testing back and forth with no normalization\n"); 470 u_uastrcpy(rule, "&a < b < c/abd < d"); 471 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status) 788 UChar rule[256]; local 1009 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...] |
/cts/tools/selinux/ |
SELinuxNeverallowTestGen.py | 23 # returns: a string representing a generic test method based on this rule. 46 for rule in neverallow_rules: 47 src_body += neverallow_rule_to_test(rule, i)
|
/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;
|
/ndk/tests/build/issue42841-LOCAL_PATH/jni/ |
Android.mk | 4 # make: *** No rule to make target /issue42841-LOCAL_PATH.c', needed by
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
mlsrule.py | 21 from . import rule namespace 27 """Factory function for creating MLS rule objects.""" 35 """Validate MLS rule types.""" 38 raise exception.InvalidMLSRuleType("{0} is not a valid MLS rule type.".format(t)) 41 class MLSRule(rule.PolicyRule): 43 """An MLS rule.""" 51 """The rule's source type/attribute.""" 56 """The rule's target type/attribute.""" 61 """The rule's default range."""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/policyrep/ |
mlsrule.py | 21 from . import rule namespace 27 """Factory function for creating MLS rule objects.""" 35 """Validate MLS rule types.""" 38 raise exception.InvalidMLSRuleType("{0} is not a valid MLS rule type.".format(t)) 41 class MLSRule(rule.PolicyRule): 43 """An MLS rule.""" 51 """The rule's source type/attribute.""" 56 """The rule's target type/attribute.""" 61 """The rule's default range."""
|
/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/sepolgen/src/sepolgen/ |
output.py | 134 for rule in rules: 135 if isinstance(rule, refpolicy.InterfaceCall): 136 x = rule.args[0] 138 x = util.first(rule.src_types) 147 sep_rules.append(rule)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
output.py | 134 for rule in rules: 135 if isinstance(rule, refpolicy.InterfaceCall): 136 x = rule.args[0] 138 x = util.first(rule.src_types) 147 sep_rules.append(rule)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/sepolgen/ |
output.py | 134 for rule in rules: 135 if isinstance(rule, refpolicy.InterfaceCall): 136 x = rule.args[0] 138 x = util.first(rule.src_types) 147 sep_rules.append(rule)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
NFRuleSet.java | 19 * appropriate rule for formatting a particular number and dispatch 30 * The rule set's name 35 * The rule set's regular rules 40 * The rule set's negative-number rule 45 * The rule set's fraction rules: element 0 is the proper fraction 46 * (0.x) rule, element 1 is the improper fraction (x.x) rule, and 47 * element 2 is the master (x.0) rule. 52 * True if the rule set is a fraction rule set. A fraction rule se 185 NFRule rule = tempRules.get(i); local [all...] |
/external/deqp/modules/egl/ |
teglChooseConfigReference.cpp | 332 const AttribRule rule = iter->second; local 334 if (rule.value == EGL_DONT_CARE) 336 else if (rule.name == EGL_MATCH_NATIVE_PIXMAP) 337 TCU_CHECK(rule.value == EGL_NONE); // Not supported 338 else if (rule.name == EGL_TRANSPARENT_RED_VALUE || rule.name == EGL_TRANSPARENT_GREEN_VALUE || rule.name == EGL_TRANSPARENT_BLUE_VALUE) 342 const EGLint cfgValue = config.getAttribute(rule.name); 344 switch (rule.criteria) 347 if (rule.value != cfgValue [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ASTTreeParser.stg | 35 * token, set, rule, wildcard 49 /** What to emit when there is no rewrite rule. For auto build 77 <if(root.el.rule)> 219 // RULE REF AST 221 /** rule auto construct */ 222 ruleRef(rule,label,elementIndex,args,scope) ::= << 233 /** x+=rule auto construct */ 234 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 239 /** ^(rule ...) auto construct */ 240 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |