Home
last modified time | relevance | path

Searched refs:rule (Results 301 - 325 of 1003) sorted by relevance

1...<<11121314151617181920>>...41

/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A DMakefile44 define gen-target-rule-32
49 define gen-target-rule-64
58 $(foreach t,$(TARGETS_C_32BIT_ALL),$(eval $(call gen-target-rule-32,$(t))))
65 $(foreach t,$(TARGETS_C_64BIT_ALL),$(eval $(call gen-target-rule-64,$(t))))
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DSimpleHoliday.java139 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument
142 return rule; in rangeRule()
149 rangeRule.add(start.getTime(), rule); in rangeRule()
151 rangeRule.add(rule); in rangeRule()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
H A DUtilityExtensions.java22 * Append the given string to the rule. Calls the single-character
25 public static void appendToRule(StringBuffer rule, in appendToRule() argument
32 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
39 * pattern as a literal to the given rule.
41 public static void appendToRule(StringBuffer rule, in appendToRule() argument
46 appendToRule(rule, matcher.toPattern(escapeUnprintable), in appendToRule()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DSimpleHoliday.java141 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument
144 return rule; in rangeRule()
151 rangeRule.add(start.getTime(), rule); in rangeRule()
153 rangeRule.add(rule); in rangeRule()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUtilityExtensions.java24 * Append the given string to the rule. Calls the single-character
27 public static void appendToRule(StringBuffer rule, in appendToRule() argument
34 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
41 * pattern as a literal to the given rule.
43 public static void appendToRule(StringBuffer rule, in appendToRule() argument
48 appendToRule(rule, matcher.toPattern(escapeUnprintable), in appendToRule()
/third_party/icu/icu4c/source/i18n/
H A Drbt_pars.h42 * of rules in the rule set
48 * A Vector of UnicodeStrings containing all of the ID blocks in the rule set
91 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
98 * parsing of a single rule.
186 * MAIN PARSER. Parse the next rule in the given rule string, starting
194 * parses the end-of-rule character. It recognizes context and cursor
195 * indicators. Once it does a lexical breakdown of the rule at pos, it
196 * creates a rule object and adds it to our rule lis
[all...]
H A Drbtz.cpp123 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { in addTransitionRule() argument
124 LocalPointer<TimeZoneRule>lpRule(rule); in addTransitionRule()
128 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule); in addTransitionRule()
130 // A final rule in addTransitionRule()
144 // Non-final rule in addTransitionRule()
224 // No more transitions from this rule - skip this rule next time in complete()
430 const TimeZoneRule *rule = NULL; in getOffsetInternal() local
432 rule = fInitialRule; in getOffsetInternal()
437 rule in getOffsetInternal()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Drbt_pars.h42 * of rules in the rule set
48 * A Vector of UnicodeStrings containing all of the ID blocks in the rule set
91 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
98 * parsing of a single rule.
186 * MAIN PARSER. Parse the next rule in the given rule string, starting
194 * parses the end-of-rule character. It recognizes context and cursor
195 * indicators. Once it does a lexical breakdown of the rule at pos, it
196 * creates a rule object and adds it to our rule lis
[all...]
H A Drbtz.cpp123 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { in addTransitionRule() argument
124 LocalPointer<TimeZoneRule>lpRule(rule); in addTransitionRule()
128 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule); in addTransitionRule()
130 // A final rule in addTransitionRule()
144 // Non-final rule in addTransitionRule()
224 // No more transitions from this rule - skip this rule next time in complete()
430 const TimeZoneRule *rule = nullptr; in getOffsetInternal() local
432 rule = fInitialRule; in getOffsetInternal()
437 rule in getOffsetInternal()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbt_pars.h42 * of rules in the rule set
48 * A Vector of UnicodeStrings containing all of the ID blocks in the rule set
91 * rule. segmentStandins.charAt(0) is the standin for "$1" and corresponds
98 * parsing of a single rule.
186 * MAIN PARSER. Parse the next rule in the given rule string, starting
194 * parses the end-of-rule character. It recognizes context and cursor
195 * indicators. Once it does a lexical breakdown of the rule at pos, it
196 * creates a rule object and adds it to our rule lis
[all...]
H A Drbtz.cpp117 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { in addTransitionRule() argument
121 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule); in addTransitionRule()
123 // A final rule in addTransitionRule()
134 fFinalRules->addElement((void*)rule, status); in addTransitionRule()
136 // Non-final rule in addTransitionRule()
143 fHistoricRules->addElement((void*)rule, status); in addTransitionRule()
216 // No more transitions from this rule - skip this rule next time in complete()
434 const TimeZoneRule *rule = NULL; in getOffsetInternal() local
436 rule in getOffsetInternal()
680 TimeZoneRule *rule = (TimeZoneRule*)rules->orphanElementAt(i); copyRules() local
[all...]
/third_party/skia/buildtools/checkdeps/
H A Dcpp_checker.py45 """Checks the given line with the given rule set.
50 results.DependencyViolation if the line violates a rule, or None
77 rule = rules.RuleApplyingTo(include_path, dependee_path)
78 if (rule.allow == Rule.DISALLOW or
79 (fail_on_temp_allow and rule.allow == Rule.TEMP_ALLOW)):
80 return True, results.DependencyViolation(include_path, rule, rules)
H A Dproto_checker.py48 """Checks the given line with the given rule set.
53 results.DependencyViolation if the line violates a rule, or None
83 rule = rules.RuleApplyingTo(import_path, dependee_path)
85 if (rule.allow == Rule.DISALLOW or
86 (fail_on_temp_allow and rule.allow == Rule.TEMP_ALLOW)):
87 return True, results.DependencyViolation(import_path, rule, rules)
/third_party/ninja/src/
H A Dmanifest_parser_test.cc45 "rule cat\n" in TEST_F()
48 "rule date\n" in TEST_F()
54 const Rule* rule = state.bindings_.GetRules().begin()->second; in TEST_F() local
55 EXPECT_EQ("cat", rule->name()); in TEST_F()
57 rule->GetBinding("command")->Serialize()); in TEST_F()
61 // Check that all of the allowed rule attributes are parsed ok. in TEST_F()
63 "rule cat\n" in TEST_F()
78 "rule cat\n" in TEST_F()
87 const Rule* rule = state.bindings_.GetRules().begin()->second; in TEST_F() local
88 EXPECT_EQ("cat", rule in TEST_F()
120 const Rule* rule = state.bindings_.GetRules().begin()->second; TEST_F() local
137 const Rule* rule = state.bindings_.GetRules().begin()->second; TEST_F() local
198 const Rule* rule = state.bindings_.GetRules().begin()->second; TEST_F() local
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_callback.cpp138 int32_t NetPolicyCallback::NotifyNetUidRuleChangeAsync(uint32_t uid, uint32_t rule) in NotifyNetUidRuleChangeAsync() argument
140 NETMGR_LOG_D("NotifyNetUidRuleChange uid[%{public}u] rule[%{public}u]", uid, rule); in NotifyNetUidRuleChangeAsync()
147 netPolicyCallbackFfrtQueue_->submit_h([this, uid, rule, &ret]() { in NotifyNetUidRuleChangeAsync()
148 ret = this->NotifyNetUidRuleChange(uid, rule); in NotifyNetUidRuleChangeAsync()
154 int32_t NetPolicyCallback::NotifyNetUidRuleChange(uint32_t uid, uint32_t rule) in NotifyNetUidRuleChange() argument
156 NETMGR_LOG_I("NetUidRuleChange uid=%{public}d policy=%{public}d", uid, rule); in NotifyNetUidRuleChange()
159 callback->NetUidRuleChange(uid, rule); in NotifyNetUidRuleChange()
/third_party/selinux/libsepol/src/
H A Dmodule_to_cil.c566 const char *rule; in avrule_to_cil() local
572 rule = "allow"; in avrule_to_cil()
575 rule = "auditallow"; in avrule_to_cil()
578 rule = "auditdeny"; in avrule_to_cil()
581 rule = "dontaudit"; in avrule_to_cil()
584 rule = "neverallow"; in avrule_to_cil()
587 rule = "typetransition"; in avrule_to_cil()
590 rule = "typemember"; in avrule_to_cil()
593 rule = "typechange"; in avrule_to_cil()
610 rule, sr in avrule_to_cil()
688 const char *rule; avrulex_to_cil() local
1432 struct role_trans_rule *rule; role_trans_to_cil() local
1482 struct role_allow_rule *rule; role_allows_to_cil() local
1525 struct range_trans_rule *rule; range_trans_to_cil() local
1602 struct filename_trans_rule *rule; filename_trans_to_cil() local
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dc_generator.py173 rule = self.gen.all_rules.get(name.lower())
174 if rule is not None:
175 type = "asdl_seq *" if rule.is_loop() or rule.is_gather() else rule.type
444 for i, (rulename, rule) in enumerate(self.all_rules.items(), 1000):
445 comment = " // Left-recursive" if rule.left_recursive else ""
448 for rulename, rule in self.all_rules.items():
449 if rule.is_loop() or rule
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c145 DP_NOTICE(edev, "Failed to map DMA memory for rule\n"); in qede_enqueue_fltr_and_config_searcher()
1712 qede_flow_parse_ports(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_ports() argument
1715 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in qede_flow_parse_ports()
1718 flow_rule_match_ports(rule, &match); in qede_flow_parse_ports()
1733 qede_flow_parse_v6_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v6_common() argument
1741 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_flow_parse_v6_common()
1744 flow_rule_match_ipv6_addrs(rule, &match); in qede_flow_parse_v6_common()
1758 if (qede_flow_parse_ports(edev, rule, t)) in qede_flow_parse_v6_common()
1765 qede_flow_parse_v4_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v4_common() argument
1768 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDR in qede_flow_parse_v4_common()
1789 qede_flow_parse_tcp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_tcp_v6() argument
1799 qede_flow_parse_tcp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_tcp_v4() argument
1809 qede_flow_parse_udp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_udp_v6() argument
1819 qede_flow_parse_udp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_udp_v4() argument
1829 qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_parse_flow_attr() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c145 DP_NOTICE(edev, "Failed to map DMA memory for rule\n"); in qede_enqueue_fltr_and_config_searcher()
1703 qede_flow_parse_ports(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_ports() argument
1706 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in qede_flow_parse_ports()
1709 flow_rule_match_ports(rule, &match); in qede_flow_parse_ports()
1724 qede_flow_parse_v6_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v6_common() argument
1732 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_flow_parse_v6_common()
1735 flow_rule_match_ipv6_addrs(rule, &match); in qede_flow_parse_v6_common()
1749 if (qede_flow_parse_ports(edev, rule, t)) in qede_flow_parse_v6_common()
1756 qede_flow_parse_v4_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v4_common() argument
1759 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDR in qede_flow_parse_v4_common()
1780 qede_flow_parse_tcp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_tcp_v6() argument
1790 qede_flow_parse_tcp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_tcp_v4() argument
1800 qede_flow_parse_udp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_udp_v6() argument
1810 qede_flow_parse_udp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_flow_parse_udp_v4() argument
1820 qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, struct flow_rule *rule, struct qede_arfs_tuple *tuple) qede_parse_flow_attr() argument
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dreg.c615 /* aligned to 2, then followed by __be16 array of rule pointers */
661 static bool valid_wmm(struct fwdb_wmm_rule *rule) in valid_wmm() argument
663 struct fwdb_wmm_ac *ac = (struct fwdb_wmm_ac *)rule; in valid_wmm()
683 struct fwdb_rule *rule = (void *)(data + (rule_ptr << 2)); in valid_rule() local
685 if ((u8 *)rule + sizeof(rule->len) > data + size) in valid_rule()
689 if (rule->len < offsetofend(struct fwdb_rule, max_bw)) in valid_rule()
691 if (rule->len >= offsetofend(struct fwdb_rule, wmm_ptr)) { in valid_rule()
692 u32 wmm_ptr = be16_to_cpu(rule->wmm_ptr) << 2; in valid_rule()
843 const struct fwdb_rule *rule, in set_wmm_rule()
841 set_wmm_rule(const struct fwdb_header *db, const struct fwdb_country *country, const struct fwdb_rule *rule, struct ieee80211_reg_rule *rrule) set_wmm_rule() argument
887 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); __regdb_query_wmm() local
902 reg_query_regdb_wmm(char *alpha2, int freq, struct ieee80211_reg_rule *rule) reg_query_regdb_wmm() argument
946 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); regdb_query_country() local
1159 reg_get_max_bandwidth_from_range(const struct ieee80211_regdomain *rd, const struct ieee80211_reg_rule *rule) reg_get_max_bandwidth_from_range() argument
1208 reg_get_max_bandwidth(const struct ieee80211_regdomain *rd, const struct ieee80211_reg_rule *rule) reg_get_max_bandwidth() argument
1232 is_valid_reg_rule(const struct ieee80211_reg_rule *rule) is_valid_reg_rule() argument
1460 add_rule(struct ieee80211_reg_rule *rule, struct ieee80211_reg_rule *reg_rules, u32 *n_rules) add_rule() argument
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dfirewall_rule.h33 * Creare firewall rule
36 * @return std::shared_ptr<FirewallRule> The firewall rule, such as DeviceIdleFirewallRule
51 * @param rule The firewall rull, see {@link FIREWALL_RULE_ALLOW and FIREWALL_RULE_DENY}
53 virtual void SetAllowedList(const std::vector<uint32_t> &uids, uint32_t rule);
79 * @param rule The firewall rull, see {@link FIREWALL_RULE_ALLOW} and {@link FIREWALL_RULE_DENY}
81 virtual void SetDeniedList(uint32_t uid, uint32_t rule);
109 * Set the firewall rule for the specified UID
112 * @param isAllow allow the firewall rule or not
117 * Enable the firewall rule
119 * @param enable true: enable the firewall rule; fals
[all...]
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dnet_policy_callback_test.cpp51 int32_t NetPolicyCallbackTest::NetUidRuleChange(uint32_t uid, uint32_t rule) in NetUidRuleChange() argument
53 std::cout << "unittest NetUidRuleChange, uid:" << uid << "rule:" << rule << std::endl; in NetUidRuleChange()
55 rule_ = rule; in NetUidRuleChange()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_matchall.c23 if (!flow_offload_has_one_action(&tmo->rule->action)) { in sparx5_tc_matchall_replace()
28 action = &tmo->rule->action.entries[0]; in sparx5_tc_matchall_replace()
74 if (!tmo->rule && tmo->cookie) { in sparx5_tc_matchall_destroy()
/third_party/elfutils/libdw/
H A Ddwarf_frame_register.c58 switch (reg->rule) in dwarf_frame_register()
62 /* Use the default rule for registers not yet mentioned in CFI. */ in dwarf_frame_register()
82 if (reg->rule == reg_val_offset) in dwarf_frame_register()
111 true, reg->rule == reg_val_expression, in dwarf_frame_register()
/third_party/icu/icu4c/source/test/intltest/
H A Ditrbnfp.cpp56 // Try various rule parsing errors. Shouldn't crash. in TestParse()
107 "11: << x", // formatting a multiple of 10 causes rollback rule to fail in TestParse()
123 const char* rule = rules[i]; in TestParse() local
124 logln("rule[%d] \"%s\"", i, rule); in TestParse()
127 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse()

Completed in 21 milliseconds

1...<<11121314151617181920>>...41