/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
bounds.py | 25 modified_bounds_record = namedtuple("modified_bound", ["rule", "added_bound", "removed_bound"]) 65 """Create rule lists for both policies.""" 67 for rule in self.left_policy.bounds(): 68 if rule.ruletype == "typebounds": 69 self._left_typebounds.append(rule) 71 self.log.error("Unknown rule type: {0} (This is an SETools bug)". 72 format(rule.ruletype)) 75 for rule in self.right_policy.bounds(): 76 if rule.ruletype == "typebounds": 77 self._right_typebounds.append(rule) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtrule.h | 16 * \brief C++ API: Rule for specifying date and time in an year 26 * a rule specified by month, day of month, day of week and 35 * Date rule type constants. 50 * Time rule type constants. 61 * the time rule. The date rule type for an instance created by 64 * @param month The rule month, for example, <code>Calendar::JANUARY</code> 66 * @param millisInDay The milliseconds in the rule date. 76 * number and the time rule. The date rule type for an instance create [all...] |
/external/libnl/src/ |
nl-rule-list.c | 2 * src/nl-rule-dump.c Dump rule attributes 13 #include <netlink/cli/rule.h> 19 "Usage: nl-rule-list [OPTION]... [ROUTE]\n" 27 "Rule Options\n" 36 struct rtnl_rule *rule; local 47 rule = nl_cli_rule_alloc(); 70 case ARG_FAMILY: nl_cli_rule_parse_family(rule, optarg); break; 74 nl_cache_dump_filter(rule_cache, ¶ms, OBJ_CAST(rule));
|
/frameworks/base/tools/split-select/ |
SplitSelector_test.cpp | 56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); 59 sp<Rule> rule = rules[idx]; local 60 ASSERT_TRUE(rule != NULL); 65 Rule expectedRule(test::AndRule() 66 .add(test::GtRule(Rule::SDK_VERSION, 3)) 67 .add(test::GtRule(Rule::SCREEN_DENSITY, 180)) 68 .add(test::LtRule(Rule::SCREEN_DENSITY, 263))); 69 EXPECT_RULES_EQ(rule, expectedRule);
|
/external/icu/icu4c/source/i18n/ |
zrule.h | 14 * \brief C API: Time zone rule classes 58 zrule_close(ZRule* rule); 72 * @param rule, the Zrule to use 77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 81 * @param rule, the Zrule to use 85 zrule_getRawOffset(ZRule* rule); 89 * @param rule, the Zrule to use 90 * @return The amount of daylight saving offset used by this rule 94 zrule_getDSTSavings(ZRule* rule); 97 * Returns if this rule represents the same rule and offsets as another [all...] |
/external/libnl/include/netlink/cli/ |
rule.h | 2 * netlink/cli/rule.h CLI Routing Rule Helpers 15 #include <netlink/route/rule.h>
|
/frameworks/support/testutils/src/main/java/androidx/testutils/ |
AppCompatActivityUtils.java | 21 import android.support.test.rule.ActivityTestRule; 37 * Waits for the execution of the provided activity test rule. 39 * @param rule Activity test rule to wait for. 42 final ActivityTestRule<? extends RecreatedAppCompatActivity> rule) { 48 rule.runOnUiThread(DO_NOTHING); 49 rule.runOnUiThread(DO_NOTHING); 56 ActivityTestRule<? extends RecreatedAppCompatActivity> rule, Runnable r) { 61 rule.runOnUiThread(r); 74 ActivityTestRule<? extends RecreatedAppCompatActivity> rule, final T activity [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...] |
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
BusinessLogicTest.java | 135 assertEquals("Wrong number of business logic rule lists", 3, bl.mRules.size()); 137 assertEquals("Wrong or missing rule list description", "first test", description); 139 assertEquals("Wrong number of rules in first rule list", 1, rulesList1.size()); 144 assertEquals("Wrong method name for business logic rule condition", 146 assertFalse("Wrong negation value for business logic rule condition", 148 assertEquals("Wrong arg string count for business logic rule condition", 1, 150 assertEquals("Wrong arg for business logic rule condition", "arg1", 155 assertEquals("Wrong method name for business logic rule action", 157 assertEquals("Wrong arg string count for business logic rule action", 2, 159 assertEquals("Wrong arg for business logic rule action", "arg1" [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/iproute2/man/man8/ |
ip-rule.8 | 1 .TH IP\-RULE 8 "20 Dec 2011" "iproute2" "Linux" 3 ip-rule \- routing policy database management 11 .B rule 17 .B ip rule 22 .B ip rule 27 .B ip rule 73 .I ip rule 90 according to the longest match rule, is replaced with a 'routing policy 94 Each policy routing rule consists of a 102 of each rule is applied to {source address, destination address, incomin [all...] |
/build/kati/testcase/ |
double_colon_rule.mk | 8 # Merge a double colon rule with target specific variable is OK.
|
explicit_pattern_rule.mk | 5 # foo.o should match the pattern rule below.
|
suffix_rule.mk | 5 # foo.o should match the suffix rule below.
|
/development/vndk/tools/sourcedr/sourcedr/tests/testdata/ninja/ |
default.ninja | 0 rule cc
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/ |
Hisilicon.fdf.inc | 20 # how an FFS file is created for a given INF file. The following Rule are the default
31 #[Rule.Common.DXE_DRIVER]
45 [Rule.Common.SEC]
50 [Rule.Common.PEI_CORE]
56 [Rule.Common.PEIM]
63 [Rule.Common.PEIM.BINARY]
70 [Rule.Common.PEIM.TIANOCOMPRESSED]
79 [Rule.Common.DXE_CORE]
85 [Rule.Common.UEFI_DRIVER]
92 [Rule.Common.DXE_DRIVER] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
metagrammar.h | 9 #define RULE 257
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
metagrammar.h | 9 #define RULE 257
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/ |
TreeRewrite.g | 8 rule: INT subrule -> ^(subrule INT)
|
/external/iptables/extensions/ |
libxt_NOTRACK.man | 1 This extension disables connection tracking for all packets matching that rule.
|
/external/mockito/src/main/java/org/mockito/junit/ |
package-info.java | 7 * Mockito JUnit integration ; rule and runners.
|
/external/python/cpython2/Include/ |
metagrammar.h | 9 #define RULE 257
|
/external/python/cpython3/Include/ |
metagrammar.h | 9 #define RULE 257
|
/external/webview_support_interfaces/ |
DEPS | 3 # These negative rules just rule out some of the major components.
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
metagrammar.h | 9 #define RULE 257
|