HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 226 - 250 of 575) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeExternalRuleSettings.java 51 protected boolean setRule(ZenRule rule) {
52 return rule != null;
ZenModeRuleSettingsBase.java 68 abstract protected boolean setRule(ZenRule rule);
217 final ZenRule rule = newConfig.automaticRules.get(mRuleId); local
218 if (rule == null) return;
219 rule.name = ruleName;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
pretty-print.h 113 /* Current prefixing rule. */
114 diagnostic_prefixing_rule_t rule; member in struct:__anon33685
125 /* Prefixing rule used in formatting a diagnostic message. */
126 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
interfaces.py 167 def type_rule_extract_params(rule, params):
177 if extract_from_set(rule.src_types, refpolicy.SRC_TYPE):
180 if extract_from_set(rule.tgt_types, refpolicy.TGT_TYPE):
183 if extract_from_set(rule.obj_classes, refpolicy.OBJ_CLASS):
186 if access.is_idparam(rule.dest_type):
187 if __param_insert(rule.dest_type, refpolicy.DEST_TYPE, None, params):
269 #print "allow rule in interface: %s" % interface
299 for rule in interface.typerules():
300 if type_rule_extract_params(rule, self.params):
302 #print "found conflicting params in rule %s in interface %s" %
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
terule.py 21 from . import rule namespace
27 """Factory function for creating TE rule objects."""
38 """Validate TE Rule types."""
42 raise exception.InvalidTERuleType("{0} is not a valid TE rule type.".format(t))
45 class BaseTERule(rule.PolicyRule):
47 """A type enforcement rule."""
51 """The rule's source type/attribute."""
56 """The rule's target type/attribute."""
65 """The rule's conditional expression."""
71 # ValueError: The rule is not conditiona
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/sepolgen/
interfaces.py 167 def type_rule_extract_params(rule, params):
177 if extract_from_set(rule.src_types, refpolicy.SRC_TYPE):
180 if extract_from_set(rule.tgt_types, refpolicy.TGT_TYPE):
183 if extract_from_set(rule.obj_classes, refpolicy.OBJ_CLASS):
186 if access.is_idparam(rule.dest_type):
187 if __param_insert(rule.dest_type, refpolicy.DEST_TYPE, None, params):
269 #print "allow rule in interface: %s" % interface
299 for rule in interface.typerules():
300 if type_rule_extract_params(rule, self.params):
302 #print "found conflicting params in rule %s in interface %s" %
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/policyrep/
terule.py 21 from . import rule namespace
27 """Factory function for creating TE rule objects."""
38 """Validate TE Rule types."""
42 raise exception.InvalidTERuleType("{0} is not a valid TE rule type.".format(t))
45 class BaseTERule(rule.PolicyRule):
47 """A type enforcement rule."""
51 """The rule's source type/attribute."""
56 """The rule's target type/attribute."""
65 """The rule's conditional expression."""
71 # ValueError: The rule is not conditiona
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLR.g 74 RULE;
123 import org.antlr.tool.Rule;
330 // if they want backtracking and it's not a lexer rule in combined grammar
338 Rule.getRuleType(currentRuleName) == Grammar.LEXER) &&
388 * ^(RULE[block,"rule"] ID["name"] {modifier} ARG["ARG"] RET["RET"] SCOPE["scope"] {block} EOR[EOBAST,"<end-of-rule>"])
390 GrammarAST rule = (GrammarAST)adaptor.create( RULE, block.getToken(), "rule" );
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
template-output.rb 15 rule = options.fetch( :rule ) { grammar_module::Parser.default_rule }
18 rule = grammar_module::Parser.default_rule
24 out = @parser.send( rule ).template
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DOTGenerator.java 158 * for a rule so don't traverse edges to other rules and
159 * don't go past rule end state.
182 return; // don't go past end of rule node to the follow states
213 if ( rr.rule.grammar != grammar ) {
214 edgeST.add("label", "<" + rr.rule.grammar.name + "." + rr.rule.name + ">");
217 edgeST.add("label", "<" + rr.rule.name + ">");
248 Grammar.Rule r = (Grammar.Rule) itr.next();
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
Dbg.stg 172 @rule.preamble() ::= <<
177 //@rule.preamble() ::= <<
189 @rule.postamble() ::= <<
194 //@rule.postamble() ::= <<
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
Dbg.stg 171 @rule.preamble() ::= <<
176 //@rule.preamble() ::= <<
188 @rule.postamble() ::= <<
193 //@rule.postamble() ::= <<
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
Dbg.stg 116 @rule.preamble() ::= <<
123 @rule.postamble() ::= <<
ST4ObjC.stg 38 /** Add this to each rule's return value struct */
43 /** Add this to each rule's return value struct */
48 /** Add this to each rule's return value struct */
53 /** Add this to each rule's return value struct */
59 /** Add this to each rule's return value struct */
64 /** Add this to each rule's return value struct */
142 /** x+=rule when output=template */
143 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
144 <ruleRef(rule,label,elementIndex,args,scope)>
194 * Set the value of the rule's template *after* having se
    [all...]
  /external/libnl/include/netlink/cli/
utils.h 39 #include <netlink/route/rule.h>
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/rule/
MockWebServerRuleTest.java 16 package com.squareup.okhttp.mockwebserver.rule;
69 server.before(); // Implicitly called when @Rule.
82 server.after(); // Implicitly called when @Rule.
  /external/selinux/libsepol/src/
module_to_cil.c 544 const char *rule; local
550 rule = "allow";
553 rule = "auditallow";
556 rule = "auditdenty";
559 rule = "dontaudit";
562 rule = "neverallow";
565 rule = "typetransition";
568 rule = "typemember";
571 rule = "typechange";
588 rule, src, tgt
1340 struct role_trans_rule *rule; local
1396 struct role_allow_rule *rule; local
1440 struct range_trans_rule *rule; local
1522 struct filename_trans_rule *rule; local
    [all...]
  /external/selinux/policycoreutils/mcstrans/src/
mcscolor.c 216 char rule[10], pat[256], f[256], b[256]; local
224 ret = sscanf(buffer, "%8s %255s = %255s %255s", rule, pat, f, b);
228 if (!strcmp(rule, rules[i]))
232 if (!strcmp(rule, AUX_RULE_COLOR)) {
  /external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
ANTLRv3.g 41 RULE;
102 rule+
105 id DOC_COMMENT? optionsSpec? tokensSpec? attrScope* action* rule+
155 rule
160 this.rules.add($rule::name);
164 id {$rule::name = $id.text;}
171 -> ^( RULE id {modifier!=null?adaptor.create(modifier):null} ^(ARG $arg)? ^(RET $rt)?
207 // leave here to demonstrate use of {...} in rewrite rule
284 /** Matches ENBF blocks (and token sets via block rule) */
299 Character.isUpperCase($rule::name.charAt(0))}
    [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/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
AST.stg 96 /** Add a variable to track rule's return AST */
112 <ruleDescriptor.allRuleRefsInAltsWithRewrites:{Locals['Stream_<it>'] := TRewriteRuleSubtreeStream.Create(Adaptor,'rule <it>');}; separator="\n">
122 * as a rule could have both rewrite and AST within the same alternative
137 /** ID and track it for use in a rewrite rule */
143 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
167 /** rule when output=AST and tracking for rewrite */
168 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
170 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<rule.name>'] as IRewriteRuleElementStream).Add(<label>.Tree);<\n>
173 /** x+=rule when output=AST and tracking for rewrite */
174 ruleRefTrackAndListLabel(rule,label,elementIndex,args,scope) ::= <
    [all...]
  /external/icu/icu4c/source/i18n/
nfsubs.cpp 355 const NFRule* rule,
370 // throw an exception if the rule is a negative number
371 // rule
372 if (rule->getBaseValue() == NFRule::kNegativeNumberRule) {
373 // throw new IllegalArgumentException("<< not allowed in negative-number rule");
378 // if the rule is a fraction rule, return an
380 else if (rule->getBaseValue() == NFRule::kImproperFractionRule
381 || rule->getBaseValue() == NFRule::kProperFractionRule
382 || rule->getBaseValue() == NFRule::kMasterRule)
    [all...]
  /external/icu/icu4c/source/test/intltest/
nptrans.cpp 68 UnicodeString rule(mapRuleUChar, mapRuleLen);
69 rule.append(ruleUChar, ruleLen);
71 mapping = Transliterator::createFromRules(UnicodeString("NamePrepTransform", ""), rule,
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationThaiTest.java 287 String rule = "& c < ab"; local
290 collator = new RuleBasedCollator(rule);
292 errln("Error: could not construct collator with rule " + rule);
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeHelper.java 271 config.manualRule = null; // don't restore the manual rule
528 final ZenRule rule = new ZenRule(); local
529 rule.enabled = false;
530 rule.name = mContext.getResources().getString(R.string.zen_mode_default_events_name);
531 rule.conditionId = ZenModeConfig.toEventConditionId(events);
532 rule.zenMode = Global.ZEN_MODE_ALARMS;
533 config.automaticRules.put(config.newRuleId(), rule); local
566 final ZenRule rule = new ZenRule();
567 rule.enabled = true;
568 rule.name = mContext.getResources(
    [all...]

Completed in 486 milliseconds

1 2 3 4 5 6 7 8 91011>>