/third_party/typescript/tests/baselines/reference/ |
H A D | contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.js | 6 normalize?: (match: {x: string}) => void; 14 normalize: match => match.x, 23 normalize: match => match.x,
|
/third_party/mbedtls/tests/scripts/ |
H A D | check_names.py | 60 A class representing a match, together with its found position. 63 * filename: the file that the match was in. 64 * line: the full line containing the match. 66 * pos: a tuple of (start, end) positions on the line where the match is. 67 * name: the match itself. 150 A problem that occurs when something doesn't match the expected pattern. 155 * match: the Match object in question 157 def __init__(self, pattern, match): 159 self.match = match [all...] |
/third_party/lz4/lib/ |
H A D | lz4.c | 826 * Index of match position registered in hash table. 989 const BYTE* match; in LZ4_compress_generic_validated() local 993 /* Find a match */ in LZ4_compress_generic_validated() 1007 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated() 1011 } while ( (match+LZ4_DISTANCE_MAX < ip) in LZ4_compress_generic_validated() 1012 || (LZ4_read32(match) != LZ4_read32(ip)) ); in LZ4_compress_generic_validated() 1034 /* there was no match, try the dictionary */ in LZ4_compress_generic_validated() 1037 match = dictBase + matchIndex; in LZ4_compress_generic_validated() 1041 match = base + matchIndex; in LZ4_compress_generic_validated() 1049 match in LZ4_compress_generic_validated() 1848 { const BYTE* match = op - offset; LZ4_decompress_unsafe_generic() local 1968 const BYTE* match; LZ4_decompress_generic() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 372 struct flow_dissector *dissector = rule->match.dissector; in bnxt_tc_parse_flow() 383 struct flow_match_basic match; in bnxt_tc_parse_flow() local 385 flow_rule_match_basic(rule, &match); in bnxt_tc_parse_flow() 386 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow() 387 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow() 389 if (match.key->n_proto == htons(ETH_P_IP) || in bnxt_tc_parse_flow() 390 match.key->n_proto == htons(ETH_P_IPV6)) { in bnxt_tc_parse_flow() 391 flow->l4_key.ip_proto = match.key->ip_proto; in bnxt_tc_parse_flow() 392 flow->l4_mask.ip_proto = match.mask->ip_proto; in bnxt_tc_parse_flow() 397 struct flow_match_eth_addrs match; in bnxt_tc_parse_flow() local 408 struct flow_match_vlan match; bnxt_tc_parse_flow() local 423 struct flow_match_ipv4_addrs match; bnxt_tc_parse_flow() local 432 struct flow_match_ipv6_addrs match; bnxt_tc_parse_flow() local 443 struct flow_match_ports match; bnxt_tc_parse_flow() local 454 struct flow_match_icmp match; bnxt_tc_parse_flow() local 465 struct flow_match_ipv4_addrs match; bnxt_tc_parse_flow() local 479 struct flow_match_enc_keyid match; bnxt_tc_parse_flow() local 488 struct flow_match_ports match; bnxt_tc_parse_flow() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 373 struct flow_dissector *dissector = rule->match.dissector; in bnxt_tc_parse_flow() 384 struct flow_match_basic match; in bnxt_tc_parse_flow() local 386 flow_rule_match_basic(rule, &match); in bnxt_tc_parse_flow() 387 flow->l2_key.ether_type = match.key->n_proto; in bnxt_tc_parse_flow() 388 flow->l2_mask.ether_type = match.mask->n_proto; in bnxt_tc_parse_flow() 390 if (match.key->n_proto == htons(ETH_P_IP) || in bnxt_tc_parse_flow() 391 match.key->n_proto == htons(ETH_P_IPV6)) { in bnxt_tc_parse_flow() 392 flow->l4_key.ip_proto = match.key->ip_proto; in bnxt_tc_parse_flow() 393 flow->l4_mask.ip_proto = match.mask->ip_proto; in bnxt_tc_parse_flow() 398 struct flow_match_eth_addrs match; in bnxt_tc_parse_flow() local 409 struct flow_match_vlan match; bnxt_tc_parse_flow() local 424 struct flow_match_ipv4_addrs match; bnxt_tc_parse_flow() local 433 struct flow_match_ipv6_addrs match; bnxt_tc_parse_flow() local 444 struct flow_match_ports match; bnxt_tc_parse_flow() local 455 struct flow_match_icmp match; bnxt_tc_parse_flow() local 466 struct flow_match_ipv4_addrs match; bnxt_tc_parse_flow() local 480 struct flow_match_enc_keyid match; bnxt_tc_parse_flow() local 489 struct flow_match_ports match; bnxt_tc_parse_flow() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | earlycon.c | 132 static int __init register_earlycon(char *buf, const struct earlycon_id *match) in register_earlycon() argument 146 earlycon_init(&early_console_dev, match->name); in register_earlycon() 147 err = match->setup(&early_console_dev, buf); in register_earlycon() 159 * setup_earlycon - match and register earlycon console 190 const struct earlycon_id *match = *p_match; in setup_earlycon() local 191 size_t len = strlen(match->name); in setup_earlycon() 193 if (strncmp(buf, match->name, len)) in setup_earlycon() 197 if (empty_compatible && *match->compatible) in setup_earlycon() 207 return register_earlycon(buf, match); in setup_earlycon() 248 int __init of_setup_earlycon(const struct earlycon_id *match, in of_setup_earlycon() argument [all...] |
/third_party/node/deps/v8/tools/release/ |
H A D | git_recipes.py | 68 m = COMMIT_FOOTER_ENTRY_RE.match(line) 160 match = re.match(r"^## (.+)", line) 161 if match: return match.group(1) 281 match = COMMIT_POSITION_RE.match(value) 282 if match: 283 return match.group(2) 288 match [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | version.py | 148 A string containing the regular expression used to match a valid version. 198 match = self._regex.search(version) 199 if not match: 204 epoch=int(match.group("epoch")) if match.group("epoch") else 0, 205 release=tuple(int(i) for i in match.group("release").split(".")), 206 pre=_parse_letter_version(match.group("pre_l"), match.group("pre_n")), 208 match.group("post_l"), match [all...] |
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | conv.py | 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$", 139 mo = re.match(r"\s+{(\d+), (\d+)},$", line) 147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line) 154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line) 168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line) 173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$', 184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line) 201 mo = re.match(r"static label labels\[(\d+)\] = {$", line) 206 mo = re.match( [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | checkLinks.py | 80 # Report an error due to an asciidoc tag which does not match 199 match = sectionPat.search(line) 200 if (match): 202 depth = len(match.group(1)) 209 match = pathPat.search(line) 210 if (match): 211 incpath = match.group(1) 217 match = incPat.search(incpath) 218 if (match): 224 category = match [all...] |
H A D | realign.py | 21 # Assemble compiled expressions to match and alignment columns 30 match = regexp[i].match(line) 31 if (match): 36 #print('# clause 1 = ' + match.group(1)) 37 #print('# clause 2 = ' + match.group(2)) 38 line = match.group(1).ljust(column[i]) + match.group(2)
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | winbond-cir.c | 672 u8 match[11]; in wbcir_shutdown() local 680 memset(match, 0, sizeof(match)); in wbcir_shutdown() 695 match[1] |= 0x10; in wbcir_shutdown() 697 match[0] = (wake_sc & 0x003F); /* 6 command bits */ in wbcir_shutdown() 698 match[0] |= (wake_sc & 0x0300) >> 2; /* 2 address bits */ in wbcir_shutdown() 699 match[1] = (wake_sc & 0x1c00) >> 10; /* 3 address bits */ in wbcir_shutdown() 701 match[1] |= 0x10; in wbcir_shutdown() 712 match[1] = bitrev8(wake_sc); in wbcir_shutdown() 713 match[ in wbcir_shutdown() [all...] |
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | winbond-cir.c | 672 u8 match[11]; in wbcir_shutdown() local 680 memset(match, 0, sizeof(match)); in wbcir_shutdown() 695 match[1] |= 0x10; in wbcir_shutdown() 697 match[0] = (wake_sc & 0x003F); /* 6 command bits */ in wbcir_shutdown() 698 match[0] |= (wake_sc & 0x0300) >> 2; /* 2 address bits */ in wbcir_shutdown() 699 match[1] = (wake_sc & 0x1c00) >> 10; /* 3 address bits */ in wbcir_shutdown() 701 match[1] |= 0x10; in wbcir_shutdown() 712 match[1] = bitrev8(wake_sc); in wbcir_shutdown() 713 match[ in wbcir_shutdown() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
H A D | bloat.py | 70 match = sym_re.match(line) 71 if match: 72 size, type, sym = match.groups()[0:3] 79 path = match.group(4) 82 match = addr_re.match(line) 83 if match: 84 type, sym = match.groups()[0:2] 87 match [all...] |
/third_party/node/test/parallel/ |
H A D | test-inspector-ip-detection.js | 19 const match = wsUrl.match(/^ws:\/\/(.*):\d+\/(.*)/); 20 assert.strictEqual(ip, match[1]); 21 assert.strictEqual(res.id, match[2]); 22 assert.strictEqual(ip, res.devtoolsFrontendUrl.match(/.*ws=(.*):\d+/)[1]);
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | vars.c | 36 validate_device_path(efi_char16_t *var_name, int match, u8 *buffer, in validate_device_path() argument 69 validate_boot_order(efi_char16_t *var_name, int match, u8 *buffer, in validate_boot_order() argument 80 validate_load_option(efi_char16_t *var_name, int match, u8 *buffer, in validate_load_option() argument 89 for (i = match; i < match+4; i++) { in validate_load_option() 96 if (namelen > match + 4) in validate_load_option() 126 return validate_device_path(var_name, match, buffer + desclength + 6, in validate_load_option() 131 validate_uint16(efi_char16_t *var_name, int match, u8 *buffer, in validate_uint16() argument 142 validate_ascii_string(efi_char16_t *var_name, int match, u8 *buffer, in validate_ascii_string() argument 161 bool (*validate)(efi_char16_t *var_name, int match, u 208 variable_matches(const char *var_name, size_t len, const char *match_name, int *match) variable_matches() argument 254 int match = 0; efivar_validate() local 278 int match = 0; efivar_variable_is_removable() local [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 288 ktap_match = KTAP_START.match(lines.peek()) 289 tap_match = TAP_START.match(lines.peek()) 318 match = TEST_HEADER.match(lines.peek()) 319 if not match: 321 test.name = match.group(1) 344 match = TEST_PLAN.match(lines.peek()) 345 if not match: 348 expected_count = int(match [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
H A D | sp-platform.c | 62 const struct of_device_id *match; in sp_get_of_version() local 64 match = of_match_node(sp_of_match, pdev->dev.of_node); in sp_get_of_version() 65 if (match && match->data) in sp_get_of_version() 66 return (struct sp_dev_vdata *)match->data; in sp_get_of_version() 74 const struct acpi_device_id *match; in sp_get_acpi_version() local 76 match = acpi_match_device(sp_acpi_match, &pdev->dev); in sp_get_acpi_version() 77 if (match && match->driver_data) in sp_get_acpi_version() 78 return (struct sp_dev_vdata *)match in sp_get_acpi_version() [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | gen_exceptions.js | 28 const match = line.match(regexp); 29 if (!match) return false; 30 const relPath = match[1]; 39 const match = line.match(regexp); 40 if (!match) return false; 41 const relPath = match[1]; 43 resultMap[relPath] = (resultMap[relPath] || 0) + parseInt(match[2]); 50 const lines = text.match(SPLIT_LINES_R [all...] |
/third_party/skia/tools/skpbench/ |
H A D | sheet.py | 76 match = BenchResult.match(line) 77 if not match: 80 fullconfig = FullConfig(*(match.get_string(x) 87 self.sheet_qualifiers[qualifier] = match.get_string(qualifier) 88 elif value != match.get_string(qualifier): 92 self.rows[match.bench][fullconfig] = match.get_string(FLAGS.result) 93 self.cols[fullconfig][match.bench] = getattr(match, FLAG [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 223 struct flow_match_ipv4_addrs match; in mlx5_tc_ct_rule_to_tuple() local 225 flow_rule_match_ipv4_addrs(rule, &match); in mlx5_tc_ct_rule_to_tuple() 226 tuple->ip.src_v4 = match.key->src; in mlx5_tc_ct_rule_to_tuple() 227 tuple->ip.dst_v4 = match.key->dst; in mlx5_tc_ct_rule_to_tuple() 229 struct flow_match_ipv6_addrs match; in mlx5_tc_ct_rule_to_tuple() local 231 flow_rule_match_ipv6_addrs(rule, &match); in mlx5_tc_ct_rule_to_tuple() 232 tuple->ip.src_v6 = match.key->src; in mlx5_tc_ct_rule_to_tuple() 233 tuple->ip.dst_v6 = match.key->dst; in mlx5_tc_ct_rule_to_tuple() 239 struct flow_match_ports match; in mlx5_tc_ct_rule_to_tuple() local 241 flow_rule_match_ports(rule, &match); in mlx5_tc_ct_rule_to_tuple() 332 struct flow_match_basic match; mlx5_tc_ct_set_tuple_match() local 347 struct flow_match_control match; mlx5_tc_ct_set_tuple_match() local 354 struct flow_match_ipv4_addrs match; mlx5_tc_ct_set_tuple_match() local 372 struct flow_match_ipv6_addrs match; mlx5_tc_ct_set_tuple_match() local 391 struct flow_match_ports match; mlx5_tc_ct_set_tuple_match() local 424 struct flow_match_tcp match; mlx5_tc_ct_set_tuple_match() local 1239 struct flow_match_ct match; mlx5_tc_ct_match_add() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
H A D | cx23885-ioctl.c | 19 if (chip->match.addr > 1) in cx23885_g_chip_info() 21 if (chip->match.addr == 1) { in cx23885_g_chip_info() 55 if (reg->match.addr > 1) in cx23885_g_register() 57 if (reg->match.addr) in cx23885_g_register() 87 if (reg->match.addr > 1) in cx23885_s_register() 89 if (reg->match.addr) in cx23885_s_register()
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_config.py | 70 match = config_matcher.match(line) 71 if match: 72 entry = KconfigEntry(match.group(1), match.group(2)) 76 empty_match = is_not_set_matcher.match(line)
|
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/ |
H A D | cx23885-ioctl.c | 19 if (chip->match.addr > 1) in cx23885_g_chip_info() 21 if (chip->match.addr == 1) { in cx23885_g_chip_info() 55 if (reg->match.addr > 1) in cx23885_g_register() 57 if (reg->match.addr) in cx23885_g_register() 87 if (reg->match.addr > 1) in cx23885_s_register() 89 if (reg->match.addr) in cx23885_s_register()
|
/third_party/node/deps/v8/tools/ |
H A D | disasm.py | 49 # Keys must match constants in Logger::LogCodeInfo. 87 if _DISASM_HEADER_RE.match(line): 94 match = _DISASM_LINE_RE.match(line) 95 if match: 96 line_address = int(match.group(1), 16) 97 split_lines.append((line_address, match.group(2)))
|