Home
last modified time | relevance | path

Searched refs:match (Results 51 - 75 of 4523) sorted by relevance

12345678910>>...181

/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_owner.c3 * Kernel module to match various things tied to sockets associated with
25 if (info->match & ~XT_OWNER_MASK) in owner_check()
31 if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && in owner_check()
36 if (info->match & XT_OWNER_UID) { in owner_check()
48 if (info->match & XT_OWNER_GID) { in owner_check()
71 return (info->match ^ info->invert) == 0; in owner_mt()
72 else if (info->match & info->invert & XT_OWNER_SOCKET) in owner_mt()
83 return ((info->match ^ info->invert) & in owner_mt()
87 if (info->match & XT_OWNER_UID) { in owner_mt()
98 if (info->match in owner_mt()
99 unsigned int i, match = false; owner_mt() local
[all...]
H A Dnf_tables_offload.c24 flow->rule->match.dissector = &flow->match.dissector; in nft_flow_rule_alloc()
25 flow->rule->match.mask = &flow->match.mask; in nft_flow_rule_alloc()
26 flow->rule->match.key = &flow->match.key; in nft_flow_rule_alloc()
34 struct nft_flow_match *match = &flow->match; in nft_flow_rule_set_addr_type() local
35 struct nft_flow_key *mask = &match->mask; in nft_flow_rule_set_addr_type()
36 struct nft_flow_key *key = &match in nft_flow_rule_set_addr_type()
56 struct nft_flow_match *match = &flow->match; nft_flow_rule_transfer_vlan() local
[all...]
H A Dxt_ipvs.c3 * xt_ipvs - kernel module to match IPVS connection properties
26 MODULE_DESCRIPTION("Xtables: match IPVS connection properties");
58 bool match = true; in ipvs_mt() local
61 match = skb->ipvs_property ^ in ipvs_mt()
68 match = false; in ipvs_mt()
77 match = false; in ipvs_mt()
83 match = false; in ipvs_mt()
92 match = false; in ipvs_mt()
104 match = false; in ipvs_mt()
112 match in ipvs_mt()
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_tables_offload.c26 flow->rule->match.dissector = &flow->match.dissector; in nft_flow_rule_alloc()
27 flow->rule->match.mask = &flow->match.mask; in nft_flow_rule_alloc()
28 flow->rule->match.key = &flow->match.key; in nft_flow_rule_alloc()
36 struct nft_flow_match *match = &flow->match; in nft_flow_rule_set_addr_type() local
37 struct nft_flow_key *mask = &match->mask; in nft_flow_rule_set_addr_type()
38 struct nft_flow_key *key = &match in nft_flow_rule_set_addr_type()
58 struct nft_flow_match *match = &flow->match; nft_flow_rule_transfer_vlan() local
[all...]
H A Dxt_ipvs.c3 * xt_ipvs - kernel module to match IPVS connection properties
26 MODULE_DESCRIPTION("Xtables: match IPVS connection properties");
58 bool match = true; in ipvs_mt() local
61 match = skb->ipvs_property ^ in ipvs_mt()
68 match = false; in ipvs_mt()
77 match = false; in ipvs_mt()
83 match = false; in ipvs_mt()
92 match = false; in ipvs_mt()
104 match = false; in ipvs_mt()
112 match in ipvs_mt()
[all...]
/third_party/node/deps/v8/tools/unittests/testdata/
H A Dresults_processor.py20 match = re.match(r'^Richards\d: (.*)$', line) variable
21 if match:
22 richards += float(match.group(1))
23 match = re.match(r'^DeltaBlue\d: (.*)$', line) variable
24 if match:
25 deltablue += float(match.group(1))
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtc.c230 match->value._field = fm.key->_tcfield; \
231 match->mask._field = fm.mask->_tcfield; \
240 struct efx_tc_match *match, in efx_tc_flower_parse_match()
243 struct flow_dissector *dissector = rule->match.dissector; in efx_tc_flower_parse_match()
269 match->value.ip_frag = fm.key->flags & FLOW_DIS_IS_FRAGMENT; in efx_tc_flower_parse_match()
270 match->mask.ip_frag = true; in efx_tc_flower_parse_match()
273 match->value.ip_firstfrag = fm.key->flags & FLOW_DIS_FIRST_FRAG; in efx_tc_flower_parse_match()
274 match->mask.ip_firstfrag = true; in efx_tc_flower_parse_match()
277 NL_SET_ERR_MSG_FMT_MOD(extack, "Unsupported match on control.flags %#x", in efx_tc_flower_parse_match()
307 if (!IS_ALL_ONES(match in efx_tc_flower_parse_match()
238 efx_tc_flower_parse_match(struct efx_nic *efx, struct flow_rule *rule, struct efx_tc_match *match, struct netlink_ext_ack *extack) efx_tc_flower_parse_match() argument
493 efx_tc_flower_record_encap_match(struct efx_nic *efx, struct efx_tc_match *match, enum efx_encap_type type, enum efx_tc_em_pseudo_type em_type, u8 child_ip_tos_mask, __be16 child_udp_sport_mask, struct netlink_ext_ack *extack) efx_tc_flower_record_encap_match() argument
848 efx_tc_rule_is_lhs_rule(struct flow_rule *fr, struct efx_tc_match *match) efx_tc_rule_is_lhs_rule() argument
1144 efx_tc_mangle(struct efx_nic *efx, struct efx_tc_action_set *act, const struct flow_action_entry *fa, struct efx_tc_mangler_state *mung, struct netlink_ext_ack *extack, struct efx_tc_match *match) efx_tc_mangle() argument
1367 struct efx_tc_match match; efx_tc_flower_replace_foreign() local
1674 efx_tc_flower_replace_lhs(struct efx_nic *efx, struct flow_cls_offload *tc, struct flow_rule *fr, struct efx_tc_match *match, struct efx_rep *efv, struct net_device *net_dev) efx_tc_flower_replace_lhs() argument
1762 struct efx_tc_match match; efx_tc_flower_replace() local
2344 struct efx_tc_match *match = &rule->match; efx_tc_configure_default_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c465 struct flow_match_vlan match; in otx2_tc_process_vlan() local
469 flow_rule_match_cvlan(rule, &match); in otx2_tc_process_vlan()
471 flow_rule_match_vlan(rule, &match); in otx2_tc_process_vlan()
473 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
475 ntohs(match.key->vlan_tpid)); in otx2_tc_process_vlan()
479 if (!match.mask->vlan_id) { in otx2_tc_process_vlan()
487 ntohs(match.key->vlan_tpid), match.key->vlan_id); in otx2_tc_process_vlan()
493 if (match.mask->vlan_id || in otx2_tc_process_vlan()
494 match in otx2_tc_process_vlan()
548 struct flow_match_basic match; otx2_tc_prepare_flow() local
590 struct flow_match_control match; otx2_tc_prepare_flow() local
615 struct flow_match_eth_addrs match; otx2_tc_prepare_flow() local
632 struct flow_match_ipsec match; otx2_tc_prepare_flow() local
652 struct flow_match_ip match; otx2_tc_prepare_flow() local
686 struct flow_match_ipv4_addrs match; otx2_tc_prepare_flow() local
698 struct flow_match_ipv6_addrs match; otx2_tc_prepare_flow() local
731 struct flow_match_ports match; otx2_tc_prepare_flow() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A Docelot_flower.c392 struct flow_match_meta match; in ocelot_flower_parse_indev() local
395 flow_rule_match_meta(rule, &match); in ocelot_flower_parse_indev()
397 if (!match.mask->ingress_ifindex) in ocelot_flower_parse_indev()
400 if (match.mask->ingress_ifindex != 0xFFFFFFFF) { in ocelot_flower_parse_indev()
409 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); in ocelot_flower_parse_indev()
412 "Can't find the ingress port to match on"); in ocelot_flower_parse_indev()
440 struct flow_dissector *dissector = rule->match.dissector; in ocelot_flower_parse_key()
458 /* For VCAP ES0 (egress rewriter) we can match on the ingress port */ in ocelot_flower_parse_key()
466 struct flow_match_control match; in ocelot_flower_parse_key() local
468 flow_rule_match_control(rule, &match); in ocelot_flower_parse_key()
472 struct flow_match_vlan match; ocelot_flower_parse_key() local
484 struct flow_match_eth_addrs match; ocelot_flower_parse_key() local
527 struct flow_match_basic match; ocelot_flower_parse_key() local
562 struct flow_match_ipv4_addrs match; ocelot_flower_parse_key() local
599 struct flow_match_ports match; ocelot_flower_parse_key() local
[all...]
/third_party/icu/icu4c/source/common/
H A Ducnv_ext.cpp112 * or if the match length fits with the current converter state
114 #define UCNV_EXT_TO_U_VERIFY_SISO_MATCH(sisoState, match) \
115 ((sisoState)<0 || ((sisoState)==0) == (match==1))
136 return 0; /* no extension data, no match */ in ucnv_extMatchToU()
149 return 0; /* no match of a DBCS sequence in SBCS mode */ in ucnv_extMatchToU()
162 /* match input units until there is a full match or the input is consumed */ in ucnv_extMatchToU()
176 /* remember longest match so far */ in ucnv_extMatchToU()
181 /* match pre[] then src[] */ in ucnv_extMatchToU()
187 /* all input consumed, partial match */ in ucnv_extMatchToU()
287 int32_t match; ucnv_extInitialMatchToU() local
337 int32_t match; ucnv_extSimpleMatchToU() local
375 int32_t match, length; ucnv_extContinueMatchToU() local
758 int32_t match; ucnv_extInitialMatchFromU() local
817 int32_t match; ucnv_extSimpleMatchFromU() local
871 int32_t match; ucnv_extContinueMatchFromU() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnv_ext.cpp112 * or if the match length fits with the current converter state
114 #define UCNV_EXT_TO_U_VERIFY_SISO_MATCH(sisoState, match) \
115 ((sisoState)<0 || ((sisoState)==0) == (match==1))
136 return 0; /* no extension data, no match */ in ucnv_extMatchToU()
149 return 0; /* no match of a DBCS sequence in SBCS mode */ in ucnv_extMatchToU()
162 /* match input units until there is a full match or the input is consumed */ in ucnv_extMatchToU()
176 /* remember longest match so far */ in ucnv_extMatchToU()
181 /* match pre[] then src[] */ in ucnv_extMatchToU()
187 /* all input consumed, partial match */ in ucnv_extMatchToU()
287 int32_t match; ucnv_extInitialMatchToU() local
337 int32_t match; ucnv_extSimpleMatchToU() local
375 int32_t match, length; ucnv_extContinueMatchToU() local
758 int32_t match; ucnv_extInitialMatchFromU() local
817 int32_t match; ucnv_extSimpleMatchFromU() local
871 int32_t match; ucnv_extContinueMatchFromU() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv_ext.cpp112 * or if the match length fits with the current converter state
114 #define UCNV_EXT_TO_U_VERIFY_SISO_MATCH(sisoState, match) \
115 ((sisoState)<0 || ((sisoState)==0) == (match==1))
136 return 0; /* no extension data, no match */ in ucnv_extMatchToU()
149 return 0; /* no match of a DBCS sequence in SBCS mode */ in ucnv_extMatchToU()
162 /* match input units until there is a full match or the input is consumed */ in ucnv_extMatchToU()
176 /* remember longest match so far */ in ucnv_extMatchToU()
181 /* match pre[] then src[] */ in ucnv_extMatchToU()
187 /* all input consumed, partial match */ in ucnv_extMatchToU()
287 int32_t match; ucnv_extInitialMatchToU() local
337 int32_t match; ucnv_extSimpleMatchToU() local
375 int32_t match, length; ucnv_extContinueMatchToU() local
758 int32_t match; ucnv_extInitialMatchFromU() local
817 int32_t match; ucnv_extSimpleMatchFromU() local
871 int32_t match; ucnv_extContinueMatchFromU() local
[all...]
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumbermatcher_test.cc91 bool ExtractMatch(const string& text, PhoneNumberMatch* match) { in ExtractMatch() argument
92 return matcher_.ExtractMatch(text, offset_, match); in ExtractMatch()
113 << "No match found in " << test->ToString() in DoTestNumberMatchesForLeniency()
116 PhoneNumberMatch match; in DoTestNumberMatchesForLeniency() local
117 matcher->Next(&match); in DoTestNumberMatchesForLeniency()
118 EXPECT_EQ(test->raw_string_, match.raw_string()) in DoTestNumberMatchesForLeniency()
119 << "Found wrong match in test " << test->ToString() in DoTestNumberMatchesForLeniency()
120 << ". Found " << match.raw_string(); in DoTestNumberMatchesForLeniency()
140 // Asserts that the raw string and expected proto buffer for a match are set
142 void AssertMatchProperties(const PhoneNumberMatch& match, cons argument
158 PhoneNumberMatch match; AssertEqualRange() local
297 PhoneNumberMatch match; DoTestInContext() local
324 PhoneNumberMatch match; EnsureTermination() local
567 PhoneNumberMatch match; TEST_F() local
592 PhoneNumberMatch match; TEST_F() local
614 PhoneNumberMatch match; TEST_F() local
1020 PhoneNumberMatch match; TEST_F() local
1139 PhoneNumberMatch match; TEST_F() local
1176 PhoneNumberMatch match; TEST_F() local
1185 PhoneNumberMatch match; TEST_F() local
1195 PhoneNumberMatch match; TEST_F() local
1206 PhoneNumberMatch match; TEST_F() local
1221 PhoneNumberMatch match; TEST_F() local
1230 PhoneNumberMatch match; TEST_F() local
1250 PhoneNumberMatch match; TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp782 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand()
785 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand()
787 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
790 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand()
793 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand()
796 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand()
810 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
816 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
818 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
831 if (!match(Op in foldNoWrapAdd()
[all...]
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_parser.py101 while lines and not TAP_ENTRIES.match(lines[0]):
105 while lines and not TAP_ENTRIES.match(lines[0]):
121 match = OK_NOT_OK_SUBTEST.match(line)
122 while not match and lines:
124 match = OK_NOT_OK_SUBTEST.match(line)
125 if match:
127 test_case.name = match.group(2)
130 if match
[all...]
/third_party/node/test/fixtures/wpt/common/
H A Dsubset-tests.js4 var match; variable
6 match = /(?:^\?|&)(\d+)-(\d+|last)(?:&|$)/.exec(location.search);
7 if (match) {
8 subTestStart = parseInt(match[1], 10);
9 if (match[2] !== "last") {
10 subTestEnd = parseInt(match[2], 10);
16 match = /(?:^\?|&)split=(\d+)(?:&|$)/.exec(location.search);
17 if (match) {
18 var testsPerVariant = parseInt(match[1], 10);
/kernel/linux/linux-6.6/Documentation/sphinx/
H A Dautomarkup.py107 # Include any text prior to match as a normal text node.
135 # own C role, but both match the same regex, so we try both.
137 def markup_func_ref_sphinx3(docname, app, match):
142 base_target = match.group(2)
143 target_text = nodes.Text(match.group(0))
178 def markup_c_ref(docname, app, match):
202 base_target = match.group(2)
203 target_text = nodes.Text(match.group(0))
213 if not (match.re == RE_function and target in Skipfuncs):
214 lit_text = nodes.literal(classes=['xref', 'c', class_str[match
[all...]
/third_party/ltp/pan/cgi/
H A Dreconsile.cgi17 # Give a warning if the suites do not match
22 print "Warning: Suites do not match!\n";
178 # if everyone does match (status included) shift them
194 # walk through the lists again outputting as we match
205 $match = shift(@$rtcs);
206 $match->{TCID} = '*' if ($match->{TCID} eq '{');
207 $match->{TCID} = '-' if ($match->{TCID} eq '}');
208 $match
[all...]
/third_party/python/Lib/distutils/
H A Dversionpredicate.py22 res = re_splitComparison.match(pred)
106 match = re_validPackage.match(versionPredicateStr)
107 if not match:
109 self.name, paren = match.groups()
112 match = re_paren.match(paren)
113 if not match:
115 str = match.groups()[0]
160 m = _provision_rx.match(valu
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dspirv_validator_options.cpp21 auto match = [s](const char* b) { in spvParseUniversalLimitsOptions() local
24 if (match("--max-struct-members")) { in spvParseUniversalLimitsOptions()
26 } else if (match("--max-struct_depth")) { in spvParseUniversalLimitsOptions()
28 } else if (match("--max-local-variables")) { in spvParseUniversalLimitsOptions()
30 } else if (match("--max-global-variables")) { in spvParseUniversalLimitsOptions()
32 } else if (match("--max-switch-branches")) { in spvParseUniversalLimitsOptions()
34 } else if (match("--max-function-args")) { in spvParseUniversalLimitsOptions()
36 } else if (match("--max-control-flow-nesting-depth")) { in spvParseUniversalLimitsOptions()
38 } else if (match("--max-access-chain-indexes")) { in spvParseUniversalLimitsOptions()
40 } else if (match(" in spvParseUniversalLimitsOptions()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dspirv_validator_options.cpp21 auto match = [s](const char* b) { in spvParseUniversalLimitsOptions() local
24 if (match("--max-struct-members")) { in spvParseUniversalLimitsOptions()
26 } else if (match("--max-struct_depth")) { in spvParseUniversalLimitsOptions()
28 } else if (match("--max-local-variables")) { in spvParseUniversalLimitsOptions()
30 } else if (match("--max-global-variables")) { in spvParseUniversalLimitsOptions()
32 } else if (match("--max-switch-branches")) { in spvParseUniversalLimitsOptions()
34 } else if (match("--max-function-args")) { in spvParseUniversalLimitsOptions()
36 } else if (match("--max-control-flow-nesting-depth")) { in spvParseUniversalLimitsOptions()
38 } else if (match("--max-access-chain-indexes")) { in spvParseUniversalLimitsOptions()
40 } else if (match(" in spvParseUniversalLimitsOptions()
[all...]
/third_party/skia/tools/skpbench/
H A Dskiaperf.py75 match = BenchResult.match(line)
76 if not match:
78 if match.sample_ms != 50:
79 raise Exception("%s: unexpected sample_ms != 50" % match.sample_ms)
81 data['results'][match.bench][match.config] \
82 ['%s_%s_%s' % (result, match.clock, match.metric)] = \
83 getattr(match, resul
[all...]
/third_party/weex-loader/deps/weex-styler/lib/
H A Dshorthand-parser.js11 var match = declaration.value.match(CHUNK_REGEXP)
14 match[1] && result.push(generateDeclaration('transition-property', match[1], position))
15 match[2] && result.push(generateDeclaration('transition-duration', match[2], position))
16 match[3] && result.push(generateDeclaration('transition-timing-function', match[3], position))
17 match[4] && result.push(generateDeclaration('transition-delay', match[
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Dpatterns_matcher_test.cpp121 EXPECT_EQ(PatternsMatcherIn_->match("abcdefg"), true); in HWTEST_F()
122 EXPECT_EQ(PatternsMatcherIn_->match("Abcdefg"), false); in HWTEST_F()
135 EXPECT_EQ(PatternsMatcherIn_->match("abcdefgABCDEFG"), true); in HWTEST_F()
136 EXPECT_EQ(PatternsMatcherIn_->match("AbcdefgABCDEFG"), false); in HWTEST_F()
149 EXPECT_EQ(PatternsMatcherIn_->match("abcdefgG"), true); in HWTEST_F()
150 EXPECT_EQ(PatternsMatcherIn_->match("abcccccdefgG"), true); in HWTEST_F()
151 EXPECT_EQ(PatternsMatcherIn_->match("abcdefg"), false); in HWTEST_F()
152 EXPECT_EQ(PatternsMatcherIn_->match("ABCDEFG"), false); in HWTEST_F()
165 EXPECT_EQ(PatternsMatcherIn_->match("abcABC123"), true); in HWTEST_F()
166 EXPECT_EQ(PatternsMatcherIn_->match("abcdefgABCDEFG12 in HWTEST_F()
[all...]
/third_party/icu/tools/unicode/c/genprops/misc/
H A Ducdcopy.py41 match = _strip_re.match(line)
42 if match:
43 line = match.group(1)
47 match = _code_point_re.match(line)
48 if match:
49 c = int(match.group(1), 16)
50 data = line[match.end() - 1:]
164 match
[all...]

Completed in 15 milliseconds

12345678910>>...181